{"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, checkout hospedado ou nativo (carrinho → pedido), conta do consumidor final, assinaturas, acompanhamento de pedidos, cupons, estoque e configurações da loja. Todas as operações são feitas via <code>POST</code> no endpoint GraphQL <code>https://partners.unbox.com.br/graphql</code> (variável <code>{{base_url}}</code> nesta collection); 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=\"consumidor-final-x-customer-token\">Consumidor final (<code>x-customer-token</code>)</h2>\n<p>Algumas operações agem <strong>em nome de um consumidor da sua loja</strong> (conta, endereços, pedidos e assinaturas do cliente). Para elas, além dos dois headers acima, envie:</p>\n<ol>\n<li><code>x-customer-token: &lt;accessToken&gt;</code> — o token do consumidor, <strong>puro, sem <code>Bearer</code></strong>.</li>\n</ol>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>x-customer-token</code></th>\n<th>Operações</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Obrigatório</strong></td>\n<td><code>currentCustomerAccount</code>, <code>updateCustomerAccount</code>, <code>customerAddressBooks</code>, <code>upsertCustomerAddressBook</code>, <code>deleteCustomerAddressBooks</code>, <code>customerOrders</code>, <code>customerOrderByReferenceId</code>, <code>customerRecurringOrders</code>, <code>customerRecurringOrderByReferenceId</code>, <code>customerRecurringOrderCycles</code> e as mutations de assinatura do consumidor (<code>customerCancelRecurringOrder</code>, <code>customerTogglePauseRecurringOrder</code>, <code>customerSkipNextRecurringOrderCycle</code>, <code>customerUpdateRecurringOrderItems</code>, <code>customerUpdateRecurringOrderFrequency</code>, <code>customerUpdateRecurringOrderCreditCard</code>, <code>customerUpdateRecurringOrderShippingAddress</code>).</td>\n</tr>\n<tr>\n<td><strong>Opcional</strong></td>\n<td><code>placeOrder</code>, <code>placePaymentLinkOrder</code>, <code>setupOrder3DSTransaction</code>, <code>setupPaymentLink3DSTransaction</code>, <code>applyDiscountCodeToCart</code>.</td>\n</tr>\n<tr>\n<td><strong>Não envie</strong></td>\n<td><code>hasCustomerAccount</code>, <code>customerOTPRequest</code>, <code>customerPasswordlessSignIn</code>, <code>createPaymentLink</code> e todas as demais operações. Um token de consumidor enviado sem necessidade pode fazer a chamada falhar (token expirado, ou consumidor que não fez login na sua loja).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Fluxo: <code>hasCustomerAccount</code> (opcional) → <code>customerOTPRequest</code> (envia um código de uso único para o e-mail do consumidor) → <code>customerPasswordlessSignIn</code> (e-mail + código) → use <code>accessToken</code> do retorno em <code>x-customer-token</code>. O <code>Authorization</code> do parceiro continua obrigatório — é dele que a sua loja é identificada. O token do consumidor tem validade curta e não há refresh: quando expirar, repita o fluxo de código. Um token de consumidor que nunca fez login na sua loja é recusado com <code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code>.</p>\n<h2 id=\"shopid-resolvido-pelo-seu-token\">shopId (resolvido pelo seu token)</h2>\n<p>Na maioria das operações o <code>shopId</code> da sua loja é <strong>derivado automaticamente do seu token</strong> — o argumento nem aparece no schema e você <strong>não envia</strong> <code>shopId</code>. Basta autenticar. A documentação de cada operação indica quando isso se aplica. Exceções: <code>createCartByTemplate</code> (<code>input.shopId</code>), <code>placeOrder</code> (<code>fulfillmentGroups[].shopId</code>) e <code>customerRecurringOrders</code> (envie <code>filters.shopIds</code> com o <code>_id</code> da sua loja) — cada uma documentada 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>https://partners.unbox.com.br/graphql</code> (produção) — variável <code>{{base_url}}</code> nesta collection.</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>Catálogo — <code>products</code> / <code>product</code> / <code>productGroup</code> / <code>catalogItems</code> para montar os itens.</li>\n<li>Checkout, escolha um caminho:<ul>\n<li><strong>Hospedado:</strong> <code>createExternalCheckout</code> gera um link de pagamento a partir do seu carrinho; acompanhe com <code>paymentLinks</code>.</li>\n<li><strong>Nativo:</strong> (opcional, antes do checkout, se quiser o pedido vinculado ao consumidor) login do consumidor com <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>; depois <code>createCart</code> → itens → endereço → frete → pagamento → <code>placeOrder</code>. Sequência completa e obrigatoriedade de cada passo em \"Checkout próprio: fluxo recomendado\", no folder Orders.</li>\n</ul>\n</li>\n<li>Área do consumidor (opcional) — com o <code>x-customer-token</code>, acesse conta, pedidos (<code>customerOrders</code>) e assinaturas (<code>customerRecurringOrders</code>) do cliente.</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":"0c1e6714-072c-4f18-a77a-68acfbd44543","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":"f03f5b12-13f8-4b83-b1e8-15b2c28aa157","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":"27d28f61-d2cb-40f5-a438-f1550d50c9d8","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":"066d931a-1444-4908-8b81-1d9075f04ff8","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":"feb72959-8bfa-4049-8a7b-82a3d7d21c68","_postman_id":"feb72959-8bfa-4049-8a7b-82a3d7d21c68","description":""}],"id":"16bba4d4-eb9b-4895-96c9-bc68df4ac5fb","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":"16bba4d4-eb9b-4895-96c9-bc68df4ac5fb"},{"name":"Carts","item":[{"name":"Query","item":[{"name":"[Query] abandonedCarts","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 abandonedCarts data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"abandonedCarts\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"abandonedCarts returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.abandonedCarts;","    ","    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":"750f3600-3be0-589f-9640-d203d23cbb97","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 AbandonedCarts($filters: AbandonedCartFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: AbandonedCartSortByField) {\n  abandonedCarts(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              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        }\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        checkout {\n          fulfillmentGroups {\n            _id\n            items {\n              _id\n              addedAt\n              createdAt\n              isRecurring\n              isVisible\n              isDiscountedBonusItem\n              optionTitle\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              title\n              updatedAt\n              variantTitle\n              minOrderQuantity\n              maxOrderQuantity\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              thumbnail\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              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            discountTotal {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            recurrenceItemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n        }\n        checkoutUrl\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              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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        }\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              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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        referenceId\n        recurringItemsFrequencyId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        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              displayAmount\n            }\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              provider\n              externalId\n            }\n            fulfillmentOptionModifier {\n              _id\n              name\n              label\n              description\n              classification\n              enabled\n              status\n              shopId\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              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"updatedAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"hasEmail\": \"cliente@exemplo.com\",\n    \"hasPhone\": \"+5511999999999\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"UPDATED_AT\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"abandonedcarts\">abandonedCarts</h2>\n<p><strong>Propósito:</strong> Lista os carrinhos da sua loja que foram deixados para trás sem virar pedido, com filtros e paginação Relay.\n<strong>Quando usar:</strong> Para alimentar rotinas de recuperação de carrinho — disparar e-mail, mensagem ou contato ativo para quem montou um carrinho e não concluiu a compra. Combine <code>hasEmail</code>/<code>hasPhone</code> para separar os carrinhos por canal de contato disponível, e use <code>filters.updatedAt</code> para varrer em lotes sem repetir quem você já tratou. Para reabrir um carrinho anônimo específico que você já conhece, use <code>anonymousCartByCartId</code> (exige o <code>cartToken</code>) — esta listagem não busca por <code>_id</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=\"o-que-conta-como-carrinho-abandonado\">O que conta como carrinho abandonado</h3>\n<p>Um carrinho entra nesta listagem quando, ao mesmo tempo:</p>\n<ul>\n<li>ainda tem <strong>pelo menos um item</strong>;</li>\n<li><strong>não</strong> está em processo de virar pedido;</li>\n<li>está <strong>sem nenhuma atualização</strong> há pelo menos a janela de inatividade da plataforma (hoje, cerca de 1 hora).</li>\n</ul>\n<p>Carrinhos que já viraram pedido <strong>não</strong> aparecem aqui: ao fechar a compra o carrinho deixa de estar disponível para edição, e a listagem só considera carrinhos ainda ativos. Por isso não há filtro por status de pedido — quem aparece aqui não comprou.</p>\n<blockquote>\n<p>Os prazos citados nesta página são operacionais e podem ser ajustados sem aviso prévio; não construa lógica que dependa de um valor exato.</p>\n</blockquote>\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>AbandonedCartFilterInput</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></td>\n<td>Não</td>\n<td>20</td>\n<td>Tamanho da página, até 50. Envie <strong>apenas um</strong> dos dois — <code>first</code> com <code>after</code>, ou <code>last</code> com <code>before</code>. Acima de 50 retorna erro; valores menores que 1 são elevados a 1 silenciosamente.</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>, <strong>nunca</strong> com <code>last</code>. Use um inteiro maior ou igual a zero: valores negativos ou fracionários não são barrados na validação e falham com erro genérico.</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>AbandonedCartSortByField</code></td>\n<td>Não</td>\n<td><code>UPDATED_AT</code></td>\n<td><code>UPDATED_AT</code> (última atividade no carrinho) ou <code>CREATED_AT</code> (quando o carrinho nasceu).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-filters-abandonedcartfilterinput\">Campos de <code>filters</code> (<code>AbandonedCartFilterInput</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>updatedAt</code></td>\n<td><code>DateFilterInput</code></td>\n<td><code>{ gte, lte }</code> em <code>AWSDateTime</code>, ambos opcionais. Estreita a janela de abandono — ver a receita de varredura incremental abaixo.</td>\n</tr>\n<tr>\n<td><code>hasEmail</code></td>\n<td><code>Boolean</code></td>\n<td><code>true</code> retorna só carrinhos com e-mail preenchido; <code>false</code> retorna só os sem e-mail. Omita para não filtrar.</td>\n</tr>\n<tr>\n<td><code>hasPhone</code></td>\n<td><code>Boolean</code></td>\n<td>Mesma lógica, aplicada ao telefone informado no <strong>endereço de entrega</strong> do carrinho. Um carrinho sem endereço preenchido conta como sem telefone.</td>\n</tr>\n</tbody>\n</table>\n</div><p>O filtro por <code>updatedAt</code> só consegue <strong>estreitar</strong> a janela — nunca alcança carrinhos mais recentes que o limite de inatividade da plataforma. Um <code>gte</code> muito próximo de agora tende a retornar lista vazia.</p>\n<p><strong>Varredura incremental:</strong> guarde o <code>lte</code> usado na execução anterior e, na próxima, envie <code>{ gte: &lt;lte anterior&gt;, lte: &lt;novo instante da varredura&gt; }</code>. Assim cada carrinho cai em exatamente um lote.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CartConnection!</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>[Cart]</code></td>\n<td>Lista de carrinhos.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[CartEdge]</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 carrinhos que casam com os filtros, ignorando paginação.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Campos de <code>Cart</code> mais úteis nesta listagem:</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 carrinho.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>String</code></td>\n<td>E-mail associado ao carrinho, quando informado.</td>\n</tr>\n<tr>\n<td><code>checkoutUrl</code></td>\n<td><code>String</code></td>\n<td>URL que restaura o carrinho na loja. Pode vir <code>null</code> — ver <strong>Notas</strong>.</td>\n</tr>\n<tr>\n<td><code>updatedAt</code> / <code>createdAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Última atividade e criação do carrinho.</td>\n</tr>\n<tr>\n<td><code>totalItemQuantity</code></td>\n<td><code>Int!</code></td>\n<td>Soma das quantidades de todos os itens.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>CartItemConnection</code></td>\n<td>Itens do carrinho, paginados. Peça <code>nodes { ... }</code>; <code>price</code> é objeto e exige subseleção.</td>\n</tr>\n<tr>\n<td><code>checkout.summary.total</code></td>\n<td><code>Money!</code></td>\n<td>Valor total do carrinho. <code>Money</code> exige subseleção: <code>amount</code>, <code>displayAmount</code>, <code>currency { code }</code>.</td>\n</tr>\n<tr>\n<td><code>checkout.fulfillmentGroups[].shippingAddress.phone</code></td>\n<td><code>String</code></td>\n<td>Telefone do carrinho — é exatamente o campo avaliado pelo filtro <code>hasPhone</code>. Sem endereço preenchido, o grupo não traz <code>shippingAddress</code>.</td>\n</tr>\n<tr>\n<td><code>checkout.fulfillmentGroups[].shippingAddress.fullName</code></td>\n<td><code>String</code></td>\n<td>Nome do destinatário, útil para personalizar a mensagem de recuperação.</td>\n</tr>\n<tr>\n<td><code>account</code></td>\n<td><code>Account</code></td>\n<td>Conta associada, quando o carrinho é de um cliente identificado. <code>null</code> para anônimos.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"seleção-mínima-para-uma-rotina-de-recuperação\">Seleção mínima para uma rotina de recuperação</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-graphql\">query AbandonedCarts($after: String) {\n  abandonedCarts(\n    first: 50\n    after: $after\n    sortBy: UPDATED_AT\n    sortOrder: desc\n  ) {\n    totalCount\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      _id\n      email\n      checkoutUrl\n      updatedAt\n      totalItemQuantity\n      account {\n        firstName\n        primaryEmailAddress\n      }\n      checkout {\n        summary {\n          total {\n            amount\n            displayAmount\n            currency {\n              code\n            }\n          }\n        }\n        fulfillmentGroups {\n          shippingAddress {\n            fullName\n            phone\n          }\n        }\n      }\n      items(first: 10) {\n        nodes {\n          title\n          quantity\n          price {\n            displayAmount\n          }\n        }\n      }\n    }\n  }\n}\n</code></pre>\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>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>last</code> e <code>offset</code> enviados juntos.</td>\n<td>Use <code>offset</code> com <code>first</code>, ou pagine para trás só com <code>last</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>first</code>/<code>last</code> acima de 50, ou campo de filtro fora do formato esperado.</td>\n<td>Corrija o valor conforme as tabelas acima; verifique <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>offset</code> negativo ou fracionário.</td>\n<td>Envie um inteiro maior ou igual a zero.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <code>Authorization</code> ausente, inválido ou expirado.</td>\n<td>Refaça <code>signIn</code> e reenvie com um <code>Authorization</code> válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: o token é válido, mas a conta não tem acesso a carrinhos.</td>\n<td><strong>Não</strong> refaça <code>signIn</code> — não resolve e consome seu limite de chamadas. Peça a liberação do acesso.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> igual a <code>SHOP_NOT_FOUND_ERROR</code>: a identidade autenticada não resolve uma loja.</td>\n<td>Confirme que a conta usada no <code>signIn</code> está vinculada a uma loja.</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>Congele a janela antes de paginar.</strong> O conjunto é vivo: se o consumidor voltar ao carrinho durante a sua varredura, o carrinho sai da lista e as páginas seguintes deslizam — o resultado é carrinho pulado (nunca contactado) ou repetido (contactado duas vezes). Fixe <code>filters.updatedAt.lte</code> no instante em que a varredura começou e mantenha o mesmo valor em todas as páginas.</li>\n<li><strong><code>checkoutUrl</code> é uma credencial, não apenas um link.</strong> Quem abrir a URL assume aquele carrinho, sem precisar de login. Trate como dado sensível: envie apenas para o próprio consumidor dono do carrinho, por canal privado, e não registre o valor em log, planilha ou painel compartilhado.</li>\n<li><strong><code>checkoutUrl</code> vem <code>null</code> quando o carrinho não é restaurável por link.</strong> Isso acontece com carrinhos que não têm um acesso anônimo associado (tipicamente os de cliente identificado, restaurados pela própria conta) e com carrinhos cuja <strong>data de criação</strong> já passou da janela de recuperação (hoje, cerca de 7 dias). Atenção: o corte usa <code>createdAt</code>, não <code>updatedAt</code> — um carrinho criado há semanas e mexido ontem aparece na listagem, mas sem link. Trate <code>null</code> como \"sem link disponível\" e nunca monte a URL por conta própria; a loja recusaria.</li>\n<li><strong>O endereço do carrinho pode estar incompleto.</strong> O consumidor pode ter abandonado o checkout no meio do preenchimento, então qualquer campo de <code>shippingAddress</code> (inclusive <code>phone</code> e <code>fullName</code>) pode vir <code>null</code>. Trate cada campo como opcional; para listar só carrinhos com telefone, use <code>filters.hasPhone: true</code>.</li>\n<li><strong>Os dados são de consumidor final.</strong> E-mail, nome e telefone retornados aqui pertencem aos clientes da loja; use-os apenas para a finalidade de recuperação acordada com o lojista.</li>\n<li><strong><code>pageInfo</code> e <code>totalCount</code> só são calculados se você pedir.</strong> Campos não solicitados não são computados — em particular, não conclua que a varredura acabou sem ter pedido <code>pageInfo.hasNextPage</code> explicitamente. Em varreduras grandes, omitir <code>totalCount</code> reduz a latência de cada página.</li>\n<li>Sem <code>first</code>/<code>last</code>, o tamanho de página padrão é 20.</li>\n<li>A ordenação padrão é <code>UPDATED_AT</code> decrescente — os carrinhos abandonados mais recentemente vêm primeiro. Esses defaults são aplicados no servidor e <strong>não</strong> aparecem na introspecção do schema; se a ordem importa para a sua rotina, envie <code>sortBy</code> e <code>sortOrder</code> explicitamente.</li>\n<li><code>totalCount</code> considera os filtros, mas ignora a paginação: use-o para dimensionar o lote antes de percorrer as páginas.</li>\n<li>Trate os cursores (<code>startCursor</code>/<code>endCursor</code>/<code>cursor</code>) como valores opacos e de vida curta: use-os para percorrer uma listagem do início ao fim, não como identificador guardado entre execuções.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"af0a19a2-c83b-41d8-8d7e-bfa9537362d6","name":"200 - abandonedCarts","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 AbandonedCarts($filters: AbandonedCartFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: AbandonedCartSortByField) {\n  abandonedCarts(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              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        }\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        checkout {\n          fulfillmentGroups {\n            _id\n            items {\n              _id\n              addedAt\n              createdAt\n              isRecurring\n              isVisible\n              isDiscountedBonusItem\n              optionTitle\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              title\n              updatedAt\n              variantTitle\n              minOrderQuantity\n              maxOrderQuantity\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              thumbnail\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              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            discountTotal {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            recurrenceItemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n        }\n        checkoutUrl\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              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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        }\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              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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        referenceId\n        recurringItemsFrequencyId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        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              displayAmount\n            }\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              provider\n              externalId\n            }\n            fulfillmentOptionModifier {\n              _id\n              name\n              label\n              description\n              classification\n              enabled\n              status\n              shopId\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              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"updatedAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"hasEmail\": \"cliente@exemplo.com\",\n    \"hasPhone\": \"+5511999999999\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"UPDATED_AT\"\n}"}},"url":"{{base_url}}","description":"## abandonedCarts\n\n**Propósito:** Lista os carrinhos da sua loja que foram deixados para trás sem virar pedido, com filtros e paginação Relay.\n**Quando usar:** Para alimentar rotinas de recuperação de carrinho — disparar e-mail, mensagem ou contato ativo para quem montou um carrinho e não concluiu a compra. Combine `hasEmail`/`hasPhone` para separar os carrinhos por canal de contato disponível, e use `filters.updatedAt` para varrer em lotes sem repetir quem você já tratou. Para reabrir um carrinho anônimo específico que você já conhece, use `anonymousCartByCartId` (exige o `cartToken`) — esta listagem não busca por `_id`.\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### O que conta como carrinho abandonado\n\nUm carrinho entra nesta listagem quando, ao mesmo tempo:\n\n- ainda tem **pelo menos um item**;\n- **não** está em processo de virar pedido;\n- está **sem nenhuma atualização** há pelo menos a janela de inatividade da plataforma (hoje, cerca de 1 hora).\n\nCarrinhos que já viraram pedido **não** aparecem aqui: ao fechar a compra o carrinho deixa de estar disponível para edição, e a listagem só considera carrinhos ainda ativos. Por isso não há filtro por status de pedido — quem aparece aqui não comprou.\n\n> Os prazos citados nesta página são operacionais e podem ser ajustados sem aviso prévio; não construa lógica que dependa de um valor exato.\n\n### Argumentos\n\n| Nome               | Tipo                       | Obrigatório | Default      | Descrição                                                                                                                                                                                                               |\n| ------------------ | -------------------------- | ----------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filters`          | `AbandonedCartFilterInput` | 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`                      | Não         | 20           | Tamanho da página, até 50. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. Acima de 50 retorna erro; valores menores que 1 são elevados a 1 silenciosamente.                                |\n| `offset`           | `Int`                      | Não         | —            | Pula os N primeiros resultados. Pode ser combinado com `first`, **nunca** com `last`. Use um inteiro maior ou igual a zero: valores negativos ou fracionários não são barrados na validação e falham com erro genérico. |\n| `sortOrder`        | `SortOrder`                | Não         | `desc`       | `asc` ou `desc`.                                                                                                                                                                                                        |\n| `sortBy`           | `AbandonedCartSortByField` | Não         | `UPDATED_AT` | `UPDATED_AT` (última atividade no carrinho) ou `CREATED_AT` (quando o carrinho nasceu).                                                                                                                                 |\n\n#### Campos de `filters` (`AbandonedCartFilterInput`)\n\n| Nome        | Tipo              | Descrição                                                                                                                                         |\n| ----------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `updatedAt` | `DateFilterInput` | `{ gte, lte }` em `AWSDateTime`, ambos opcionais. Estreita a janela de abandono — ver a receita de varredura incremental abaixo.                  |\n| `hasEmail`  | `Boolean`         | `true` retorna só carrinhos com e-mail preenchido; `false` retorna só os sem e-mail. Omita para não filtrar.                                      |\n| `hasPhone`  | `Boolean`         | Mesma lógica, aplicada ao telefone informado no **endereço de entrega** do carrinho. Um carrinho sem endereço preenchido conta como sem telefone. |\n\nO filtro por `updatedAt` só consegue **estreitar** a janela — nunca alcança carrinhos mais recentes que o limite de inatividade da plataforma. Um `gte` muito próximo de agora tende a retornar lista vazia.\n\n**Varredura incremental:** guarde o `lte` usado na execução anterior e, na próxima, envie `{ gte: <lte anterior>, lte: <novo instante da varredura> }`. Assim cada carrinho cai em exatamente um lote.\n\n### Retorno\n\n`CartConnection!`:\n\n| Propriedade  | Tipo         | Descrição                                                                                        |\n| ------------ | ------------ | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[Cart]`     | Lista de carrinhos.                                                                              |\n| `edges`      | `[CartEdge]` | `{ 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 carrinhos que casam com os filtros, ignorando paginação.                                |\n\nCampos de `Cart` mais úteis nesta listagem:\n\n| Propriedade                                             | Tipo                 | Descrição                                                                                                                                 |\n| ------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                                   | `ID!`                | Identificador do carrinho.                                                                                                                |\n| `email`                                                 | `String`             | E-mail associado ao carrinho, quando informado.                                                                                           |\n| `checkoutUrl`                                           | `String`             | URL que restaura o carrinho na loja. Pode vir `null` — ver **Notas**.                                                                     |\n| `updatedAt` / `createdAt`                               | `AWSDateTime!`       | Última atividade e criação do carrinho.                                                                                                   |\n| `totalItemQuantity`                                     | `Int!`               | Soma das quantidades de todos os itens.                                                                                                   |\n| `items`                                                 | `CartItemConnection` | Itens do carrinho, paginados. Peça `nodes { ... }`; `price` é objeto e exige subseleção.                                                  |\n| `checkout.summary.total`                                | `Money!`             | Valor total do carrinho. `Money` exige subseleção: `amount`, `displayAmount`, `currency { code }`.                                        |\n| `checkout.fulfillmentGroups[].shippingAddress.phone`    | `String`             | Telefone do carrinho — é exatamente o campo avaliado pelo filtro `hasPhone`. Sem endereço preenchido, o grupo não traz `shippingAddress`. |\n| `checkout.fulfillmentGroups[].shippingAddress.fullName` | `String`             | Nome do destinatário, útil para personalizar a mensagem de recuperação.                                                                   |\n| `account`                                               | `Account`            | Conta associada, quando o carrinho é de um cliente identificado. `null` para anônimos.                                                    |\n\n#### Seleção mínima para uma rotina de recuperação\n\n```graphql\nquery AbandonedCarts($after: String) {\n  abandonedCarts(\n    first: 50\n    after: $after\n    sortBy: UPDATED_AT\n    sortOrder: desc\n  ) {\n    totalCount\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      _id\n      email\n      checkoutUrl\n      updatedAt\n      totalItemQuantity\n      account {\n        firstName\n        primaryEmailAddress\n      }\n      checkout {\n        summary {\n          total {\n            amount\n            displayAmount\n            currency {\n              code\n            }\n          }\n        }\n        fulfillmentGroups {\n          shippingAddress {\n            fullName\n            phone\n          }\n        }\n      }\n      items(first: 10) {\n        nodes {\n          title\n          quantity\n          price {\n            displayAmount\n          }\n        }\n      }\n    }\n  }\n}\n```\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)_ | `last` e `offset` enviados juntos.                                                                                              | Use `offset` com `first`, ou pagine para trás só com `last`.                                        |\n| _(sem código)_ | `first`/`last` acima de 50, ou campo de filtro fora do formato esperado.                                                        | Corrija o valor conforme as tabelas acima; verifique `message`.                                     |\n| _(sem código)_ | `offset` negativo ou fracionário.                                                                                               | Envie um inteiro maior ou igual a zero.                                                             |\n| _(sem código)_ | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                   | Refaça `signIn` e reenvie com um `Authorization` válido.                                            |\n| _(sem código)_ | `message` começa com `\"Unauthorized - Missing required permissions\"`: o token é válido, mas a conta não tem acesso a carrinhos. | **Não** refaça `signIn` — não resolve e consome seu limite de chamadas. Peça a liberação do acesso. |\n| _(sem código)_ | `message` igual a `SHOP_NOT_FOUND_ERROR`: a identidade autenticada não resolve uma loja.                                        | Confirme que a conta usada no `signIn` está vinculada a uma loja.                                   |\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- **Congele a janela antes de paginar.** O conjunto é vivo: se o consumidor voltar ao carrinho durante a sua varredura, o carrinho sai da lista e as páginas seguintes deslizam — o resultado é carrinho pulado (nunca contactado) ou repetido (contactado duas vezes). Fixe `filters.updatedAt.lte` no instante em que a varredura começou e mantenha o mesmo valor em todas as páginas.\n- **`checkoutUrl` é uma credencial, não apenas um link.** Quem abrir a URL assume aquele carrinho, sem precisar de login. Trate como dado sensível: envie apenas para o próprio consumidor dono do carrinho, por canal privado, e não registre o valor em log, planilha ou painel compartilhado.\n- **`checkoutUrl` vem `null` quando o carrinho não é restaurável por link.** Isso acontece com carrinhos que não têm um acesso anônimo associado (tipicamente os de cliente identificado, restaurados pela própria conta) e com carrinhos cuja **data de criação** já passou da janela de recuperação (hoje, cerca de 7 dias). Atenção: o corte usa `createdAt`, não `updatedAt` — um carrinho criado há semanas e mexido ontem aparece na listagem, mas sem link. Trate `null` como \"sem link disponível\" e nunca monte a URL por conta própria; a loja recusaria.\n- **O endereço do carrinho pode estar incompleto.** O consumidor pode ter abandonado o checkout no meio do preenchimento, então qualquer campo de `shippingAddress` (inclusive `phone` e `fullName`) pode vir `null`. Trate cada campo como opcional; para listar só carrinhos com telefone, use `filters.hasPhone: true`.\n- **Os dados são de consumidor final.** E-mail, nome e telefone retornados aqui pertencem aos clientes da loja; use-os apenas para a finalidade de recuperação acordada com o lojista.\n- **`pageInfo` e `totalCount` só são calculados se você pedir.** Campos não solicitados não são computados — em particular, não conclua que a varredura acabou sem ter pedido `pageInfo.hasNextPage` explicitamente. Em varreduras grandes, omitir `totalCount` reduz a latência de cada página.\n- Sem `first`/`last`, o tamanho de página padrão é 20.\n- A ordenação padrão é `UPDATED_AT` decrescente — os carrinhos abandonados mais recentemente vêm primeiro. Esses defaults são aplicados no servidor e **não** aparecem na introspecção do schema; se a ordem importa para a sua rotina, envie `sortBy` e `sortOrder` explicitamente.\n- `totalCount` considera os filtros, mas ignora a paginação: use-o para dimensionar o lote antes de percorrer as páginas.\n- Trate os cursores (`startCursor`/`endCursor`/`cursor`) como valores opacos e de vida curta: use-os para percorrer uma listagem do início ao fim, não como identificador guardado entre execuções."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"abandonedCarts\": {\n      \"nodes\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"checkoutUrl\": \"https://exemplo.com\",\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      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"50ea4baa-d8e7-426e-bcaf-945071676f24","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 AbandonedCarts($filters: AbandonedCartFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: AbandonedCartSortByField) {\n  abandonedCarts(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              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        }\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        checkout {\n          fulfillmentGroups {\n            _id\n            items {\n              _id\n              addedAt\n              createdAt\n              isRecurring\n              isVisible\n              isDiscountedBonusItem\n              optionTitle\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              title\n              updatedAt\n              variantTitle\n              minOrderQuantity\n              maxOrderQuantity\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              thumbnail\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              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            discountTotal {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            recurrenceItemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n        }\n        checkoutUrl\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              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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        }\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              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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        referenceId\n        recurringItemsFrequencyId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        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              displayAmount\n            }\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              provider\n              externalId\n            }\n            fulfillmentOptionModifier {\n              _id\n              name\n              label\n              description\n              classification\n              enabled\n              status\n              shopId\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              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"updatedAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"hasEmail\": \"cliente@exemplo.com\",\n    \"hasPhone\": \"+5511999999999\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"UPDATED_AT\"\n}"}},"url":"{{base_url}}","description":"## abandonedCarts\n\n**Propósito:** Lista os carrinhos da sua loja que foram deixados para trás sem virar pedido, com filtros e paginação Relay.\n**Quando usar:** Para alimentar rotinas de recuperação de carrinho — disparar e-mail, mensagem ou contato ativo para quem montou um carrinho e não concluiu a compra. Combine `hasEmail`/`hasPhone` para separar os carrinhos por canal de contato disponível, e use `filters.updatedAt` para varrer em lotes sem repetir quem você já tratou. Para reabrir um carrinho anônimo específico que você já conhece, use `anonymousCartByCartId` (exige o `cartToken`) — esta listagem não busca por `_id`.\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### O que conta como carrinho abandonado\n\nUm carrinho entra nesta listagem quando, ao mesmo tempo:\n\n- ainda tem **pelo menos um item**;\n- **não** está em processo de virar pedido;\n- está **sem nenhuma atualização** há pelo menos a janela de inatividade da plataforma (hoje, cerca de 1 hora).\n\nCarrinhos que já viraram pedido **não** aparecem aqui: ao fechar a compra o carrinho deixa de estar disponível para edição, e a listagem só considera carrinhos ainda ativos. Por isso não há filtro por status de pedido — quem aparece aqui não comprou.\n\n> Os prazos citados nesta página são operacionais e podem ser ajustados sem aviso prévio; não construa lógica que dependa de um valor exato.\n\n### Argumentos\n\n| Nome               | Tipo                       | Obrigatório | Default      | Descrição                                                                                                                                                                                                               |\n| ------------------ | -------------------------- | ----------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filters`          | `AbandonedCartFilterInput` | 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`                      | Não         | 20           | Tamanho da página, até 50. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. Acima de 50 retorna erro; valores menores que 1 são elevados a 1 silenciosamente.                                |\n| `offset`           | `Int`                      | Não         | —            | Pula os N primeiros resultados. Pode ser combinado com `first`, **nunca** com `last`. Use um inteiro maior ou igual a zero: valores negativos ou fracionários não são barrados na validação e falham com erro genérico. |\n| `sortOrder`        | `SortOrder`                | Não         | `desc`       | `asc` ou `desc`.                                                                                                                                                                                                        |\n| `sortBy`           | `AbandonedCartSortByField` | Não         | `UPDATED_AT` | `UPDATED_AT` (última atividade no carrinho) ou `CREATED_AT` (quando o carrinho nasceu).                                                                                                                                 |\n\n#### Campos de `filters` (`AbandonedCartFilterInput`)\n\n| Nome        | Tipo              | Descrição                                                                                                                                         |\n| ----------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `updatedAt` | `DateFilterInput` | `{ gte, lte }` em `AWSDateTime`, ambos opcionais. Estreita a janela de abandono — ver a receita de varredura incremental abaixo.                  |\n| `hasEmail`  | `Boolean`         | `true` retorna só carrinhos com e-mail preenchido; `false` retorna só os sem e-mail. Omita para não filtrar.                                      |\n| `hasPhone`  | `Boolean`         | Mesma lógica, aplicada ao telefone informado no **endereço de entrega** do carrinho. Um carrinho sem endereço preenchido conta como sem telefone. |\n\nO filtro por `updatedAt` só consegue **estreitar** a janela — nunca alcança carrinhos mais recentes que o limite de inatividade da plataforma. Um `gte` muito próximo de agora tende a retornar lista vazia.\n\n**Varredura incremental:** guarde o `lte` usado na execução anterior e, na próxima, envie `{ gte: <lte anterior>, lte: <novo instante da varredura> }`. Assim cada carrinho cai em exatamente um lote.\n\n### Retorno\n\n`CartConnection!`:\n\n| Propriedade  | Tipo         | Descrição                                                                                        |\n| ------------ | ------------ | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[Cart]`     | Lista de carrinhos.                                                                              |\n| `edges`      | `[CartEdge]` | `{ 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 carrinhos que casam com os filtros, ignorando paginação.                                |\n\nCampos de `Cart` mais úteis nesta listagem:\n\n| Propriedade                                             | Tipo                 | Descrição                                                                                                                                 |\n| ------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                                   | `ID!`                | Identificador do carrinho.                                                                                                                |\n| `email`                                                 | `String`             | E-mail associado ao carrinho, quando informado.                                                                                           |\n| `checkoutUrl`                                           | `String`             | URL que restaura o carrinho na loja. Pode vir `null` — ver **Notas**.                                                                     |\n| `updatedAt` / `createdAt`                               | `AWSDateTime!`       | Última atividade e criação do carrinho.                                                                                                   |\n| `totalItemQuantity`                                     | `Int!`               | Soma das quantidades de todos os itens.                                                                                                   |\n| `items`                                                 | `CartItemConnection` | Itens do carrinho, paginados. Peça `nodes { ... }`; `price` é objeto e exige subseleção.                                                  |\n| `checkout.summary.total`                                | `Money!`             | Valor total do carrinho. `Money` exige subseleção: `amount`, `displayAmount`, `currency { code }`.                                        |\n| `checkout.fulfillmentGroups[].shippingAddress.phone`    | `String`             | Telefone do carrinho — é exatamente o campo avaliado pelo filtro `hasPhone`. Sem endereço preenchido, o grupo não traz `shippingAddress`. |\n| `checkout.fulfillmentGroups[].shippingAddress.fullName` | `String`             | Nome do destinatário, útil para personalizar a mensagem de recuperação.                                                                   |\n| `account`                                               | `Account`            | Conta associada, quando o carrinho é de um cliente identificado. `null` para anônimos.                                                    |\n\n#### Seleção mínima para uma rotina de recuperação\n\n```graphql\nquery AbandonedCarts($after: String) {\n  abandonedCarts(\n    first: 50\n    after: $after\n    sortBy: UPDATED_AT\n    sortOrder: desc\n  ) {\n    totalCount\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      _id\n      email\n      checkoutUrl\n      updatedAt\n      totalItemQuantity\n      account {\n        firstName\n        primaryEmailAddress\n      }\n      checkout {\n        summary {\n          total {\n            amount\n            displayAmount\n            currency {\n              code\n            }\n          }\n        }\n        fulfillmentGroups {\n          shippingAddress {\n            fullName\n            phone\n          }\n        }\n      }\n      items(first: 10) {\n        nodes {\n          title\n          quantity\n          price {\n            displayAmount\n          }\n        }\n      }\n    }\n  }\n}\n```\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)_ | `last` e `offset` enviados juntos.                                                                                              | Use `offset` com `first`, ou pagine para trás só com `last`.                                        |\n| _(sem código)_ | `first`/`last` acima de 50, ou campo de filtro fora do formato esperado.                                                        | Corrija o valor conforme as tabelas acima; verifique `message`.                                     |\n| _(sem código)_ | `offset` negativo ou fracionário.                                                                                               | Envie um inteiro maior ou igual a zero.                                                             |\n| _(sem código)_ | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                   | Refaça `signIn` e reenvie com um `Authorization` válido.                                            |\n| _(sem código)_ | `message` começa com `\"Unauthorized - Missing required permissions\"`: o token é válido, mas a conta não tem acesso a carrinhos. | **Não** refaça `signIn` — não resolve e consome seu limite de chamadas. Peça a liberação do acesso. |\n| _(sem código)_ | `message` igual a `SHOP_NOT_FOUND_ERROR`: a identidade autenticada não resolve uma loja.                                        | Confirme que a conta usada no `signIn` está vinculada a uma loja.                                   |\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- **Congele a janela antes de paginar.** O conjunto é vivo: se o consumidor voltar ao carrinho durante a sua varredura, o carrinho sai da lista e as páginas seguintes deslizam — o resultado é carrinho pulado (nunca contactado) ou repetido (contactado duas vezes). Fixe `filters.updatedAt.lte` no instante em que a varredura começou e mantenha o mesmo valor em todas as páginas.\n- **`checkoutUrl` é uma credencial, não apenas um link.** Quem abrir a URL assume aquele carrinho, sem precisar de login. Trate como dado sensível: envie apenas para o próprio consumidor dono do carrinho, por canal privado, e não registre o valor em log, planilha ou painel compartilhado.\n- **`checkoutUrl` vem `null` quando o carrinho não é restaurável por link.** Isso acontece com carrinhos que não têm um acesso anônimo associado (tipicamente os de cliente identificado, restaurados pela própria conta) e com carrinhos cuja **data de criação** já passou da janela de recuperação (hoje, cerca de 7 dias). Atenção: o corte usa `createdAt`, não `updatedAt` — um carrinho criado há semanas e mexido ontem aparece na listagem, mas sem link. Trate `null` como \"sem link disponível\" e nunca monte a URL por conta própria; a loja recusaria.\n- **O endereço do carrinho pode estar incompleto.** O consumidor pode ter abandonado o checkout no meio do preenchimento, então qualquer campo de `shippingAddress` (inclusive `phone` e `fullName`) pode vir `null`. Trate cada campo como opcional; para listar só carrinhos com telefone, use `filters.hasPhone: true`.\n- **Os dados são de consumidor final.** E-mail, nome e telefone retornados aqui pertencem aos clientes da loja; use-os apenas para a finalidade de recuperação acordada com o lojista.\n- **`pageInfo` e `totalCount` só são calculados se você pedir.** Campos não solicitados não são computados — em particular, não conclua que a varredura acabou sem ter pedido `pageInfo.hasNextPage` explicitamente. Em varreduras grandes, omitir `totalCount` reduz a latência de cada página.\n- Sem `first`/`last`, o tamanho de página padrão é 20.\n- A ordenação padrão é `UPDATED_AT` decrescente — os carrinhos abandonados mais recentemente vêm primeiro. Esses defaults são aplicados no servidor e **não** aparecem na introspecção do schema; se a ordem importa para a sua rotina, envie `sortBy` e `sortOrder` explicitamente.\n- `totalCount` considera os filtros, mas ignora a paginação: use-o para dimensionar o lote antes de percorrer as páginas.\n- Trate os cursores (`startCursor`/`endCursor`/`cursor`) como valores opacos e de vida curta: use-os para percorrer uma listagem do início ao fim, não como identificador guardado entre execuções."},"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":"b7a9c882-4ac6-415e-ab9f-764bbe99eeff","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 AbandonedCarts($filters: AbandonedCartFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: AbandonedCartSortByField) {\n  abandonedCarts(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              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        }\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        checkout {\n          fulfillmentGroups {\n            _id\n            items {\n              _id\n              addedAt\n              createdAt\n              isRecurring\n              isVisible\n              isDiscountedBonusItem\n              optionTitle\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              title\n              updatedAt\n              variantTitle\n              minOrderQuantity\n              maxOrderQuantity\n              inventoryAvailableToSell\n              isBackorder\n              isLowQuantity\n              isSoldOut\n              isTaxable\n              taxCode\n              thumbnail\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              neighborhood\n              number\n              phone\n              postal\n              region\n              reference\n              taxPayerId\n              mobile\n              trackByMobile\n            }\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            discountTotal {\n              amount\n              displayAmount\n            }\n            effectiveTaxRate {\n              amount\n              displayPercent\n              percent\n            }\n            fulfillmentTotal {\n              amount\n              displayAmount\n            }\n            itemTotal {\n              amount\n              displayAmount\n            }\n            recurrenceItemTotal {\n              amount\n              displayAmount\n            }\n            taxTotal {\n              amount\n              displayAmount\n            }\n            interest {\n              amount\n              displayAmount\n            }\n            totalBeforeInterest {\n              amount\n              displayAmount\n            }\n            installmentAmount {\n              amount\n              displayAmount\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n            total {\n              amount\n              displayAmount\n            }\n            surchargeTotal {\n              amount\n              displayAmount\n            }\n          }\n        }\n        checkoutUrl\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              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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        }\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              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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        referenceId\n        recurringItemsFrequencyId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        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              displayAmount\n            }\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              provider\n              externalId\n            }\n            fulfillmentOptionModifier {\n              _id\n              name\n              label\n              description\n              classification\n              enabled\n              status\n              shopId\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              displayAmount\n            }\n            taxName\n            taxRate {\n              amount\n              displayPercent\n              percent\n            }\n            taxableAmount {\n              amount\n              displayAmount\n            }\n          }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    pageInfo {\n      endCursor\n      hasNextPage\n      hasPreviousPage\n      startCursor\n    }\n    totalCount\n  }\n}","variables":"{\n  \"filters\": {\n    \"updatedAt\": {\n      \"gte\": \"2025-01-15T10:00:00Z\",\n      \"lte\": \"2025-01-15T10:00:00Z\"\n    },\n    \"hasEmail\": \"cliente@exemplo.com\",\n    \"hasPhone\": \"+5511999999999\"\n  },\n  \"after\": \"eyJvZmZzZXQiOjB9\",\n  \"before\": \"eyJvZmZzZXQiOjB9\",\n  \"first\": 20,\n  \"last\": 20,\n  \"offset\": 10,\n  \"sortOrder\": \"asc\",\n  \"sortBy\": \"UPDATED_AT\"\n}"}},"url":"{{base_url}}","description":"## abandonedCarts\n\n**Propósito:** Lista os carrinhos da sua loja que foram deixados para trás sem virar pedido, com filtros e paginação Relay.\n**Quando usar:** Para alimentar rotinas de recuperação de carrinho — disparar e-mail, mensagem ou contato ativo para quem montou um carrinho e não concluiu a compra. Combine `hasEmail`/`hasPhone` para separar os carrinhos por canal de contato disponível, e use `filters.updatedAt` para varrer em lotes sem repetir quem você já tratou. Para reabrir um carrinho anônimo específico que você já conhece, use `anonymousCartByCartId` (exige o `cartToken`) — esta listagem não busca por `_id`.\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### O que conta como carrinho abandonado\n\nUm carrinho entra nesta listagem quando, ao mesmo tempo:\n\n- ainda tem **pelo menos um item**;\n- **não** está em processo de virar pedido;\n- está **sem nenhuma atualização** há pelo menos a janela de inatividade da plataforma (hoje, cerca de 1 hora).\n\nCarrinhos que já viraram pedido **não** aparecem aqui: ao fechar a compra o carrinho deixa de estar disponível para edição, e a listagem só considera carrinhos ainda ativos. Por isso não há filtro por status de pedido — quem aparece aqui não comprou.\n\n> Os prazos citados nesta página são operacionais e podem ser ajustados sem aviso prévio; não construa lógica que dependa de um valor exato.\n\n### Argumentos\n\n| Nome               | Tipo                       | Obrigatório | Default      | Descrição                                                                                                                                                                                                               |\n| ------------------ | -------------------------- | ----------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `filters`          | `AbandonedCartFilterInput` | 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`                      | Não         | 20           | Tamanho da página, até 50. Envie **apenas um** dos dois — `first` com `after`, ou `last` com `before`. Acima de 50 retorna erro; valores menores que 1 são elevados a 1 silenciosamente.                                |\n| `offset`           | `Int`                      | Não         | —            | Pula os N primeiros resultados. Pode ser combinado com `first`, **nunca** com `last`. Use um inteiro maior ou igual a zero: valores negativos ou fracionários não são barrados na validação e falham com erro genérico. |\n| `sortOrder`        | `SortOrder`                | Não         | `desc`       | `asc` ou `desc`.                                                                                                                                                                                                        |\n| `sortBy`           | `AbandonedCartSortByField` | Não         | `UPDATED_AT` | `UPDATED_AT` (última atividade no carrinho) ou `CREATED_AT` (quando o carrinho nasceu).                                                                                                                                 |\n\n#### Campos de `filters` (`AbandonedCartFilterInput`)\n\n| Nome        | Tipo              | Descrição                                                                                                                                         |\n| ----------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `updatedAt` | `DateFilterInput` | `{ gte, lte }` em `AWSDateTime`, ambos opcionais. Estreita a janela de abandono — ver a receita de varredura incremental abaixo.                  |\n| `hasEmail`  | `Boolean`         | `true` retorna só carrinhos com e-mail preenchido; `false` retorna só os sem e-mail. Omita para não filtrar.                                      |\n| `hasPhone`  | `Boolean`         | Mesma lógica, aplicada ao telefone informado no **endereço de entrega** do carrinho. Um carrinho sem endereço preenchido conta como sem telefone. |\n\nO filtro por `updatedAt` só consegue **estreitar** a janela — nunca alcança carrinhos mais recentes que o limite de inatividade da plataforma. Um `gte` muito próximo de agora tende a retornar lista vazia.\n\n**Varredura incremental:** guarde o `lte` usado na execução anterior e, na próxima, envie `{ gte: <lte anterior>, lte: <novo instante da varredura> }`. Assim cada carrinho cai em exatamente um lote.\n\n### Retorno\n\n`CartConnection!`:\n\n| Propriedade  | Tipo         | Descrição                                                                                        |\n| ------------ | ------------ | ------------------------------------------------------------------------------------------------ |\n| `nodes`      | `[Cart]`     | Lista de carrinhos.                                                                              |\n| `edges`      | `[CartEdge]` | `{ 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 carrinhos que casam com os filtros, ignorando paginação.                                |\n\nCampos de `Cart` mais úteis nesta listagem:\n\n| Propriedade                                             | Tipo                 | Descrição                                                                                                                                 |\n| ------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                                   | `ID!`                | Identificador do carrinho.                                                                                                                |\n| `email`                                                 | `String`             | E-mail associado ao carrinho, quando informado.                                                                                           |\n| `checkoutUrl`                                           | `String`             | URL que restaura o carrinho na loja. Pode vir `null` — ver **Notas**.                                                                     |\n| `updatedAt` / `createdAt`                               | `AWSDateTime!`       | Última atividade e criação do carrinho.                                                                                                   |\n| `totalItemQuantity`                                     | `Int!`               | Soma das quantidades de todos os itens.                                                                                                   |\n| `items`                                                 | `CartItemConnection` | Itens do carrinho, paginados. Peça `nodes { ... }`; `price` é objeto e exige subseleção.                                                  |\n| `checkout.summary.total`                                | `Money!`             | Valor total do carrinho. `Money` exige subseleção: `amount`, `displayAmount`, `currency { code }`.                                        |\n| `checkout.fulfillmentGroups[].shippingAddress.phone`    | `String`             | Telefone do carrinho — é exatamente o campo avaliado pelo filtro `hasPhone`. Sem endereço preenchido, o grupo não traz `shippingAddress`. |\n| `checkout.fulfillmentGroups[].shippingAddress.fullName` | `String`             | Nome do destinatário, útil para personalizar a mensagem de recuperação.                                                                   |\n| `account`                                               | `Account`            | Conta associada, quando o carrinho é de um cliente identificado. `null` para anônimos.                                                    |\n\n#### Seleção mínima para uma rotina de recuperação\n\n```graphql\nquery AbandonedCarts($after: String) {\n  abandonedCarts(\n    first: 50\n    after: $after\n    sortBy: UPDATED_AT\n    sortOrder: desc\n  ) {\n    totalCount\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      _id\n      email\n      checkoutUrl\n      updatedAt\n      totalItemQuantity\n      account {\n        firstName\n        primaryEmailAddress\n      }\n      checkout {\n        summary {\n          total {\n            amount\n            displayAmount\n            currency {\n              code\n            }\n          }\n        }\n        fulfillmentGroups {\n          shippingAddress {\n            fullName\n            phone\n          }\n        }\n      }\n      items(first: 10) {\n        nodes {\n          title\n          quantity\n          price {\n            displayAmount\n          }\n        }\n      }\n    }\n  }\n}\n```\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)_ | `last` e `offset` enviados juntos.                                                                                              | Use `offset` com `first`, ou pagine para trás só com `last`.                                        |\n| _(sem código)_ | `first`/`last` acima de 50, ou campo de filtro fora do formato esperado.                                                        | Corrija o valor conforme as tabelas acima; verifique `message`.                                     |\n| _(sem código)_ | `offset` negativo ou fracionário.                                                                                               | Envie um inteiro maior ou igual a zero.                                                             |\n| _(sem código)_ | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                   | Refaça `signIn` e reenvie com um `Authorization` válido.                                            |\n| _(sem código)_ | `message` começa com `\"Unauthorized - Missing required permissions\"`: o token é válido, mas a conta não tem acesso a carrinhos. | **Não** refaça `signIn` — não resolve e consome seu limite de chamadas. Peça a liberação do acesso. |\n| _(sem código)_ | `message` igual a `SHOP_NOT_FOUND_ERROR`: a identidade autenticada não resolve uma loja.                                        | Confirme que a conta usada no `signIn` está vinculada a uma loja.                                   |\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- **Congele a janela antes de paginar.** O conjunto é vivo: se o consumidor voltar ao carrinho durante a sua varredura, o carrinho sai da lista e as páginas seguintes deslizam — o resultado é carrinho pulado (nunca contactado) ou repetido (contactado duas vezes). Fixe `filters.updatedAt.lte` no instante em que a varredura começou e mantenha o mesmo valor em todas as páginas.\n- **`checkoutUrl` é uma credencial, não apenas um link.** Quem abrir a URL assume aquele carrinho, sem precisar de login. Trate como dado sensível: envie apenas para o próprio consumidor dono do carrinho, por canal privado, e não registre o valor em log, planilha ou painel compartilhado.\n- **`checkoutUrl` vem `null` quando o carrinho não é restaurável por link.** Isso acontece com carrinhos que não têm um acesso anônimo associado (tipicamente os de cliente identificado, restaurados pela própria conta) e com carrinhos cuja **data de criação** já passou da janela de recuperação (hoje, cerca de 7 dias). Atenção: o corte usa `createdAt`, não `updatedAt` — um carrinho criado há semanas e mexido ontem aparece na listagem, mas sem link. Trate `null` como \"sem link disponível\" e nunca monte a URL por conta própria; a loja recusaria.\n- **O endereço do carrinho pode estar incompleto.** O consumidor pode ter abandonado o checkout no meio do preenchimento, então qualquer campo de `shippingAddress` (inclusive `phone` e `fullName`) pode vir `null`. Trate cada campo como opcional; para listar só carrinhos com telefone, use `filters.hasPhone: true`.\n- **Os dados são de consumidor final.** E-mail, nome e telefone retornados aqui pertencem aos clientes da loja; use-os apenas para a finalidade de recuperação acordada com o lojista.\n- **`pageInfo` e `totalCount` só são calculados se você pedir.** Campos não solicitados não são computados — em particular, não conclua que a varredura acabou sem ter pedido `pageInfo.hasNextPage` explicitamente. Em varreduras grandes, omitir `totalCount` reduz a latência de cada página.\n- Sem `first`/`last`, o tamanho de página padrão é 20.\n- A ordenação padrão é `UPDATED_AT` decrescente — os carrinhos abandonados mais recentemente vêm primeiro. Esses defaults são aplicados no servidor e **não** aparecem na introspecção do schema; se a ordem importa para a sua rotina, envie `sortBy` e `sortOrder` explicitamente.\n- `totalCount` considera os filtros, mas ignora a paginação: use-o para dimensionar o lote antes de percorrer as páginas.\n- Trate os cursores (`startCursor`/`endCursor`/`cursor`) como valores opacos e de vida curta: use-os para percorrer uma listagem do início ao fim, não como identificador guardado entre execuções."},"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":"750f3600-3be0-589f-9640-d203d23cbb97"},{"name":"[Query] anonymousCartByCartId","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 anonymousCartByCartId data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"anonymousCartByCartId\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"anonymousCartByCartId returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.anonymousCartByCartId;","    ","    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.checkout !== undefined && data.checkout !== null) {","            pm.expect(data.checkout).to.be.an(\"object\");","        }","        if (data.checkoutUrl !== undefined && data.checkoutUrl !== null) {","            pm.expect(typeof data.checkoutUrl).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.email !== undefined && data.email !== null) {","            pm.expect(typeof data.email).to.equal(\"string\");","        }","        if (data.expiresAt !== undefined && data.expiresAt !== null) {","            pm.expect(typeof data.expiresAt).to.equal(\"string\");","        }","        if (data.expiresAt) {","            pm.expect(new Date(data.expiresAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.items !== undefined && data.items !== null) {","            pm.expect(data.items).to.be.an(\"object\");","        }","        if (data.missingItems !== undefined && data.missingItems !== null) {","            pm.expect(data.missingItems).to.be.an(\"array\");","        }","        if (data.referenceId !== undefined && data.referenceId !== null) {","            pm.expect(typeof data.referenceId).to.equal(\"string\");","        }","    }","});"]}}],"id":"9c6eb3c0-6cdc-5f86-a088-dde2bb8817f4","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 AnonymousCartByCartId($cartId: ID!, $cartToken: String!) {\n  anonymousCartByCartId(cartId: $cartId, cartToken: $cartToken) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            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        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            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        }\n        items {\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        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        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        type\n      }\n      summary {\n        discountSummary {\n          fromDiscountCode {\n            recurringItems {\n              amount\n              displayAmount\n            }\n            nonRecurringItems {\n              amount\n              displayAmount\n            }\n            creditOffFlat {\n              amount\n              displayAmount\n            }\n            shipping {\n              amount\n              displayAmount\n            }\n          }\n          itemsRecurrenceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          compareAtPriceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalDiscountCodeAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fromKitItemDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\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        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    checkoutUrl\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            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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    }\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          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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    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          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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          enabled\n          status\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            startDate\n            endDate\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            targetedOption\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}","variables":"{\n  \"cartId\": \"{{cartId}}\",\n  \"cartToken\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"anonymouscartbycartid\">anonymousCartByCartId</h2>\n<p><strong>Propósito:</strong> Retorna um carrinho anônimo pelo <code>cartId</code> + <code>cartToken</code>.\n<strong>Quando usar:</strong> Para ler o estado atual do carrinho em qualquer ponto do checkout (itens, totais, grupos de entrega, opções de frete, cupom aplicado) — por exemplo, para retomar uma sessão do comprador ou conferir o carrinho antes do <code>placeOrder</code>. Operação somente leitura.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>.</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>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do carrinho.</td>\n</tr>\n<tr>\n<td><code>cartToken</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>Cart</code> (ou <code>null</code> — ver Notas). Campos mais usados:</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 carrinho.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>String</code></td>\n<td>E-mail gravado por <code>setEmailOnAnonymousCart</code>.</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td><code>CartItemConnection</code></td>\n<td>Itens (paginados: <code>nodes</code>/<code>edges</code>/<code>pageInfo</code>/<code>totalCount</code>). Cada item tem <code>_id</code>, <code>quantity</code>, <code>price</code>, <code>subtotal</code>, <code>productConfiguration</code>, <code>isRecurring</code>, etc.</td>\n</tr>\n<tr>\n<td><code>missingItems</code></td>\n<td><code>[CartItem]</code></td>\n<td>Itens que saíram do catálogo depois de adicionados (não entram no pedido).</td>\n</tr>\n<tr>\n<td><code>totalItemQuantity</code></td>\n<td><code>Int!</code></td>\n<td>Soma das quantidades dos itens.</td>\n</tr>\n<tr>\n<td><code>checkout.fulfillmentGroups[]._id</code></td>\n<td><code>ID!</code></td>\n<td>ID do grupo de entrega — use em <code>updateFulfillmentOptionsForGroup</code>/<code>selectFulfillmentOptionForGroup</code>.</td>\n</tr>\n<tr>\n<td><code>checkout.fulfillmentGroups[].shippingAddress</code></td>\n<td><code>Address</code></td>\n<td>Endereço definido por <code>setShippingAddressOnCart</code>.</td>\n</tr>\n<tr>\n<td><code>checkout.fulfillmentGroups[].availableFulfillmentOptions[]</code></td>\n<td><code>[FulfillmentOption]!</code></td>\n<td>Opções de frete cotadas: <code>fulfillmentMethod</code> (<code>_id</code>, <code>name</code>, <code>displayName</code>, <code>carrier</code>, <code>daysToDeliver</code>, ...), <code>price</code>, <code>handlingPrice</code>, <code>discountPrice</code>.</td>\n</tr>\n<tr>\n<td><code>checkout.fulfillmentGroups[].selectedFulfillmentOption</code></td>\n<td><code>FulfillmentOption</code></td>\n<td>Opção de frete escolhida, se houver.</td>\n</tr>\n<tr>\n<td><code>checkout.summary</code></td>\n<td><code>CartSummary!</code></td>\n<td>Totais: <code>itemTotal</code>, <code>fulfillmentTotal</code>, <code>discountTotal</code>, <code>taxTotal</code>, <code>total</code>, etc.</td>\n</tr>\n<tr>\n<td><code>billing[]</code></td>\n<td><code>[CartBilling]</code></td>\n<td>Cupom aplicado (<code>data</code> traz <code>discountId</code>, <code>code</code>, <code>label</code>) — o <code>discountId</code> é o usado em <code>removeDiscountCodeFromCart</code>.</td>\n</tr>\n<tr>\n<td><code>paymentMethod</code> / <code>numberOfInstallments</code></td>\n<td><code>PaymentMethodName</code> / <code>Int</code></td>\n<td>Forma de pagamento/parcelas definidas via <code>updateCart</code>.</td>\n</tr>\n<tr>\n<td><code>checkoutUrl</code></td>\n<td><code>String</code></td>\n<td>Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial. <code>null</code> fora da janela de recuperação.</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/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>CART_ID_NOT_FOUND_ERROR</code></td>\n<td><code>cartId</code> vazio.</td>\n<td>Envie um <code>cartId</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>\"Não encontrado\" retorna <code>null</code>, não erro.</strong> <code>cartId</code>/<code>cartToken</code> que não casam, carrinho já travado em checkout (pedido fechado) ou carrinho fora da janela de recuperação resultam em <code>data.anonymousCartByCartId: null</code>.</li>\n<li><strong>Janela de recuperação:</strong> o carrinho só é retornado se tiver sido criado dentro da janela de recuperação (padrão: 7 dias desde <code>createdAt</code>). Depois disso, crie um carrinho novo.</li>\n<li><code>expiresAt</code> não é preenchido nos carrinhos criados por esta API — use a janela acima como referência.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c64f144b-e9f9-4d90-896d-7b935f29fa98","name":"200 - anonymousCartByCartId","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 AnonymousCartByCartId($cartId: ID!, $cartToken: String!) {\n  anonymousCartByCartId(cartId: $cartId, cartToken: $cartToken) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            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        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            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        }\n        items {\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        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        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        type\n      }\n      summary {\n        discountSummary {\n          fromDiscountCode {\n            recurringItems {\n              amount\n              displayAmount\n            }\n            nonRecurringItems {\n              amount\n              displayAmount\n            }\n            creditOffFlat {\n              amount\n              displayAmount\n            }\n            shipping {\n              amount\n              displayAmount\n            }\n          }\n          itemsRecurrenceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          compareAtPriceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalDiscountCodeAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fromKitItemDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\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        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    checkoutUrl\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            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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    }\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          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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    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          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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          enabled\n          status\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            startDate\n            endDate\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            targetedOption\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}","variables":"{\n  \"cartId\": \"{{cartId}}\",\n  \"cartToken\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## anonymousCartByCartId\n\n**Propósito:** Retorna um carrinho anônimo pelo `cartId` + `cartToken`.\n**Quando usar:** Para ler o estado atual do carrinho em qualquer ponto do checkout (itens, totais, grupos de entrega, opções de frete, cupom aplicado) — por exemplo, para retomar uma sessão do comprador ou conferir o carrinho antes do `placeOrder`. Operação somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome        | Tipo      | Obrigatório | Default | Descrição                            |\n| ----------- | --------- | ----------- | ------- | ------------------------------------ |\n| `cartId`    | `ID!`     | Sim         | —       | `_id` do carrinho.                   |\n| `cartToken` | `String!` | Sim         | —       | O `token` retornado em `createCart`. |\n\n### Retorno\n\n`Cart` (ou `null` — ver Notas). Campos mais usados:\n\n| Propriedade                                                  | Tipo                        | Descrição                                                                                                                                                     |\n| ------------------------------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                                        | `ID!`                       | ID do carrinho.                                                                                                                                               |\n| `email`                                                      | `String`                    | E-mail gravado por `setEmailOnAnonymousCart`.                                                                                                                 |\n| `items`                                                      | `CartItemConnection`        | Itens (paginados: `nodes`/`edges`/`pageInfo`/`totalCount`). Cada item tem `_id`, `quantity`, `price`, `subtotal`, `productConfiguration`, `isRecurring`, etc. |\n| `missingItems`                                               | `[CartItem]`                | Itens que saíram do catálogo depois de adicionados (não entram no pedido).                                                                                    |\n| `totalItemQuantity`                                          | `Int!`                      | Soma das quantidades dos itens.                                                                                                                               |\n| `checkout.fulfillmentGroups[]._id`                           | `ID!`                       | ID do grupo de entrega — use em `updateFulfillmentOptionsForGroup`/`selectFulfillmentOptionForGroup`.                                                         |\n| `checkout.fulfillmentGroups[].shippingAddress`               | `Address`                   | Endereço definido por `setShippingAddressOnCart`.                                                                                                             |\n| `checkout.fulfillmentGroups[].availableFulfillmentOptions[]` | `[FulfillmentOption]!`      | Opções de frete cotadas: `fulfillmentMethod` (`_id`, `name`, `displayName`, `carrier`, `daysToDeliver`, ...), `price`, `handlingPrice`, `discountPrice`.      |\n| `checkout.fulfillmentGroups[].selectedFulfillmentOption`     | `FulfillmentOption`         | Opção de frete escolhida, se houver.                                                                                                                          |\n| `checkout.summary`                                           | `CartSummary!`              | Totais: `itemTotal`, `fulfillmentTotal`, `discountTotal`, `taxTotal`, `total`, etc.                                                                           |\n| `billing[]`                                                  | `[CartBilling]`             | Cupom aplicado (`data` traz `discountId`, `code`, `label`) — o `discountId` é o usado em `removeDiscountCodeFromCart`.                                        |\n| `paymentMethod` / `numberOfInstallments`                     | `PaymentMethodName` / `Int` | Forma de pagamento/parcelas definidas via `updateCart`.                                                                                                       |\n| `checkoutUrl`                                                | `String`                    | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial. `null` fora da janela de recuperação.       |\n| `createdAt` / `updatedAt`                                    | `AWSDateTime!`              | Datas de criação/atualização.                                                                                                                                 |\n\n### Erros\n\n| Código                    | Condição        | O que fazer               |\n| ------------------------- | --------------- | ------------------------- |\n| `CART_ID_NOT_FOUND_ERROR` | `cartId` vazio. | Envie um `cartId` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **\"Não encontrado\" retorna `null`, não erro.** `cartId`/`cartToken` que não casam, carrinho já travado em checkout (pedido fechado) ou carrinho fora da janela de recuperação resultam em `data.anonymousCartByCartId: null`.\n- **Janela de recuperação:** o carrinho só é retornado se tiver sido criado dentro da janela de recuperação (padrão: 7 dias desde `createdAt`). Depois disso, crie um carrinho novo.\n- `expiresAt` não é preenchido nos carrinhos criados por esta API — use a janela acima como referência."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"anonymousCartByCartId\": {\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      \"checkout\": {},\n      \"checkoutUrl\": \"https://exemplo.com\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\",\n      \"email\": \"cliente@exemplo.com\",\n      \"expiresAt\": \"2025-01-15T10:00:00Z\",\n      \"items\": {\n        \"nodes\": [\n          {\n            \"_id\": \"Example_ID\",\n            \"addedAt\": \"2025-01-15T10:00:00Z\",\n            \"createdAt\": \"2025-01-15T10:00:00Z\",\n            \"isRecurring\": true,\n            \"isVisible\": true,\n            \"isDiscountedBonusItem\": true,\n            \"optionTitle\": \"Example_String\",\n            \"productSlug\": \"Example_String\",\n            \"recurrenceAllowed\": true,\n            \"productType\": \"PRODUCT_SIMPLE\",\n            \"productVendor\": \"Example_String\",\n            \"quantity\": 1,\n            \"title\": \"Example_String\",\n            \"updatedAt\": \"2025-01-15T10:00:00Z\",\n            \"variantTitle\": \"Example_String\",\n            \"minOrderQuantity\": 10,\n            \"maxOrderQuantity\": 10,\n            \"inventoryAvailableToSell\": 10,\n            \"isBackorder\": true,\n            \"isLowQuantity\": true,\n            \"isSoldOut\": true,\n            \"isTaxable\": true,\n            \"taxCode\": \"Example_String\",\n            \"thumbnail\": \"Example_String\"\n          }\n        ],\n        \"pageInfo\": {\n          \"hasNextPage\": false,\n          \"endCursor\": null\n        },\n        \"totalCount\": 10\n      },\n      \"missingItems\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"addedAt\": \"2025-01-15T10:00:00Z\",\n          \"createdAt\": \"2025-01-15T10:00:00Z\",\n          \"isRecurring\": true,\n          \"isVisible\": true,\n          \"isDiscountedBonusItem\": true,\n          \"optionTitle\": \"Example_String\",\n          \"productSlug\": \"Example_String\",\n          \"recurrenceAllowed\": true,\n          \"productType\": \"PRODUCT_SIMPLE\",\n          \"productVendor\": \"Example_String\",\n          \"quantity\": 1,\n          \"title\": \"Example_String\",\n          \"updatedAt\": \"2025-01-15T10:00:00Z\",\n          \"variantTitle\": \"Example_String\",\n          \"minOrderQuantity\": 10,\n          \"maxOrderQuantity\": 10,\n          \"inventoryAvailableToSell\": 10,\n          \"isBackorder\": true,\n          \"isLowQuantity\": true,\n          \"isSoldOut\": true,\n          \"isTaxable\": true,\n          \"taxCode\": \"Example_String\",\n          \"thumbnail\": \"Example_String\"\n        }\n      ],\n      \"referenceId\": \"Example_String\",\n      \"recurringItemsFrequencyId\": \"Example_String\",\n      \"shop\": {\n        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\n        \"sitemap\": \"Example_String\"\n      },\n      \"totalItemQuantity\": 10,\n      \"billing\": [\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      \"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      \"constraints\": {},\n      \"updatedAt\": \"2025-01-15T10:00:00Z\",\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"numberOfInstallments\": 10,\n      \"surcharges\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"fulfillmentGroupId\": \"Example_ID\",\n          \"message\": \"Example_String\",\n          \"surchargeDefinitionId\": \"Example_ID\"\n        }\n      ],\n      \"taxSummary\": {\n        \"calculatedAt\": \"2025-01-15T10:00:00Z\",\n        \"calculatedByTaxServiceName\": \"Example_String\",\n        \"referenceId\": \"Example_String\"\n      }\n    }\n  }\n}"},{"id":"2b78d9b3-9d67-465a-a0e9-6d8a56dcebed","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 AnonymousCartByCartId($cartId: ID!, $cartToken: String!) {\n  anonymousCartByCartId(cartId: $cartId, cartToken: $cartToken) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            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        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            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        }\n        items {\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        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        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        type\n      }\n      summary {\n        discountSummary {\n          fromDiscountCode {\n            recurringItems {\n              amount\n              displayAmount\n            }\n            nonRecurringItems {\n              amount\n              displayAmount\n            }\n            creditOffFlat {\n              amount\n              displayAmount\n            }\n            shipping {\n              amount\n              displayAmount\n            }\n          }\n          itemsRecurrenceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          compareAtPriceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalDiscountCodeAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fromKitItemDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\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        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    checkoutUrl\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            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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    }\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          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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    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          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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          enabled\n          status\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            startDate\n            endDate\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            targetedOption\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}","variables":"{\n  \"cartId\": \"{{cartId}}\",\n  \"cartToken\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## anonymousCartByCartId\n\n**Propósito:** Retorna um carrinho anônimo pelo `cartId` + `cartToken`.\n**Quando usar:** Para ler o estado atual do carrinho em qualquer ponto do checkout (itens, totais, grupos de entrega, opções de frete, cupom aplicado) — por exemplo, para retomar uma sessão do comprador ou conferir o carrinho antes do `placeOrder`. Operação somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome        | Tipo      | Obrigatório | Default | Descrição                            |\n| ----------- | --------- | ----------- | ------- | ------------------------------------ |\n| `cartId`    | `ID!`     | Sim         | —       | `_id` do carrinho.                   |\n| `cartToken` | `String!` | Sim         | —       | O `token` retornado em `createCart`. |\n\n### Retorno\n\n`Cart` (ou `null` — ver Notas). Campos mais usados:\n\n| Propriedade                                                  | Tipo                        | Descrição                                                                                                                                                     |\n| ------------------------------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                                        | `ID!`                       | ID do carrinho.                                                                                                                                               |\n| `email`                                                      | `String`                    | E-mail gravado por `setEmailOnAnonymousCart`.                                                                                                                 |\n| `items`                                                      | `CartItemConnection`        | Itens (paginados: `nodes`/`edges`/`pageInfo`/`totalCount`). Cada item tem `_id`, `quantity`, `price`, `subtotal`, `productConfiguration`, `isRecurring`, etc. |\n| `missingItems`                                               | `[CartItem]`                | Itens que saíram do catálogo depois de adicionados (não entram no pedido).                                                                                    |\n| `totalItemQuantity`                                          | `Int!`                      | Soma das quantidades dos itens.                                                                                                                               |\n| `checkout.fulfillmentGroups[]._id`                           | `ID!`                       | ID do grupo de entrega — use em `updateFulfillmentOptionsForGroup`/`selectFulfillmentOptionForGroup`.                                                         |\n| `checkout.fulfillmentGroups[].shippingAddress`               | `Address`                   | Endereço definido por `setShippingAddressOnCart`.                                                                                                             |\n| `checkout.fulfillmentGroups[].availableFulfillmentOptions[]` | `[FulfillmentOption]!`      | Opções de frete cotadas: `fulfillmentMethod` (`_id`, `name`, `displayName`, `carrier`, `daysToDeliver`, ...), `price`, `handlingPrice`, `discountPrice`.      |\n| `checkout.fulfillmentGroups[].selectedFulfillmentOption`     | `FulfillmentOption`         | Opção de frete escolhida, se houver.                                                                                                                          |\n| `checkout.summary`                                           | `CartSummary!`              | Totais: `itemTotal`, `fulfillmentTotal`, `discountTotal`, `taxTotal`, `total`, etc.                                                                           |\n| `billing[]`                                                  | `[CartBilling]`             | Cupom aplicado (`data` traz `discountId`, `code`, `label`) — o `discountId` é o usado em `removeDiscountCodeFromCart`.                                        |\n| `paymentMethod` / `numberOfInstallments`                     | `PaymentMethodName` / `Int` | Forma de pagamento/parcelas definidas via `updateCart`.                                                                                                       |\n| `checkoutUrl`                                                | `String`                    | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial. `null` fora da janela de recuperação.       |\n| `createdAt` / `updatedAt`                                    | `AWSDateTime!`              | Datas de criação/atualização.                                                                                                                                 |\n\n### Erros\n\n| Código                    | Condição        | O que fazer               |\n| ------------------------- | --------------- | ------------------------- |\n| `CART_ID_NOT_FOUND_ERROR` | `cartId` vazio. | Envie um `cartId` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **\"Não encontrado\" retorna `null`, não erro.** `cartId`/`cartToken` que não casam, carrinho já travado em checkout (pedido fechado) ou carrinho fora da janela de recuperação resultam em `data.anonymousCartByCartId: null`.\n- **Janela de recuperação:** o carrinho só é retornado se tiver sido criado dentro da janela de recuperação (padrão: 7 dias desde `createdAt`). Depois disso, crie um carrinho novo.\n- `expiresAt` não é preenchido nos carrinhos criados por esta API — use a janela acima como referência."},"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":"33c89108-6bed-4c79-8a5f-3007227f4968","name":"Erro - CART_ID_NOT_FOUND_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 AnonymousCartByCartId($cartId: ID!, $cartToken: String!) {\n  anonymousCartByCartId(cartId: $cartId, cartToken: $cartToken) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            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        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            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        }\n        items {\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        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        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        type\n      }\n      summary {\n        discountSummary {\n          fromDiscountCode {\n            recurringItems {\n              amount\n              displayAmount\n            }\n            nonRecurringItems {\n              amount\n              displayAmount\n            }\n            creditOffFlat {\n              amount\n              displayAmount\n            }\n            shipping {\n              amount\n              displayAmount\n            }\n          }\n          itemsRecurrenceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          compareAtPriceDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          totalDiscountCodeAmount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\n          }\n          fromKitItemDiscount {\n            amount\n            currency {\n              _id\n              code\n              decimal\n              format\n              rate\n              scale\n              symbol\n              thousand\n            }\n            displayAmount\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        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    checkoutUrl\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            metafields {\n              description\n              key\n              namespace\n              scope\n              value\n              valueType\n            }\n            name\n            position\n            publishedUrl\n            shop {\n              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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    }\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          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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    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          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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          enabled\n          status\n          shopId\n          handling {\n            value\n            isPercentage\n          }\n          constraints {\n            startDate\n            endDate\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            targetedOption\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}","variables":"{\n  \"cartId\": \"{{cartId}}\",\n  \"cartToken\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## anonymousCartByCartId\n\n**Propósito:** Retorna um carrinho anônimo pelo `cartId` + `cartToken`.\n**Quando usar:** Para ler o estado atual do carrinho em qualquer ponto do checkout (itens, totais, grupos de entrega, opções de frete, cupom aplicado) — por exemplo, para retomar uma sessão do comprador ou conferir o carrinho antes do `placeOrder`. Operação somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome        | Tipo      | Obrigatório | Default | Descrição                            |\n| ----------- | --------- | ----------- | ------- | ------------------------------------ |\n| `cartId`    | `ID!`     | Sim         | —       | `_id` do carrinho.                   |\n| `cartToken` | `String!` | Sim         | —       | O `token` retornado em `createCart`. |\n\n### Retorno\n\n`Cart` (ou `null` — ver Notas). Campos mais usados:\n\n| Propriedade                                                  | Tipo                        | Descrição                                                                                                                                                     |\n| ------------------------------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                                                        | `ID!`                       | ID do carrinho.                                                                                                                                               |\n| `email`                                                      | `String`                    | E-mail gravado por `setEmailOnAnonymousCart`.                                                                                                                 |\n| `items`                                                      | `CartItemConnection`        | Itens (paginados: `nodes`/`edges`/`pageInfo`/`totalCount`). Cada item tem `_id`, `quantity`, `price`, `subtotal`, `productConfiguration`, `isRecurring`, etc. |\n| `missingItems`                                               | `[CartItem]`                | Itens que saíram do catálogo depois de adicionados (não entram no pedido).                                                                                    |\n| `totalItemQuantity`                                          | `Int!`                      | Soma das quantidades dos itens.                                                                                                                               |\n| `checkout.fulfillmentGroups[]._id`                           | `ID!`                       | ID do grupo de entrega — use em `updateFulfillmentOptionsForGroup`/`selectFulfillmentOptionForGroup`.                                                         |\n| `checkout.fulfillmentGroups[].shippingAddress`               | `Address`                   | Endereço definido por `setShippingAddressOnCart`.                                                                                                             |\n| `checkout.fulfillmentGroups[].availableFulfillmentOptions[]` | `[FulfillmentOption]!`      | Opções de frete cotadas: `fulfillmentMethod` (`_id`, `name`, `displayName`, `carrier`, `daysToDeliver`, ...), `price`, `handlingPrice`, `discountPrice`.      |\n| `checkout.fulfillmentGroups[].selectedFulfillmentOption`     | `FulfillmentOption`         | Opção de frete escolhida, se houver.                                                                                                                          |\n| `checkout.summary`                                           | `CartSummary!`              | Totais: `itemTotal`, `fulfillmentTotal`, `discountTotal`, `taxTotal`, `total`, etc.                                                                           |\n| `billing[]`                                                  | `[CartBilling]`             | Cupom aplicado (`data` traz `discountId`, `code`, `label`) — o `discountId` é o usado em `removeDiscountCodeFromCart`.                                        |\n| `paymentMethod` / `numberOfInstallments`                     | `PaymentMethodName` / `Int` | Forma de pagamento/parcelas definidas via `updateCart`.                                                                                                       |\n| `checkoutUrl`                                                | `String`                    | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial. `null` fora da janela de recuperação.       |\n| `createdAt` / `updatedAt`                                    | `AWSDateTime!`              | Datas de criação/atualização.                                                                                                                                 |\n\n### Erros\n\n| Código                    | Condição        | O que fazer               |\n| ------------------------- | --------------- | ------------------------- |\n| `CART_ID_NOT_FOUND_ERROR` | `cartId` vazio. | Envie um `cartId` válido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **\"Não encontrado\" retorna `null`, não erro.** `cartId`/`cartToken` que não casam, carrinho já travado em checkout (pedido fechado) ou carrinho fora da janela de recuperação resultam em `data.anonymousCartByCartId: null`.\n- **Janela de recuperação:** o carrinho só é retornado se tiver sido criado dentro da janela de recuperação (padrão: 7 dias desde `createdAt`). Depois disso, crie um carrinho novo.\n- `expiresAt` não é preenchido nos carrinhos criados por esta API — use a janela acima como referência."},"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\": \"Cart id not found error\",\n      \"extensions\": {\n        \"code\": \"CART_ID_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"9c6eb3c0-6cdc-5f86-a088-dde2bb8817f4"},{"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(\"checkoutUrl\");","        if (data.checkoutUrl !== undefined && data.checkoutUrl !== null) {","            pm.expect(typeof data.checkoutUrl).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\");","        }","    }","});"]}}],"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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"41bdfbdd-b88c-467f-ac47-80c60b5c2dfd","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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      \"checkoutUrl\": \"https://exemplo.com\",\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        \"maxInstallments\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"553d829d-e99e-4793-9d9b-46b595604238","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"1ea86334-be5d-449c-a3fb-7ddc59806244","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      checkoutUrl\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        maxInstallments\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":"14cd75f8-eba1-470a-b68f-dcb54c022b4a","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        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      checkoutUrl\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        maxInstallments\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          \"checkoutUrl\": \"https://exemplo.com\",\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":"5380246b-cc02-42ea-9652-2ea405879ed5","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        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      checkoutUrl\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        maxInstallments\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":"aacaf139-93a0-443a-8372-7c06ee9dd293","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        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    nodes {\n      _id\n      referenceId\n      checkoutUrl\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        maxInstallments\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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":"8d73eea6-f71f-4be7-b955-30310fa20111","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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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":"42bde08d-dead-411d-8ea3-f78dec841cb7","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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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":"5f71ece8-84f5-4cf0-a412-2c46c465be22","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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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] publicPaymentLink","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 publicPaymentLink data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"publicPaymentLink\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"publicPaymentLink returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.publicPaymentLink;","    ","    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":"414e01f8-fd89-557a-adec-c8220dcc353f","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 PublicPaymentLink($paymentLinkId: ID!, $discountCode: String, $paymentMethod: PaymentMethodName, $address: AddressInput, $shipmentValue: Float, $numberOfInstallments: Int) {\n  publicPaymentLink(paymentLinkId: $paymentLinkId, discountCode: $discountCode, paymentMethod: $paymentMethod, address: $address, shipmentValue: $shipmentValue, numberOfInstallments: $numberOfInstallments) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"discountCode\": \"Example_String\",\n  \"paymentMethod\": \"none\",\n  \"address\": {\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\",\n    \"mobile\": \"Example_String\",\n    \"trackByMobile\": true\n  },\n  \"shipmentValue\": 99.99,\n  \"numberOfInstallments\": 10\n}"}},"url":"{{base_url}}","description":"<h2 id=\"publicpaymentlink\">publicPaymentLink</h2>\n<p><strong>Propósito:</strong> Retorna um link de pagamento da sua loja com os valores <strong>simulados</strong> para uma combinação de cupom, forma de pagamento, parcelas, endereço e frete — o \"resumo de compra\" que o comprador veria antes de pagar.\n<strong>Quando usar:</strong> Na etapa de revisão de um checkout de link de pagamento conduzido pela sua integração: para exibir o total com cupom, promoções da loja, juros de parcelamento e ajustes por endereço antes de chamar <code>placePaymentLinkOrder</code>. É <strong>somente leitura</strong>: nada é gravado no link — repita quantas vezes quiser, a cada mudança de escolha do comprador. Para apenas consultar os dados cadastrados do link, use <code>paymentLink</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Só links da sua loja são encontrados. Não envie <code>x-customer-token</code>.</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><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do link de pagamento.</td>\n</tr>\n<tr>\n<td><code>discountCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Cupom a simular (sem diferenciar maiúsculas/minúsculas). Ignorado se o link tiver <code>blockApplyDiscountCode: true</code>.</td>\n</tr>\n<tr>\n<td><code>paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Não</td>\n<td>forma do link, se houver</td>\n<td>Forma de pagamento a simular (<code>unboxpay_credit</code>, <code>unboxpay_boleto</code>, <code>unboxpay_pix</code>, <code>none</code>). Ativa promoções da loja por forma de pagamento, exceto se <code>blockApplyShopSale: true</code>.</td>\n</tr>\n<tr>\n<td><code>numberOfInstallments</code></td>\n<td><code>Int</code></td>\n<td><strong>Sim</strong> se <code>paymentMethod: unboxpay_credit</code>; <strong>proibido</strong> caso contrário</td>\n<td>—</td>\n<td>Número de parcelas, para calcular juros e valor da parcela.</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td><code>AddressInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Endereço do comprador (mesma estrutura de <code>setShippingAddressOnCart</code>), usado em ajustes de valor que dependem do destino.</td>\n</tr>\n<tr>\n<td><code>shipmentValue</code></td>\n<td><code>Float</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Valor de frete a considerar na simulação (decimal ≥ 0).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>PaymentLink</code> — mesmos campos de <code>paymentLink</code>, com <code>metadata</code> <strong>recalculado</strong> para os argumentos enviados:</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>metadata.orderTotal</code></td>\n<td><code>Money</code></td>\n<td>Total simulado após cupom e promoções.</td>\n</tr>\n<tr>\n<td><code>metadata.discount</code></td>\n<td><code>PaymentLinkDiscount</code></td>\n<td>Cupom aplicado (<code>discountId</code>, <code>code</code>, <code>method</code>, <code>totalDiscount</code>). Ausente se o cupom não foi aplicado.</td>\n</tr>\n<tr>\n<td><code>metadata.shopSales</code></td>\n<td><code>[PaymentLinkShopSale]</code></td>\n<td>Promoções automáticas da loja aplicadas.</td>\n</tr>\n<tr>\n<td><code>metadata.installmentAmount</code></td>\n<td><code>Money</code></td>\n<td>Valor de cada parcela (crédito parcelado).</td>\n</tr>\n<tr>\n<td><code>metadata.interest</code></td>\n<td><code>Money</code></td>\n<td>Juros do parcelamento.</td>\n</tr>\n<tr>\n<td><code>metadata.orderTotalBeforeInterest</code></td>\n<td><code>Money</code></td>\n<td>Total antes dos juros.</td>\n</tr>\n<tr>\n<td><code>metadata.orderSummary</code></td>\n<td><code>[PaymentLinkSummaryItem!]</code></td>\n<td>Linhas do resumo do pedido (descrição + valor).</td>\n</tr>\n<tr>\n<td><code>status</code> / <code>isExpired</code> / <code>isSoldOut</code></td>\n<td>—</td>\n<td>Estado do link — confira antes de seguir para o pagamento.</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 não excluído com esse <code>paymentLinkId</code> na sua loja.</td>\n<td>Confira o <code>_id</code>; links de outras lojas não são encontrados.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Validação dos argumentos (ex.: <code>numberOfInstallments</code> ausente com <code>unboxpay_credit</code>, ou enviado com outra forma de pagamento; <code>address</code> incompleto; <code>shipmentValue</code> negativo).</td>\n<td>Corrija os argumentos; a causa vem descrita em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Cupom inválido não gera erro.</strong> Se o <code>discountCode</code> não existir, estiver fora da vigência/condições ou não for de um tipo aceito em links, a simulação segue sem desconto — verifique se <code>metadata.discount</code> veio preenchido.</li>\n<li><strong>Só cupons de valor/percentual se aplicam a links:</strong> métodos <code>DISCOUNT</code>, <code>SALE</code>, <code>CREDIT_OFF_FLAT</code> e <code>CREDIT_OFF_BY_PRODUCT_TYPE</code>. Cupons de frete grátis, assinatura ou produto em dobro não são aplicados aqui.</li>\n<li><strong>Links pausados, expirados ou esgotados também são retornados</strong> — a query não bloqueia; use <code>status</code>, <code>isExpired</code> e <code>isSoldOut</code> para decidir se o comprador pode pagar.</li>\n<li>Nada é persistido: o resultado vale só para a resposta atual.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"62a74384-db55-4ef7-92b1-b56e27f0dd45","name":"200 - publicPaymentLink","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 PublicPaymentLink($paymentLinkId: ID!, $discountCode: String, $paymentMethod: PaymentMethodName, $address: AddressInput, $shipmentValue: Float, $numberOfInstallments: Int) {\n  publicPaymentLink(paymentLinkId: $paymentLinkId, discountCode: $discountCode, paymentMethod: $paymentMethod, address: $address, shipmentValue: $shipmentValue, numberOfInstallments: $numberOfInstallments) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"discountCode\": \"Example_String\",\n  \"paymentMethod\": \"none\",\n  \"address\": {\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\",\n    \"mobile\": \"Example_String\",\n    \"trackByMobile\": true\n  },\n  \"shipmentValue\": 99.99,\n  \"numberOfInstallments\": 10\n}"}},"url":"{{base_url}}","description":"## publicPaymentLink\n\n**Propósito:** Retorna um link de pagamento da sua loja com os valores **simulados** para uma combinação de cupom, forma de pagamento, parcelas, endereço e frete — o \"resumo de compra\" que o comprador veria antes de pagar.\n**Quando usar:** Na etapa de revisão de um checkout de link de pagamento conduzido pela sua integração: para exibir o total com cupom, promoções da loja, juros de parcelamento e ajustes por endereço antes de chamar `placePaymentLinkOrder`. É **somente leitura**: nada é gravado no link — repita quantas vezes quiser, a cada mudança de escolha do comprador. Para apenas consultar os dados cadastrados do link, use `paymentLink`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Só links da sua loja são encontrados. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome                   | Tipo                | Obrigatório                                                              | Default                  | Descrição                                                                                                                                                                          |\n| ---------------------- | ------------------- | ------------------------------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `paymentLinkId`        | `ID!`               | Sim                                                                      | —                        | `_id` do link de pagamento.                                                                                                                                                        |\n| `discountCode`         | `String`            | Não                                                                      | —                        | Cupom a simular (sem diferenciar maiúsculas/minúsculas). Ignorado se o link tiver `blockApplyDiscountCode: true`.                                                                  |\n| `paymentMethod`        | `PaymentMethodName` | Não                                                                      | forma do link, se houver | Forma de pagamento a simular (`unboxpay_credit`, `unboxpay_boleto`, `unboxpay_pix`, `none`). Ativa promoções da loja por forma de pagamento, exceto se `blockApplyShopSale: true`. |\n| `numberOfInstallments` | `Int`               | **Sim** se `paymentMethod: unboxpay_credit`; **proibido** caso contrário | —                        | Número de parcelas, para calcular juros e valor da parcela.                                                                                                                        |\n| `address`              | `AddressInput`      | Não                                                                      | —                        | Endereço do comprador (mesma estrutura de `setShippingAddressOnCart`), usado em ajustes de valor que dependem do destino.                                                          |\n| `shipmentValue`        | `Float`             | Não                                                                      | —                        | Valor de frete a considerar na simulação (decimal ≥ 0).                                                                                                                            |\n\n### Retorno\n\n`PaymentLink` — mesmos campos de `paymentLink`, com `metadata` **recalculado** para os argumentos enviados:\n\n| Propriedade                          | Tipo                        | Descrição                                                                                              |\n| ------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `metadata.orderTotal`                | `Money`                     | Total simulado após cupom e promoções.                                                                 |\n| `metadata.discount`                  | `PaymentLinkDiscount`       | Cupom aplicado (`discountId`, `code`, `method`, `totalDiscount`). Ausente se o cupom não foi aplicado. |\n| `metadata.shopSales`                 | `[PaymentLinkShopSale]`     | Promoções automáticas da loja aplicadas.                                                               |\n| `metadata.installmentAmount`         | `Money`                     | Valor de cada parcela (crédito parcelado).                                                             |\n| `metadata.interest`                  | `Money`                     | Juros do parcelamento.                                                                                 |\n| `metadata.orderTotalBeforeInterest`  | `Money`                     | Total antes dos juros.                                                                                 |\n| `metadata.orderSummary`              | `[PaymentLinkSummaryItem!]` | Linhas do resumo do pedido (descrição + valor).                                                        |\n| `status` / `isExpired` / `isSoldOut` | —                           | Estado do link — confira antes de seguir para o pagamento.                                             |\n\n### Erros\n\n| Código                         | Condição                                                                                                                                                                       | O que fazer                                                 |\n| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------- |\n| `PAYMENT_LINK_NOT_FOUND_ERROR` | Não existe link não excluído com esse `paymentLinkId` na sua loja.                                                                                                             | Confira o `_id`; links de outras lojas não são encontrados. |\n| _(sem código)_                 | Validação dos argumentos (ex.: `numberOfInstallments` ausente com `unboxpay_credit`, ou enviado com outra forma de pagamento; `address` incompleto; `shipmentValue` negativo). | Corrija os argumentos; a causa vem descrita em `message`.   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Cupom inválido não gera erro.** Se o `discountCode` não existir, estiver fora da vigência/condições ou não for de um tipo aceito em links, a simulação segue sem desconto — verifique se `metadata.discount` veio preenchido.\n- **Só cupons de valor/percentual se aplicam a links:** métodos `DISCOUNT`, `SALE`, `CREDIT_OFF_FLAT` e `CREDIT_OFF_BY_PRODUCT_TYPE`. Cupons de frete grátis, assinatura ou produto em dobro não são aplicados aqui.\n- **Links pausados, expirados ou esgotados também são retornados** — a query não bloqueia; use `status`, `isExpired` e `isSoldOut` para decidir se o comprador pode pagar.\n- Nada é persistido: o resultado vale só para a resposta atual."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"publicPaymentLink\": {\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":"23a32a83-5e47-42a3-9308-4fa553ec8a0f","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 PublicPaymentLink($paymentLinkId: ID!, $discountCode: String, $paymentMethod: PaymentMethodName, $address: AddressInput, $shipmentValue: Float, $numberOfInstallments: Int) {\n  publicPaymentLink(paymentLinkId: $paymentLinkId, discountCode: $discountCode, paymentMethod: $paymentMethod, address: $address, shipmentValue: $shipmentValue, numberOfInstallments: $numberOfInstallments) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"discountCode\": \"Example_String\",\n  \"paymentMethod\": \"none\",\n  \"address\": {\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\",\n    \"mobile\": \"Example_String\",\n    \"trackByMobile\": true\n  },\n  \"shipmentValue\": 99.99,\n  \"numberOfInstallments\": 10\n}"}},"url":"{{base_url}}","description":"## publicPaymentLink\n\n**Propósito:** Retorna um link de pagamento da sua loja com os valores **simulados** para uma combinação de cupom, forma de pagamento, parcelas, endereço e frete — o \"resumo de compra\" que o comprador veria antes de pagar.\n**Quando usar:** Na etapa de revisão de um checkout de link de pagamento conduzido pela sua integração: para exibir o total com cupom, promoções da loja, juros de parcelamento e ajustes por endereço antes de chamar `placePaymentLinkOrder`. É **somente leitura**: nada é gravado no link — repita quantas vezes quiser, a cada mudança de escolha do comprador. Para apenas consultar os dados cadastrados do link, use `paymentLink`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Só links da sua loja são encontrados. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome                   | Tipo                | Obrigatório                                                              | Default                  | Descrição                                                                                                                                                                          |\n| ---------------------- | ------------------- | ------------------------------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `paymentLinkId`        | `ID!`               | Sim                                                                      | —                        | `_id` do link de pagamento.                                                                                                                                                        |\n| `discountCode`         | `String`            | Não                                                                      | —                        | Cupom a simular (sem diferenciar maiúsculas/minúsculas). Ignorado se o link tiver `blockApplyDiscountCode: true`.                                                                  |\n| `paymentMethod`        | `PaymentMethodName` | Não                                                                      | forma do link, se houver | Forma de pagamento a simular (`unboxpay_credit`, `unboxpay_boleto`, `unboxpay_pix`, `none`). Ativa promoções da loja por forma de pagamento, exceto se `blockApplyShopSale: true`. |\n| `numberOfInstallments` | `Int`               | **Sim** se `paymentMethod: unboxpay_credit`; **proibido** caso contrário | —                        | Número de parcelas, para calcular juros e valor da parcela.                                                                                                                        |\n| `address`              | `AddressInput`      | Não                                                                      | —                        | Endereço do comprador (mesma estrutura de `setShippingAddressOnCart`), usado em ajustes de valor que dependem do destino.                                                          |\n| `shipmentValue`        | `Float`             | Não                                                                      | —                        | Valor de frete a considerar na simulação (decimal ≥ 0).                                                                                                                            |\n\n### Retorno\n\n`PaymentLink` — mesmos campos de `paymentLink`, com `metadata` **recalculado** para os argumentos enviados:\n\n| Propriedade                          | Tipo                        | Descrição                                                                                              |\n| ------------------------------------ | --------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `metadata.orderTotal`                | `Money`                     | Total simulado após cupom e promoções.                                                                 |\n| `metadata.discount`                  | `PaymentLinkDiscount`       | Cupom aplicado (`discountId`, `code`, `method`, `totalDiscount`). Ausente se o cupom não foi aplicado. |\n| `metadata.shopSales`                 | `[PaymentLinkShopSale]`     | Promoções automáticas da loja aplicadas.                                                               |\n| `metadata.installmentAmount`         | `Money`                     | Valor de cada parcela (crédito parcelado).                                                             |\n| `metadata.interest`                  | `Money`                     | Juros do parcelamento.                                                                                 |\n| `metadata.orderTotalBeforeInterest`  | `Money`                     | Total antes dos juros.                                                                                 |\n| `metadata.orderSummary`              | `[PaymentLinkSummaryItem!]` | Linhas do resumo do pedido (descrição + valor).                                                        |\n| `status` / `isExpired` / `isSoldOut` | —                           | Estado do link — confira antes de seguir para o pagamento.                                             |\n\n### Erros\n\n| Código                         | Condição                                                                                                                                                                       | O que fazer                                                 |\n| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------- |\n| `PAYMENT_LINK_NOT_FOUND_ERROR` | Não existe link não excluído com esse `paymentLinkId` na sua loja.                                                                                                             | Confira o `_id`; links de outras lojas não são encontrados. |\n| _(sem código)_                 | Validação dos argumentos (ex.: `numberOfInstallments` ausente com `unboxpay_credit`, ou enviado com outra forma de pagamento; `address` incompleto; `shipmentValue` negativo). | Corrija os argumentos; a causa vem descrita em `message`.   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Cupom inválido não gera erro.** Se o `discountCode` não existir, estiver fora da vigência/condições ou não for de um tipo aceito em links, a simulação segue sem desconto — verifique se `metadata.discount` veio preenchido.\n- **Só cupons de valor/percentual se aplicam a links:** métodos `DISCOUNT`, `SALE`, `CREDIT_OFF_FLAT` e `CREDIT_OFF_BY_PRODUCT_TYPE`. Cupons de frete grátis, assinatura ou produto em dobro não são aplicados aqui.\n- **Links pausados, expirados ou esgotados também são retornados** — a query não bloqueia; use `status`, `isExpired` e `isSoldOut` para decidir se o comprador pode pagar.\n- Nada é persistido: o resultado vale só para a resposta atual."},"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":"414e01f8-fd89-557a-adec-c8220dcc353f"},{"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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"7d3340ac-dffb-4683-8d9c-051bde919553","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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"6f2981af-9793-4aa1-a308-4ec84058cf39","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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"ff4696da-8900-446e-8992-7cab73fd16fd","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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"f1f5a625-2847-4107-8b02-c30680b3835b","_postman_id":"f1f5a625-2847-4107-8b02-c30680b3835b","description":""},{"name":"Mutation","item":[{"name":"[Mutation] addCartItems","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 addCartItems data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"addCartItems\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"88a8870a-af32-561f-832e-9ea028c536e6","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 AddCartItems($input: AddCartItemsInput!) {\n  addCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"addcartitems\">addCartItems</h2>\n<p><strong>Propósito:</strong> Adiciona um ou mais itens a um carrinho existente.\n<strong>Quando usar:</strong> Depois de <code>createCart</code>, sempre que o comprador incluir produtos. Se o produto/variante já estiver no carrinho (mesmo tipo recorrente/avulso), a quantidade enviada é <strong>somada</strong> à existente. <strong>Não é idempotente</strong>: repetir a mesma chamada soma a quantidade de novo. Para definir uma quantidade absoluta, use <code>updateCartItemsQuantity</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: AddCartItemsInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>. Opcional no schema, mas <strong>obrigatório na prática</strong>: sem ele a chamada falha.</td>\n</tr>\n<tr>\n<td><code>input.items</code></td>\n<td><code>[CartItemInput]!</code></td>\n<td>Sim (≥ 1)</td>\n<td>—</td>\n<td>Itens a adicionar. Mesma estrutura de <code>createCart</code> (<code>productConfiguration</code> <strong>ou</strong> <code>productKitConfiguration</code>, <code>quantity</code>, <code>price</code>, ...).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Campos de cada item: ver a tabela de <code>input.items[]</code> em <code>createCart</code> — as regras são as mesmas (<code>price.amount</code> é ignorado, o preço vem do catálogo; <code>quantity</code> inteiro ≥ 1 para produto simples; kits sempre com quantidade <code>1</code>).</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>AddCartItemsPayload!</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 atualizado.</td>\n</tr>\n<tr>\n<td><code>incorrectPriceFailures</code></td>\n<td><code>[IncorrectPriceFailureDetails]!</code></td>\n<td>Sempre vazio: o preço é sempre o do catálogo.</td>\n</tr>\n<tr>\n<td><code>minOrderQuantityFailures</code></td>\n<td><code>[MinOrderQuantityFailureDetails]!</code></td>\n<td>Itens não adicionados porque a quantidade total (existente + enviada) ficou abaixo do mínimo.</td>\n</tr>\n<tr>\n<td><code>maxOrderQuantityFailures</code></td>\n<td><code>[MaxOrderQuantityFailureDetails]!</code></td>\n<td>Itens não adicionados porque a quantidade total ficou acima do máximo da variante.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Efeitos colaterais (ex.: brinde de promoção adicionado/alterado, cupom removido/recuperado).</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Sempre <code>null</code> (o campo não é aceito no input desta operaçã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>CART_NOT_FOUND_ERROR</code></td>\n<td>Nenhum carrinho ativo casa com <code>cartId</code> + <code>cartToken</code> (inexistente, token errado, ou carrinho já travado em checkout).</td>\n<td>Confira o par <code>cartId</code>/<code>cartToken</code>; se o pedido já foi fechado, crie um novo carrinho.</td>\n</tr>\n<tr>\n<td><code>INVALID_PRODUCT_CONFIGURATIONS_ERROR</code></td>\n<td>Algum item não corresponde a um produto/variante (ou kit) válido da loja do carrinho.</td>\n<td>Confira <code>productId</code>/<code>productVariantId</code>/<code>productKitId</code> no catálogo da sua loja.</td>\n</tr>\n<tr>\n<td><code>OUT_OF_STOCK_PRODUCT_CONFIGURATION_ERROR</code></td>\n<td>Algum item não tem estoque suficiente para a quantidade pedida.</td>\n<td>Consulte o estoque (<code>simpleInventory</code>) e reduza a quantidade ou remova o item.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> inválido (ex.: <code>cartToken</code> ausente, <code>items</code> vazio, item sem <code>productConfiguration</code>/<code>productKitConfiguration</code>).</td>\n<td>Corrija o <code>input</code>; a causa vem descrita em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Soma, não substitui.</strong> Enviar <code>quantity: 2</code> de um item que já tem 3 no carrinho resulta em 5 (se permitido pelo máximo da variante).</li>\n<li><strong>Rejeições por quantidade não geram erro:</strong> o item simplesmente não entra e aparece em <code>minOrderQuantityFailures</code>/<code>maxOrderQuantityFailures</code>. Sempre verifique essas listas. Da mesma forma, um item válido mas sem preço na <code>currencyCode</code> enviada é descartado sem erro — compare <code>cart.items</code> com o que você enviou.</li>\n<li><strong>Após alterar itens, recalcule o frete</strong> com <code>updateFulfillmentOptionsForGroup</code> — as cotações já existentes não são atualizadas automaticamente, e o <code>placeOrder</code> falha se o preço do frete escolhido tiver mudado.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5227004a-567a-4bd3-a513-4d55c3e0659b","name":"200 - addCartItems","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 AddCartItems($input: AddCartItemsInput!) {\n  addCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## addCartItems\n\n**Propósito:** Adiciona um ou mais itens a um carrinho existente.\n**Quando usar:** Depois de `createCart`, sempre que o comprador incluir produtos. Se o produto/variante já estiver no carrinho (mesmo tipo recorrente/avulso), a quantidade enviada é **somada** à existente. **Não é idempotente**: repetir a mesma chamada soma a quantidade de novo. Para definir uma quantidade absoluta, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: AddCartItemsInput!`.\n\n| Nome              | Tipo               | Obrigatório | Default | Descrição                                                                                                                               |\n| ----------------- | ------------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`    | `ID!`              | Sim         | —       | `_id` do carrinho.                                                                                                                      |\n| `input.cartToken` | `String`           | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha.                       |\n| `input.items`     | `[CartItemInput]!` | Sim (≥ 1)   | —       | Itens a adicionar. Mesma estrutura de `createCart` (`productConfiguration` **ou** `productKitConfiguration`, `quantity`, `price`, ...). |\n\nCampos de cada item: ver a tabela de `input.items[]` em `createCart` — as regras são as mesmas (`price.amount` é ignorado, o preço vem do catálogo; `quantity` inteiro ≥ 1 para produto simples; kits sempre com quantidade `1`).\n\n### Retorno\n\n`AddCartItemsPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                     |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho atualizado.                                                                        |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio: o preço é sempre o do catálogo.                                                 |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens não adicionados porque a quantidade total (existente + enviada) ficou abaixo do mínimo. |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens não adicionados porque a quantidade total ficou acima do máximo da variante.            |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais (ex.: brinde de promoção adicionado/alterado, cupom removido/recuperado).  |\n| `clientMutationId`         | `String`                            | Sempre `null` (o campo não é aceito no input desta operação).                                 |\n\n### Erros\n\n| Código                                     | Condição                                                                                                               | O que fazer                                                                            |\n| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                     | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou carrinho já travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| `INVALID_PRODUCT_CONFIGURATIONS_ERROR`     | Algum item não corresponde a um produto/variante (ou kit) válido da loja do carrinho.                                  | Confira `productId`/`productVariantId`/`productKitId` no catálogo da sua loja.         |\n| `OUT_OF_STOCK_PRODUCT_CONFIGURATION_ERROR` | Algum item não tem estoque suficiente para a quantidade pedida.                                                        | Consulte o estoque (`simpleInventory`) e reduza a quantidade ou remova o item.         |\n| _(sem código)_                             | `input` inválido (ex.: `cartToken` ausente, `items` vazio, item sem `productConfiguration`/`productKitConfiguration`). | Corrija o `input`; a causa vem descrita em `message`.                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Soma, não substitui.** Enviar `quantity: 2` de um item que já tem 3 no carrinho resulta em 5 (se permitido pelo máximo da variante).\n- **Rejeições por quantidade não geram erro:** o item simplesmente não entra e aparece em `minOrderQuantityFailures`/`maxOrderQuantityFailures`. Sempre verifique essas listas. Da mesma forma, um item válido mas sem preço na `currencyCode` enviada é descartado sem erro — compare `cart.items` com o que você enviou.\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup` — as cotações já existentes não são atualizadas automaticamente, e o `placeOrder` falha se o preço do frete escolhido tiver mudado."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"addCartItems\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"1bbcc8f2-012d-4963-8a12-7340663d1822","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 AddCartItems($input: AddCartItemsInput!) {\n  addCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## addCartItems\n\n**Propósito:** Adiciona um ou mais itens a um carrinho existente.\n**Quando usar:** Depois de `createCart`, sempre que o comprador incluir produtos. Se o produto/variante já estiver no carrinho (mesmo tipo recorrente/avulso), a quantidade enviada é **somada** à existente. **Não é idempotente**: repetir a mesma chamada soma a quantidade de novo. Para definir uma quantidade absoluta, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: AddCartItemsInput!`.\n\n| Nome              | Tipo               | Obrigatório | Default | Descrição                                                                                                                               |\n| ----------------- | ------------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`    | `ID!`              | Sim         | —       | `_id` do carrinho.                                                                                                                      |\n| `input.cartToken` | `String`           | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha.                       |\n| `input.items`     | `[CartItemInput]!` | Sim (≥ 1)   | —       | Itens a adicionar. Mesma estrutura de `createCart` (`productConfiguration` **ou** `productKitConfiguration`, `quantity`, `price`, ...). |\n\nCampos de cada item: ver a tabela de `input.items[]` em `createCart` — as regras são as mesmas (`price.amount` é ignorado, o preço vem do catálogo; `quantity` inteiro ≥ 1 para produto simples; kits sempre com quantidade `1`).\n\n### Retorno\n\n`AddCartItemsPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                     |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho atualizado.                                                                        |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio: o preço é sempre o do catálogo.                                                 |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens não adicionados porque a quantidade total (existente + enviada) ficou abaixo do mínimo. |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens não adicionados porque a quantidade total ficou acima do máximo da variante.            |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais (ex.: brinde de promoção adicionado/alterado, cupom removido/recuperado).  |\n| `clientMutationId`         | `String`                            | Sempre `null` (o campo não é aceito no input desta operação).                                 |\n\n### Erros\n\n| Código                                     | Condição                                                                                                               | O que fazer                                                                            |\n| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                     | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou carrinho já travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| `INVALID_PRODUCT_CONFIGURATIONS_ERROR`     | Algum item não corresponde a um produto/variante (ou kit) válido da loja do carrinho.                                  | Confira `productId`/`productVariantId`/`productKitId` no catálogo da sua loja.         |\n| `OUT_OF_STOCK_PRODUCT_CONFIGURATION_ERROR` | Algum item não tem estoque suficiente para a quantidade pedida.                                                        | Consulte o estoque (`simpleInventory`) e reduza a quantidade ou remova o item.         |\n| _(sem código)_                             | `input` inválido (ex.: `cartToken` ausente, `items` vazio, item sem `productConfiguration`/`productKitConfiguration`). | Corrija o `input`; a causa vem descrita em `message`.                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Soma, não substitui.** Enviar `quantity: 2` de um item que já tem 3 no carrinho resulta em 5 (se permitido pelo máximo da variante).\n- **Rejeições por quantidade não geram erro:** o item simplesmente não entra e aparece em `minOrderQuantityFailures`/`maxOrderQuantityFailures`. Sempre verifique essas listas. Da mesma forma, um item válido mas sem preço na `currencyCode` enviada é descartado sem erro — compare `cart.items` com o que você enviou.\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup` — as cotações já existentes não são atualizadas automaticamente, e o `placeOrder` falha se o preço do frete escolhido tiver mudado."},"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":"f3117cf5-81a3-496b-8b49-fd5da87b972f","name":"Erro - CART_NOT_FOUND_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 AddCartItems($input: AddCartItemsInput!) {\n  addCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## addCartItems\n\n**Propósito:** Adiciona um ou mais itens a um carrinho existente.\n**Quando usar:** Depois de `createCart`, sempre que o comprador incluir produtos. Se o produto/variante já estiver no carrinho (mesmo tipo recorrente/avulso), a quantidade enviada é **somada** à existente. **Não é idempotente**: repetir a mesma chamada soma a quantidade de novo. Para definir uma quantidade absoluta, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: AddCartItemsInput!`.\n\n| Nome              | Tipo               | Obrigatório | Default | Descrição                                                                                                                               |\n| ----------------- | ------------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`    | `ID!`              | Sim         | —       | `_id` do carrinho.                                                                                                                      |\n| `input.cartToken` | `String`           | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha.                       |\n| `input.items`     | `[CartItemInput]!` | Sim (≥ 1)   | —       | Itens a adicionar. Mesma estrutura de `createCart` (`productConfiguration` **ou** `productKitConfiguration`, `quantity`, `price`, ...). |\n\nCampos de cada item: ver a tabela de `input.items[]` em `createCart` — as regras são as mesmas (`price.amount` é ignorado, o preço vem do catálogo; `quantity` inteiro ≥ 1 para produto simples; kits sempre com quantidade `1`).\n\n### Retorno\n\n`AddCartItemsPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                     |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho atualizado.                                                                        |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio: o preço é sempre o do catálogo.                                                 |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens não adicionados porque a quantidade total (existente + enviada) ficou abaixo do mínimo. |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens não adicionados porque a quantidade total ficou acima do máximo da variante.            |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais (ex.: brinde de promoção adicionado/alterado, cupom removido/recuperado).  |\n| `clientMutationId`         | `String`                            | Sempre `null` (o campo não é aceito no input desta operação).                                 |\n\n### Erros\n\n| Código                                     | Condição                                                                                                               | O que fazer                                                                            |\n| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                     | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou carrinho já travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| `INVALID_PRODUCT_CONFIGURATIONS_ERROR`     | Algum item não corresponde a um produto/variante (ou kit) válido da loja do carrinho.                                  | Confira `productId`/`productVariantId`/`productKitId` no catálogo da sua loja.         |\n| `OUT_OF_STOCK_PRODUCT_CONFIGURATION_ERROR` | Algum item não tem estoque suficiente para a quantidade pedida.                                                        | Consulte o estoque (`simpleInventory`) e reduza a quantidade ou remova o item.         |\n| _(sem código)_                             | `input` inválido (ex.: `cartToken` ausente, `items` vazio, item sem `productConfiguration`/`productKitConfiguration`). | Corrija o `input`; a causa vem descrita em `message`.                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Soma, não substitui.** Enviar `quantity: 2` de um item que já tem 3 no carrinho resulta em 5 (se permitido pelo máximo da variante).\n- **Rejeições por quantidade não geram erro:** o item simplesmente não entra e aparece em `minOrderQuantityFailures`/`maxOrderQuantityFailures`. Sempre verifique essas listas. Da mesma forma, um item válido mas sem preço na `currencyCode` enviada é descartado sem erro — compare `cart.items` com o que você enviou.\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup` — as cotações já existentes não são atualizadas automaticamente, e o `placeOrder` falha se o preço do frete escolhido tiver mudado."},"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\": \"Cart not found error\",\n      \"extensions\": {\n        \"code\": \"CART_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"88a8870a-af32-561f-832e-9ea028c536e6"},{"name":"[Mutation] createCart","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 createCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"41e4315f-8f48-5ca4-8959-e283aa9ebfb1","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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"createcart\">createCart</h2>\n<p><strong>Propósito:</strong> Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o <code>token</code> de acesso a ele.\n<strong>Quando usar:</strong> Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → <code>placeOrder</code>; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use <code>addCartItems</code>. <strong>Não é idempotente</strong>: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo <code>items</code>. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Não envie <code>x-customer-token</code>: o carrinho criado é sempre anônimo.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: CreateCartInput!</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.items</code></td>\n<td><code>[CartItemInput]!</code></td>\n<td>Sim (mínimo 1 item)</td>\n<td>—</td>\n<td>Itens iniciais do carrinho. Lista vazia gera erro.</td>\n</tr>\n<tr>\n<td><code>input.items[].productConfiguration</code></td>\n<td><code>ProductConfigurationInput</code></td>\n<td>Um dos dois (ou este, ou <code>productKitConfiguration</code>)</td>\n<td>—</td>\n<td>Produto simples: <code>productId</code> e <code>productVariantId</code> (ambos <code>ID!</code>), obtidos no catálogo (<code>products</code>/<code>catalogItems</code>).</td>\n</tr>\n<tr>\n<td><code>input.items[].productKitConfiguration</code></td>\n<td><code>ItemKitConfigurationInput</code></td>\n<td>Um dos dois</td>\n<td>—</td>\n<td>Kit: <code>productKitId</code> + <code>productKitItemsConfigurations[]</code> (<code>productId</code>, <code>productVariantId</code>, <code>quantity</code>) — um item por componente, mínimo 1.</td>\n</tr>\n<tr>\n<td><code>input.items[].quantity</code></td>\n<td><code>Int</code></td>\n<td>Sim para produto simples</td>\n<td>—</td>\n<td>Inteiro ≥ 1. Para kits, omita ou envie <code>1</code> (kits não acumulam quantidade).</td>\n</tr>\n<tr>\n<td><code>input.items[].price</code></td>\n<td><code>MoneyInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>{ amount, currencyCode }</code>. O <code>currencyCode</code> (ex.: <code>\"BRL\"</code>) escolhe a tabela de preço; o <code>amount</code> <strong>não</strong> define o preço — o preço vem sempre do catálogo.</td>\n</tr>\n<tr>\n<td><code>input.items[].isRecurring</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td><code>false</code></td>\n<td><code>true</code> para comprar o item como assinatura/recorrente (quando o produto permitir).</td>\n</tr>\n<tr>\n<td><code>input.items[].metafields</code></td>\n<td><code>[MetafieldInput]</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Metadados livres do item (<code>key</code> obrigatório; <code>value</code>, <code>namespace</code>, etc. opcionais).</td>\n</tr>\n<tr>\n<td><code>input.items[].thumbnail</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>URL de imagem do item. Precisa ser uma URI válida.</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>—</td>\n<td>Aceito, mas <strong>não</strong> é ecoado nesta operação (o <code>clientMutationId</code> da resposta vem <code>null</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 criado. <code>null</code> quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).</td>\n</tr>\n<tr>\n<td><code>cart._id</code></td>\n<td><code>ID!</code></td>\n<td>ID do carrinho — o <code>cartId</code> de todas as operações seguintes.</td>\n</tr>\n<tr>\n<td><code>cart.checkout</code></td>\n<td><code>Checkout</code></td>\n<td><code>fulfillmentGroups[]</code> (grupos de entrega; use o <code>_id</code> em <code>updateFulfillmentOptionsForGroup</code>) e <code>summary</code> (totais: <code>itemTotal</code>, <code>discountTotal</code>, <code>total</code>, etc.).</td>\n</tr>\n<tr>\n<td><code>cart.checkoutUrl</code></td>\n<td><code>String</code></td>\n<td>Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.</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 — o <code>cartToken</code> exigido nas operações seguintes. <strong>Só é retornado nesta chamada</strong>; armazene-o com segurança.</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 é sempre o do catálogo, então não há checagem de preço enviado.</td>\n</tr>\n<tr>\n<td><code>minOrderQuantityFailures</code></td>\n<td><code>[MinOrderQuantityFailureDetails]!</code></td>\n<td>Itens rejeitados por <code>quantity</code> abaixo do mínimo da variante (<code>minOrderQuantity</code>, <code>productConfiguration</code>, <code>quantity</code>).</td>\n</tr>\n<tr>\n<td><code>maxOrderQuantityFailures</code></td>\n<td><code>[MaxOrderQuantityFailureDetails]!</code></td>\n<td>Itens rejeitados por <code>quantity</code> acima do máximo da variante.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Efeitos colaterais da criação (ex.: <code>SALE_FREE_ITEM_ADDED</code> quando uma promoção da loja adiciona um brinde).</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>IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR</code></td>\n<td><code>items</code> vazio.</td>\n<td>Envie ao menos um item.</td>\n</tr>\n<tr>\n<td><code>MISSING_ITEMS_ERROR</code></td>\n<td>Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada.</td>\n<td>Confira <code>productId</code>/<code>productVariantId</code> no catálogo e o <code>currencyCode</code> do <code>price</code>.</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<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> inválido (ex.: item com <code>productConfiguration</code> e <code>productKitConfiguration</code> ao mesmo tempo, <code>quantity</code> ausente ou &lt; 1, <code>thumbnail</code> que não é URI).</td>\n<td>Corrija o <code>input</code> conforme a tabela de argumentos; a causa vem descrita em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Itens inválidos são descartados em silêncio quando outros são válidos.</strong> Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare <code>cart.items</code> com o que você enviou.</li>\n<li><strong>O preço enviado é ignorado.</strong> <code>price.amount</code> não altera o valor do item; use o catálogo para exibir preços ao comprador.</li>\n<li><strong><code>token</code> só aparece aqui.</strong> Perdê-lo torna o carrinho inacessível pelas demais operações (<code>addCartItems</code>, <code>setShippingAddressOnCart</code>, <code>anonymousCartByCartId</code>, etc.).</li>\n<li>Promoções automáticas da loja podem ser aplicadas já na criação — verifique <code>cartEvents</code> e <code>cart.checkout.summary</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c5724bf5-3029-430b-9770-e68136d68f7d","name":"200 - createCart","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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## createCart\n\n**Propósito:** Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o `token` de acesso a ele.\n**Quando usar:** Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → `placeOrder`; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use `addCartItems`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo `items`. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`: o carrinho criado é sempre anônimo.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartInput!`.\n\n| Nome                                    | Tipo                        | Obrigatório                                         | Default | Descrição                                                                                                                                                  |\n| --------------------------------------- | --------------------------- | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.items`                           | `[CartItemInput]!`          | Sim (mínimo 1 item)                                 | —       | Itens iniciais do carrinho. Lista vazia gera erro.                                                                                                         |\n| `input.items[].productConfiguration`    | `ProductConfigurationInput` | Um dos dois (ou este, ou `productKitConfiguration`) | —       | Produto simples: `productId` e `productVariantId` (ambos `ID!`), obtidos no catálogo (`products`/`catalogItems`).                                          |\n| `input.items[].productKitConfiguration` | `ItemKitConfigurationInput` | Um dos dois                                         | —       | Kit: `productKitId` + `productKitItemsConfigurations[]` (`productId`, `productVariantId`, `quantity`) — um item por componente, mínimo 1.                  |\n| `input.items[].quantity`                | `Int`                       | Sim para produto simples                            | —       | Inteiro ≥ 1. Para kits, omita ou envie `1` (kits não acumulam quantidade).                                                                                 |\n| `input.items[].price`                   | `MoneyInput!`               | Sim                                                 | —       | `{ amount, currencyCode }`. O `currencyCode` (ex.: `\"BRL\"`) escolhe a tabela de preço; o `amount` **não** define o preço — o preço vem sempre do catálogo. |\n| `input.items[].isRecurring`             | `Boolean`                   | Não                                                 | `false` | `true` para comprar o item como assinatura/recorrente (quando o produto permitir).                                                                         |\n| `input.items[].metafields`              | `[MetafieldInput]`          | Não                                                 | —       | Metadados livres do item (`key` obrigatório; `value`, `namespace`, etc. opcionais).                                                                        |\n| `input.items[].thumbnail`               | `String`                    | Não                                                 | —       | URL de imagem do item. Precisa ser uma URI válida.                                                                                                         |\n| `input.clientMutationId`                | `String`                    | Não                                                 | —       | Aceito, mas **não** é ecoado nesta operação (o `clientMutationId` da resposta vem `null`).                                                                 |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                       |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho criado. `null` quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).                          |\n| `cart._id`                 | `ID!`                               | ID do carrinho — o `cartId` de todas as operações seguintes.                                                                                                    |\n| `cart.checkout`            | `Checkout`                          | `fulfillmentGroups[]` (grupos de entrega; use o `_id` em `updateFulfillmentOptionsForGroup`) e `summary` (totais: `itemTotal`, `discountTotal`, `total`, etc.). |\n| `cart.checkoutUrl`         | `String`                            | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.                                               |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo — o `cartToken` exigido nas operações seguintes. **Só é retornado nesta chamada**; armazene-o com segurança.                |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é sempre o do catálogo, então não há checagem de preço enviado.                                                            |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` abaixo do mínimo da variante (`minOrderQuantity`, `productConfiguration`, `quantity`).                                          |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` acima do máximo da variante.                                                                                                    |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais da criação (ex.: `SALE_FREE_ITEM_ADDED` quando uma promoção da loja adiciona um brinde).                                                     |\n\n### Erros\n\n| Código                                  | Condição                                                                                                                                                           | O que fazer                                                                           |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |\n| `IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR` | `items` vazio.                                                                                                                                                     | Envie ao menos um item.                                                               |\n| `MISSING_ITEMS_ERROR`                   | Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada. | Confira `productId`/`productVariantId` no catálogo e o `currencyCode` do `price`.     |\n| `UNABLE_TO_SAVE_CART_ERROR`             | Falha ao persistir o carrinho (erro interno).                                                                                                                      | Tente novamente; se persistir, contate seu representante Unbox.                       |\n| _(sem código)_                          | `input` inválido (ex.: item com `productConfiguration` e `productKitConfiguration` ao mesmo tempo, `quantity` ausente ou < 1, `thumbnail` que não é URI).          | Corrija o `input` conforme a tabela de argumentos; a causa vem descrita em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Itens inválidos são descartados em silêncio quando outros são válidos.** Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare `cart.items` com o que você enviou.\n- **O preço enviado é ignorado.** `price.amount` não altera o valor do item; use o catálogo para exibir preços ao comprador.\n- **`token` só aparece aqui.** Perdê-lo torna o carrinho inacessível pelas demais operações (`addCartItems`, `setShippingAddressOnCart`, `anonymousCartByCartId`, etc.).\n- Promoções automáticas da loja podem ser aplicadas já na criação — verifique `cartEvents` e `cart.checkout.summary`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createCart\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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":"ac2c216c-ab3f-465f-b1c7-954591f0826d","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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## createCart\n\n**Propósito:** Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o `token` de acesso a ele.\n**Quando usar:** Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → `placeOrder`; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use `addCartItems`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo `items`. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`: o carrinho criado é sempre anônimo.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartInput!`.\n\n| Nome                                    | Tipo                        | Obrigatório                                         | Default | Descrição                                                                                                                                                  |\n| --------------------------------------- | --------------------------- | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.items`                           | `[CartItemInput]!`          | Sim (mínimo 1 item)                                 | —       | Itens iniciais do carrinho. Lista vazia gera erro.                                                                                                         |\n| `input.items[].productConfiguration`    | `ProductConfigurationInput` | Um dos dois (ou este, ou `productKitConfiguration`) | —       | Produto simples: `productId` e `productVariantId` (ambos `ID!`), obtidos no catálogo (`products`/`catalogItems`).                                          |\n| `input.items[].productKitConfiguration` | `ItemKitConfigurationInput` | Um dos dois                                         | —       | Kit: `productKitId` + `productKitItemsConfigurations[]` (`productId`, `productVariantId`, `quantity`) — um item por componente, mínimo 1.                  |\n| `input.items[].quantity`                | `Int`                       | Sim para produto simples                            | —       | Inteiro ≥ 1. Para kits, omita ou envie `1` (kits não acumulam quantidade).                                                                                 |\n| `input.items[].price`                   | `MoneyInput!`               | Sim                                                 | —       | `{ amount, currencyCode }`. O `currencyCode` (ex.: `\"BRL\"`) escolhe a tabela de preço; o `amount` **não** define o preço — o preço vem sempre do catálogo. |\n| `input.items[].isRecurring`             | `Boolean`                   | Não                                                 | `false` | `true` para comprar o item como assinatura/recorrente (quando o produto permitir).                                                                         |\n| `input.items[].metafields`              | `[MetafieldInput]`          | Não                                                 | —       | Metadados livres do item (`key` obrigatório; `value`, `namespace`, etc. opcionais).                                                                        |\n| `input.items[].thumbnail`               | `String`                    | Não                                                 | —       | URL de imagem do item. Precisa ser uma URI válida.                                                                                                         |\n| `input.clientMutationId`                | `String`                    | Não                                                 | —       | Aceito, mas **não** é ecoado nesta operação (o `clientMutationId` da resposta vem `null`).                                                                 |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                       |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho criado. `null` quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).                          |\n| `cart._id`                 | `ID!`                               | ID do carrinho — o `cartId` de todas as operações seguintes.                                                                                                    |\n| `cart.checkout`            | `Checkout`                          | `fulfillmentGroups[]` (grupos de entrega; use o `_id` em `updateFulfillmentOptionsForGroup`) e `summary` (totais: `itemTotal`, `discountTotal`, `total`, etc.). |\n| `cart.checkoutUrl`         | `String`                            | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.                                               |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo — o `cartToken` exigido nas operações seguintes. **Só é retornado nesta chamada**; armazene-o com segurança.                |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é sempre o do catálogo, então não há checagem de preço enviado.                                                            |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` abaixo do mínimo da variante (`minOrderQuantity`, `productConfiguration`, `quantity`).                                          |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` acima do máximo da variante.                                                                                                    |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais da criação (ex.: `SALE_FREE_ITEM_ADDED` quando uma promoção da loja adiciona um brinde).                                                     |\n\n### Erros\n\n| Código                                  | Condição                                                                                                                                                           | O que fazer                                                                           |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |\n| `IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR` | `items` vazio.                                                                                                                                                     | Envie ao menos um item.                                                               |\n| `MISSING_ITEMS_ERROR`                   | Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada. | Confira `productId`/`productVariantId` no catálogo e o `currencyCode` do `price`.     |\n| `UNABLE_TO_SAVE_CART_ERROR`             | Falha ao persistir o carrinho (erro interno).                                                                                                                      | Tente novamente; se persistir, contate seu representante Unbox.                       |\n| _(sem código)_                          | `input` inválido (ex.: item com `productConfiguration` e `productKitConfiguration` ao mesmo tempo, `quantity` ausente ou < 1, `thumbnail` que não é URI).          | Corrija o `input` conforme a tabela de argumentos; a causa vem descrita em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Itens inválidos são descartados em silêncio quando outros são válidos.** Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare `cart.items` com o que você enviou.\n- **O preço enviado é ignorado.** `price.amount` não altera o valor do item; use o catálogo para exibir preços ao comprador.\n- **`token` só aparece aqui.** Perdê-lo torna o carrinho inacessível pelas demais operações (`addCartItems`, `setShippingAddressOnCart`, `anonymousCartByCartId`, etc.).\n- Promoções automáticas da loja podem ser aplicadas já na criação — verifique `cartEvents` e `cart.checkout.summary`."},"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":"e1d70c3f-6151-4ba6-8706-f2942e8505dc","name":"Erro - IMPOSSIBLE_TO_CREATE_EMPTY_CART_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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## createCart\n\n**Propósito:** Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o `token` de acesso a ele.\n**Quando usar:** Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → `placeOrder`; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use `addCartItems`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo `items`. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`: o carrinho criado é sempre anônimo.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartInput!`.\n\n| Nome                                    | Tipo                        | Obrigatório                                         | Default | Descrição                                                                                                                                                  |\n| --------------------------------------- | --------------------------- | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.items`                           | `[CartItemInput]!`          | Sim (mínimo 1 item)                                 | —       | Itens iniciais do carrinho. Lista vazia gera erro.                                                                                                         |\n| `input.items[].productConfiguration`    | `ProductConfigurationInput` | Um dos dois (ou este, ou `productKitConfiguration`) | —       | Produto simples: `productId` e `productVariantId` (ambos `ID!`), obtidos no catálogo (`products`/`catalogItems`).                                          |\n| `input.items[].productKitConfiguration` | `ItemKitConfigurationInput` | Um dos dois                                         | —       | Kit: `productKitId` + `productKitItemsConfigurations[]` (`productId`, `productVariantId`, `quantity`) — um item por componente, mínimo 1.                  |\n| `input.items[].quantity`                | `Int`                       | Sim para produto simples                            | —       | Inteiro ≥ 1. Para kits, omita ou envie `1` (kits não acumulam quantidade).                                                                                 |\n| `input.items[].price`                   | `MoneyInput!`               | Sim                                                 | —       | `{ amount, currencyCode }`. O `currencyCode` (ex.: `\"BRL\"`) escolhe a tabela de preço; o `amount` **não** define o preço — o preço vem sempre do catálogo. |\n| `input.items[].isRecurring`             | `Boolean`                   | Não                                                 | `false` | `true` para comprar o item como assinatura/recorrente (quando o produto permitir).                                                                         |\n| `input.items[].metafields`              | `[MetafieldInput]`          | Não                                                 | —       | Metadados livres do item (`key` obrigatório; `value`, `namespace`, etc. opcionais).                                                                        |\n| `input.items[].thumbnail`               | `String`                    | Não                                                 | —       | URL de imagem do item. Precisa ser uma URI válida.                                                                                                         |\n| `input.clientMutationId`                | `String`                    | Não                                                 | —       | Aceito, mas **não** é ecoado nesta operação (o `clientMutationId` da resposta vem `null`).                                                                 |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                       |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho criado. `null` quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).                          |\n| `cart._id`                 | `ID!`                               | ID do carrinho — o `cartId` de todas as operações seguintes.                                                                                                    |\n| `cart.checkout`            | `Checkout`                          | `fulfillmentGroups[]` (grupos de entrega; use o `_id` em `updateFulfillmentOptionsForGroup`) e `summary` (totais: `itemTotal`, `discountTotal`, `total`, etc.). |\n| `cart.checkoutUrl`         | `String`                            | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.                                               |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo — o `cartToken` exigido nas operações seguintes. **Só é retornado nesta chamada**; armazene-o com segurança.                |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é sempre o do catálogo, então não há checagem de preço enviado.                                                            |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` abaixo do mínimo da variante (`minOrderQuantity`, `productConfiguration`, `quantity`).                                          |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` acima do máximo da variante.                                                                                                    |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais da criação (ex.: `SALE_FREE_ITEM_ADDED` quando uma promoção da loja adiciona um brinde).                                                     |\n\n### Erros\n\n| Código                                  | Condição                                                                                                                                                           | O que fazer                                                                           |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |\n| `IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR` | `items` vazio.                                                                                                                                                     | Envie ao menos um item.                                                               |\n| `MISSING_ITEMS_ERROR`                   | Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada. | Confira `productId`/`productVariantId` no catálogo e o `currencyCode` do `price`.     |\n| `UNABLE_TO_SAVE_CART_ERROR`             | Falha ao persistir o carrinho (erro interno).                                                                                                                      | Tente novamente; se persistir, contate seu representante Unbox.                       |\n| _(sem código)_                          | `input` inválido (ex.: item com `productConfiguration` e `productKitConfiguration` ao mesmo tempo, `quantity` ausente ou < 1, `thumbnail` que não é URI).          | Corrija o `input` conforme a tabela de argumentos; a causa vem descrita em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Itens inválidos são descartados em silêncio quando outros são válidos.** Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare `cart.items` com o que você enviou.\n- **O preço enviado é ignorado.** `price.amount` não altera o valor do item; use o catálogo para exibir preços ao comprador.\n- **`token` só aparece aqui.** Perdê-lo torna o carrinho inacessível pelas demais operações (`addCartItems`, `setShippingAddressOnCart`, `anonymousCartByCartId`, etc.).\n- Promoções automáticas da loja podem ser aplicadas já na criação — verifique `cartEvents` e `cart.checkout.summary`."},"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\": \"Impossible to create empty cart error\",\n      \"extensions\": {\n        \"code\": \"IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"6cbf9928-dac0-4ce0-83bb-7766d53a8046","name":"Erro - MISSING_ITEMS_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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## createCart\n\n**Propósito:** Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o `token` de acesso a ele.\n**Quando usar:** Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → `placeOrder`; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use `addCartItems`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo `items`. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`: o carrinho criado é sempre anônimo.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartInput!`.\n\n| Nome                                    | Tipo                        | Obrigatório                                         | Default | Descrição                                                                                                                                                  |\n| --------------------------------------- | --------------------------- | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.items`                           | `[CartItemInput]!`          | Sim (mínimo 1 item)                                 | —       | Itens iniciais do carrinho. Lista vazia gera erro.                                                                                                         |\n| `input.items[].productConfiguration`    | `ProductConfigurationInput` | Um dos dois (ou este, ou `productKitConfiguration`) | —       | Produto simples: `productId` e `productVariantId` (ambos `ID!`), obtidos no catálogo (`products`/`catalogItems`).                                          |\n| `input.items[].productKitConfiguration` | `ItemKitConfigurationInput` | Um dos dois                                         | —       | Kit: `productKitId` + `productKitItemsConfigurations[]` (`productId`, `productVariantId`, `quantity`) — um item por componente, mínimo 1.                  |\n| `input.items[].quantity`                | `Int`                       | Sim para produto simples                            | —       | Inteiro ≥ 1. Para kits, omita ou envie `1` (kits não acumulam quantidade).                                                                                 |\n| `input.items[].price`                   | `MoneyInput!`               | Sim                                                 | —       | `{ amount, currencyCode }`. O `currencyCode` (ex.: `\"BRL\"`) escolhe a tabela de preço; o `amount` **não** define o preço — o preço vem sempre do catálogo. |\n| `input.items[].isRecurring`             | `Boolean`                   | Não                                                 | `false` | `true` para comprar o item como assinatura/recorrente (quando o produto permitir).                                                                         |\n| `input.items[].metafields`              | `[MetafieldInput]`          | Não                                                 | —       | Metadados livres do item (`key` obrigatório; `value`, `namespace`, etc. opcionais).                                                                        |\n| `input.items[].thumbnail`               | `String`                    | Não                                                 | —       | URL de imagem do item. Precisa ser uma URI válida.                                                                                                         |\n| `input.clientMutationId`                | `String`                    | Não                                                 | —       | Aceito, mas **não** é ecoado nesta operação (o `clientMutationId` da resposta vem `null`).                                                                 |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                       |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho criado. `null` quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).                          |\n| `cart._id`                 | `ID!`                               | ID do carrinho — o `cartId` de todas as operações seguintes.                                                                                                    |\n| `cart.checkout`            | `Checkout`                          | `fulfillmentGroups[]` (grupos de entrega; use o `_id` em `updateFulfillmentOptionsForGroup`) e `summary` (totais: `itemTotal`, `discountTotal`, `total`, etc.). |\n| `cart.checkoutUrl`         | `String`                            | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.                                               |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo — o `cartToken` exigido nas operações seguintes. **Só é retornado nesta chamada**; armazene-o com segurança.                |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é sempre o do catálogo, então não há checagem de preço enviado.                                                            |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` abaixo do mínimo da variante (`minOrderQuantity`, `productConfiguration`, `quantity`).                                          |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` acima do máximo da variante.                                                                                                    |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais da criação (ex.: `SALE_FREE_ITEM_ADDED` quando uma promoção da loja adiciona um brinde).                                                     |\n\n### Erros\n\n| Código                                  | Condição                                                                                                                                                           | O que fazer                                                                           |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |\n| `IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR` | `items` vazio.                                                                                                                                                     | Envie ao menos um item.                                                               |\n| `MISSING_ITEMS_ERROR`                   | Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada. | Confira `productId`/`productVariantId` no catálogo e o `currencyCode` do `price`.     |\n| `UNABLE_TO_SAVE_CART_ERROR`             | Falha ao persistir o carrinho (erro interno).                                                                                                                      | Tente novamente; se persistir, contate seu representante Unbox.                       |\n| _(sem código)_                          | `input` inválido (ex.: item com `productConfiguration` e `productKitConfiguration` ao mesmo tempo, `quantity` ausente ou < 1, `thumbnail` que não é URI).          | Corrija o `input` conforme a tabela de argumentos; a causa vem descrita em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Itens inválidos são descartados em silêncio quando outros são válidos.** Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare `cart.items` com o que você enviou.\n- **O preço enviado é ignorado.** `price.amount` não altera o valor do item; use o catálogo para exibir preços ao comprador.\n- **`token` só aparece aqui.** Perdê-lo torna o carrinho inacessível pelas demais operações (`addCartItems`, `setShippingAddressOnCart`, `anonymousCartByCartId`, etc.).\n- Promoções automáticas da loja podem ser aplicadas já na criação — verifique `cartEvents` e `cart.checkout.summary`."},"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\": \"Missing items error\",\n      \"extensions\": {\n        \"code\": \"MISSING_ITEMS_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"b8e93cd3-c6f8-41ca-aef9-561c09a62f0a","name":"Erro - ACCOUNT_ALREADY_HAS_AN_ACTIVE_CART_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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## createCart\n\n**Propósito:** Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o `token` de acesso a ele.\n**Quando usar:** Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → `placeOrder`; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use `addCartItems`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo `items`. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`: o carrinho criado é sempre anônimo.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartInput!`.\n\n| Nome                                    | Tipo                        | Obrigatório                                         | Default | Descrição                                                                                                                                                  |\n| --------------------------------------- | --------------------------- | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.items`                           | `[CartItemInput]!`          | Sim (mínimo 1 item)                                 | —       | Itens iniciais do carrinho. Lista vazia gera erro.                                                                                                         |\n| `input.items[].productConfiguration`    | `ProductConfigurationInput` | Um dos dois (ou este, ou `productKitConfiguration`) | —       | Produto simples: `productId` e `productVariantId` (ambos `ID!`), obtidos no catálogo (`products`/`catalogItems`).                                          |\n| `input.items[].productKitConfiguration` | `ItemKitConfigurationInput` | Um dos dois                                         | —       | Kit: `productKitId` + `productKitItemsConfigurations[]` (`productId`, `productVariantId`, `quantity`) — um item por componente, mínimo 1.                  |\n| `input.items[].quantity`                | `Int`                       | Sim para produto simples                            | —       | Inteiro ≥ 1. Para kits, omita ou envie `1` (kits não acumulam quantidade).                                                                                 |\n| `input.items[].price`                   | `MoneyInput!`               | Sim                                                 | —       | `{ amount, currencyCode }`. O `currencyCode` (ex.: `\"BRL\"`) escolhe a tabela de preço; o `amount` **não** define o preço — o preço vem sempre do catálogo. |\n| `input.items[].isRecurring`             | `Boolean`                   | Não                                                 | `false` | `true` para comprar o item como assinatura/recorrente (quando o produto permitir).                                                                         |\n| `input.items[].metafields`              | `[MetafieldInput]`          | Não                                                 | —       | Metadados livres do item (`key` obrigatório; `value`, `namespace`, etc. opcionais).                                                                        |\n| `input.items[].thumbnail`               | `String`                    | Não                                                 | —       | URL de imagem do item. Precisa ser uma URI válida.                                                                                                         |\n| `input.clientMutationId`                | `String`                    | Não                                                 | —       | Aceito, mas **não** é ecoado nesta operação (o `clientMutationId` da resposta vem `null`).                                                                 |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                       |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho criado. `null` quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).                          |\n| `cart._id`                 | `ID!`                               | ID do carrinho — o `cartId` de todas as operações seguintes.                                                                                                    |\n| `cart.checkout`            | `Checkout`                          | `fulfillmentGroups[]` (grupos de entrega; use o `_id` em `updateFulfillmentOptionsForGroup`) e `summary` (totais: `itemTotal`, `discountTotal`, `total`, etc.). |\n| `cart.checkoutUrl`         | `String`                            | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.                                               |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo — o `cartToken` exigido nas operações seguintes. **Só é retornado nesta chamada**; armazene-o com segurança.                |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é sempre o do catálogo, então não há checagem de preço enviado.                                                            |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` abaixo do mínimo da variante (`minOrderQuantity`, `productConfiguration`, `quantity`).                                          |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` acima do máximo da variante.                                                                                                    |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais da criação (ex.: `SALE_FREE_ITEM_ADDED` quando uma promoção da loja adiciona um brinde).                                                     |\n\n### Erros\n\n| Código                                  | Condição                                                                                                                                                           | O que fazer                                                                           |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |\n| `IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR` | `items` vazio.                                                                                                                                                     | Envie ao menos um item.                                                               |\n| `MISSING_ITEMS_ERROR`                   | Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada. | Confira `productId`/`productVariantId` no catálogo e o `currencyCode` do `price`.     |\n| `UNABLE_TO_SAVE_CART_ERROR`             | Falha ao persistir o carrinho (erro interno).                                                                                                                      | Tente novamente; se persistir, contate seu representante Unbox.                       |\n| _(sem código)_                          | `input` inválido (ex.: item com `productConfiguration` e `productKitConfiguration` ao mesmo tempo, `quantity` ausente ou < 1, `thumbnail` que não é URI).          | Corrija o `input` conforme a tabela de argumentos; a causa vem descrita em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Itens inválidos são descartados em silêncio quando outros são válidos.** Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare `cart.items` com o que você enviou.\n- **O preço enviado é ignorado.** `price.amount` não altera o valor do item; use o catálogo para exibir preços ao comprador.\n- **`token` só aparece aqui.** Perdê-lo torna o carrinho inacessível pelas demais operações (`addCartItems`, `setShippingAddressOnCart`, `anonymousCartByCartId`, etc.).\n- Promoções automáticas da loja podem ser aplicadas já na criação — verifique `cartEvents` e `cart.checkout.summary`."},"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\": \"Account already has an active cart error\",\n      \"extensions\": {\n        \"code\": \"ACCOUNT_ALREADY_HAS_AN_ACTIVE_CART_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"c50b1ad6-764a-4344-a20e-70cae2959749","name":"Erro - UNABLE_TO_SAVE_CART_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 CreateCart($input: CreateCartInput!) {\n  createCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\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        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\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        \"thumbnail\": \"Example_String\"\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## createCart\n\n**Propósito:** Cria um carrinho anônimo novo na sua loja, já com os itens informados, e devolve o `token` de acesso a ele.\n**Quando usar:** Primeiro passo do checkout nativo (resumo: carrinho → itens → endereço → frete → pagamento → `placeOrder`; sequência completa em \"Checkout próprio: fluxo recomendado\", no folder Orders). Use quando o comprador ainda não tem carrinho; para carrinhos que já existem, use `addCartItems`. **Não é idempotente**: cada chamada bem-sucedida cria um carrinho novo, mesmo com o mesmo `items`. Se a chamada falhar por timeout antes de você ler a resposta, um carrinho pode ter sido criado mesmo assim — reenviar cegamente pode gerar carrinhos duplicados; o controle de reenvio precisa ficar do seu lado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`: o carrinho criado é sempre anônimo.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartInput!`.\n\n| Nome                                    | Tipo                        | Obrigatório                                         | Default | Descrição                                                                                                                                                  |\n| --------------------------------------- | --------------------------- | --------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.items`                           | `[CartItemInput]!`          | Sim (mínimo 1 item)                                 | —       | Itens iniciais do carrinho. Lista vazia gera erro.                                                                                                         |\n| `input.items[].productConfiguration`    | `ProductConfigurationInput` | Um dos dois (ou este, ou `productKitConfiguration`) | —       | Produto simples: `productId` e `productVariantId` (ambos `ID!`), obtidos no catálogo (`products`/`catalogItems`).                                          |\n| `input.items[].productKitConfiguration` | `ItemKitConfigurationInput` | Um dos dois                                         | —       | Kit: `productKitId` + `productKitItemsConfigurations[]` (`productId`, `productVariantId`, `quantity`) — um item por componente, mínimo 1.                  |\n| `input.items[].quantity`                | `Int`                       | Sim para produto simples                            | —       | Inteiro ≥ 1. Para kits, omita ou envie `1` (kits não acumulam quantidade).                                                                                 |\n| `input.items[].price`                   | `MoneyInput!`               | Sim                                                 | —       | `{ amount, currencyCode }`. O `currencyCode` (ex.: `\"BRL\"`) escolhe a tabela de preço; o `amount` **não** define o preço — o preço vem sempre do catálogo. |\n| `input.items[].isRecurring`             | `Boolean`                   | Não                                                 | `false` | `true` para comprar o item como assinatura/recorrente (quando o produto permitir).                                                                         |\n| `input.items[].metafields`              | `[MetafieldInput]`          | Não                                                 | —       | Metadados livres do item (`key` obrigatório; `value`, `namespace`, etc. opcionais).                                                                        |\n| `input.items[].thumbnail`               | `String`                    | Não                                                 | —       | URL de imagem do item. Precisa ser uma URI válida.                                                                                                         |\n| `input.clientMutationId`                | `String`                    | Não                                                 | —       | Aceito, mas **não** é ecoado nesta operação (o `clientMutationId` da resposta vem `null`).                                                                 |\n\n### Retorno\n\n`CreateCartPayload!`:\n\n| Propriedade                | Tipo                                | Descrição                                                                                                                                                       |\n| -------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                     | `Cart`                              | O carrinho criado. `null` quando nenhum item pôde ser adicionado por violar quantidade mínima/máxima (ver as listas de falhas abaixo).                          |\n| `cart._id`                 | `ID!`                               | ID do carrinho — o `cartId` de todas as operações seguintes.                                                                                                    |\n| `cart.checkout`            | `Checkout`                          | `fulfillmentGroups[]` (grupos de entrega; use o `_id` em `updateFulfillmentOptionsForGroup`) e `summary` (totais: `itemTotal`, `discountTotal`, `total`, etc.). |\n| `cart.checkoutUrl`         | `String`                            | Link para o comprador continuar o checkout na loja hospedada. Contém o token do carrinho — trate como credencial.                                               |\n| `token`                    | `String`                            | Token de acesso ao carrinho anônimo — o `cartToken` exigido nas operações seguintes. **Só é retornado nesta chamada**; armazene-o com segurança.                |\n| `incorrectPriceFailures`   | `[IncorrectPriceFailureDetails]!`   | Sempre vazio nesta operação: o preço é sempre o do catálogo, então não há checagem de preço enviado.                                                            |\n| `minOrderQuantityFailures` | `[MinOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` abaixo do mínimo da variante (`minOrderQuantity`, `productConfiguration`, `quantity`).                                          |\n| `maxOrderQuantityFailures` | `[MaxOrderQuantityFailureDetails]!` | Itens rejeitados por `quantity` acima do máximo da variante.                                                                                                    |\n| `cartEvents`               | `[CartEvent]`                       | Efeitos colaterais da criação (ex.: `SALE_FREE_ITEM_ADDED` quando uma promoção da loja adiciona um brinde).                                                     |\n\n### Erros\n\n| Código                                  | Condição                                                                                                                                                           | O que fazer                                                                           |\n| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |\n| `IMPOSSIBLE_TO_CREATE_EMPTY_CART_ERROR` | `items` vazio.                                                                                                                                                     | Envie ao menos um item.                                                               |\n| `MISSING_ITEMS_ERROR`                   | Nenhum dos itens pôde ser criado e nenhum foi rejeitado por quantidade — ex.: produto/variante inexistente ou removido do catálogo, ou sem preço na moeda enviada. | Confira `productId`/`productVariantId` no catálogo e o `currencyCode` do `price`.     |\n| `UNABLE_TO_SAVE_CART_ERROR`             | Falha ao persistir o carrinho (erro interno).                                                                                                                      | Tente novamente; se persistir, contate seu representante Unbox.                       |\n| _(sem código)_                          | `input` inválido (ex.: item com `productConfiguration` e `productKitConfiguration` ao mesmo tempo, `quantity` ausente ou < 1, `thumbnail` que não é URI).          | Corrija o `input` conforme a tabela de argumentos; a causa vem descrita em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Itens inválidos são descartados em silêncio quando outros são válidos.** Se parte dos itens não existir no catálogo (ou não tiver preço na moeda enviada), o carrinho é criado só com os itens válidos, sem erro nem entrada nas listas de falha. Compare `cart.items` com o que você enviou.\n- **O preço enviado é ignorado.** `price.amount` não altera o valor do item; use o catálogo para exibir preços ao comprador.\n- **`token` só aparece aqui.** Perdê-lo torna o carrinho inacessível pelas demais operações (`addCartItems`, `setShippingAddressOnCart`, `anonymousCartByCartId`, etc.).\n- Promoções automáticas da loja podem ser aplicadas já na criação — verifique `cartEvents` e `cart.checkout.summary`."},"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\": \"Unable to save cart error\",\n      \"extensions\": {\n        \"code\": \"UNABLE_TO_SAVE_CART_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"41e4315f-8f48-5ca4-8959-e283aa9ebfb1"},{"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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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":"02331144-8565-44a3-9aff-7e22153d4dfd","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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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        \"checkoutUrl\": \"https://exemplo.com\",\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":"78bce36f-ea0e-4563-b95f-7bfaaacecc5c","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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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] removeCartItems","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 removeCartItems data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"removeCartItems\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"61bf6e0e-1269-567a-97ba-f39bd94d1252","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 RemoveCartItems($input: RemoveCartItemsInput!) {\n  removeCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartItemIds\": [\n      \"Example_ID\"\n    ],\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"removecartitems\">removeCartItems</h2>\n<p><strong>Propósito:</strong> Remove um ou mais itens de um carrinho, pelo <code>_id</code> do item.\n<strong>Quando usar:</strong> Quando o comprador tira produtos do carrinho durante o checkout. <strong>É idempotente</strong>: IDs de item que não estão (ou não estão mais) no carrinho são ignorados sem erro, então repetir a chamada não tem efeito adicional. Para só diminuir a quantidade, use <code>updateCartItemsQuantity</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: RemoveCartItemsInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>. Opcional no schema, mas <strong>obrigatório na prática</strong>: sem ele a chamada falha.</td>\n</tr>\n<tr>\n<td><code>input.cartItemIds</code></td>\n<td><code>[ID]!</code></td>\n<td>Sim (≥ 1)</td>\n<td>—</td>\n<td><code>_id</code> dos itens a remover (de <code>cart.items.nodes[]._id</code>).</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>—</td>\n<td>Identificador livre seu, ecoado na resposta.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RemoveCartItemsPayload!</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 atualizado, já sem os itens removidos.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Efeitos colaterais (ex.: brinde removido, cupom removido por não atender mais às condições).</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O valor enviado no input.</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>REMOVE_CART_ITEMS_ERROR</code></td>\n<td><code>cartToken</code> não foi enviado.</td>\n<td>Envie o <code>cartToken</code> do carrinho.</td>\n</tr>\n<tr>\n<td><code>CART_NOT_FOUND_ERROR</code></td>\n<td>Nenhum carrinho ativo casa com <code>cartId</code> + <code>cartToken</code> (inexistente, token errado, ou travado em checkout).</td>\n<td>Confira o par <code>cartId</code>/<code>cartToken</code>; se o pedido já foi fechado, crie um novo carrinho.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>cartItemIds</code> vazio ou inválido.</td>\n<td>Envie ao menos um <code>_id</code> de item; a causa vem descrita em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Remover todos os itens não apaga o carrinho</strong> — ele continua existindo, vazio, e pode receber novos itens via <code>addCartItems</code>.</li>\n<li>Remover itens pode invalidar um cupom aplicado (ex.: valor mínimo deixa de ser atingido) — veja <code>cartEvents</code> (<code>DISCOUNT_CODE_REMOVED</code>).</li>\n<li><strong>Após alterar itens, recalcule o frete</strong> com <code>updateFulfillmentOptionsForGroup</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"442e66dc-a886-428f-bb34-ad1ae4859277","name":"200 - removeCartItems","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 RemoveCartItems($input: RemoveCartItemsInput!) {\n  removeCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartItemIds\": [\n      \"Example_ID\"\n    ],\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCartItems\n\n**Propósito:** Remove um ou mais itens de um carrinho, pelo `_id` do item.\n**Quando usar:** Quando o comprador tira produtos do carrinho durante o checkout. **É idempotente**: IDs de item que não estão (ou não estão mais) no carrinho são ignorados sem erro, então repetir a chamada não tem efeito adicional. Para só diminuir a quantidade, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCartItemsInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                                                                         |\n| ------------------------ | -------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`           | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                |\n| `input.cartToken`        | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha. |\n| `input.cartItemIds`      | `[ID]!`  | Sim (≥ 1)   | —       | `_id` dos itens a remover (de `cart.items.nodes[]._id`).                                                          |\n| `input.clientMutationId` | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                                      |\n\n### Retorno\n\n`RemoveCartItemsPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                                    |\n| ------------------ | ------------- | -------------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado, já sem os itens removidos.                                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (ex.: brinde removido, cupom removido por não atender mais às condições). |\n| `clientMutationId` | `String`      | O valor enviado no input.                                                                    |\n\n### Erros\n\n| Código                    | Condição                                                                                                   | O que fazer                                                                            |\n| ------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `REMOVE_CART_ITEMS_ERROR` | `cartToken` não foi enviado.                                                                               | Envie o `cartToken` do carrinho.                                                       |\n| `CART_NOT_FOUND_ERROR`    | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| _(sem código)_            | `cartItemIds` vazio ou inválido.                                                                           | Envie ao menos um `_id` de item; a causa vem descrita em `message`.                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Remover todos os itens não apaga o carrinho** — ele continua existindo, vazio, e pode receber novos itens via `addCartItems`.\n- Remover itens pode invalidar um cupom aplicado (ex.: valor mínimo deixa de ser atingido) — veja `cartEvents` (`DISCOUNT_CODE_REMOVED`).\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"removeCartItems\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"c360791f-99e4-4577-bf55-983da8a871a5","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 RemoveCartItems($input: RemoveCartItemsInput!) {\n  removeCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartItemIds\": [\n      \"Example_ID\"\n    ],\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCartItems\n\n**Propósito:** Remove um ou mais itens de um carrinho, pelo `_id` do item.\n**Quando usar:** Quando o comprador tira produtos do carrinho durante o checkout. **É idempotente**: IDs de item que não estão (ou não estão mais) no carrinho são ignorados sem erro, então repetir a chamada não tem efeito adicional. Para só diminuir a quantidade, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCartItemsInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                                                                         |\n| ------------------------ | -------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`           | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                |\n| `input.cartToken`        | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha. |\n| `input.cartItemIds`      | `[ID]!`  | Sim (≥ 1)   | —       | `_id` dos itens a remover (de `cart.items.nodes[]._id`).                                                          |\n| `input.clientMutationId` | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                                      |\n\n### Retorno\n\n`RemoveCartItemsPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                                    |\n| ------------------ | ------------- | -------------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado, já sem os itens removidos.                                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (ex.: brinde removido, cupom removido por não atender mais às condições). |\n| `clientMutationId` | `String`      | O valor enviado no input.                                                                    |\n\n### Erros\n\n| Código                    | Condição                                                                                                   | O que fazer                                                                            |\n| ------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `REMOVE_CART_ITEMS_ERROR` | `cartToken` não foi enviado.                                                                               | Envie o `cartToken` do carrinho.                                                       |\n| `CART_NOT_FOUND_ERROR`    | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| _(sem código)_            | `cartItemIds` vazio ou inválido.                                                                           | Envie ao menos um `_id` de item; a causa vem descrita em `message`.                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Remover todos os itens não apaga o carrinho** — ele continua existindo, vazio, e pode receber novos itens via `addCartItems`.\n- Remover itens pode invalidar um cupom aplicado (ex.: valor mínimo deixa de ser atingido) — veja `cartEvents` (`DISCOUNT_CODE_REMOVED`).\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"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":"b97564fb-2055-4c17-9ccb-11c1ae0ad663","name":"Erro - REMOVE_CART_ITEMS_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 RemoveCartItems($input: RemoveCartItemsInput!) {\n  removeCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartItemIds\": [\n      \"Example_ID\"\n    ],\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCartItems\n\n**Propósito:** Remove um ou mais itens de um carrinho, pelo `_id` do item.\n**Quando usar:** Quando o comprador tira produtos do carrinho durante o checkout. **É idempotente**: IDs de item que não estão (ou não estão mais) no carrinho são ignorados sem erro, então repetir a chamada não tem efeito adicional. Para só diminuir a quantidade, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCartItemsInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                                                                         |\n| ------------------------ | -------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`           | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                |\n| `input.cartToken`        | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha. |\n| `input.cartItemIds`      | `[ID]!`  | Sim (≥ 1)   | —       | `_id` dos itens a remover (de `cart.items.nodes[]._id`).                                                          |\n| `input.clientMutationId` | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                                      |\n\n### Retorno\n\n`RemoveCartItemsPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                                    |\n| ------------------ | ------------- | -------------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado, já sem os itens removidos.                                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (ex.: brinde removido, cupom removido por não atender mais às condições). |\n| `clientMutationId` | `String`      | O valor enviado no input.                                                                    |\n\n### Erros\n\n| Código                    | Condição                                                                                                   | O que fazer                                                                            |\n| ------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `REMOVE_CART_ITEMS_ERROR` | `cartToken` não foi enviado.                                                                               | Envie o `cartToken` do carrinho.                                                       |\n| `CART_NOT_FOUND_ERROR`    | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| _(sem código)_            | `cartItemIds` vazio ou inválido.                                                                           | Envie ao menos um `_id` de item; a causa vem descrita em `message`.                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Remover todos os itens não apaga o carrinho** — ele continua existindo, vazio, e pode receber novos itens via `addCartItems`.\n- Remover itens pode invalidar um cupom aplicado (ex.: valor mínimo deixa de ser atingido) — veja `cartEvents` (`DISCOUNT_CODE_REMOVED`).\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"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\": \"Remove cart items error\",\n      \"extensions\": {\n        \"code\": \"REMOVE_CART_ITEMS_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"e9ef34f8-e245-496c-a90c-db8bf624a08a","name":"Erro - CART_NOT_FOUND_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 RemoveCartItems($input: RemoveCartItemsInput!) {\n  removeCartItems(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartItemIds\": [\n      \"Example_ID\"\n    ],\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCartItems\n\n**Propósito:** Remove um ou mais itens de um carrinho, pelo `_id` do item.\n**Quando usar:** Quando o comprador tira produtos do carrinho durante o checkout. **É idempotente**: IDs de item que não estão (ou não estão mais) no carrinho são ignorados sem erro, então repetir a chamada não tem efeito adicional. Para só diminuir a quantidade, use `updateCartItemsQuantity`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCartItemsInput!`.\n\n| Nome                     | Tipo     | Obrigatório | Default | Descrição                                                                                                         |\n| ------------------------ | -------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`           | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                |\n| `input.cartToken`        | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática**: sem ele a chamada falha. |\n| `input.cartItemIds`      | `[ID]!`  | Sim (≥ 1)   | —       | `_id` dos itens a remover (de `cart.items.nodes[]._id`).                                                          |\n| `input.clientMutationId` | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                                      |\n\n### Retorno\n\n`RemoveCartItemsPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                                    |\n| ------------------ | ------------- | -------------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado, já sem os itens removidos.                                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (ex.: brinde removido, cupom removido por não atender mais às condições). |\n| `clientMutationId` | `String`      | O valor enviado no input.                                                                    |\n\n### Erros\n\n| Código                    | Condição                                                                                                   | O que fazer                                                                            |\n| ------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| `REMOVE_CART_ITEMS_ERROR` | `cartToken` não foi enviado.                                                                               | Envie o `cartToken` do carrinho.                                                       |\n| `CART_NOT_FOUND_ERROR`    | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`; se o pedido já foi fechado, crie um novo carrinho. |\n| _(sem código)_            | `cartItemIds` vazio ou inválido.                                                                           | Envie ao menos um `_id` de item; a causa vem descrita em `message`.                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Remover todos os itens não apaga o carrinho** — ele continua existindo, vazio, e pode receber novos itens via `addCartItems`.\n- Remover itens pode invalidar um cupom aplicado (ex.: valor mínimo deixa de ser atingido) — veja `cartEvents` (`DISCOUNT_CODE_REMOVED`).\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"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\": \"Cart not found error\",\n      \"extensions\": {\n        \"code\": \"CART_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"61bf6e0e-1269-567a-97ba-f39bd94d1252"},{"name":"[Mutation] setEmailOnAnonymousCart","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 setEmailOnAnonymousCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"setEmailOnAnonymousCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"0082e856-cf27-5994-91ab-6b0317821234","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 SetEmailOnAnonymousCart($input: SetEmailOnAnonymousCartInput!) {\n  setEmailOnAnonymousCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"setemailonanonymouscart\">setEmailOnAnonymousCart</h2>\n<p><strong>Propósito:</strong> Grava o e-mail do comprador em um carrinho anônimo.\n<strong>Quando usar:</strong> No checkout, assim que o comprador informar o e-mail. <strong>Opcional para fechar o pedido:</strong> o <code>placeOrder</code> usa <code>input.order.email</code>, não o e-mail do carrinho; gravá-lo aqui serve à recuperação de carrinho abandonado (<code>abandonedCarts</code>). <strong>É idempotente</strong>: reenviar o mesmo e-mail produz o mesmo estado; enviar outro e-mail substitui o anterior.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>. Gravar o e-mail não vincula o carrinho a uma conta de consumidor.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: SetEmailOnAnonymousCartInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>.</td>\n</tr>\n<tr>\n<td><code>input.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>E-mail do comprador.</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>—</td>\n<td>Identificador livre seu, ecoado na resposta.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>SetEmailOnAnonymousCartPayload!</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 atualizado; o e-mail fica em <code>cart.email</code>.</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O valor enviado no input.</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_NOT_FOUND_ERROR</code></td>\n<td>Nenhum carrinho ativo casa com <code>cartId</code> + <code>cartToken</code> (inexistente, token errado, ou travado em checkout).</td>\n<td>Confira o par <code>cartId</code>/<code>cartToken</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Campo obrigatório ausente ou vazio.</td>\n<td>Corrija o <code>input</code>; a causa vem em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>O formato do e-mail não é validado nem normalizado</strong> nesta operação — o valor é gravado exatamente como enviado. Valide (e normalize, ex.: <code>trim</code> + minúsculas) do seu lado antes de enviar.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e362ec08-1574-4f94-8faf-e39ed5d56bce","name":"200 - setEmailOnAnonymousCart","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 SetEmailOnAnonymousCart($input: SetEmailOnAnonymousCartInput!) {\n  setEmailOnAnonymousCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setEmailOnAnonymousCart\n\n**Propósito:** Grava o e-mail do comprador em um carrinho anônimo.\n**Quando usar:** No checkout, assim que o comprador informar o e-mail. **Opcional para fechar o pedido:** o `placeOrder` usa `input.order.email`, não o e-mail do carrinho; gravá-lo aqui serve à recuperação de carrinho abandonado (`abandonedCarts`). **É idempotente**: reenviar o mesmo e-mail produz o mesmo estado; enviar outro e-mail substitui o anterior.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`. Gravar o e-mail não vincula o carrinho a uma conta de consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: SetEmailOnAnonymousCartInput!`.\n\n| Nome                     | Tipo      | Obrigatório | Default | Descrição                                    |\n| ------------------------ | --------- | ----------- | ------- | -------------------------------------------- |\n| `input.cartId`           | `ID!`     | Sim         | —       | `_id` do carrinho.                           |\n| `input.cartToken`        | `String!` | Sim         | —       | O `token` retornado em `createCart`.         |\n| `input.email`            | `String!` | Sim         | —       | E-mail do comprador.                         |\n| `input.clientMutationId` | `String`  | Não         | —       | Identificador livre seu, ecoado na resposta. |\n\n### Retorno\n\n`SetEmailOnAnonymousCartPayload!`:\n\n| Propriedade        | Tipo     | Descrição                                             |\n| ------------------ | -------- | ----------------------------------------------------- |\n| `cart`             | `Cart!`  | O carrinho atualizado; o e-mail fica em `cart.email`. |\n| `clientMutationId` | `String` | O valor enviado no input.                             |\n\n### Erros\n\n| Código                 | Condição                                                                                                   | O que fazer                                  |\n| ---------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------- |\n| `CART_NOT_FOUND_ERROR` | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.          |\n| _(sem código)_         | Campo obrigatório ausente ou vazio.                                                                        | Corrija o `input`; a causa vem em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O formato do e-mail não é validado nem normalizado** nesta operação — o valor é gravado exatamente como enviado. Valide (e normalize, ex.: `trim` + minúsculas) do seu lado antes de enviar."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"setEmailOnAnonymousCart\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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    }\n  }\n}"},{"id":"d037b480-49df-4415-898b-ecd3e9145864","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 SetEmailOnAnonymousCart($input: SetEmailOnAnonymousCartInput!) {\n  setEmailOnAnonymousCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setEmailOnAnonymousCart\n\n**Propósito:** Grava o e-mail do comprador em um carrinho anônimo.\n**Quando usar:** No checkout, assim que o comprador informar o e-mail. **Opcional para fechar o pedido:** o `placeOrder` usa `input.order.email`, não o e-mail do carrinho; gravá-lo aqui serve à recuperação de carrinho abandonado (`abandonedCarts`). **É idempotente**: reenviar o mesmo e-mail produz o mesmo estado; enviar outro e-mail substitui o anterior.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`. Gravar o e-mail não vincula o carrinho a uma conta de consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: SetEmailOnAnonymousCartInput!`.\n\n| Nome                     | Tipo      | Obrigatório | Default | Descrição                                    |\n| ------------------------ | --------- | ----------- | ------- | -------------------------------------------- |\n| `input.cartId`           | `ID!`     | Sim         | —       | `_id` do carrinho.                           |\n| `input.cartToken`        | `String!` | Sim         | —       | O `token` retornado em `createCart`.         |\n| `input.email`            | `String!` | Sim         | —       | E-mail do comprador.                         |\n| `input.clientMutationId` | `String`  | Não         | —       | Identificador livre seu, ecoado na resposta. |\n\n### Retorno\n\n`SetEmailOnAnonymousCartPayload!`:\n\n| Propriedade        | Tipo     | Descrição                                             |\n| ------------------ | -------- | ----------------------------------------------------- |\n| `cart`             | `Cart!`  | O carrinho atualizado; o e-mail fica em `cart.email`. |\n| `clientMutationId` | `String` | O valor enviado no input.                             |\n\n### Erros\n\n| Código                 | Condição                                                                                                   | O que fazer                                  |\n| ---------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------- |\n| `CART_NOT_FOUND_ERROR` | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.          |\n| _(sem código)_         | Campo obrigatório ausente ou vazio.                                                                        | Corrija o `input`; a causa vem em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O formato do e-mail não é validado nem normalizado** nesta operação — o valor é gravado exatamente como enviado. Valide (e normalize, ex.: `trim` + minúsculas) do seu lado antes de enviar."},"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":"b8ef4b19-0cb4-4dce-bd55-37789b58e14c","name":"Erro - CART_NOT_FOUND_ERROR","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 SetEmailOnAnonymousCart($input: SetEmailOnAnonymousCartInput!) {\n  setEmailOnAnonymousCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setEmailOnAnonymousCart\n\n**Propósito:** Grava o e-mail do comprador em um carrinho anônimo.\n**Quando usar:** No checkout, assim que o comprador informar o e-mail. **Opcional para fechar o pedido:** o `placeOrder` usa `input.order.email`, não o e-mail do carrinho; gravá-lo aqui serve à recuperação de carrinho abandonado (`abandonedCarts`). **É idempotente**: reenviar o mesmo e-mail produz o mesmo estado; enviar outro e-mail substitui o anterior.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`. Gravar o e-mail não vincula o carrinho a uma conta de consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: SetEmailOnAnonymousCartInput!`.\n\n| Nome                     | Tipo      | Obrigatório | Default | Descrição                                    |\n| ------------------------ | --------- | ----------- | ------- | -------------------------------------------- |\n| `input.cartId`           | `ID!`     | Sim         | —       | `_id` do carrinho.                           |\n| `input.cartToken`        | `String!` | Sim         | —       | O `token` retornado em `createCart`.         |\n| `input.email`            | `String!` | Sim         | —       | E-mail do comprador.                         |\n| `input.clientMutationId` | `String`  | Não         | —       | Identificador livre seu, ecoado na resposta. |\n\n### Retorno\n\n`SetEmailOnAnonymousCartPayload!`:\n\n| Propriedade        | Tipo     | Descrição                                             |\n| ------------------ | -------- | ----------------------------------------------------- |\n| `cart`             | `Cart!`  | O carrinho atualizado; o e-mail fica em `cart.email`. |\n| `clientMutationId` | `String` | O valor enviado no input.                             |\n\n### Erros\n\n| Código                 | Condição                                                                                                   | O que fazer                                  |\n| ---------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------- |\n| `CART_NOT_FOUND_ERROR` | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.          |\n| _(sem código)_         | Campo obrigatório ausente ou vazio.                                                                        | Corrija o `input`; a causa vem em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O formato do e-mail não é validado nem normalizado** nesta operação — o valor é gravado exatamente como enviado. Valide (e normalize, ex.: `trim` + minúsculas) do seu lado antes de enviar."},"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\": \"Cart not found error\",\n      \"extensions\": {\n        \"code\": \"CART_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"0082e856-cf27-5994-91ab-6b0317821234"},{"name":"[Mutation] updateCartItemsQuantity","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 updateCartItemsQuantity data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"updateCartItemsQuantity\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"8b9c6505-f467-5d98-a111-8959b8004782","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 UpdateCartItemsQuantity($input: UpdateCartItemsQuantityInput!) {\n  updateCartItemsQuantity(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\n        \"cartItemId\": \"Example_ID\",\n        \"quantity\": 1\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"updatecartitemsquantity\">updateCartItemsQuantity</h2>\n<p><strong>Propósito:</strong> Define a quantidade <strong>absoluta</strong> de um ou mais itens do carrinho; quantidade <code>0</code> remove o item.\n<strong>Quando usar:</strong> Quando o comprador altera a quantidade de um produto já no carrinho. <strong>É idempotente</strong>: enviar a mesma quantidade de novo produz o mesmo estado. Para somar itens, use <code>addCartItems</code>; para remover, <code>0</code> aqui ou <code>removeCartItems</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpdateCartItemsQuantityInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>. Opcional no schema, mas <strong>obrigatório na prática</strong> — sempre envie-o.</td>\n</tr>\n<tr>\n<td><code>input.items</code></td>\n<td><code>[UpdateCartItemInput]!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Itens a atualizar.</td>\n</tr>\n<tr>\n<td><code>input.items[].cartItemId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do item no carrinho (de <code>cart.items.nodes[]._id</code>).</td>\n</tr>\n<tr>\n<td><code>input.items[].quantity</code></td>\n<td><code>Int!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Nova quantidade total do item (inteiro ≥ 0). <code>0</code> remove o item.</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>—</td>\n<td>Identificador livre seu, ecoado na resposta.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>UpdateCartItemsQuantityPayload!</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 atualizado.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Efeitos colaterais (brinde, cupom removido etc.).</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O valor enviado no input.</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 casa com <code>cartId</code> + <code>cartToken</code> (inexistente, token errado, ou travado em checkout).</td>\n<td>Confira o par <code>cartId</code>/<code>cartToken</code>.</td>\n</tr>\n<tr>\n<td><code>UNABLE_TO_UPDATE_QUANTITY_FOR_PRODUCT_KITS_ERROR</code></td>\n<td>Algum <code>cartItemId</code> enviado (com quantidade &gt; 0) é um kit — kits não aceitam mudança de quantidade.</td>\n<td>Para kits, use <code>removeCartItems</code> (ou quantidade <code>0</code>) e adicione de novo com <code>addCartItems</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> inválido (ex.: <code>quantity</code> negativa, <code>cartItemId</code> ausente).</td>\n<td>Corrija o <code>input</code>; a causa vem descrita em <code>message</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.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Quantidade fora dos limites é ignorada em silêncio.</strong> Se a nova quantidade ficar abaixo do mínimo ou acima do máximo de pedido da variante, o item <strong>mantém a quantidade anterior</strong> e a chamada não retorna erro. Confira a quantidade em <code>cart.items</code> na resposta.</li>\n<li><strong>Não há checagem de estoque nesta operação</strong> (diferente de <code>addCartItems</code>) — se precisar garantir disponibilidade antes do checkout, consulte <code>simpleInventory</code>.</li>\n<li><code>cartItemId</code> que não pertence ao carrinho é ignorado sem erro.</li>\n<li><strong>Após alterar itens, recalcule o frete</strong> com <code>updateFulfillmentOptionsForGroup</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce49add4-e278-4138-840d-77d16b37153e","name":"200 - updateCartItemsQuantity","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 UpdateCartItemsQuantity($input: UpdateCartItemsQuantityInput!) {\n  updateCartItemsQuantity(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\n        \"cartItemId\": \"Example_ID\",\n        \"quantity\": 1\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## updateCartItemsQuantity\n\n**Propósito:** Define a quantidade **absoluta** de um ou mais itens do carrinho; quantidade `0` remove o item.\n**Quando usar:** Quando o comprador altera a quantidade de um produto já no carrinho. **É idempotente**: enviar a mesma quantidade de novo produz o mesmo estado. Para somar itens, use `addCartItems`; para remover, `0` aqui ou `removeCartItems`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartItemsQuantityInput!`.\n\n| Nome                       | Tipo                     | Obrigatório | Default | Descrição                                                                                                 |\n| -------------------------- | ------------------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`             | `ID!`                    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`          | `String`                 | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.items`              | `[UpdateCartItemInput]!` | Sim         | —       | Itens a atualizar.                                                                                        |\n| `input.items[].cartItemId` | `ID!`                    | Sim         | —       | `_id` do item no carrinho (de `cart.items.nodes[]._id`).                                                  |\n| `input.items[].quantity`   | `Int!`                   | Sim         | —       | Nova quantidade total do item (inteiro ≥ 0). `0` remove o item.                                           |\n| `input.clientMutationId`   | `String`                 | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`UpdateCartItemsQuantityPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                         |\n| ------------------ | ------------- | ------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (brinde, cupom removido etc.). |\n| `clientMutationId` | `String`      | O valor enviado no input.                         |\n\n### Erros\n\n| Código                                             | Condição                                                                                                   | O que fazer                                                                                 |\n| -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`                                        | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                                         |\n| `UNABLE_TO_UPDATE_QUANTITY_FOR_PRODUCT_KITS_ERROR` | Algum `cartItemId` enviado (com quantidade > 0) é um kit — kits não aceitam mudança de quantidade.         | Para kits, use `removeCartItems` (ou quantidade `0`) e adicione de novo com `addCartItems`. |\n| _(sem código)_                                     | `input` inválido (ex.: `quantity` negativa, `cartItemId` ausente).                                         | Corrija o `input`; a causa vem descrita em `message`.                                       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Quantidade fora dos limites é ignorada em silêncio.** Se a nova quantidade ficar abaixo do mínimo ou acima do máximo de pedido da variante, o item **mantém a quantidade anterior** e a chamada não retorna erro. Confira a quantidade em `cart.items` na resposta.\n- **Não há checagem de estoque nesta operação** (diferente de `addCartItems`) — se precisar garantir disponibilidade antes do checkout, consulte `simpleInventory`.\n- `cartItemId` que não pertence ao carrinho é ignorado sem erro.\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"updateCartItemsQuantity\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"34dee755-9745-46ad-b0bb-4aae2d1a99cb","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 UpdateCartItemsQuantity($input: UpdateCartItemsQuantityInput!) {\n  updateCartItemsQuantity(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\n        \"cartItemId\": \"Example_ID\",\n        \"quantity\": 1\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## updateCartItemsQuantity\n\n**Propósito:** Define a quantidade **absoluta** de um ou mais itens do carrinho; quantidade `0` remove o item.\n**Quando usar:** Quando o comprador altera a quantidade de um produto já no carrinho. **É idempotente**: enviar a mesma quantidade de novo produz o mesmo estado. Para somar itens, use `addCartItems`; para remover, `0` aqui ou `removeCartItems`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartItemsQuantityInput!`.\n\n| Nome                       | Tipo                     | Obrigatório | Default | Descrição                                                                                                 |\n| -------------------------- | ------------------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`             | `ID!`                    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`          | `String`                 | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.items`              | `[UpdateCartItemInput]!` | Sim         | —       | Itens a atualizar.                                                                                        |\n| `input.items[].cartItemId` | `ID!`                    | Sim         | —       | `_id` do item no carrinho (de `cart.items.nodes[]._id`).                                                  |\n| `input.items[].quantity`   | `Int!`                   | Sim         | —       | Nova quantidade total do item (inteiro ≥ 0). `0` remove o item.                                           |\n| `input.clientMutationId`   | `String`                 | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`UpdateCartItemsQuantityPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                         |\n| ------------------ | ------------- | ------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (brinde, cupom removido etc.). |\n| `clientMutationId` | `String`      | O valor enviado no input.                         |\n\n### Erros\n\n| Código                                             | Condição                                                                                                   | O que fazer                                                                                 |\n| -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`                                        | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                                         |\n| `UNABLE_TO_UPDATE_QUANTITY_FOR_PRODUCT_KITS_ERROR` | Algum `cartItemId` enviado (com quantidade > 0) é um kit — kits não aceitam mudança de quantidade.         | Para kits, use `removeCartItems` (ou quantidade `0`) e adicione de novo com `addCartItems`. |\n| _(sem código)_                                     | `input` inválido (ex.: `quantity` negativa, `cartItemId` ausente).                                         | Corrija o `input`; a causa vem descrita em `message`.                                       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Quantidade fora dos limites é ignorada em silêncio.** Se a nova quantidade ficar abaixo do mínimo ou acima do máximo de pedido da variante, o item **mantém a quantidade anterior** e a chamada não retorna erro. Confira a quantidade em `cart.items` na resposta.\n- **Não há checagem de estoque nesta operação** (diferente de `addCartItems`) — se precisar garantir disponibilidade antes do checkout, consulte `simpleInventory`.\n- `cartItemId` que não pertence ao carrinho é ignorado sem erro.\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"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":"56ab689f-fb69-4b3c-8b02-a0814f79f582","name":"Erro - UNABLE_TO_UPDATE_QUANTITY_FOR_PRODUCT_KITS_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 UpdateCartItemsQuantity($input: UpdateCartItemsQuantityInput!) {\n  updateCartItemsQuantity(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"items\": [\n      {\n        \"cartItemId\": \"Example_ID\",\n        \"quantity\": 1\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## updateCartItemsQuantity\n\n**Propósito:** Define a quantidade **absoluta** de um ou mais itens do carrinho; quantidade `0` remove o item.\n**Quando usar:** Quando o comprador altera a quantidade de um produto já no carrinho. **É idempotente**: enviar a mesma quantidade de novo produz o mesmo estado. Para somar itens, use `addCartItems`; para remover, `0` aqui ou `removeCartItems`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCartItemsQuantityInput!`.\n\n| Nome                       | Tipo                     | Obrigatório | Default | Descrição                                                                                                 |\n| -------------------------- | ------------------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`             | `ID!`                    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`          | `String`                 | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.items`              | `[UpdateCartItemInput]!` | Sim         | —       | Itens a atualizar.                                                                                        |\n| `input.items[].cartItemId` | `ID!`                    | Sim         | —       | `_id` do item no carrinho (de `cart.items.nodes[]._id`).                                                  |\n| `input.items[].quantity`   | `Int!`                   | Sim         | —       | Nova quantidade total do item (inteiro ≥ 0). `0` remove o item.                                           |\n| `input.clientMutationId`   | `String`                 | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`UpdateCartItemsQuantityPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                         |\n| ------------------ | ------------- | ------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho atualizado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais (brinde, cupom removido etc.). |\n| `clientMutationId` | `String`      | O valor enviado no input.                         |\n\n### Erros\n\n| Código                                             | Condição                                                                                                   | O que fazer                                                                                 |\n| -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`                                        | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                                         |\n| `UNABLE_TO_UPDATE_QUANTITY_FOR_PRODUCT_KITS_ERROR` | Algum `cartItemId` enviado (com quantidade > 0) é um kit — kits não aceitam mudança de quantidade.         | Para kits, use `removeCartItems` (ou quantidade `0`) e adicione de novo com `addCartItems`. |\n| _(sem código)_                                     | `input` inválido (ex.: `quantity` negativa, `cartItemId` ausente).                                         | Corrija o `input`; a causa vem descrita em `message`.                                       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Quantidade fora dos limites é ignorada em silêncio.** Se a nova quantidade ficar abaixo do mínimo ou acima do máximo de pedido da variante, o item **mantém a quantidade anterior** e a chamada não retorna erro. Confira a quantidade em `cart.items` na resposta.\n- **Não há checagem de estoque nesta operação** (diferente de `addCartItems`) — se precisar garantir disponibilidade antes do checkout, consulte `simpleInventory`.\n- `cartItemId` que não pertence ao carrinho é ignorado sem erro.\n- **Após alterar itens, recalcule o frete** com `updateFulfillmentOptionsForGroup`."},"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\": \"Unable to update quantity for product kits error\",\n      \"extensions\": {\n        \"code\": \"UNABLE_TO_UPDATE_QUANTITY_FOR_PRODUCT_KITS_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"8b9c6505-f467-5d98-a111-8959b8004782"},{"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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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":"9dc1271c-cda9-42f4-b99d-2f9471429685","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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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        \"checkoutUrl\": \"https://exemplo.com\",\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":"0bec8f19-5183-4006-88f2-590b524f5594","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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"711bd675-ae9d-49c9-a33b-3c27e28d6559","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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      \"checkoutUrl\": \"https://exemplo.com\",\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        \"maxInstallments\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"d83e25e4-25e5-44fc-bcdd-3a35472d3faa","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"6d4939eb-8e12-49ed-b1a4-428dc01bda08","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"79523eb7-27d2-4550-a829-6ae3eae1083a","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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      \"checkoutUrl\": \"https://exemplo.com\",\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        \"maxInstallments\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"b63204c4-61b8-4051-bda7-c28bfdd3e483","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"60c81787-3677-4753-8129-4a9d98088b79","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"b669fd1c-aecc-4e1b-b38c-a44d05e210de","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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      \"checkoutUrl\": \"https://exemplo.com\",\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        \"maxInstallments\": 10\n      },\n      \"paymentMethod\": {},\n      \"blockPaymentMethodChange\": true,\n      \"blockApplyDiscountCode\": true,\n      \"blockApplyShopSale\": true\n    }\n  }\n}"},{"id":"40d0737d-6f3a-4841-a0ec-a6e5fb20f76a","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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":"2b19ea51-b9ea-468b-ae6f-c7531c6436f9","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    checkoutUrl\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      maxInstallments\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"},{"name":"[Mutation] createCartTemplates","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 createCartTemplates data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createCartTemplates\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"692eca23-59f1-5187-a355-954dda1f0369","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 CreateCartTemplates($input: CreateCartTemplatesInput!) {\n  createCartTemplates(input: $input) {\n    createdCount\n    validCount\n    cartTemplates {\n      templateIndex\n      key\n      cartTemplate {\n        _id\n        referenceId\n        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    errors {\n      templateIndex\n      itemIndex\n      key\n      code\n      message\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplates\": [\n      {\n        \"key\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"cartItems\": [\n          {\n            \"productErpCode\": \"Example_String\",\n            \"variantErpCode\": \"Example_String\",\n            \"quantity\": 1,\n            \"isRecurring\": true\n          }\n        ],\n        \"discountCode\": \"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        \"recurringItemsFrequencyId\": \"Example_String\",\n        \"recurringItemsFrequencyTitle\": \"Example_String\",\n        \"paymentMethod\": \"none\",\n        \"blockPaymentMethodChange\": true,\n        \"blockApplyDiscountCode\": true,\n        \"blockApplyShopSale\": true\n      }\n    ],\n    \"dryRun\": true\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"createcarttemplates\">createCartTemplates</h2>\n<p><strong>Propósito:</strong> Cria até 200 templates de carrinho numa única chamada, com os itens referenciados pelo código de ERP do produto e da variante.\n<strong>Quando usar:</strong> Para cadastrar templates em massa a partir do seu sistema (ex.: um template por cliente numa migração de assinaturas). Valide antes com <code>dryRun: true</code>, repetindo e corrigindo até <code>errors</code> vir vazio — a validação acontece em etapas (ver Notas), então uma rodada corrigida pode revelar erros novos. Depois envie com <code>dryRun: false</code>. <strong>Tudo ou nada</strong>: se qualquer template tiver erro, nenhum é criado. <strong>Não é idempotente</strong>: cada chamada bem-sucedida cria templates novos, mesmo repetindo o mesmo lote.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (o <code>access_token</code>, sem o prefixo <code>Bearer</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: CreateCartTemplatesInput!</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.cartTemplates</code></td>\n<td><code>[BulkCartTemplateInput!]!</code></td>\n<td>Sim (de 1 a 200)</td>\n<td>—</td>\n<td>Templates a criar. Ver tabela abaixo.</td>\n</tr>\n<tr>\n<td><code>input.dryRun</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>, valida e devolve os erros sem gravar, mesmo que tudo esteja certo. Com <code>false</code>, grava se não houver erro.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-inputcarttemplates-bulkcarttemplateinput\">Campos de <code>input.cartTemplates[]</code> (<code>BulkCartTemplateInput</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>key</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Chave sua, devolvida nos erros e no template criado em <code>cartTemplates</code> para correlacioná-los com a origem. Use um valor único por template no lote (não é validado). Não é gravada no template.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td><code>String!</code></td>\n<td>Sim (não vazio)</td>\n<td>Título do template.</td>\n</tr>\n<tr>\n<td><code>cartItems</code></td>\n<td><code>[BulkCartTemplateItemInput!]!</code></td>\n<td>Sim (mín. 1 item)</td>\n<td>Itens do template. Ver tabela abaixo.</td>\n</tr>\n<tr>\n<td><code>discountCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Código de desconto (cupom) da loja, sem diferenciar maiúsculas e ignorando espaços nas pontas. Liste os cupons em <code>discountCodes</code>.</td>\n</tr>\n<tr>\n<td><code>constraints</code></td>\n<td><code>CheckoutTemplateConstraintsInput</code></td>\n<td>Não</td>\n<td><code>{ usageLimit: Int, expirationDate: AWSDateTime }</code>. <code>usageLimit</code> ≥ 0. Envie <code>expirationDate</code> com hora e fuso (ex.: <code>2026-12-31T23:59:59-03:00</code>).</td>\n</tr>\n<tr>\n<td><code>shipping</code></td>\n<td><code>CartTemplateShippingInput</code></td>\n<td>Não</td>\n<td>Ver tabela abaixo. Se omitido, o template usa <code>fulfillmentType: SHIPPING</code> sem opções nem valor de frete definidos.</td>\n</tr>\n<tr>\n<td><code>recurringItemsFrequencyId</code></td>\n<td><code>String</code></td>\n<td>Um dos dois (id ou título) se algum item tiver <code>isRecurring: true</code>; proibido caso contrário</td>\n<td>ID de uma frequência permitida pela loja. Não envie junto com <code>recurringItemsFrequencyTitle</code>. Liste as frequências em <code>shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }</code>.</td>\n</tr>\n<tr>\n<td><code>recurringItemsFrequencyTitle</code></td>\n<td><code>String</code></td>\n<td>Um dos dois (id ou título) se algum item tiver <code>isRecurring: true</code>; proibido caso contrário</td>\n<td>Título da frequência (ex.: <code>Mensalmente</code>), sem diferenciar maiúsculas e ignorando espaços nas pontas. Se a loja tiver dois títulos iguais, vale o primeiro.</td>\n</tr>\n<tr>\n<td><code>paymentMethod</code></td>\n<td><code>PaymentMethodName</code></td>\n<td>Não</td>\n<td>Forma de pagamento a fixar: <code>unboxpay_credit</code>, <code>unboxpay_boleto</code> ou <code>unboxpay_pix</code>. <code>none</code> não é aceito.</td>\n</tr>\n<tr>\n<td><code>blockPaymentMethodChange</code></td>\n<td><code>Boolean</code></td>\n<td>Não (default <code>false</code>)</td>\n<td>Se <code>true</code>, carrinhos criados a partir do template não permitem trocar a forma de pagamento.</td>\n</tr>\n<tr>\n<td><code>blockApplyDiscountCode</code></td>\n<td><code>Boolean</code></td>\n<td>Não (default <code>false</code>)</td>\n<td>Se <code>true</code>, códigos de desconto não podem ser aplicados aos carrinhos criados a partir do template.</td>\n</tr>\n<tr>\n<td><code>blockApplyShopSale</code></td>\n<td><code>Boolean</code></td>\n<td>Não (default <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-cartitems-bulkcarttemplateiteminput\">Campos de <code>cartItems[]</code> (<code>BulkCartTemplateItemInput</code>)</h4>\n<p>Só produtos simples; kits são recusados (<code>CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR</code>). Consulte os códigos em <code>catalogItems(productIdsOrERPCodes: [...])</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>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productErpCode</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Código de ERP do produto (<code>erpCode</code> do produto).</td>\n</tr>\n<tr>\n<td><code>variantErpCode</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Código de ERP da variante (<code>variants.erpCode</code>). Se a variante tiver opções, use o código da opção (<code>variants.options.erpCode</code>).</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>Int!</code></td>\n<td>Sim</td>\n<td>Quantidade, inteiro ≥ 1.</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 o item como recorrente. Exige uma frequência no template (<code>recurringItemsFrequencyId</code> ou <code>recurringItemsFrequencyTitle</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-shipping-carttemplateshippinginput\">Campos de <code>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>Não (default <code>SHIPPING</code>)</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 com <code>NONE</code>; obrigatório com <code>shippingValue</code>; se enviado, mín. 1</td>\n<td>IDs das opções de frete permitidas para o template. Liste-as em <code>shopBySlug { fulfillmentOptions { _id name enabled classification } }</code> e use as com <code>enabled: true</code> e <code>classification: FULFILLMENT_OPTION</code>.</td>\n</tr>\n<tr>\n<td><code>shippingValue</code></td>\n<td><code>MoneyInput</code></td>\n<td>Proibido com <code>NONE</code></td>\n<td>Valor fixo de frete, <code>amount</code> ≥ 0 (ex.: <code>{ amount: 15.9, currencyCode: \"BRL\" }</code>). <code>amount: 0</code> fixa frete zero.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>Campos enviados como <code>null</code> valem como omitidos.</p>\n</blockquote>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CreateCartTemplatesPayload!</code>. Erros de um template ou item vêm no campo <code>errors</code> do payload; erros do lote como um todo (lista vazia, mais de 200 templates, falha ao gravar) vêm em <code>errors[]</code> da resposta GraphQL — ver Erros.</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>createdCount</code></td>\n<td><code>Int!</code></td>\n<td>Quantos templates foram criados. <code>0</code> quando há qualquer erro ou com <code>dryRun: true</code>.</td>\n</tr>\n<tr>\n<td><code>validCount</code></td>\n<td><code>Int!</code></td>\n<td>Quantos templates não tiveram erro nesta chamada. Quando há erros de formato, conta só essa etapa: esses templates ainda podem falhar nas validações seguintes.</td>\n</tr>\n<tr>\n<td><code>cartTemplates</code></td>\n<td><code>[CreatedCartTemplate!]!</code></td>\n<td>Templates criados, na ordem do input, cada um com a posição e a <code>key</code> do input; vazio quando nada foi gravado.</td>\n</tr>\n<tr>\n<td><code>cartTemplates[].templateIndex</code></td>\n<td><code>Int!</code></td>\n<td>Posição (a partir de 0) do template em <code>input.cartTemplates</code>.</td>\n</tr>\n<tr>\n<td><code>cartTemplates[].key</code></td>\n<td><code>String</code></td>\n<td>A <code>key</code> que você enviou no template, se enviou.</td>\n</tr>\n<tr>\n<td><code>cartTemplates[].cartTemplate</code></td>\n<td><code>CartTemplate!</code></td>\n<td>O template criado, na mesma forma da query <code>cartTemplate</code>.</td>\n</tr>\n<tr>\n<td><code>cartTemplates[].cartTemplate.checkoutUrl</code></td>\n<td><code>String!</code></td>\n<td>URL da loja que transforma o template em carrinho; é o link para enviar ao comprador.</td>\n</tr>\n<tr>\n<td><code>errors</code></td>\n<td><code>[CartTemplateBulkError!]!</code></td>\n<td>Erros encontrados nesta chamada, ordenados por template e item. Vazio quando todos os templates são válidos.</td>\n</tr>\n<tr>\n<td><code>errors[].templateIndex</code></td>\n<td><code>Int!</code></td>\n<td>Posição (a partir de 0) do template com erro em <code>input.cartTemplates</code>.</td>\n</tr>\n<tr>\n<td><code>errors[].itemIndex</code></td>\n<td><code>Int</code></td>\n<td>Posição (a partir de 0) do item com erro em <code>cartItems</code> desse template; <code>null</code> quando o erro é do template.</td>\n</tr>\n<tr>\n<td><code>errors[].key</code></td>\n<td><code>String</code></td>\n<td>A <code>key</code> que você enviou no template, se enviou.</td>\n</tr>\n<tr>\n<td><code>errors[].code</code></td>\n<td><code>String!</code></td>\n<td>Código estável do erro (ver Erros).</td>\n</tr>\n<tr>\n<td><code>errors[].message</code></td>\n<td><code>String</code></td>\n<td>Detalhe do erro, quando houver: o campo e a regra violada, o id da opção de frete com problema ou o motivo do desconto.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"erros\">Erros</h3>\n<p><strong>Como verificar o resultado</strong> (HTTP 200 em todos os casos):</p>\n<ol>\n<li><code>errors[]</code> da resposta não vazio → <code>createCartTemplates</code> vem <code>null</code> e nada foi gravado.</li>\n<li><code>createCartTemplates.errors</code> não vazio → nada foi gravado; corrija por <code>templateIndex</code>/<code>itemIndex</code> e envie de novo.</li>\n<li>Senão, sucesso: <code>createdCount</code> é o total enviado (com <code>dryRun: true</code>, <code>validCount</code> é o total e nada foi gravado).</li>\n</ol>\n<p><strong>No payload</strong> (<code>createCartTemplates.errors</code>). Os erros de opção de frete aparecem em todo template que usa o id com problema.</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><code>CART_TEMPLATES_INPUT_VALIDATION_ERROR</code></td>\n<td>Campo ausente ou fora de regra (ex.: <code>quantity</code> &lt; 1, <code>title</code> vazio, id e título de frequência juntos, <code>shippingValue</code> com <code>NONE</code>). <code>message</code> diz o campo e a regra.</td>\n<td>Corrija o campo indicado em <code>message</code>.</td>\n</tr>\n<tr>\n<td><code>CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR</code></td>\n<td><code>productErpCode</code> não existe no catálogo da loja (vem com <code>itemIndex</code>).</td>\n<td>Confira o <code>erpCode</code> do produto em <code>catalogItems</code>.</td>\n</tr>\n<tr>\n<td><code>PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR</code></td>\n<td><code>variantErpCode</code> não corresponde a uma variante (ou opção) do produto informado (vem com <code>itemIndex</code>).</td>\n<td>Confira a combinação; se a variante tiver opções, use o <code>erpCode</code> da opção.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR</code></td>\n<td>O produto é um kit (vem com <code>itemIndex</code>).</td>\n<td>Use <code>createCartTemplate</code> para templates com kit.</td>\n</tr>\n<tr>\n<td><code>RECURRENCE_FREQUENCY_INVALID_ERROR</code></td>\n<td>Algum item tem <code>isRecurring: true</code>, mas o template não tem frequência.</td>\n<td>Envie <code>recurringItemsFrequencyId</code> ou <code>recurringItemsFrequencyTitle</code>.</td>\n</tr>\n<tr>\n<td><code>NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR</code></td>\n<td>O template tem frequência, mas nenhum item tem <code>isRecurring: true</code>.</td>\n<td>Marque ao menos um item como recorrente ou remova a frequência.</td>\n</tr>\n<tr>\n<td><code>RECURRENCE_FREQUENCY_NOT_FOUND_ERROR</code></td>\n<td>Nenhuma frequência permitida pela loja tem o id ou o título informado.</td>\n<td>Consulte as frequências em <code>shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }</code>.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_CODE_NOT_FOUND_ERROR</code></td>\n<td><code>discountCode</code> não existe, está desabilitado, foi removido ou não é um cupom.</td>\n<td>Confira o código em <code>discountCodes</code>.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_CODE_CONDITION_ERROR</code></td>\n<td>Os itens não atendem às condições do desconto. <code>message</code> traz o motivo: <code>OUT_OF_PRICE_RANGE</code> (valor fora da faixa) e/ou <code>NO_LONGER_AVAILABLE</code> (expirado, ainda não iniciado ou limite de uso atingido).</td>\n<td>Ajuste os itens ou use outro código.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR</code></td>\n<td>O desconto vale só para itens não recorrentes, e todos os itens do template são recorrentes.</td>\n<td>Inclua um item não recorrente ou use outro código.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR</code></td>\n<td>O desconto vale só para itens recorrentes, e nenhum item do template é recorrente.</td>\n<td>Marque um item como recorrente ou use outro código.</td>\n</tr>\n<tr>\n<td><code>FULFILLMENT_OPTION_NOT_FOUND_ERROR</code></td>\n<td>Um id de <code>fulfillmentOptionsIds</code> não existe na loja (<code>message</code> traz o id).</td>\n<td>Remova ou corrija o id.</td>\n</tr>\n<tr>\n<td><code>PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR</code></td>\n<td>O id existe, mas não é uma opção de frete (<code>message</code> traz o id).</td>\n<td>Use um id com <code>classification: FULFILLMENT_OPTION</code>.</td>\n</tr>\n<tr>\n<td><code>FULFILLMENT_OPTION_IS_DISABLED_ERROR</code></td>\n<td>A opção de frete está desativada na loja (<code>message</code> traz o id).</td>\n<td>Use uma opção com <code>enabled: true</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Na resposta GraphQL</strong> (<code>errors[]</code> da resposta, com o código do erro como nas demais operações; <code>createCartTemplates</code> vem <code>null</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><code>CART_TEMPLATES_LIMIT_EXCEEDED_ERROR</code></td>\n<td>Mais de 200 templates na chamada.</td>\n<td>Divida o lote em chamadas de até 200.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATES_INPUT_VALIDATION_ERROR</code></td>\n<td><code>cartTemplates</code> vazio.</td>\n<td>Envie ao menos um template.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATES_PERSISTENCE_ERROR</code></td>\n<td>Falha ao gravar depois que tudo foi validado; o lote é desfeito.</td>\n<td>Tente de novo. Se o erro se repetir, confira em <code>cartTemplates</code> se algo ficou gravado antes de reenviar.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>A validação acontece em etapas.</strong> Primeiro o formato dos campos (<code>CART_TEMPLATES_INPUT_VALIDATION_ERROR</code>); se algum template falhar aí, a chamada para nessa etapa. Só com o lote inteiro no formato certo vêm catálogo, frequência e frete; e o desconto de um template só é validado se os itens dele forem válidos. Por isso uma rodada corrigida pode trazer erros novos.</li>\n<li><strong>Tudo ou nada, também na gravação.</strong> Se algo falhar depois da validação, o que já tinha sido gravado naquele lote é desfeito antes de devolver <code>CART_TEMPLATES_PERSISTENCE_ERROR</code>.</li>\n<li><strong>Não é idempotente.</strong> Um lote que deu certo, se reenviado, cria tudo de novo. Use <code>dryRun: true</code> para validar sem efeito colateral.</li>\n<li><strong>Timeout ou erro de rede sem resposta:</strong> o lote pode ter sido gravado mesmo assim. Não reenvie às cegas: consulte <code>cartTemplates</code> (ex.: pelo título) para ver se os templates já existem. Use um timeout de cliente de pelo menos 30 segundos para lotes grandes.</li>\n<li><strong><code>shippingValue</code> vale só para o template em que foi enviado</strong>; templates do mesmo lote não compartilham o valor de frete.</li>\n<li><strong>Produtos ocultos ou sem estoque são aceitos</strong>, como em <code>createCartTemplate</code>.</li>\n<li><strong><code>referenceId</code> é gerado pela Unbox</strong> e é único. Todo template criado começa com <code>status: ACTIVE</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"06f04aea-5d70-41df-95bb-f4ed68fcee00","name":"200 - createCartTemplates","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 CreateCartTemplates($input: CreateCartTemplatesInput!) {\n  createCartTemplates(input: $input) {\n    createdCount\n    validCount\n    cartTemplates {\n      templateIndex\n      key\n      cartTemplate {\n        _id\n        referenceId\n        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    errors {\n      templateIndex\n      itemIndex\n      key\n      code\n      message\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplates\": [\n      {\n        \"key\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"cartItems\": [\n          {\n            \"productErpCode\": \"Example_String\",\n            \"variantErpCode\": \"Example_String\",\n            \"quantity\": 1,\n            \"isRecurring\": true\n          }\n        ],\n        \"discountCode\": \"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        \"recurringItemsFrequencyId\": \"Example_String\",\n        \"recurringItemsFrequencyTitle\": \"Example_String\",\n        \"paymentMethod\": \"none\",\n        \"blockPaymentMethodChange\": true,\n        \"blockApplyDiscountCode\": true,\n        \"blockApplyShopSale\": true\n      }\n    ],\n    \"dryRun\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createCartTemplates\n\n**Propósito:** Cria até 200 templates de carrinho numa única chamada, com os itens referenciados pelo código de ERP do produto e da variante.\n**Quando usar:** Para cadastrar templates em massa a partir do seu sistema (ex.: um template por cliente numa migração de assinaturas). Valide antes com `dryRun: true`, repetindo e corrigindo até `errors` vir vazio — a validação acontece em etapas (ver Notas), então uma rodada corrigida pode revelar erros novos. Depois envie com `dryRun: false`. **Tudo ou nada**: se qualquer template tiver erro, nenhum é criado. **Não é idempotente**: cada chamada bem-sucedida cria templates novos, mesmo repetindo o mesmo lote.\n**Autenticação:** `x-api-key` + `Authorization` (o `access_token`, sem o prefixo `Bearer`). A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartTemplatesInput!`.\n\n| Nome                  | Tipo                        | Obrigatório      | Default | Descrição                                                                                                            |\n| --------------------- | --------------------------- | ---------------- | ------- | -------------------------------------------------------------------------------------------------------------------- |\n| `input.cartTemplates` | `[BulkCartTemplateInput!]!` | Sim (de 1 a 200) | —       | Templates a criar. Ver tabela abaixo.                                                                                |\n| `input.dryRun`        | `Boolean`                   | Não              | `false` | Se `true`, valida e devolve os erros sem gravar, mesmo que tudo esteja certo. Com `false`, grava se não houver erro. |\n\n#### Campos de `input.cartTemplates[]` (`BulkCartTemplateInput`)\n\n| Nome                           | Tipo                               | Obrigatório                                                                                 | Descrição                                                                                                                                                                                          |\n| ------------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `key`                          | `String`                           | Não                                                                                         | Chave sua, devolvida nos erros e no template criado em `cartTemplates` para correlacioná-los com a origem. Use um valor único por template no lote (não é validado). Não é gravada no template.    |\n| `title`                        | `String!`                          | Sim (não vazio)                                                                             | Título do template.                                                                                                                                                                                |\n| `cartItems`                    | `[BulkCartTemplateItemInput!]!`    | Sim (mín. 1 item)                                                                           | Itens do template. Ver tabela abaixo.                                                                                                                                                              |\n| `discountCode`                 | `String`                           | Não                                                                                         | Código de desconto (cupom) da loja, sem diferenciar maiúsculas e ignorando espaços nas pontas. Liste os cupons em `discountCodes`.                                                                 |\n| `constraints`                  | `CheckoutTemplateConstraintsInput` | Não                                                                                         | `{ usageLimit: Int, expirationDate: AWSDateTime }`. `usageLimit` ≥ 0. Envie `expirationDate` com hora e fuso (ex.: `2026-12-31T23:59:59-03:00`).                                                   |\n| `shipping`                     | `CartTemplateShippingInput`        | Não                                                                                         | Ver tabela abaixo. Se omitido, o template usa `fulfillmentType: SHIPPING` sem opções nem valor de frete definidos.                                                                                 |\n| `recurringItemsFrequencyId`    | `String`                           | Um dos dois (id ou título) se algum item tiver `isRecurring: true`; proibido caso contrário | ID de uma frequência permitida pela loja. Não envie junto com `recurringItemsFrequencyTitle`. Liste as frequências em `shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }`. |\n| `recurringItemsFrequencyTitle` | `String`                           | Um dos dois (id ou título) se algum item tiver `isRecurring: true`; proibido caso contrário | Título da frequência (ex.: `Mensalmente`), sem diferenciar maiúsculas e ignorando espaços nas pontas. Se a loja tiver dois títulos iguais, vale o primeiro.                                        |\n| `paymentMethod`                | `PaymentMethodName`                | Não                                                                                         | Forma de pagamento a fixar: `unboxpay_credit`, `unboxpay_boleto` ou `unboxpay_pix`. `none` não é aceito.                                                                                           |\n| `blockPaymentMethodChange`     | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, carrinhos criados a partir do template não permitem trocar a forma de pagamento.                                                                                                        |\n| `blockApplyDiscountCode`       | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir do template.                                                                                                 |\n| `blockApplyShopSale`           | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, promoções da loja não são aplicadas automaticamente.                                                                                                                                    |\n\n#### Campos de `cartItems[]` (`BulkCartTemplateItemInput`)\n\nSó produtos simples; kits são recusados (`CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR`). Consulte os códigos em `catalogItems(productIdsOrERPCodes: [...])`.\n\n| Nome             | Tipo      | Obrigatório | Descrição                                                                                                                       |\n| ---------------- | --------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------- |\n| `productErpCode` | `String!` | Sim         | Código de ERP do produto (`erpCode` do produto).                                                                                |\n| `variantErpCode` | `String!` | Sim         | Código de ERP da variante (`variants.erpCode`). Se a variante tiver opções, use o código da opção (`variants.options.erpCode`). |\n| `quantity`       | `Int!`    | Sim         | Quantidade, inteiro ≥ 1.                                                                                                        |\n| `isRecurring`    | `Boolean` | Não         | Marca o item como recorrente. Exige uma frequência no template (`recurringItemsFrequencyId` ou `recurringItemsFrequencyTitle`). |\n\n#### Campos de `shipping` (`CartTemplateShippingInput`)\n\n| Nome                    | Tipo              | Obrigatório                                                              | Descrição                                                                                                                                                                                                    |\n| ----------------------- | ----------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `fulfillmentType`       | `FulfillmentType` | Não (default `SHIPPING`)                                                 | `SHIPPING` ou `NONE`.                                                                                                                                                                                        |\n| `fulfillmentOptionsIds` | `[ID!]`           | Proibido com `NONE`; obrigatório com `shippingValue`; se enviado, mín. 1 | IDs das opções de frete permitidas para o template. Liste-as em `shopBySlug { fulfillmentOptions { _id name enabled classification } }` e use as com `enabled: true` e `classification: FULFILLMENT_OPTION`. |\n| `shippingValue`         | `MoneyInput`      | Proibido com `NONE`                                                      | Valor fixo de frete, `amount` ≥ 0 (ex.: `{ amount: 15.9, currencyCode: \"BRL\" }`). `amount: 0` fixa frete zero.                                                                                               |\n\n> Campos enviados como `null` valem como omitidos.\n\n### Retorno\n\n`CreateCartTemplatesPayload!`. Erros de um template ou item vêm no campo `errors` do payload; erros do lote como um todo (lista vazia, mais de 200 templates, falha ao gravar) vêm em `errors[]` da resposta GraphQL — ver Erros.\n\n| Propriedade                                | Tipo                        | Descrição                                                                                                                                                       |\n| ------------------------------------------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createdCount`                             | `Int!`                      | Quantos templates foram criados. `0` quando há qualquer erro ou com `dryRun: true`.                                                                             |\n| `validCount`                               | `Int!`                      | Quantos templates não tiveram erro nesta chamada. Quando há erros de formato, conta só essa etapa: esses templates ainda podem falhar nas validações seguintes. |\n| `cartTemplates`                            | `[CreatedCartTemplate!]!`   | Templates criados, na ordem do input, cada um com a posição e a `key` do input; vazio quando nada foi gravado.                                                  |\n| `cartTemplates[].templateIndex`            | `Int!`                      | Posição (a partir de 0) do template em `input.cartTemplates`.                                                                                                   |\n| `cartTemplates[].key`                      | `String`                    | A `key` que você enviou no template, se enviou.                                                                                                                 |\n| `cartTemplates[].cartTemplate`             | `CartTemplate!`             | O template criado, na mesma forma da query `cartTemplate`.                                                                                                      |\n| `cartTemplates[].cartTemplate.checkoutUrl` | `String!`                   | URL da loja que transforma o template em carrinho; é o link para enviar ao comprador.                                                                           |\n| `errors`                                   | `[CartTemplateBulkError!]!` | Erros encontrados nesta chamada, ordenados por template e item. Vazio quando todos os templates são válidos.                                                    |\n| `errors[].templateIndex`                   | `Int!`                      | Posição (a partir de 0) do template com erro em `input.cartTemplates`.                                                                                          |\n| `errors[].itemIndex`                       | `Int`                       | Posição (a partir de 0) do item com erro em `cartItems` desse template; `null` quando o erro é do template.                                                     |\n| `errors[].key`                             | `String`                    | A `key` que você enviou no template, se enviou.                                                                                                                 |\n| `errors[].code`                            | `String!`                   | Código estável do erro (ver Erros).                                                                                                                             |\n| `errors[].message`                         | `String`                    | Detalhe do erro, quando houver: o campo e a regra violada, o id da opção de frete com problema ou o motivo do desconto.                                         |\n\n### Erros\n\n**Como verificar o resultado** (HTTP 200 em todos os casos):\n\n1. `errors[]` da resposta não vazio → `createCartTemplates` vem `null` e nada foi gravado.\n2. `createCartTemplates.errors` não vazio → nada foi gravado; corrija por `templateIndex`/`itemIndex` e envie de novo.\n3. Senão, sucesso: `createdCount` é o total enviado (com `dryRun: true`, `validCount` é o total e nada foi gravado).\n\n**No payload** (`createCartTemplates.errors`). Os erros de opção de frete aparecem em todo template que usa o id com problema.\n\n| Código                                                     | Condição                                                                                                                                                                                                | O que fazer                                                                                             |\n| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATES_INPUT_VALIDATION_ERROR`                    | Campo ausente ou fora de regra (ex.: `quantity` < 1, `title` vazio, id e título de frequência juntos, `shippingValue` com `NONE`). `message` diz o campo e a regra.                                     | Corrija o campo indicado em `message`.                                                                  |\n| `CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR`                | `productErpCode` não existe no catálogo da loja (vem com `itemIndex`).                                                                                                                                  | Confira o `erpCode` do produto em `catalogItems`.                                                       |\n| `PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR`            | `variantErpCode` não corresponde a uma variante (ou opção) do produto informado (vem com `itemIndex`).                                                                                                  | Confira a combinação; se a variante tiver opções, use o `erpCode` da opção.                             |\n| `CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR`            | O produto é um kit (vem com `itemIndex`).                                                                                                                                                               | Use `createCartTemplate` para templates com kit.                                                        |\n| `RECURRENCE_FREQUENCY_INVALID_ERROR`                       | Algum item tem `isRecurring: true`, mas o template não tem frequência.                                                                                                                                  | Envie `recurringItemsFrequencyId` ou `recurringItemsFrequencyTitle`.                                    |\n| `NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR`                 | O template tem frequência, mas nenhum item tem `isRecurring: true`.                                                                                                                                     | Marque ao menos um item como recorrente ou remova a frequência.                                         |\n| `RECURRENCE_FREQUENCY_NOT_FOUND_ERROR`                     | Nenhuma frequência permitida pela loja tem o id ou o título informado.                                                                                                                                  | Consulte as frequências em `shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }`. |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | `discountCode` não existe, está desabilitado, foi removido ou não é um cupom.                                                                                                                           | Confira o código em `discountCodes`.                                                                    |\n| `DISCOUNT_CODE_CONDITION_ERROR`                            | Os itens não atendem às condições do desconto. `message` traz o motivo: `OUT_OF_PRICE_RANGE` (valor fora da faixa) e/ou `NO_LONGER_AVAILABLE` (expirado, ainda não iniciado ou limite de uso atingido). | Ajuste os itens ou use outro código.                                                                    |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O desconto vale só para itens não recorrentes, e todos os itens do template são recorrentes.                                                                                                            | Inclua um item não recorrente ou use outro código.                                                      |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O desconto vale só para itens recorrentes, e nenhum item do template é recorrente.                                                                                                                      | Marque um item como recorrente ou use outro código.                                                     |\n| `FULFILLMENT_OPTION_NOT_FOUND_ERROR`                       | Um id de `fulfillmentOptionsIds` não existe na loja (`message` traz o id).                                                                                                                              | Remova ou corrija o id.                                                                                 |\n| `PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR`            | O id existe, mas não é uma opção de frete (`message` traz o id).                                                                                                                                        | Use um id com `classification: FULFILLMENT_OPTION`.                                                     |\n| `FULFILLMENT_OPTION_IS_DISABLED_ERROR`                     | A opção de frete está desativada na loja (`message` traz o id).                                                                                                                                         | Use uma opção com `enabled: true`.                                                                      |\n\n**Na resposta GraphQL** (`errors[]` da resposta, com o código do erro como nas demais operações; `createCartTemplates` vem `null`):\n\n| Código                                  | Condição                                                         | O que fazer                                                                                              |\n| --------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATES_LIMIT_EXCEEDED_ERROR`   | Mais de 200 templates na chamada.                                | Divida o lote em chamadas de até 200.                                                                    |\n| `CART_TEMPLATES_INPUT_VALIDATION_ERROR` | `cartTemplates` vazio.                                           | Envie ao menos um template.                                                                              |\n| `CART_TEMPLATES_PERSISTENCE_ERROR`      | Falha ao gravar depois que tudo foi validado; o lote é desfeito. | Tente de novo. Se o erro se repetir, confira em `cartTemplates` se algo ficou gravado antes de reenviar. |\n\n### Notas\n\n- **A validação acontece em etapas.** Primeiro o formato dos campos (`CART_TEMPLATES_INPUT_VALIDATION_ERROR`); se algum template falhar aí, a chamada para nessa etapa. Só com o lote inteiro no formato certo vêm catálogo, frequência e frete; e o desconto de um template só é validado se os itens dele forem válidos. Por isso uma rodada corrigida pode trazer erros novos.\n- **Tudo ou nada, também na gravação.** Se algo falhar depois da validação, o que já tinha sido gravado naquele lote é desfeito antes de devolver `CART_TEMPLATES_PERSISTENCE_ERROR`.\n- **Não é idempotente.** Um lote que deu certo, se reenviado, cria tudo de novo. Use `dryRun: true` para validar sem efeito colateral.\n- **Timeout ou erro de rede sem resposta:** o lote pode ter sido gravado mesmo assim. Não reenvie às cegas: consulte `cartTemplates` (ex.: pelo título) para ver se os templates já existem. Use um timeout de cliente de pelo menos 30 segundos para lotes grandes.\n- **`shippingValue` vale só para o template em que foi enviado**; templates do mesmo lote não compartilham o valor de frete.\n- **Produtos ocultos ou sem estoque são aceitos**, como em `createCartTemplate`.\n- **`referenceId` é gerado pela Unbox** e é único. Todo template criado começa com `status: ACTIVE`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createCartTemplates\": {\n      \"createdCount\": 10,\n      \"validCount\": 10,\n      \"cartTemplates\": [\n        {\n          \"templateIndex\": 10,\n          \"key\": \"Example_String\"\n        }\n      ],\n      \"errors\": [\n        {\n          \"templateIndex\": 10,\n          \"itemIndex\": 10,\n          \"key\": \"Example_String\",\n          \"code\": \"Example_String\",\n          \"message\": \"Example_String\"\n        }\n      ]\n    }\n  }\n}"},{"id":"92f31132-6242-49f5-ab14-d169abb2bfd6","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 CreateCartTemplates($input: CreateCartTemplatesInput!) {\n  createCartTemplates(input: $input) {\n    createdCount\n    validCount\n    cartTemplates {\n      templateIndex\n      key\n      cartTemplate {\n        _id\n        referenceId\n        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    errors {\n      templateIndex\n      itemIndex\n      key\n      code\n      message\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplates\": [\n      {\n        \"key\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"cartItems\": [\n          {\n            \"productErpCode\": \"Example_String\",\n            \"variantErpCode\": \"Example_String\",\n            \"quantity\": 1,\n            \"isRecurring\": true\n          }\n        ],\n        \"discountCode\": \"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        \"recurringItemsFrequencyId\": \"Example_String\",\n        \"recurringItemsFrequencyTitle\": \"Example_String\",\n        \"paymentMethod\": \"none\",\n        \"blockPaymentMethodChange\": true,\n        \"blockApplyDiscountCode\": true,\n        \"blockApplyShopSale\": true\n      }\n    ],\n    \"dryRun\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createCartTemplates\n\n**Propósito:** Cria até 200 templates de carrinho numa única chamada, com os itens referenciados pelo código de ERP do produto e da variante.\n**Quando usar:** Para cadastrar templates em massa a partir do seu sistema (ex.: um template por cliente numa migração de assinaturas). Valide antes com `dryRun: true`, repetindo e corrigindo até `errors` vir vazio — a validação acontece em etapas (ver Notas), então uma rodada corrigida pode revelar erros novos. Depois envie com `dryRun: false`. **Tudo ou nada**: se qualquer template tiver erro, nenhum é criado. **Não é idempotente**: cada chamada bem-sucedida cria templates novos, mesmo repetindo o mesmo lote.\n**Autenticação:** `x-api-key` + `Authorization` (o `access_token`, sem o prefixo `Bearer`). A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartTemplatesInput!`.\n\n| Nome                  | Tipo                        | Obrigatório      | Default | Descrição                                                                                                            |\n| --------------------- | --------------------------- | ---------------- | ------- | -------------------------------------------------------------------------------------------------------------------- |\n| `input.cartTemplates` | `[BulkCartTemplateInput!]!` | Sim (de 1 a 200) | —       | Templates a criar. Ver tabela abaixo.                                                                                |\n| `input.dryRun`        | `Boolean`                   | Não              | `false` | Se `true`, valida e devolve os erros sem gravar, mesmo que tudo esteja certo. Com `false`, grava se não houver erro. |\n\n#### Campos de `input.cartTemplates[]` (`BulkCartTemplateInput`)\n\n| Nome                           | Tipo                               | Obrigatório                                                                                 | Descrição                                                                                                                                                                                          |\n| ------------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `key`                          | `String`                           | Não                                                                                         | Chave sua, devolvida nos erros e no template criado em `cartTemplates` para correlacioná-los com a origem. Use um valor único por template no lote (não é validado). Não é gravada no template.    |\n| `title`                        | `String!`                          | Sim (não vazio)                                                                             | Título do template.                                                                                                                                                                                |\n| `cartItems`                    | `[BulkCartTemplateItemInput!]!`    | Sim (mín. 1 item)                                                                           | Itens do template. Ver tabela abaixo.                                                                                                                                                              |\n| `discountCode`                 | `String`                           | Não                                                                                         | Código de desconto (cupom) da loja, sem diferenciar maiúsculas e ignorando espaços nas pontas. Liste os cupons em `discountCodes`.                                                                 |\n| `constraints`                  | `CheckoutTemplateConstraintsInput` | Não                                                                                         | `{ usageLimit: Int, expirationDate: AWSDateTime }`. `usageLimit` ≥ 0. Envie `expirationDate` com hora e fuso (ex.: `2026-12-31T23:59:59-03:00`).                                                   |\n| `shipping`                     | `CartTemplateShippingInput`        | Não                                                                                         | Ver tabela abaixo. Se omitido, o template usa `fulfillmentType: SHIPPING` sem opções nem valor de frete definidos.                                                                                 |\n| `recurringItemsFrequencyId`    | `String`                           | Um dos dois (id ou título) se algum item tiver `isRecurring: true`; proibido caso contrário | ID de uma frequência permitida pela loja. Não envie junto com `recurringItemsFrequencyTitle`. Liste as frequências em `shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }`. |\n| `recurringItemsFrequencyTitle` | `String`                           | Um dos dois (id ou título) se algum item tiver `isRecurring: true`; proibido caso contrário | Título da frequência (ex.: `Mensalmente`), sem diferenciar maiúsculas e ignorando espaços nas pontas. Se a loja tiver dois títulos iguais, vale o primeiro.                                        |\n| `paymentMethod`                | `PaymentMethodName`                | Não                                                                                         | Forma de pagamento a fixar: `unboxpay_credit`, `unboxpay_boleto` ou `unboxpay_pix`. `none` não é aceito.                                                                                           |\n| `blockPaymentMethodChange`     | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, carrinhos criados a partir do template não permitem trocar a forma de pagamento.                                                                                                        |\n| `blockApplyDiscountCode`       | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir do template.                                                                                                 |\n| `blockApplyShopSale`           | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, promoções da loja não são aplicadas automaticamente.                                                                                                                                    |\n\n#### Campos de `cartItems[]` (`BulkCartTemplateItemInput`)\n\nSó produtos simples; kits são recusados (`CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR`). Consulte os códigos em `catalogItems(productIdsOrERPCodes: [...])`.\n\n| Nome             | Tipo      | Obrigatório | Descrição                                                                                                                       |\n| ---------------- | --------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------- |\n| `productErpCode` | `String!` | Sim         | Código de ERP do produto (`erpCode` do produto).                                                                                |\n| `variantErpCode` | `String!` | Sim         | Código de ERP da variante (`variants.erpCode`). Se a variante tiver opções, use o código da opção (`variants.options.erpCode`). |\n| `quantity`       | `Int!`    | Sim         | Quantidade, inteiro ≥ 1.                                                                                                        |\n| `isRecurring`    | `Boolean` | Não         | Marca o item como recorrente. Exige uma frequência no template (`recurringItemsFrequencyId` ou `recurringItemsFrequencyTitle`). |\n\n#### Campos de `shipping` (`CartTemplateShippingInput`)\n\n| Nome                    | Tipo              | Obrigatório                                                              | Descrição                                                                                                                                                                                                    |\n| ----------------------- | ----------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `fulfillmentType`       | `FulfillmentType` | Não (default `SHIPPING`)                                                 | `SHIPPING` ou `NONE`.                                                                                                                                                                                        |\n| `fulfillmentOptionsIds` | `[ID!]`           | Proibido com `NONE`; obrigatório com `shippingValue`; se enviado, mín. 1 | IDs das opções de frete permitidas para o template. Liste-as em `shopBySlug { fulfillmentOptions { _id name enabled classification } }` e use as com `enabled: true` e `classification: FULFILLMENT_OPTION`. |\n| `shippingValue`         | `MoneyInput`      | Proibido com `NONE`                                                      | Valor fixo de frete, `amount` ≥ 0 (ex.: `{ amount: 15.9, currencyCode: \"BRL\" }`). `amount: 0` fixa frete zero.                                                                                               |\n\n> Campos enviados como `null` valem como omitidos.\n\n### Retorno\n\n`CreateCartTemplatesPayload!`. Erros de um template ou item vêm no campo `errors` do payload; erros do lote como um todo (lista vazia, mais de 200 templates, falha ao gravar) vêm em `errors[]` da resposta GraphQL — ver Erros.\n\n| Propriedade                                | Tipo                        | Descrição                                                                                                                                                       |\n| ------------------------------------------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createdCount`                             | `Int!`                      | Quantos templates foram criados. `0` quando há qualquer erro ou com `dryRun: true`.                                                                             |\n| `validCount`                               | `Int!`                      | Quantos templates não tiveram erro nesta chamada. Quando há erros de formato, conta só essa etapa: esses templates ainda podem falhar nas validações seguintes. |\n| `cartTemplates`                            | `[CreatedCartTemplate!]!`   | Templates criados, na ordem do input, cada um com a posição e a `key` do input; vazio quando nada foi gravado.                                                  |\n| `cartTemplates[].templateIndex`            | `Int!`                      | Posição (a partir de 0) do template em `input.cartTemplates`.                                                                                                   |\n| `cartTemplates[].key`                      | `String`                    | A `key` que você enviou no template, se enviou.                                                                                                                 |\n| `cartTemplates[].cartTemplate`             | `CartTemplate!`             | O template criado, na mesma forma da query `cartTemplate`.                                                                                                      |\n| `cartTemplates[].cartTemplate.checkoutUrl` | `String!`                   | URL da loja que transforma o template em carrinho; é o link para enviar ao comprador.                                                                           |\n| `errors`                                   | `[CartTemplateBulkError!]!` | Erros encontrados nesta chamada, ordenados por template e item. Vazio quando todos os templates são válidos.                                                    |\n| `errors[].templateIndex`                   | `Int!`                      | Posição (a partir de 0) do template com erro em `input.cartTemplates`.                                                                                          |\n| `errors[].itemIndex`                       | `Int`                       | Posição (a partir de 0) do item com erro em `cartItems` desse template; `null` quando o erro é do template.                                                     |\n| `errors[].key`                             | `String`                    | A `key` que você enviou no template, se enviou.                                                                                                                 |\n| `errors[].code`                            | `String!`                   | Código estável do erro (ver Erros).                                                                                                                             |\n| `errors[].message`                         | `String`                    | Detalhe do erro, quando houver: o campo e a regra violada, o id da opção de frete com problema ou o motivo do desconto.                                         |\n\n### Erros\n\n**Como verificar o resultado** (HTTP 200 em todos os casos):\n\n1. `errors[]` da resposta não vazio → `createCartTemplates` vem `null` e nada foi gravado.\n2. `createCartTemplates.errors` não vazio → nada foi gravado; corrija por `templateIndex`/`itemIndex` e envie de novo.\n3. Senão, sucesso: `createdCount` é o total enviado (com `dryRun: true`, `validCount` é o total e nada foi gravado).\n\n**No payload** (`createCartTemplates.errors`). Os erros de opção de frete aparecem em todo template que usa o id com problema.\n\n| Código                                                     | Condição                                                                                                                                                                                                | O que fazer                                                                                             |\n| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATES_INPUT_VALIDATION_ERROR`                    | Campo ausente ou fora de regra (ex.: `quantity` < 1, `title` vazio, id e título de frequência juntos, `shippingValue` com `NONE`). `message` diz o campo e a regra.                                     | Corrija o campo indicado em `message`.                                                                  |\n| `CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR`                | `productErpCode` não existe no catálogo da loja (vem com `itemIndex`).                                                                                                                                  | Confira o `erpCode` do produto em `catalogItems`.                                                       |\n| `PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR`            | `variantErpCode` não corresponde a uma variante (ou opção) do produto informado (vem com `itemIndex`).                                                                                                  | Confira a combinação; se a variante tiver opções, use o `erpCode` da opção.                             |\n| `CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR`            | O produto é um kit (vem com `itemIndex`).                                                                                                                                                               | Use `createCartTemplate` para templates com kit.                                                        |\n| `RECURRENCE_FREQUENCY_INVALID_ERROR`                       | Algum item tem `isRecurring: true`, mas o template não tem frequência.                                                                                                                                  | Envie `recurringItemsFrequencyId` ou `recurringItemsFrequencyTitle`.                                    |\n| `NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR`                 | O template tem frequência, mas nenhum item tem `isRecurring: true`.                                                                                                                                     | Marque ao menos um item como recorrente ou remova a frequência.                                         |\n| `RECURRENCE_FREQUENCY_NOT_FOUND_ERROR`                     | Nenhuma frequência permitida pela loja tem o id ou o título informado.                                                                                                                                  | Consulte as frequências em `shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }`. |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | `discountCode` não existe, está desabilitado, foi removido ou não é um cupom.                                                                                                                           | Confira o código em `discountCodes`.                                                                    |\n| `DISCOUNT_CODE_CONDITION_ERROR`                            | Os itens não atendem às condições do desconto. `message` traz o motivo: `OUT_OF_PRICE_RANGE` (valor fora da faixa) e/ou `NO_LONGER_AVAILABLE` (expirado, ainda não iniciado ou limite de uso atingido). | Ajuste os itens ou use outro código.                                                                    |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O desconto vale só para itens não recorrentes, e todos os itens do template são recorrentes.                                                                                                            | Inclua um item não recorrente ou use outro código.                                                      |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O desconto vale só para itens recorrentes, e nenhum item do template é recorrente.                                                                                                                      | Marque um item como recorrente ou use outro código.                                                     |\n| `FULFILLMENT_OPTION_NOT_FOUND_ERROR`                       | Um id de `fulfillmentOptionsIds` não existe na loja (`message` traz o id).                                                                                                                              | Remova ou corrija o id.                                                                                 |\n| `PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR`            | O id existe, mas não é uma opção de frete (`message` traz o id).                                                                                                                                        | Use um id com `classification: FULFILLMENT_OPTION`.                                                     |\n| `FULFILLMENT_OPTION_IS_DISABLED_ERROR`                     | A opção de frete está desativada na loja (`message` traz o id).                                                                                                                                         | Use uma opção com `enabled: true`.                                                                      |\n\n**Na resposta GraphQL** (`errors[]` da resposta, com o código do erro como nas demais operações; `createCartTemplates` vem `null`):\n\n| Código                                  | Condição                                                         | O que fazer                                                                                              |\n| --------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATES_LIMIT_EXCEEDED_ERROR`   | Mais de 200 templates na chamada.                                | Divida o lote em chamadas de até 200.                                                                    |\n| `CART_TEMPLATES_INPUT_VALIDATION_ERROR` | `cartTemplates` vazio.                                           | Envie ao menos um template.                                                                              |\n| `CART_TEMPLATES_PERSISTENCE_ERROR`      | Falha ao gravar depois que tudo foi validado; o lote é desfeito. | Tente de novo. Se o erro se repetir, confira em `cartTemplates` se algo ficou gravado antes de reenviar. |\n\n### Notas\n\n- **A validação acontece em etapas.** Primeiro o formato dos campos (`CART_TEMPLATES_INPUT_VALIDATION_ERROR`); se algum template falhar aí, a chamada para nessa etapa. Só com o lote inteiro no formato certo vêm catálogo, frequência e frete; e o desconto de um template só é validado se os itens dele forem válidos. Por isso uma rodada corrigida pode trazer erros novos.\n- **Tudo ou nada, também na gravação.** Se algo falhar depois da validação, o que já tinha sido gravado naquele lote é desfeito antes de devolver `CART_TEMPLATES_PERSISTENCE_ERROR`.\n- **Não é idempotente.** Um lote que deu certo, se reenviado, cria tudo de novo. Use `dryRun: true` para validar sem efeito colateral.\n- **Timeout ou erro de rede sem resposta:** o lote pode ter sido gravado mesmo assim. Não reenvie às cegas: consulte `cartTemplates` (ex.: pelo título) para ver se os templates já existem. Use um timeout de cliente de pelo menos 30 segundos para lotes grandes.\n- **`shippingValue` vale só para o template em que foi enviado**; templates do mesmo lote não compartilham o valor de frete.\n- **Produtos ocultos ou sem estoque são aceitos**, como em `createCartTemplate`.\n- **`referenceId` é gerado pela Unbox** e é único. Todo template criado começa 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":"4a8fc910-7b9d-4977-b4a5-1deb93be138f","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 CreateCartTemplates($input: CreateCartTemplatesInput!) {\n  createCartTemplates(input: $input) {\n    createdCount\n    validCount\n    cartTemplates {\n      templateIndex\n      key\n      cartTemplate {\n        _id\n        referenceId\n        checkoutUrl\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          maxInstallments\n        }\n        paymentMethod\n        blockPaymentMethodChange\n        blockApplyDiscountCode\n        blockApplyShopSale\n      }\n    }\n    errors {\n      templateIndex\n      itemIndex\n      key\n      code\n      message\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartTemplates\": [\n      {\n        \"key\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"cartItems\": [\n          {\n            \"productErpCode\": \"Example_String\",\n            \"variantErpCode\": \"Example_String\",\n            \"quantity\": 1,\n            \"isRecurring\": true\n          }\n        ],\n        \"discountCode\": \"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        \"recurringItemsFrequencyId\": \"Example_String\",\n        \"recurringItemsFrequencyTitle\": \"Example_String\",\n        \"paymentMethod\": \"none\",\n        \"blockPaymentMethodChange\": true,\n        \"blockApplyDiscountCode\": true,\n        \"blockApplyShopSale\": true\n      }\n    ],\n    \"dryRun\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createCartTemplates\n\n**Propósito:** Cria até 200 templates de carrinho numa única chamada, com os itens referenciados pelo código de ERP do produto e da variante.\n**Quando usar:** Para cadastrar templates em massa a partir do seu sistema (ex.: um template por cliente numa migração de assinaturas). Valide antes com `dryRun: true`, repetindo e corrigindo até `errors` vir vazio — a validação acontece em etapas (ver Notas), então uma rodada corrigida pode revelar erros novos. Depois envie com `dryRun: false`. **Tudo ou nada**: se qualquer template tiver erro, nenhum é criado. **Não é idempotente**: cada chamada bem-sucedida cria templates novos, mesmo repetindo o mesmo lote.\n**Autenticação:** `x-api-key` + `Authorization` (o `access_token`, sem o prefixo `Bearer`). A loja é resolvida a partir da sua conta autenticada — não envie nenhum argumento de loja.\n\n### Argumentos\n\nÚnico argumento: `input: CreateCartTemplatesInput!`.\n\n| Nome                  | Tipo                        | Obrigatório      | Default | Descrição                                                                                                            |\n| --------------------- | --------------------------- | ---------------- | ------- | -------------------------------------------------------------------------------------------------------------------- |\n| `input.cartTemplates` | `[BulkCartTemplateInput!]!` | Sim (de 1 a 200) | —       | Templates a criar. Ver tabela abaixo.                                                                                |\n| `input.dryRun`        | `Boolean`                   | Não              | `false` | Se `true`, valida e devolve os erros sem gravar, mesmo que tudo esteja certo. Com `false`, grava se não houver erro. |\n\n#### Campos de `input.cartTemplates[]` (`BulkCartTemplateInput`)\n\n| Nome                           | Tipo                               | Obrigatório                                                                                 | Descrição                                                                                                                                                                                          |\n| ------------------------------ | ---------------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `key`                          | `String`                           | Não                                                                                         | Chave sua, devolvida nos erros e no template criado em `cartTemplates` para correlacioná-los com a origem. Use um valor único por template no lote (não é validado). Não é gravada no template.    |\n| `title`                        | `String!`                          | Sim (não vazio)                                                                             | Título do template.                                                                                                                                                                                |\n| `cartItems`                    | `[BulkCartTemplateItemInput!]!`    | Sim (mín. 1 item)                                                                           | Itens do template. Ver tabela abaixo.                                                                                                                                                              |\n| `discountCode`                 | `String`                           | Não                                                                                         | Código de desconto (cupom) da loja, sem diferenciar maiúsculas e ignorando espaços nas pontas. Liste os cupons em `discountCodes`.                                                                 |\n| `constraints`                  | `CheckoutTemplateConstraintsInput` | Não                                                                                         | `{ usageLimit: Int, expirationDate: AWSDateTime }`. `usageLimit` ≥ 0. Envie `expirationDate` com hora e fuso (ex.: `2026-12-31T23:59:59-03:00`).                                                   |\n| `shipping`                     | `CartTemplateShippingInput`        | Não                                                                                         | Ver tabela abaixo. Se omitido, o template usa `fulfillmentType: SHIPPING` sem opções nem valor de frete definidos.                                                                                 |\n| `recurringItemsFrequencyId`    | `String`                           | Um dos dois (id ou título) se algum item tiver `isRecurring: true`; proibido caso contrário | ID de uma frequência permitida pela loja. Não envie junto com `recurringItemsFrequencyTitle`. Liste as frequências em `shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }`. |\n| `recurringItemsFrequencyTitle` | `String`                           | Um dos dois (id ou título) se algum item tiver `isRecurring: true`; proibido caso contrário | Título da frequência (ex.: `Mensalmente`), sem diferenciar maiúsculas e ignorando espaços nas pontas. Se a loja tiver dois títulos iguais, vale o primeiro.                                        |\n| `paymentMethod`                | `PaymentMethodName`                | Não                                                                                         | Forma de pagamento a fixar: `unboxpay_credit`, `unboxpay_boleto` ou `unboxpay_pix`. `none` não é aceito.                                                                                           |\n| `blockPaymentMethodChange`     | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, carrinhos criados a partir do template não permitem trocar a forma de pagamento.                                                                                                        |\n| `blockApplyDiscountCode`       | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, códigos de desconto não podem ser aplicados aos carrinhos criados a partir do template.                                                                                                 |\n| `blockApplyShopSale`           | `Boolean`                          | Não (default `false`)                                                                       | Se `true`, promoções da loja não são aplicadas automaticamente.                                                                                                                                    |\n\n#### Campos de `cartItems[]` (`BulkCartTemplateItemInput`)\n\nSó produtos simples; kits são recusados (`CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR`). Consulte os códigos em `catalogItems(productIdsOrERPCodes: [...])`.\n\n| Nome             | Tipo      | Obrigatório | Descrição                                                                                                                       |\n| ---------------- | --------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------- |\n| `productErpCode` | `String!` | Sim         | Código de ERP do produto (`erpCode` do produto).                                                                                |\n| `variantErpCode` | `String!` | Sim         | Código de ERP da variante (`variants.erpCode`). Se a variante tiver opções, use o código da opção (`variants.options.erpCode`). |\n| `quantity`       | `Int!`    | Sim         | Quantidade, inteiro ≥ 1.                                                                                                        |\n| `isRecurring`    | `Boolean` | Não         | Marca o item como recorrente. Exige uma frequência no template (`recurringItemsFrequencyId` ou `recurringItemsFrequencyTitle`). |\n\n#### Campos de `shipping` (`CartTemplateShippingInput`)\n\n| Nome                    | Tipo              | Obrigatório                                                              | Descrição                                                                                                                                                                                                    |\n| ----------------------- | ----------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `fulfillmentType`       | `FulfillmentType` | Não (default `SHIPPING`)                                                 | `SHIPPING` ou `NONE`.                                                                                                                                                                                        |\n| `fulfillmentOptionsIds` | `[ID!]`           | Proibido com `NONE`; obrigatório com `shippingValue`; se enviado, mín. 1 | IDs das opções de frete permitidas para o template. Liste-as em `shopBySlug { fulfillmentOptions { _id name enabled classification } }` e use as com `enabled: true` e `classification: FULFILLMENT_OPTION`. |\n| `shippingValue`         | `MoneyInput`      | Proibido com `NONE`                                                      | Valor fixo de frete, `amount` ≥ 0 (ex.: `{ amount: 15.9, currencyCode: \"BRL\" }`). `amount: 0` fixa frete zero.                                                                                               |\n\n> Campos enviados como `null` valem como omitidos.\n\n### Retorno\n\n`CreateCartTemplatesPayload!`. Erros de um template ou item vêm no campo `errors` do payload; erros do lote como um todo (lista vazia, mais de 200 templates, falha ao gravar) vêm em `errors[]` da resposta GraphQL — ver Erros.\n\n| Propriedade                                | Tipo                        | Descrição                                                                                                                                                       |\n| ------------------------------------------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `createdCount`                             | `Int!`                      | Quantos templates foram criados. `0` quando há qualquer erro ou com `dryRun: true`.                                                                             |\n| `validCount`                               | `Int!`                      | Quantos templates não tiveram erro nesta chamada. Quando há erros de formato, conta só essa etapa: esses templates ainda podem falhar nas validações seguintes. |\n| `cartTemplates`                            | `[CreatedCartTemplate!]!`   | Templates criados, na ordem do input, cada um com a posição e a `key` do input; vazio quando nada foi gravado.                                                  |\n| `cartTemplates[].templateIndex`            | `Int!`                      | Posição (a partir de 0) do template em `input.cartTemplates`.                                                                                                   |\n| `cartTemplates[].key`                      | `String`                    | A `key` que você enviou no template, se enviou.                                                                                                                 |\n| `cartTemplates[].cartTemplate`             | `CartTemplate!`             | O template criado, na mesma forma da query `cartTemplate`.                                                                                                      |\n| `cartTemplates[].cartTemplate.checkoutUrl` | `String!`                   | URL da loja que transforma o template em carrinho; é o link para enviar ao comprador.                                                                           |\n| `errors`                                   | `[CartTemplateBulkError!]!` | Erros encontrados nesta chamada, ordenados por template e item. Vazio quando todos os templates são válidos.                                                    |\n| `errors[].templateIndex`                   | `Int!`                      | Posição (a partir de 0) do template com erro em `input.cartTemplates`.                                                                                          |\n| `errors[].itemIndex`                       | `Int`                       | Posição (a partir de 0) do item com erro em `cartItems` desse template; `null` quando o erro é do template.                                                     |\n| `errors[].key`                             | `String`                    | A `key` que você enviou no template, se enviou.                                                                                                                 |\n| `errors[].code`                            | `String!`                   | Código estável do erro (ver Erros).                                                                                                                             |\n| `errors[].message`                         | `String`                    | Detalhe do erro, quando houver: o campo e a regra violada, o id da opção de frete com problema ou o motivo do desconto.                                         |\n\n### Erros\n\n**Como verificar o resultado** (HTTP 200 em todos os casos):\n\n1. `errors[]` da resposta não vazio → `createCartTemplates` vem `null` e nada foi gravado.\n2. `createCartTemplates.errors` não vazio → nada foi gravado; corrija por `templateIndex`/`itemIndex` e envie de novo.\n3. Senão, sucesso: `createdCount` é o total enviado (com `dryRun: true`, `validCount` é o total e nada foi gravado).\n\n**No payload** (`createCartTemplates.errors`). Os erros de opção de frete aparecem em todo template que usa o id com problema.\n\n| Código                                                     | Condição                                                                                                                                                                                                | O que fazer                                                                                             |\n| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATES_INPUT_VALIDATION_ERROR`                    | Campo ausente ou fora de regra (ex.: `quantity` < 1, `title` vazio, id e título de frequência juntos, `shippingValue` com `NONE`). `message` diz o campo e a regra.                                     | Corrija o campo indicado em `message`.                                                                  |\n| `CATALOG_PRODUCT_REQUESTED_NOT_FOUND_ERROR`                | `productErpCode` não existe no catálogo da loja (vem com `itemIndex`).                                                                                                                                  | Confira o `erpCode` do produto em `catalogItems`.                                                       |\n| `PRODUCT_DOES_NOT_HAVE_REQUESTED_VARIANT_ERROR`            | `variantErpCode` não corresponde a uma variante (ou opção) do produto informado (vem com `itemIndex`).                                                                                                  | Confira a combinação; se a variante tiver opções, use o `erpCode` da opção.                             |\n| `CART_TEMPLATE_PRODUCT_KIT_NOT_SUPPORTED_ERROR`            | O produto é um kit (vem com `itemIndex`).                                                                                                                                                               | Use `createCartTemplate` para templates com kit.                                                        |\n| `RECURRENCE_FREQUENCY_INVALID_ERROR`                       | Algum item tem `isRecurring: true`, mas o template não tem frequência.                                                                                                                                  | Envie `recurringItemsFrequencyId` ou `recurringItemsFrequencyTitle`.                                    |\n| `NO_ITEMS_SET_AS_RECURRING_RECEIVED_ERROR`                 | O template tem frequência, mas nenhum item tem `isRecurring: true`.                                                                                                                                     | Marque ao menos um item como recorrente ou remova a frequência.                                         |\n| `RECURRENCE_FREQUENCY_NOT_FOUND_ERROR`                     | Nenhuma frequência permitida pela loja tem o id ou o título informado.                                                                                                                                  | Consulte as frequências em `shopBySlug { recurringOrdersPolicy { allowedFrequencies { _id title } } }`. |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | `discountCode` não existe, está desabilitado, foi removido ou não é um cupom.                                                                                                                           | Confira o código em `discountCodes`.                                                                    |\n| `DISCOUNT_CODE_CONDITION_ERROR`                            | Os itens não atendem às condições do desconto. `message` traz o motivo: `OUT_OF_PRICE_RANGE` (valor fora da faixa) e/ou `NO_LONGER_AVAILABLE` (expirado, ainda não iniciado ou limite de uso atingido). | Ajuste os itens ou use outro código.                                                                    |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O desconto vale só para itens não recorrentes, e todos os itens do template são recorrentes.                                                                                                            | Inclua um item não recorrente ou use outro código.                                                      |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O desconto vale só para itens recorrentes, e nenhum item do template é recorrente.                                                                                                                      | Marque um item como recorrente ou use outro código.                                                     |\n| `FULFILLMENT_OPTION_NOT_FOUND_ERROR`                       | Um id de `fulfillmentOptionsIds` não existe na loja (`message` traz o id).                                                                                                                              | Remova ou corrija o id.                                                                                 |\n| `PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR`            | O id existe, mas não é uma opção de frete (`message` traz o id).                                                                                                                                        | Use um id com `classification: FULFILLMENT_OPTION`.                                                     |\n| `FULFILLMENT_OPTION_IS_DISABLED_ERROR`                     | A opção de frete está desativada na loja (`message` traz o id).                                                                                                                                         | Use uma opção com `enabled: true`.                                                                      |\n\n**Na resposta GraphQL** (`errors[]` da resposta, com o código do erro como nas demais operações; `createCartTemplates` vem `null`):\n\n| Código                                  | Condição                                                         | O que fazer                                                                                              |\n| --------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |\n| `CART_TEMPLATES_LIMIT_EXCEEDED_ERROR`   | Mais de 200 templates na chamada.                                | Divida o lote em chamadas de até 200.                                                                    |\n| `CART_TEMPLATES_INPUT_VALIDATION_ERROR` | `cartTemplates` vazio.                                           | Envie ao menos um template.                                                                              |\n| `CART_TEMPLATES_PERSISTENCE_ERROR`      | Falha ao gravar depois que tudo foi validado; o lote é desfeito. | Tente de novo. Se o erro se repetir, confira em `cartTemplates` se algo ficou gravado antes de reenviar. |\n\n### Notas\n\n- **A validação acontece em etapas.** Primeiro o formato dos campos (`CART_TEMPLATES_INPUT_VALIDATION_ERROR`); se algum template falhar aí, a chamada para nessa etapa. Só com o lote inteiro no formato certo vêm catálogo, frequência e frete; e o desconto de um template só é validado se os itens dele forem válidos. Por isso uma rodada corrigida pode trazer erros novos.\n- **Tudo ou nada, também na gravação.** Se algo falhar depois da validação, o que já tinha sido gravado naquele lote é desfeito antes de devolver `CART_TEMPLATES_PERSISTENCE_ERROR`.\n- **Não é idempotente.** Um lote que deu certo, se reenviado, cria tudo de novo. Use `dryRun: true` para validar sem efeito colateral.\n- **Timeout ou erro de rede sem resposta:** o lote pode ter sido gravado mesmo assim. Não reenvie às cegas: consulte `cartTemplates` (ex.: pelo título) para ver se os templates já existem. Use um timeout de cliente de pelo menos 30 segundos para lotes grandes.\n- **`shippingValue` vale só para o template em que foi enviado**; templates do mesmo lote não compartilham o valor de frete.\n- **Produtos ocultos ou sem estoque são aceitos**, como em `createCartTemplate`.\n- **`referenceId` é gerado pela Unbox** e é único. Todo template criado começa 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":"692eca23-59f1-5187-a355-954dda1f0369"},{"name":"[Mutation] selectFulfillmentOptionForGroup","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 selectFulfillmentOptionForGroup data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"selectFulfillmentOptionForGroup\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"150a997d-d541-50fe-b001-a2fb0c527ac3","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 SelectFulfillmentOptionForGroup($input: SelectFulfillmentOptionForGroupInput!) {\n  selectFulfillmentOptionForGroup(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"fulfillmentGroupId\": \"{{fulfillmentGroupId}}\",\n    \"fulfillmentMethodId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"selectfulfillmentoptionforgroup\">selectFulfillmentOptionForGroup</h2>\n<p><strong>Propósito:</strong> Escolhe a opção de frete de um grupo de entrega, entre as cotadas em <code>availableFulfillmentOptions</code>.\n<strong>Quando usar:</strong> No checkout, depois de <code>updateFulfillmentOptionsForGroup</code>, quando o comprador escolhe o frete. <strong>É idempotente</strong>: selecionar a mesma opção de novo produz o mesmo estado; selecionar outra substitui a anterior.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: SelectFulfillmentOptionForGroupInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>. Opcional no schema, mas <strong>obrigatório na prática</strong> — sempre envie-o.</td>\n</tr>\n<tr>\n<td><code>input.fulfillmentGroupId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do grupo de entrega, de <code>cart.checkout.fulfillmentGroups[]._id</code>.</td>\n</tr>\n<tr>\n<td><code>input.fulfillmentMethodId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>fulfillmentMethod._id</code> de uma das opções em <code>availableFulfillmentOptions</code> <strong>desse mesmo grupo</strong>.</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>—</td>\n<td>Identificador livre seu, ecoado na resposta.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>SelectFulfillmentOptionForGroupPayload!</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 atualizado.</td>\n</tr>\n<tr>\n<td><code>cart.checkout.fulfillmentGroups[].selectedFulfillmentOption</code></td>\n<td><code>FulfillmentOption</code></td>\n<td>A opção escolhida (<code>fulfillmentMethod</code>, <code>price</code>, <code>handlingPrice</code>, <code>discountPrice</code>).</td>\n</tr>\n<tr>\n<td><code>cart.checkout.summary.fulfillmentTotal</code> / <code>total</code></td>\n<td><code>Money</code></td>\n<td>Totais já considerando o frete escolhido.</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O valor enviado no input.</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>Carrinho não encontrado para <code>cartId</code> + <code>cartToken</code>; <strong>ou</strong> <code>fulfillmentGroupId</code> não existe no carrinho; <strong>ou</strong> <code>fulfillmentMethodId</code> não está entre as opções cotadas do grupo. A <code>message</code> indica qual dos três.</td>\n<td>Leia o carrinho (<code>anonymousCartByCartId</code>) e use IDs presentes em <code>checkout.fulfillmentGroups</code>; se as opções estiverem vazias, chame <code>updateFulfillmentOptionsForGroup</code> antes.</td>\n</tr>\n<tr>\n<td><code>BAD_USER_INPUT</code></td>\n<td>Campo obrigatório ausente.</td>\n<td>Corrija o <code>input</code>; o campo vem descrito em <code>message</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.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Só é possível escolher uma opção já cotada.</strong> Se você ainda não chamou <code>updateFulfillmentOptionsForGroup</code> (ou ela retornou lista vazia), qualquer <code>fulfillmentMethodId</code> resulta em <code>NOT_FOUND</code>.</li>\n<li><strong>O preço fica gravado no momento da escolha.</strong> Se itens ou endereço mudarem depois, cote de novo (<code>updateFulfillmentOptionsForGroup</code>) e selecione novamente — o <code>placeOrder</code> recalcula o frete escolhido e falha se o preço não bater.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9e39a984-09b7-495e-a940-55c92fcc391b","name":"200 - selectFulfillmentOptionForGroup","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 SelectFulfillmentOptionForGroup($input: SelectFulfillmentOptionForGroupInput!) {\n  selectFulfillmentOptionForGroup(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"fulfillmentGroupId\": \"{{fulfillmentGroupId}}\",\n    \"fulfillmentMethodId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## selectFulfillmentOptionForGroup\n\n**Propósito:** Escolhe a opção de frete de um grupo de entrega, entre as cotadas em `availableFulfillmentOptions`.\n**Quando usar:** No checkout, depois de `updateFulfillmentOptionsForGroup`, quando o comprador escolhe o frete. **É idempotente**: selecionar a mesma opção de novo produz o mesmo estado; selecionar outra substitui a anterior.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: SelectFulfillmentOptionForGroupInput!`.\n\n| Nome                        | Tipo     | Obrigatório | Default | Descrição                                                                                                 |\n| --------------------------- | -------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`              | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`           | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.fulfillmentGroupId`  | `ID!`    | Sim         | —       | `_id` do grupo de entrega, de `cart.checkout.fulfillmentGroups[]._id`.                                    |\n| `input.fulfillmentMethodId` | `ID!`    | Sim         | —       | `fulfillmentMethod._id` de uma das opções em `availableFulfillmentOptions` **desse mesmo grupo**.         |\n| `input.clientMutationId`    | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`SelectFulfillmentOptionForGroupPayload!`:\n\n| Propriedade                                                   | Tipo                | Descrição                                                                           |\n| ------------------------------------------------------------- | ------------------- | ----------------------------------------------------------------------------------- |\n| `cart`                                                        | `Cart!`             | O carrinho atualizado.                                                              |\n| `cart.checkout.fulfillmentGroups[].selectedFulfillmentOption` | `FulfillmentOption` | A opção escolhida (`fulfillmentMethod`, `price`, `handlingPrice`, `discountPrice`). |\n| `cart.checkout.summary.fulfillmentTotal` / `total`            | `Money`             | Totais já considerando o frete escolhido.                                           |\n| `clientMutationId`                                            | `String`            | O valor enviado no input.                                                           |\n\n### Erros\n\n| Código           | Condição                                                                                                                                                                                                           | O que fazer                                                                                                                                                                   |\n| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`      | Carrinho não encontrado para `cartId` + `cartToken`; **ou** `fulfillmentGroupId` não existe no carrinho; **ou** `fulfillmentMethodId` não está entre as opções cotadas do grupo. A `message` indica qual dos três. | Leia o carrinho (`anonymousCartByCartId`) e use IDs presentes em `checkout.fulfillmentGroups`; se as opções estiverem vazias, chame `updateFulfillmentOptionsForGroup` antes. |\n| `BAD_USER_INPUT` | Campo obrigatório ausente.                                                                                                                                                                                         | Corrija o `input`; o campo vem descrito em `message`.                                                                                                                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Só é possível escolher uma opção já cotada.** Se você ainda não chamou `updateFulfillmentOptionsForGroup` (ou ela retornou lista vazia), qualquer `fulfillmentMethodId` resulta em `NOT_FOUND`.\n- **O preço fica gravado no momento da escolha.** Se itens ou endereço mudarem depois, cote de novo (`updateFulfillmentOptionsForGroup`) e selecione novamente — o `placeOrder` recalcula o frete escolhido e falha se o preço não bater."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"selectFulfillmentOptionForGroup\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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    }\n  }\n}"},{"id":"29d47905-e613-4186-9bdc-a232a0e3b279","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 SelectFulfillmentOptionForGroup($input: SelectFulfillmentOptionForGroupInput!) {\n  selectFulfillmentOptionForGroup(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"fulfillmentGroupId\": \"{{fulfillmentGroupId}}\",\n    \"fulfillmentMethodId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## selectFulfillmentOptionForGroup\n\n**Propósito:** Escolhe a opção de frete de um grupo de entrega, entre as cotadas em `availableFulfillmentOptions`.\n**Quando usar:** No checkout, depois de `updateFulfillmentOptionsForGroup`, quando o comprador escolhe o frete. **É idempotente**: selecionar a mesma opção de novo produz o mesmo estado; selecionar outra substitui a anterior.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: SelectFulfillmentOptionForGroupInput!`.\n\n| Nome                        | Tipo     | Obrigatório | Default | Descrição                                                                                                 |\n| --------------------------- | -------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`              | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`           | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.fulfillmentGroupId`  | `ID!`    | Sim         | —       | `_id` do grupo de entrega, de `cart.checkout.fulfillmentGroups[]._id`.                                    |\n| `input.fulfillmentMethodId` | `ID!`    | Sim         | —       | `fulfillmentMethod._id` de uma das opções em `availableFulfillmentOptions` **desse mesmo grupo**.         |\n| `input.clientMutationId`    | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`SelectFulfillmentOptionForGroupPayload!`:\n\n| Propriedade                                                   | Tipo                | Descrição                                                                           |\n| ------------------------------------------------------------- | ------------------- | ----------------------------------------------------------------------------------- |\n| `cart`                                                        | `Cart!`             | O carrinho atualizado.                                                              |\n| `cart.checkout.fulfillmentGroups[].selectedFulfillmentOption` | `FulfillmentOption` | A opção escolhida (`fulfillmentMethod`, `price`, `handlingPrice`, `discountPrice`). |\n| `cart.checkout.summary.fulfillmentTotal` / `total`            | `Money`             | Totais já considerando o frete escolhido.                                           |\n| `clientMutationId`                                            | `String`            | O valor enviado no input.                                                           |\n\n### Erros\n\n| Código           | Condição                                                                                                                                                                                                           | O que fazer                                                                                                                                                                   |\n| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `NOT_FOUND`      | Carrinho não encontrado para `cartId` + `cartToken`; **ou** `fulfillmentGroupId` não existe no carrinho; **ou** `fulfillmentMethodId` não está entre as opções cotadas do grupo. A `message` indica qual dos três. | Leia o carrinho (`anonymousCartByCartId`) e use IDs presentes em `checkout.fulfillmentGroups`; se as opções estiverem vazias, chame `updateFulfillmentOptionsForGroup` antes. |\n| `BAD_USER_INPUT` | Campo obrigatório ausente.                                                                                                                                                                                         | Corrija o `input`; o campo vem descrito em `message`.                                                                                                                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Só é possível escolher uma opção já cotada.** Se você ainda não chamou `updateFulfillmentOptionsForGroup` (ou ela retornou lista vazia), qualquer `fulfillmentMethodId` resulta em `NOT_FOUND`.\n- **O preço fica gravado no momento da escolha.** Se itens ou endereço mudarem depois, cote de novo (`updateFulfillmentOptionsForGroup`) e selecione novamente — o `placeOrder` recalcula o frete escolhido e falha se o preço não bater."},"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":"150a997d-d541-50fe-b001-a2fb0c527ac3"},{"name":"[Mutation] setShippingAddressOnCart","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 setShippingAddressOnCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"setShippingAddressOnCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"92544647-9934-56ab-ac5a-d7e2e77332f1","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 SetShippingAddressOnCart($input: SetShippingAddressOnCartInput!) {\n  setShippingAddressOnCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"address\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    },\n    \"addressId\": \"{{addressId}}\",\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"setshippingaddressoncart\">setShippingAddressOnCart</h2>\n<p><strong>Propósito:</strong> Define o endereço de entrega do carrinho (aplicado a todos os grupos de entrega do tipo <code>SHIPPING</code>).\n<strong>Quando usar:</strong> No checkout, depois de montar os itens e antes de cotar o frete. Em seguida chame <code>updateFulfillmentOptionsForGroup</code> para obter as opções de frete para esse endereço. <strong>É idempotente</strong>: reenviar o mesmo endereço produz o mesmo estado; enviar outro endereço <strong>substitui</strong> o anterior por completo (não é merge).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>. O endereço é gravado só no carrinho, não no cadastro do consumidor.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: SetShippingAddressOnCartInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>. Opcional no schema, mas <strong>obrigatório na prática</strong> — sempre envie-o.</td>\n</tr>\n<tr>\n<td><code>input.address</code></td>\n<td><code>AddressInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Endereço de entrega (ver campos abaixo).</td>\n</tr>\n<tr>\n<td><code>input.addressId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>gerado</td>\n<td>ID a gravar como <code>_id</code> do endereço (ex.: o ID do endereço no seu sistema). Se omitido, um ID novo é gerado.</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>—</td>\n<td>Identificador livre seu, ecoado na resposta.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-address-addressinput\">Campos de <code>address</code> (<code>AddressInput</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>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fullName</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Nome completo do destinatário.</td>\n</tr>\n<tr>\n<td><code>address1</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Logradouro.</td>\n</tr>\n<tr>\n<td><code>number</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Número.</td>\n</tr>\n<tr>\n<td><code>address2</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Complemento.</td>\n</tr>\n<tr>\n<td><code>neighborhood</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Bairro.</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Cidade.</td>\n</tr>\n<tr>\n<td><code>region</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Estado/UF (ex.: <code>SP</code>).</td>\n</tr>\n<tr>\n<td><code>postal</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>CEP — base da cotação de frete. Use <code>getAddressByPostalCode</code> para preencher o endereço a partir do CEP.</td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>País (ex.: <code>BR</code>).</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>Telefone do destinatário.</td>\n</tr>\n<tr>\n<td><code>mobile</code> / <code>trackByMobile</code></td>\n<td><code>String</code> / <code>Boolean</code></td>\n<td>Não</td>\n<td>Celular e se ele deve receber o rastreio.</td>\n</tr>\n<tr>\n<td><code>taxPayerId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>CPF/CNPJ do destinatário.</td>\n</tr>\n<tr>\n<td><code>firstName</code>, <code>lastName</code>, <code>company</code>, <code>addressName</code>, <code>reference</code>, <code>cityCode</code>, <code>isCommercial</code>, <code>isShippingDefault</code>, <code>isBillingDefault</code>, <code>metafields</code></td>\n<td>—</td>\n<td>Não</td>\n<td>Dados complementares opcionais.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>SetShippingAddressOnCartPayload!</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 atualizado; o endereço aparece em <code>checkout.fulfillmentGroups[].shippingAddress</code>.</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O valor enviado no input.</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 casa com <code>cartId</code> + <code>cartToken</code> (inexistente, token errado, ou travado em checkout).</td>\n<td>Confira o par <code>cartId</code>/<code>cartToken</code>.</td>\n</tr>\n<tr>\n<td><code>BAD_USER_INPUT</code></td>\n<td>Endereço inválido (campo obrigatório ausente ou com tipo errado).</td>\n<td>Corrija <code>address</code>; o campo problemático vem descrito em <code>message</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.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Trocar o endereço não recalcula o frete sozinho.</strong> As opções de frete cotadas e a opção escolhida continuam as anteriores até você chamar <code>updateFulfillmentOptionsForGroup</code> (e, se necessário, <code>selectFulfillmentOptionForGroup</code> de novo). O <code>placeOrder</code> recalcula o frete escolhido e falha se o preço não bater.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"42e54862-4656-4db0-852a-cc391a176953","name":"200 - setShippingAddressOnCart","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 SetShippingAddressOnCart($input: SetShippingAddressOnCartInput!) {\n  setShippingAddressOnCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"address\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    },\n    \"addressId\": \"{{addressId}}\",\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setShippingAddressOnCart\n\n**Propósito:** Define o endereço de entrega do carrinho (aplicado a todos os grupos de entrega do tipo `SHIPPING`).\n**Quando usar:** No checkout, depois de montar os itens e antes de cotar o frete. Em seguida chame `updateFulfillmentOptionsForGroup` para obter as opções de frete para esse endereço. **É idempotente**: reenviar o mesmo endereço produz o mesmo estado; enviar outro endereço **substitui** o anterior por completo (não é merge).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`. O endereço é gravado só no carrinho, não no cadastro do consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: SetShippingAddressOnCartInput!`.\n\n| Nome                     | Tipo            | Obrigatório | Default | Descrição                                                                                                   |\n| ------------------------ | --------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------- |\n| `input.cartId`           | `ID!`           | Sim         | —       | `_id` do carrinho.                                                                                          |\n| `input.cartToken`        | `String`        | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o.   |\n| `input.address`          | `AddressInput!` | Sim         | —       | Endereço de entrega (ver campos abaixo).                                                                    |\n| `input.addressId`        | `String`        | Não         | gerado  | ID a gravar como `_id` do endereço (ex.: o ID do endereço no seu sistema). Se omitido, um ID novo é gerado. |\n| `input.clientMutationId` | `String`        | Não         | —       | Identificador livre seu, ecoado na resposta.                                                                |\n\n#### Campos de `address` (`AddressInput`)\n\n| Campo                                                                                                                                             | Tipo                 | Obrigatório | Descrição                                                                                               |\n| ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------- |\n| `fullName`                                                                                                                                        | `String!`            | Sim         | Nome completo do destinatário.                                                                          |\n| `address1`                                                                                                                                        | `String!`            | Sim         | Logradouro.                                                                                             |\n| `number`                                                                                                                                          | `String`             | Não         | Número.                                                                                                 |\n| `address2`                                                                                                                                        | `String`             | Não         | Complemento.                                                                                            |\n| `neighborhood`                                                                                                                                    | `String`             | Não         | Bairro.                                                                                                 |\n| `city`                                                                                                                                            | `String!`            | Sim         | Cidade.                                                                                                 |\n| `region`                                                                                                                                          | `String!`            | Sim         | Estado/UF (ex.: `SP`).                                                                                  |\n| `postal`                                                                                                                                          | `String!`            | Sim         | CEP — base da cotação de frete. Use `getAddressByPostalCode` para preencher o endereço a partir do CEP. |\n| `country`                                                                                                                                         | `String!`            | Sim         | País (ex.: `BR`).                                                                                       |\n| `phone`                                                                                                                                           | `String!`            | Sim         | Telefone do destinatário.                                                                               |\n| `mobile` / `trackByMobile`                                                                                                                        | `String` / `Boolean` | Não         | Celular e se ele deve receber o rastreio.                                                               |\n| `taxPayerId`                                                                                                                                      | `String`             | Não         | CPF/CNPJ do destinatário.                                                                               |\n| `firstName`, `lastName`, `company`, `addressName`, `reference`, `cityCode`, `isCommercial`, `isShippingDefault`, `isBillingDefault`, `metafields` | —                    | Não         | Dados complementares opcionais.                                                                         |\n\n### Retorno\n\n`SetShippingAddressOnCartPayload!`:\n\n| Propriedade        | Tipo     | Descrição                                                                                    |\n| ------------------ | -------- | -------------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`  | O carrinho atualizado; o endereço aparece em `checkout.fulfillmentGroups[].shippingAddress`. |\n| `clientMutationId` | `String` | O valor enviado no input.                                                                    |\n\n### Erros\n\n| Código           | Condição                                                                                                   | O que fazer                                                        |\n| ---------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `NOT_FOUND`      | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                |\n| `BAD_USER_INPUT` | Endereço inválido (campo obrigatório ausente ou com tipo errado).                                          | Corrija `address`; o campo problemático vem descrito em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Trocar o endereço não recalcula o frete sozinho.** As opções de frete cotadas e a opção escolhida continuam as anteriores até você chamar `updateFulfillmentOptionsForGroup` (e, se necessário, `selectFulfillmentOptionForGroup` de novo). O `placeOrder` recalcula o frete escolhido e falha se o preço não bater."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"setShippingAddressOnCart\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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    }\n  }\n}"},{"id":"65287fcd-0fc4-405b-a2f7-f860561fb5de","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 SetShippingAddressOnCart($input: SetShippingAddressOnCartInput!) {\n  setShippingAddressOnCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"address\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    },\n    \"addressId\": \"{{addressId}}\",\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setShippingAddressOnCart\n\n**Propósito:** Define o endereço de entrega do carrinho (aplicado a todos os grupos de entrega do tipo `SHIPPING`).\n**Quando usar:** No checkout, depois de montar os itens e antes de cotar o frete. Em seguida chame `updateFulfillmentOptionsForGroup` para obter as opções de frete para esse endereço. **É idempotente**: reenviar o mesmo endereço produz o mesmo estado; enviar outro endereço **substitui** o anterior por completo (não é merge).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`. O endereço é gravado só no carrinho, não no cadastro do consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: SetShippingAddressOnCartInput!`.\n\n| Nome                     | Tipo            | Obrigatório | Default | Descrição                                                                                                   |\n| ------------------------ | --------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------- |\n| `input.cartId`           | `ID!`           | Sim         | —       | `_id` do carrinho.                                                                                          |\n| `input.cartToken`        | `String`        | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o.   |\n| `input.address`          | `AddressInput!` | Sim         | —       | Endereço de entrega (ver campos abaixo).                                                                    |\n| `input.addressId`        | `String`        | Não         | gerado  | ID a gravar como `_id` do endereço (ex.: o ID do endereço no seu sistema). Se omitido, um ID novo é gerado. |\n| `input.clientMutationId` | `String`        | Não         | —       | Identificador livre seu, ecoado na resposta.                                                                |\n\n#### Campos de `address` (`AddressInput`)\n\n| Campo                                                                                                                                             | Tipo                 | Obrigatório | Descrição                                                                                               |\n| ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------- |\n| `fullName`                                                                                                                                        | `String!`            | Sim         | Nome completo do destinatário.                                                                          |\n| `address1`                                                                                                                                        | `String!`            | Sim         | Logradouro.                                                                                             |\n| `number`                                                                                                                                          | `String`             | Não         | Número.                                                                                                 |\n| `address2`                                                                                                                                        | `String`             | Não         | Complemento.                                                                                            |\n| `neighborhood`                                                                                                                                    | `String`             | Não         | Bairro.                                                                                                 |\n| `city`                                                                                                                                            | `String!`            | Sim         | Cidade.                                                                                                 |\n| `region`                                                                                                                                          | `String!`            | Sim         | Estado/UF (ex.: `SP`).                                                                                  |\n| `postal`                                                                                                                                          | `String!`            | Sim         | CEP — base da cotação de frete. Use `getAddressByPostalCode` para preencher o endereço a partir do CEP. |\n| `country`                                                                                                                                         | `String!`            | Sim         | País (ex.: `BR`).                                                                                       |\n| `phone`                                                                                                                                           | `String!`            | Sim         | Telefone do destinatário.                                                                               |\n| `mobile` / `trackByMobile`                                                                                                                        | `String` / `Boolean` | Não         | Celular e se ele deve receber o rastreio.                                                               |\n| `taxPayerId`                                                                                                                                      | `String`             | Não         | CPF/CNPJ do destinatário.                                                                               |\n| `firstName`, `lastName`, `company`, `addressName`, `reference`, `cityCode`, `isCommercial`, `isShippingDefault`, `isBillingDefault`, `metafields` | —                    | Não         | Dados complementares opcionais.                                                                         |\n\n### Retorno\n\n`SetShippingAddressOnCartPayload!`:\n\n| Propriedade        | Tipo     | Descrição                                                                                    |\n| ------------------ | -------- | -------------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`  | O carrinho atualizado; o endereço aparece em `checkout.fulfillmentGroups[].shippingAddress`. |\n| `clientMutationId` | `String` | O valor enviado no input.                                                                    |\n\n### Erros\n\n| Código           | Condição                                                                                                   | O que fazer                                                        |\n| ---------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `NOT_FOUND`      | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                |\n| `BAD_USER_INPUT` | Endereço inválido (campo obrigatório ausente ou com tipo errado).                                          | Corrija `address`; o campo problemático vem descrito em `message`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Trocar o endereço não recalcula o frete sozinho.** As opções de frete cotadas e a opção escolhida continuam as anteriores até você chamar `updateFulfillmentOptionsForGroup` (e, se necessário, `selectFulfillmentOptionForGroup` de novo). O `placeOrder` recalcula o frete escolhido e falha se o preço não bater."},"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":"92544647-9934-56ab-ac5a-d7e2e77332f1"},{"name":"[Mutation] updateFulfillmentOptionsForGroup","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 updateFulfillmentOptionsForGroup data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"updateFulfillmentOptionsForGroup\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"b6c581dc-dd6b-5f85-a295-28e4db516e34","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 UpdateFulfillmentOptionsForGroup($input: UpdateFulfillmentOptionsForGroupInput!) {\n  updateFulfillmentOptionsForGroup(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"fulfillmentGroupId\": \"{{fulfillmentGroupId}}\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"updatefulfillmentoptionsforgroup\">updateFulfillmentOptionsForGroup</h2>\n<p><strong>Propósito:</strong> Cota o frete de um grupo de entrega do carrinho e atualiza a lista de opções disponíveis (<code>availableFulfillmentOptions</code>) com preços atuais.\n<strong>Quando usar:</strong> No checkout, depois de <code>setShippingAddressOnCart</code> e <strong>sempre que os itens ou o endereço mudarem</strong> (<code>addCartItems</code>, <code>removeCartItems</code>, <code>updateCartItemsQuantity</code>, novo endereço). Depois, escolha uma opção com <code>selectFulfillmentOptionForGroup</code>. <strong>Idempotente</strong> quanto ao estado; efeito colateral: nova cotação de frete a cada chamada e regravação das opções no carrinho.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Acesso pelo par <code>cartId</code> + <code>cartToken</code>. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpdateFulfillmentOptionsForGroupInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.cartToken</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> retornado em <code>createCart</code>. Opcional no schema, mas <strong>obrigatório na prática</strong> — sempre envie-o.</td>\n</tr>\n<tr>\n<td><code>input.fulfillmentGroupId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do grupo de entrega, de <code>cart.checkout.fulfillmentGroups[]._id</code>.</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>—</td>\n<td>Identificador livre seu, ecoado na resposta.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>UpdateFulfillmentOptionsForGroupPayload!</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 com as cotações atualizadas.</td>\n</tr>\n<tr>\n<td><code>cart.checkout.fulfillmentGroups[].availableFulfillmentOptions[]</code></td>\n<td><code>[FulfillmentOption]!</code></td>\n<td>Opções de frete disponíveis. Lista vazia = nenhuma opção cotada para o grupo.</td>\n</tr>\n<tr>\n<td><code>...availableFulfillmentOptions[].fulfillmentMethod._id</code></td>\n<td><code>ID!</code></td>\n<td>O <code>fulfillmentMethodId</code> a enviar em <code>selectFulfillmentOptionForGroup</code>.</td>\n</tr>\n<tr>\n<td><code>...availableFulfillmentOptions[].fulfillmentMethod.name</code> / <code>displayName</code> / <code>carrier</code> / <code>daysToDeliver</code> / <code>description</code></td>\n<td>—</td>\n<td>Identificação e prazo (dias) da opção, para exibir ao comprador.</td>\n</tr>\n<tr>\n<td><code>...availableFulfillmentOptions[].price</code></td>\n<td><code>Money!</code></td>\n<td>Preço total do frete (inclui <code>handlingPrice</code>).</td>\n</tr>\n<tr>\n<td><code>...availableFulfillmentOptions[].handlingPrice</code></td>\n<td><code>Money!</code></td>\n<td>Parcela de manuseio incluída em <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>...availableFulfillmentOptions[].discountPrice</code></td>\n<td><code>Money!</code></td>\n<td>Desconto aplicável ao frete (igual a <code>price</code> quando um cupom de frete grátis cobre esta opção; senão <code>0</code>).</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>O valor enviado no input.</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> (em <code>extensions.code</code>)</td>\n<td>Nenhum carrinho ativo casa com <code>cartId</code> + <code>cartToken</code> (inexistente, token errado, ou travado em checkout).</td>\n<td>Confira o par <code>cartId</code>/<code>cartToken</code>.</td>\n</tr>\n<tr>\n<td><code>FULFILLMENT_GROUP_NOT_FOUND_ERROR</code></td>\n<td><code>fulfillmentGroupId</code> não existe neste carrinho.</td>\n<td>Leia o carrinho (<code>anonymousCartByCartId</code>) e use um <code>_id</code> de <code>checkout.fulfillmentGroups</code>.</td>\n</tr>\n<tr>\n<td><code>INVALID_LOGISTICS_PROVIDER_ERROR</code></td>\n<td>A loja não tem um provedor de frete configurado.</td>\n<td>Contate seu representante Unbox para configurar a logística da loja.</td>\n</tr>\n<tr>\n<td><code>BAD_USER_INPUT</code> (em <code>extensions.code</code>)</td>\n<td>Campo obrigatório ausente.</td>\n<td>Corrija o <code>input</code>; o campo vem descrito em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Defina o endereço antes.</strong> A cotação usa o endereço de entrega do carrinho (<code>setShippingAddressOnCart</code>); sem ele, não espere opções válidas.</li>\n<li><strong>Lista vazia não é erro.</strong> Se nenhuma opção de frete atender o carrinho/endereço, a chamada retorna sucesso com <code>availableFulfillmentOptions: []</code>.</li>\n<li><strong>A opção já escolhida não é reprecificada aqui.</strong> Se as cotações mudarem, chame <code>selectFulfillmentOptionForGroup</code> de novo para gravar a opção com o preço atual — o <code>placeOrder</code> recalcula o frete escolhido e falha se o preço não bater.</li>\n<li>Em geral o carrinho tem um único grupo de entrega (<code>checkout.fulfillmentGroups[0]</code>) com todos os itens; se houver mais de um, cote e selecione o frete de cada grupo.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"230740c0-0231-4be4-bd29-2cea4097766e","name":"200 - updateFulfillmentOptionsForGroup","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 UpdateFulfillmentOptionsForGroup($input: UpdateFulfillmentOptionsForGroupInput!) {\n  updateFulfillmentOptionsForGroup(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"fulfillmentGroupId\": \"{{fulfillmentGroupId}}\"\n  }\n}"}},"url":"{{base_url}}","description":"## updateFulfillmentOptionsForGroup\n\n**Propósito:** Cota o frete de um grupo de entrega do carrinho e atualiza a lista de opções disponíveis (`availableFulfillmentOptions`) com preços atuais.\n**Quando usar:** No checkout, depois de `setShippingAddressOnCart` e **sempre que os itens ou o endereço mudarem** (`addCartItems`, `removeCartItems`, `updateCartItemsQuantity`, novo endereço). Depois, escolha uma opção com `selectFulfillmentOptionForGroup`. **Idempotente** quanto ao estado; efeito colateral: nova cotação de frete a cada chamada e regravação das opções no carrinho.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateFulfillmentOptionsForGroupInput!`.\n\n| Nome                       | Tipo     | Obrigatório | Default | Descrição                                                                                                 |\n| -------------------------- | -------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`             | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`          | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.fulfillmentGroupId` | `ID!`    | Sim         | —       | `_id` do grupo de entrega, de `cart.checkout.fulfillmentGroups[]._id`.                                    |\n| `input.clientMutationId`   | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`UpdateFulfillmentOptionsForGroupPayload!`:\n\n| Propriedade                                                                                                             | Tipo                   | Descrição                                                                                                  |\n| ----------------------------------------------------------------------------------------------------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------- |\n| `cart`                                                                                                                  | `Cart!`                | O carrinho com as cotações atualizadas.                                                                    |\n| `cart.checkout.fulfillmentGroups[].availableFulfillmentOptions[]`                                                       | `[FulfillmentOption]!` | Opções de frete disponíveis. Lista vazia = nenhuma opção cotada para o grupo.                              |\n| `...availableFulfillmentOptions[].fulfillmentMethod._id`                                                                | `ID!`                  | O `fulfillmentMethodId` a enviar em `selectFulfillmentOptionForGroup`.                                     |\n| `...availableFulfillmentOptions[].fulfillmentMethod.name` / `displayName` / `carrier` / `daysToDeliver` / `description` | —                      | Identificação e prazo (dias) da opção, para exibir ao comprador.                                           |\n| `...availableFulfillmentOptions[].price`                                                                                | `Money!`               | Preço total do frete (inclui `handlingPrice`).                                                             |\n| `...availableFulfillmentOptions[].handlingPrice`                                                                        | `Money!`               | Parcela de manuseio incluída em `price`.                                                                   |\n| `...availableFulfillmentOptions[].discountPrice`                                                                        | `Money!`               | Desconto aplicável ao frete (igual a `price` quando um cupom de frete grátis cobre esta opção; senão `0`). |\n| `clientMutationId`                                                                                                      | `String`               | O valor enviado no input.                                                                                  |\n\n### Erros\n\n| Código                                  | Condição                                                                                                   | O que fazer                                                                               |\n| --------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| `NOT_FOUND` (em `extensions.code`)      | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                                       |\n| `FULFILLMENT_GROUP_NOT_FOUND_ERROR`     | `fulfillmentGroupId` não existe neste carrinho.                                                            | Leia o carrinho (`anonymousCartByCartId`) e use um `_id` de `checkout.fulfillmentGroups`. |\n| `INVALID_LOGISTICS_PROVIDER_ERROR`      | A loja não tem um provedor de frete configurado.                                                           | Contate seu representante Unbox para configurar a logística da loja.                      |\n| `BAD_USER_INPUT` (em `extensions.code`) | Campo obrigatório ausente.                                                                                 | Corrija o `input`; o campo vem descrito em `message`.                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Defina o endereço antes.** A cotação usa o endereço de entrega do carrinho (`setShippingAddressOnCart`); sem ele, não espere opções válidas.\n- **Lista vazia não é erro.** Se nenhuma opção de frete atender o carrinho/endereço, a chamada retorna sucesso com `availableFulfillmentOptions: []`.\n- **A opção já escolhida não é reprecificada aqui.** Se as cotações mudarem, chame `selectFulfillmentOptionForGroup` de novo para gravar a opção com o preço atual — o `placeOrder` recalcula o frete escolhido e falha se o preço não bater.\n- Em geral o carrinho tem um único grupo de entrega (`checkout.fulfillmentGroups[0]`) com todos os itens; se houver mais de um, cote e selecione o frete de cada grupo."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"updateFulfillmentOptionsForGroup\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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    }\n  }\n}"},{"id":"dfc0d727-7c93-45a8-824c-42cb2d4263c9","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 UpdateFulfillmentOptionsForGroup($input: UpdateFulfillmentOptionsForGroupInput!) {\n  updateFulfillmentOptionsForGroup(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"cartToken\": \"Example_String\",\n    \"clientMutationId\": \"Example_String\",\n    \"fulfillmentGroupId\": \"{{fulfillmentGroupId}}\"\n  }\n}"}},"url":"{{base_url}}","description":"## updateFulfillmentOptionsForGroup\n\n**Propósito:** Cota o frete de um grupo de entrega do carrinho e atualiza a lista de opções disponíveis (`availableFulfillmentOptions`) com preços atuais.\n**Quando usar:** No checkout, depois de `setShippingAddressOnCart` e **sempre que os itens ou o endereço mudarem** (`addCartItems`, `removeCartItems`, `updateCartItemsQuantity`, novo endereço). Depois, escolha uma opção com `selectFulfillmentOptionForGroup`. **Idempotente** quanto ao estado; efeito colateral: nova cotação de frete a cada chamada e regravação das opções no carrinho.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Acesso pelo par `cartId` + `cartToken`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateFulfillmentOptionsForGroupInput!`.\n\n| Nome                       | Tipo     | Obrigatório | Default | Descrição                                                                                                 |\n| -------------------------- | -------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------- |\n| `input.cartId`             | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                        |\n| `input.cartToken`          | `String` | Sim         | —       | O `token` retornado em `createCart`. Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n| `input.fulfillmentGroupId` | `ID!`    | Sim         | —       | `_id` do grupo de entrega, de `cart.checkout.fulfillmentGroups[]._id`.                                    |\n| `input.clientMutationId`   | `String` | Não         | —       | Identificador livre seu, ecoado na resposta.                                                              |\n\n### Retorno\n\n`UpdateFulfillmentOptionsForGroupPayload!`:\n\n| Propriedade                                                                                                             | Tipo                   | Descrição                                                                                                  |\n| ----------------------------------------------------------------------------------------------------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------- |\n| `cart`                                                                                                                  | `Cart!`                | O carrinho com as cotações atualizadas.                                                                    |\n| `cart.checkout.fulfillmentGroups[].availableFulfillmentOptions[]`                                                       | `[FulfillmentOption]!` | Opções de frete disponíveis. Lista vazia = nenhuma opção cotada para o grupo.                              |\n| `...availableFulfillmentOptions[].fulfillmentMethod._id`                                                                | `ID!`                  | O `fulfillmentMethodId` a enviar em `selectFulfillmentOptionForGroup`.                                     |\n| `...availableFulfillmentOptions[].fulfillmentMethod.name` / `displayName` / `carrier` / `daysToDeliver` / `description` | —                      | Identificação e prazo (dias) da opção, para exibir ao comprador.                                           |\n| `...availableFulfillmentOptions[].price`                                                                                | `Money!`               | Preço total do frete (inclui `handlingPrice`).                                                             |\n| `...availableFulfillmentOptions[].handlingPrice`                                                                        | `Money!`               | Parcela de manuseio incluída em `price`.                                                                   |\n| `...availableFulfillmentOptions[].discountPrice`                                                                        | `Money!`               | Desconto aplicável ao frete (igual a `price` quando um cupom de frete grátis cobre esta opção; senão `0`). |\n| `clientMutationId`                                                                                                      | `String`               | O valor enviado no input.                                                                                  |\n\n### Erros\n\n| Código                                  | Condição                                                                                                   | O que fazer                                                                               |\n| --------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| `NOT_FOUND` (em `extensions.code`)      | Nenhum carrinho ativo casa com `cartId` + `cartToken` (inexistente, token errado, ou travado em checkout). | Confira o par `cartId`/`cartToken`.                                                       |\n| `FULFILLMENT_GROUP_NOT_FOUND_ERROR`     | `fulfillmentGroupId` não existe neste carrinho.                                                            | Leia o carrinho (`anonymousCartByCartId`) e use um `_id` de `checkout.fulfillmentGroups`. |\n| `INVALID_LOGISTICS_PROVIDER_ERROR`      | A loja não tem um provedor de frete configurado.                                                           | Contate seu representante Unbox para configurar a logística da loja.                      |\n| `BAD_USER_INPUT` (em `extensions.code`) | Campo obrigatório ausente.                                                                                 | Corrija o `input`; o campo vem descrito em `message`.                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Defina o endereço antes.** A cotação usa o endereço de entrega do carrinho (`setShippingAddressOnCart`); sem ele, não espere opções válidas.\n- **Lista vazia não é erro.** Se nenhuma opção de frete atender o carrinho/endereço, a chamada retorna sucesso com `availableFulfillmentOptions: []`.\n- **A opção já escolhida não é reprecificada aqui.** Se as cotações mudarem, chame `selectFulfillmentOptionForGroup` de novo para gravar a opção com o preço atual — o `placeOrder` recalcula o frete escolhido e falha se o preço não bater.\n- Em geral o carrinho tem um único grupo de entrega (`checkout.fulfillmentGroups[0]`) com todos os itens; se houver mais de um, cote e selecione o frete de cada grupo."},"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":"b6c581dc-dd6b-5f85-a295-28e4db516e34"},{"name":"[Mutation] createPaymentLink","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 createPaymentLink data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"createPaymentLink\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"ca432b01-4473-595f-b56a-052b1a57b2a5","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 CreatePaymentLink($input: CreatePaymentLinkInput!) {\n  createPaymentLink(input: $input) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\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    \"description\": \"Example_String\",\n    \"items\": [\n      {\n        \"images\": [\n          {\n            \"altText\": \"Example_String\"\n          }\n        ],\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        },\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"productERPCode\": \"Example_String\",\n        \"variantERPCode\": \"Example_String\"\n      }\n    ],\n    \"metadata\": {\n      \"customerData\": {\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    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"createpaymentlink\">createPaymentLink</h2>\n<p><strong>Propósito:</strong> Cria um link de pagamento na sua loja com itens avulsos (título, preço e quantidade livres — não precisam existir no catálogo), frete e restrições de uso.\n<strong>Quando usar:</strong> Para vender algo sob medida (orçamento, serviço, pedido fechado por um vendedor) sem montar um carrinho de produtos do catálogo. O comprador paga o link pela página hospedada ou pela sua integração (<code>publicPaymentLink</code> → <code>placePaymentLinkOrder</code>). <strong>Não é idempotente</strong>: cada chamada cria um link novo, com <code>_id</code>/<code>referenceId</code> próprios — se a chamada falhar por timeout, confira em <code>paymentLinks</code> antes de reenviar.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). A loja do link é a da conta autenticada; a conta precisa ter permissão para criar links de pagamento. <strong>Não envie <code>x-customer-token</code></strong>: esta operação exige a identidade da conta parceira, não a de um consumidor.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: CreatePaymentLinkInput!</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 link, exibido ao comprador.</td>\n</tr>\n<tr>\n<td><code>input.description</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Descrição do link.</td>\n</tr>\n<tr>\n<td><code>input.items</code></td>\n<td><code>[PaymentLinkItemInput!]!</code></td>\n<td>Sim (≥ 1)</td>\n<td>—</td>\n<td>Itens do link (ver tabela abaixo).</td>\n</tr>\n<tr>\n<td><code>input.constraints</code></td>\n<td><code>PaymentLinkConstraintsInput</code></td>\n<td><strong>Sim</strong></td>\n<td>—</td>\n<td>Restrições de uso. Opcional no schema, mas <strong>obrigatório na prática</strong> — sem ele a chamada falha na validação.</td>\n</tr>\n<tr>\n<td><code>input.constraints.buyerTypes</code></td>\n<td><code>[BuyerTypesEnum!]</code></td>\n<td><strong>Sim</strong></td>\n<td>—</td>\n<td>Quem pode comprar: <code>NATURAL_PERSON</code> (pessoa física), <code>COMPANY</code> (pessoa jurídica) ou ambos.</td>\n</tr>\n<tr>\n<td><code>input.constraints.usageLimit</code></td>\n<td><code>Int</code></td>\n<td>Não</td>\n<td>sem limite</td>\n<td>Máximo de pedidos que o link aceita (inteiro ≥ 0). Atingido, o link passa a <code>isSoldOut: true</code>.</td>\n</tr>\n<tr>\n<td><code>input.constraints.expirationDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Não</td>\n<td>sem expiração</td>\n<td>Data/hora a partir da qual o link expira (<code>isExpired: true</code>).</td>\n</tr>\n<tr>\n<td><code>input.shipping</code></td>\n<td><code>CartTemplateShippingInput</code></td>\n<td><strong>Sim</strong></td>\n<td>—</td>\n<td>Frete do link. Opcional no schema, mas <strong>obrigatório na prática</strong>. Ver tabela abaixo.</td>\n</tr>\n<tr>\n<td><code>input.metadata.customerData</code></td>\n<td><code>PaymentLinkCustomerDataInput</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Dados do comprador para pré-preencher o checkout. Cada campo (<code>firstName</code>, <code>lastName</code>, <code>email</code>, <code>phone</code>, <code>taxPayerId</code>, <code>postal</code>, <code>address1</code>, <code>number</code>, <code>address2</code>, <code>neighborhood</code>, <code>city</code>, <code>region</code>) é <code>{ value: String, editable: Boolean }</code> — <code>editable: false</code> impede o comprador de alterar o valor. Se enviar <code>email</code>, <code>email.value</code> é obrigatório.</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 sugerida/fixada: <code>unboxpay_credit</code>, <code>unboxpay_boleto</code>, <code>unboxpay_pix</code> ou <code>none</code>.</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><code>true</code> impede o comprador de 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><code>true</code> impede a aplicação de cupons no link.</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><code>true</code> impede que promoções automáticas da loja sejam aplicadas ao link.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-cada-item-paymentlinkiteminput\">Campos de cada item (<code>PaymentLinkItemInput</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>Obrigatório</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>Sim</td>\n<td>Nome do item.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Descrição do item.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>Int!</code></td>\n<td>Sim</td>\n<td>Inteiro ≥ 1.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td><code>MoneyInput!</code></td>\n<td>Sim</td>\n<td>Preço unitário <code>{ amount, currencyCode }</code>; <code>amount</code> &gt; 0, em formato decimal (ex.: <code>149.9</code>).</td>\n</tr>\n<tr>\n<td><code>productERPCode</code> / <code>variantERPCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>Códigos do seu ERP, para correlação.</td>\n</tr>\n<tr>\n<td><code>parcel</code></td>\n<td><code>ParcelInput</code></td>\n<td>Não</td>\n<td>Dimensões/peso do item: <code>{ weight, height, width, length }</code> — todos <code>Float!</code> (obrigatórios se <code>parcel</code> for enviado), ≥ 0.</td>\n</tr>\n<tr>\n<td><code>images</code></td>\n<td><code>[ImageUploadInput]</code></td>\n<td>Não</td>\n<td><strong>Não use</strong> — upload de imagem não é suportado por esta API (ver Notas).</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>Campo</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 (opcional no schema, obrigatório na prática)</td>\n<td><code>SHIPPING</code> (com entrega) ou <code>NONE</code> (sem entrega, ex.: serviço).</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 da sua loja permitidas neste link.</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 (decimal).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>PaymentLink</code> — mesma forma retornada por <code>paymentLink</code> (ver essa página para a tabela completa). O link nasce com <code>status: ACTIVE</code>, <code>ordersCount</code> zerado e <code>totalAmount</code> = soma de <code>price × quantity</code> dos itens.</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>INVALID_SHIPPING_VALUES_FOR_FULFILLMENT_TYPE_NONE_ERROR</code></td>\n<td><code>fulfillmentType: NONE</code> com <code>shippingValue</code> ou <code>fulfillmentOptionsIds</code>.</td>\n<td>Remova os campos de frete ou use <code>fulfillmentType: SHIPPING</code>.</td>\n</tr>\n<tr>\n<td><code>FULFILLMENT_OPTION_NOT_FOUND_ERROR</code></td>\n<td>Algum ID em <code>fulfillmentOptionsIds</code> não existe na sua loja.</td>\n<td>Confira os IDs das opções de frete da loja.</td>\n</tr>\n<tr>\n<td><code>PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR</code></td>\n<td>Algum ID em <code>fulfillmentOptionsIds</code> não é de uma opção de frete.</td>\n<td>Use apenas IDs de opções de frete.</td>\n</tr>\n<tr>\n<td><code>FULFILLMENT_OPTION_IS_DISABLED_ERROR</code></td>\n<td>Alguma opção de frete informada está desabilitada.</td>\n<td>Habilite a opção na loja ou remova-a da lista.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Validação do <code>input</code> (ex.: <code>constraints</code>/<code>shipping</code>/<code>buyerTypes</code> ausentes, <code>price.amount</code> ≤ 0, <code>quantity</code> &lt; 1).</td>\n<td>Corrija o <code>input</code>; o campo problemático vem descrito em <code>message</code>.</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 com um <code>Authorization</code> válido, sem <code>x-customer-token</code>; confirme com a Unbox se sua conta pode criar links.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Envie sempre <code>constraints</code> (com <code>buyerTypes</code>) e <code>shipping</code>.</strong> O schema os marca como opcionais, mas a validação da Unbox os exige.</li>\n<li><strong><code>images</code> não é suportado.</strong> O campo espera um upload de arquivo, o que não é possível neste endpoint JSON — omita-o; os itens ficam sem imagem.</li>\n<li><strong>A resposta não inclui a URL do checkout.</strong> Se você precisa de uma URL pronta para enviar ao comprador, use <code>createExternalCheckout</code>, que retorna <code>checkoutUrl</code>. Para acompanhar os links criados, use <code>paymentLink</code>/<code>paymentLinks</code>.</li>\n<li>Os itens do link são avulsos: não são validados contra o catálogo da loja.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1ea59abe-c553-444e-9c28-75524a8d75b2","name":"200 - createPaymentLink","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 CreatePaymentLink($input: CreatePaymentLinkInput!) {\n  createPaymentLink(input: $input) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\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    \"description\": \"Example_String\",\n    \"items\": [\n      {\n        \"images\": [\n          {\n            \"altText\": \"Example_String\"\n          }\n        ],\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        },\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"productERPCode\": \"Example_String\",\n        \"variantERPCode\": \"Example_String\"\n      }\n    ],\n    \"metadata\": {\n      \"customerData\": {\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    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createPaymentLink\n\n**Propósito:** Cria um link de pagamento na sua loja com itens avulsos (título, preço e quantidade livres — não precisam existir no catálogo), frete e restrições de uso.\n**Quando usar:** Para vender algo sob medida (orçamento, serviço, pedido fechado por um vendedor) sem montar um carrinho de produtos do catálogo. O comprador paga o link pela página hospedada ou pela sua integração (`publicPaymentLink` → `placePaymentLinkOrder`). **Não é idempotente**: cada chamada cria um link novo, com `_id`/`referenceId` próprios — se a chamada falhar por timeout, confira em `paymentLinks` antes de reenviar.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja do link é a da conta autenticada; a conta precisa ter permissão para criar links de pagamento. **Não envie `x-customer-token`**: esta operação exige a identidade da conta parceira, não a de um consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: CreatePaymentLinkInput!`.\n\n| Nome                               | Tipo                           | Obrigatório | Default       | Descrição                                                                                                                                                                                                                                                                                                                                                |\n| ---------------------------------- | ------------------------------ | ----------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.title`                      | `String!`                      | Sim         | —             | Título do link, exibido ao comprador.                                                                                                                                                                                                                                                                                                                    |\n| `input.description`                | `String`                       | Não         | —             | Descrição do link.                                                                                                                                                                                                                                                                                                                                       |\n| `input.items`                      | `[PaymentLinkItemInput!]!`     | Sim (≥ 1)   | —             | Itens do link (ver tabela abaixo).                                                                                                                                                                                                                                                                                                                       |\n| `input.constraints`                | `PaymentLinkConstraintsInput`  | **Sim**     | —             | Restrições de uso. Opcional no schema, mas **obrigatório na prática** — sem ele a chamada falha na validação.                                                                                                                                                                                                                                            |\n| `input.constraints.buyerTypes`     | `[BuyerTypesEnum!]`            | **Sim**     | —             | Quem pode comprar: `NATURAL_PERSON` (pessoa física), `COMPANY` (pessoa jurídica) ou ambos.                                                                                                                                                                                                                                                               |\n| `input.constraints.usageLimit`     | `Int`                          | Não         | sem limite    | Máximo de pedidos que o link aceita (inteiro ≥ 0). Atingido, o link passa a `isSoldOut: true`.                                                                                                                                                                                                                                                           |\n| `input.constraints.expirationDate` | `AWSDateTime`                  | Não         | sem expiração | Data/hora a partir da qual o link expira (`isExpired: true`).                                                                                                                                                                                                                                                                                            |\n| `input.shipping`                   | `CartTemplateShippingInput`    | **Sim**     | —             | Frete do link. Opcional no schema, mas **obrigatório na prática**. Ver tabela abaixo.                                                                                                                                                                                                                                                                    |\n| `input.metadata.customerData`      | `PaymentLinkCustomerDataInput` | Não         | —             | Dados do comprador para pré-preencher o checkout. Cada campo (`firstName`, `lastName`, `email`, `phone`, `taxPayerId`, `postal`, `address1`, `number`, `address2`, `neighborhood`, `city`, `region`) é `{ value: String, editable: Boolean }` — `editable: false` impede o comprador de alterar o valor. Se enviar `email`, `email.value` é obrigatório. |\n| `input.paymentMethod`              | `PaymentMethodName`            | Não         | —             | Forma de pagamento sugerida/fixada: `unboxpay_credit`, `unboxpay_boleto`, `unboxpay_pix` ou `none`.                                                                                                                                                                                                                                                      |\n| `input.blockPaymentMethodChange`   | `Boolean`                      | Não         | —             | `true` impede o comprador de trocar a forma de pagamento.                                                                                                                                                                                                                                                                                                |\n| `input.blockApplyDiscountCode`     | `Boolean`                      | Não         | —             | `true` impede a aplicação de cupons no link.                                                                                                                                                                                                                                                                                                             |\n| `input.blockApplyShopSale`         | `Boolean`                      | Não         | —             | `true` impede que promoções automáticas da loja sejam aplicadas ao link.                                                                                                                                                                                                                                                                                 |\n\n#### Campos de cada item (`PaymentLinkItemInput`)\n\n| Campo                               | Tipo                 | Obrigatório | Descrição                                                                                                                 |\n| ----------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `title`                             | `String!`            | Sim         | Nome do item.                                                                                                             |\n| `description`                       | `String`             | Não         | Descrição do item.                                                                                                        |\n| `quantity`                          | `Int!`               | Sim         | Inteiro ≥ 1.                                                                                                              |\n| `price`                             | `MoneyInput!`        | Sim         | Preço unitário `{ amount, currencyCode }`; `amount` > 0, em formato decimal (ex.: `149.9`).                               |\n| `productERPCode` / `variantERPCode` | `String`             | Não         | Códigos do seu ERP, para correlação.                                                                                      |\n| `parcel`                            | `ParcelInput`        | Não         | Dimensões/peso do item: `{ weight, height, width, length }` — todos `Float!` (obrigatórios se `parcel` for enviado), ≥ 0. |\n| `images`                            | `[ImageUploadInput]` | Não         | **Não use** — upload de imagem não é suportado por esta API (ver Notas).                                                  |\n\n#### Campos de `input.shipping` (`CartTemplateShippingInput`)\n\n| Campo                   | Tipo              | Obrigatório                                                                              | Descrição                                                       |\n| ----------------------- | ----------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------- |\n| `fulfillmentType`       | `FulfillmentType` | Sim (opcional no schema, obrigatório na prática)                                         | `SHIPPING` (com entrega) ou `NONE` (sem entrega, ex.: serviço). |\n| `fulfillmentOptionsIds` | `[ID!]`           | Proibido se `fulfillmentType: NONE`; obrigatório (mín. 1) se `shippingValue` for enviado | IDs das opções de frete da sua loja permitidas neste link.      |\n| `shippingValue`         | `MoneyInput`      | Proibido se `fulfillmentType: NONE`                                                      | Valor fixo de frete (decimal).                                  |\n\n### Retorno\n\n`PaymentLink` — mesma forma retornada por `paymentLink` (ver essa página para a tabela completa). O link nasce com `status: ACTIVE`, `ordersCount` zerado e `totalAmount` = soma de `price × quantity` dos itens.\n\n### Erros\n\n| Código                                                    | Condição                                                                                                        | O que fazer                                                                                                                          |\n| --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_SHIPPING_VALUES_FOR_FULFILLMENT_TYPE_NONE_ERROR` | `fulfillmentType: NONE` com `shippingValue` ou `fulfillmentOptionsIds`.                                         | Remova os campos de frete ou use `fulfillmentType: SHIPPING`.                                                                        |\n| `FULFILLMENT_OPTION_NOT_FOUND_ERROR`                      | Algum ID em `fulfillmentOptionsIds` não existe na sua loja.                                                     | Confira os IDs das opções de frete da loja.                                                                                          |\n| `PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR`           | Algum ID em `fulfillmentOptionsIds` não é de uma opção de frete.                                                | Use apenas IDs de opções de frete.                                                                                                   |\n| `FULFILLMENT_OPTION_IS_DISABLED_ERROR`                    | Alguma opção de frete informada está desabilitada.                                                              | Habilite a opção na loja ou remova-a da lista.                                                                                       |\n| _(sem código)_                                            | Validação do `input` (ex.: `constraints`/`shipping`/`buyerTypes` ausentes, `price.amount` ≤ 0, `quantity` < 1). | Corrija o `input`; o campo problemático vem descrito em `message`.                                                                   |\n| _(sem código)_                                            | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.                             | Refaça `signIn` e reenvie com um `Authorization` válido, sem `x-customer-token`; confirme com a Unbox se sua conta pode criar links. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Envie sempre `constraints` (com `buyerTypes`) e `shipping`.** O schema os marca como opcionais, mas a validação da Unbox os exige.\n- **`images` não é suportado.** O campo espera um upload de arquivo, o que não é possível neste endpoint JSON — omita-o; os itens ficam sem imagem.\n- **A resposta não inclui a URL do checkout.** Se você precisa de uma URL pronta para enviar ao comprador, use `createExternalCheckout`, que retorna `checkoutUrl`. Para acompanhar os links criados, use `paymentLink`/`paymentLinks`.\n- Os itens do link são avulsos: não são validados contra o catálogo da loja."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createPaymentLink\": {\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":"2ee74e7d-23d2-436e-8fba-f04bfeb57fd9","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 CreatePaymentLink($input: CreatePaymentLinkInput!) {\n  createPaymentLink(input: $input) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\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    \"description\": \"Example_String\",\n    \"items\": [\n      {\n        \"images\": [\n          {\n            \"altText\": \"Example_String\"\n          }\n        ],\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        },\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"productERPCode\": \"Example_String\",\n        \"variantERPCode\": \"Example_String\"\n      }\n    ],\n    \"metadata\": {\n      \"customerData\": {\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    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createPaymentLink\n\n**Propósito:** Cria um link de pagamento na sua loja com itens avulsos (título, preço e quantidade livres — não precisam existir no catálogo), frete e restrições de uso.\n**Quando usar:** Para vender algo sob medida (orçamento, serviço, pedido fechado por um vendedor) sem montar um carrinho de produtos do catálogo. O comprador paga o link pela página hospedada ou pela sua integração (`publicPaymentLink` → `placePaymentLinkOrder`). **Não é idempotente**: cada chamada cria um link novo, com `_id`/`referenceId` próprios — se a chamada falhar por timeout, confira em `paymentLinks` antes de reenviar.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja do link é a da conta autenticada; a conta precisa ter permissão para criar links de pagamento. **Não envie `x-customer-token`**: esta operação exige a identidade da conta parceira, não a de um consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: CreatePaymentLinkInput!`.\n\n| Nome                               | Tipo                           | Obrigatório | Default       | Descrição                                                                                                                                                                                                                                                                                                                                                |\n| ---------------------------------- | ------------------------------ | ----------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.title`                      | `String!`                      | Sim         | —             | Título do link, exibido ao comprador.                                                                                                                                                                                                                                                                                                                    |\n| `input.description`                | `String`                       | Não         | —             | Descrição do link.                                                                                                                                                                                                                                                                                                                                       |\n| `input.items`                      | `[PaymentLinkItemInput!]!`     | Sim (≥ 1)   | —             | Itens do link (ver tabela abaixo).                                                                                                                                                                                                                                                                                                                       |\n| `input.constraints`                | `PaymentLinkConstraintsInput`  | **Sim**     | —             | Restrições de uso. Opcional no schema, mas **obrigatório na prática** — sem ele a chamada falha na validação.                                                                                                                                                                                                                                            |\n| `input.constraints.buyerTypes`     | `[BuyerTypesEnum!]`            | **Sim**     | —             | Quem pode comprar: `NATURAL_PERSON` (pessoa física), `COMPANY` (pessoa jurídica) ou ambos.                                                                                                                                                                                                                                                               |\n| `input.constraints.usageLimit`     | `Int`                          | Não         | sem limite    | Máximo de pedidos que o link aceita (inteiro ≥ 0). Atingido, o link passa a `isSoldOut: true`.                                                                                                                                                                                                                                                           |\n| `input.constraints.expirationDate` | `AWSDateTime`                  | Não         | sem expiração | Data/hora a partir da qual o link expira (`isExpired: true`).                                                                                                                                                                                                                                                                                            |\n| `input.shipping`                   | `CartTemplateShippingInput`    | **Sim**     | —             | Frete do link. Opcional no schema, mas **obrigatório na prática**. Ver tabela abaixo.                                                                                                                                                                                                                                                                    |\n| `input.metadata.customerData`      | `PaymentLinkCustomerDataInput` | Não         | —             | Dados do comprador para pré-preencher o checkout. Cada campo (`firstName`, `lastName`, `email`, `phone`, `taxPayerId`, `postal`, `address1`, `number`, `address2`, `neighborhood`, `city`, `region`) é `{ value: String, editable: Boolean }` — `editable: false` impede o comprador de alterar o valor. Se enviar `email`, `email.value` é obrigatório. |\n| `input.paymentMethod`              | `PaymentMethodName`            | Não         | —             | Forma de pagamento sugerida/fixada: `unboxpay_credit`, `unboxpay_boleto`, `unboxpay_pix` ou `none`.                                                                                                                                                                                                                                                      |\n| `input.blockPaymentMethodChange`   | `Boolean`                      | Não         | —             | `true` impede o comprador de trocar a forma de pagamento.                                                                                                                                                                                                                                                                                                |\n| `input.blockApplyDiscountCode`     | `Boolean`                      | Não         | —             | `true` impede a aplicação de cupons no link.                                                                                                                                                                                                                                                                                                             |\n| `input.blockApplyShopSale`         | `Boolean`                      | Não         | —             | `true` impede que promoções automáticas da loja sejam aplicadas ao link.                                                                                                                                                                                                                                                                                 |\n\n#### Campos de cada item (`PaymentLinkItemInput`)\n\n| Campo                               | Tipo                 | Obrigatório | Descrição                                                                                                                 |\n| ----------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `title`                             | `String!`            | Sim         | Nome do item.                                                                                                             |\n| `description`                       | `String`             | Não         | Descrição do item.                                                                                                        |\n| `quantity`                          | `Int!`               | Sim         | Inteiro ≥ 1.                                                                                                              |\n| `price`                             | `MoneyInput!`        | Sim         | Preço unitário `{ amount, currencyCode }`; `amount` > 0, em formato decimal (ex.: `149.9`).                               |\n| `productERPCode` / `variantERPCode` | `String`             | Não         | Códigos do seu ERP, para correlação.                                                                                      |\n| `parcel`                            | `ParcelInput`        | Não         | Dimensões/peso do item: `{ weight, height, width, length }` — todos `Float!` (obrigatórios se `parcel` for enviado), ≥ 0. |\n| `images`                            | `[ImageUploadInput]` | Não         | **Não use** — upload de imagem não é suportado por esta API (ver Notas).                                                  |\n\n#### Campos de `input.shipping` (`CartTemplateShippingInput`)\n\n| Campo                   | Tipo              | Obrigatório                                                                              | Descrição                                                       |\n| ----------------------- | ----------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------- |\n| `fulfillmentType`       | `FulfillmentType` | Sim (opcional no schema, obrigatório na prática)                                         | `SHIPPING` (com entrega) ou `NONE` (sem entrega, ex.: serviço). |\n| `fulfillmentOptionsIds` | `[ID!]`           | Proibido se `fulfillmentType: NONE`; obrigatório (mín. 1) se `shippingValue` for enviado | IDs das opções de frete da sua loja permitidas neste link.      |\n| `shippingValue`         | `MoneyInput`      | Proibido se `fulfillmentType: NONE`                                                      | Valor fixo de frete (decimal).                                  |\n\n### Retorno\n\n`PaymentLink` — mesma forma retornada por `paymentLink` (ver essa página para a tabela completa). O link nasce com `status: ACTIVE`, `ordersCount` zerado e `totalAmount` = soma de `price × quantity` dos itens.\n\n### Erros\n\n| Código                                                    | Condição                                                                                                        | O que fazer                                                                                                                          |\n| --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_SHIPPING_VALUES_FOR_FULFILLMENT_TYPE_NONE_ERROR` | `fulfillmentType: NONE` com `shippingValue` ou `fulfillmentOptionsIds`.                                         | Remova os campos de frete ou use `fulfillmentType: SHIPPING`.                                                                        |\n| `FULFILLMENT_OPTION_NOT_FOUND_ERROR`                      | Algum ID em `fulfillmentOptionsIds` não existe na sua loja.                                                     | Confira os IDs das opções de frete da loja.                                                                                          |\n| `PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR`           | Algum ID em `fulfillmentOptionsIds` não é de uma opção de frete.                                                | Use apenas IDs de opções de frete.                                                                                                   |\n| `FULFILLMENT_OPTION_IS_DISABLED_ERROR`                    | Alguma opção de frete informada está desabilitada.                                                              | Habilite a opção na loja ou remova-a da lista.                                                                                       |\n| _(sem código)_                                            | Validação do `input` (ex.: `constraints`/`shipping`/`buyerTypes` ausentes, `price.amount` ≤ 0, `quantity` < 1). | Corrija o `input`; o campo problemático vem descrito em `message`.                                                                   |\n| _(sem código)_                                            | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.                             | Refaça `signIn` e reenvie com um `Authorization` válido, sem `x-customer-token`; confirme com a Unbox se sua conta pode criar links. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Envie sempre `constraints` (com `buyerTypes`) e `shipping`.** O schema os marca como opcionais, mas a validação da Unbox os exige.\n- **`images` não é suportado.** O campo espera um upload de arquivo, o que não é possível neste endpoint JSON — omita-o; os itens ficam sem imagem.\n- **A resposta não inclui a URL do checkout.** Se você precisa de uma URL pronta para enviar ao comprador, use `createExternalCheckout`, que retorna `checkoutUrl`. Para acompanhar os links criados, use `paymentLink`/`paymentLinks`.\n- Os itens do link são avulsos: não são validados contra o catálogo da loja."},"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":"c59c36b7-158d-4f1e-b887-9b5a80a18c24","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 CreatePaymentLink($input: CreatePaymentLinkInput!) {\n  createPaymentLink(input: $input) {\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\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  \"input\": {\n    \"title\": \"Example_String\",\n    \"constraints\": {\n      \"buyerTypes\": [\n        \"COMPANY\"\n      ],\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    \"description\": \"Example_String\",\n    \"items\": [\n      {\n        \"images\": [\n          {\n            \"altText\": \"Example_String\"\n          }\n        ],\n        \"parcel\": {\n          \"weight\": 99.99,\n          \"height\": 99.99,\n          \"width\": 99.99,\n          \"length\": 99.99\n        },\n        \"title\": \"Example_String\",\n        \"description\": \"Example_String\",\n        \"quantity\": 1,\n        \"price\": {\n          \"amount\": 99.99,\n          \"currencyCode\": \"BRL\"\n        },\n        \"productERPCode\": \"Example_String\",\n        \"variantERPCode\": \"Example_String\"\n      }\n    ],\n    \"metadata\": {\n      \"customerData\": {\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    \"paymentMethod\": \"none\",\n    \"blockPaymentMethodChange\": true,\n    \"blockApplyDiscountCode\": true,\n    \"blockApplyShopSale\": true\n  }\n}"}},"url":"{{base_url}}","description":"## createPaymentLink\n\n**Propósito:** Cria um link de pagamento na sua loja com itens avulsos (título, preço e quantidade livres — não precisam existir no catálogo), frete e restrições de uso.\n**Quando usar:** Para vender algo sob medida (orçamento, serviço, pedido fechado por um vendedor) sem montar um carrinho de produtos do catálogo. O comprador paga o link pela página hospedada ou pela sua integração (`publicPaymentLink` → `placePaymentLinkOrder`). **Não é idempotente**: cada chamada cria um link novo, com `_id`/`referenceId` próprios — se a chamada falhar por timeout, confira em `paymentLinks` antes de reenviar.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja do link é a da conta autenticada; a conta precisa ter permissão para criar links de pagamento. **Não envie `x-customer-token`**: esta operação exige a identidade da conta parceira, não a de um consumidor.\n\n### Argumentos\n\nÚnico argumento: `input: CreatePaymentLinkInput!`.\n\n| Nome                               | Tipo                           | Obrigatório | Default       | Descrição                                                                                                                                                                                                                                                                                                                                                |\n| ---------------------------------- | ------------------------------ | ----------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.title`                      | `String!`                      | Sim         | —             | Título do link, exibido ao comprador.                                                                                                                                                                                                                                                                                                                    |\n| `input.description`                | `String`                       | Não         | —             | Descrição do link.                                                                                                                                                                                                                                                                                                                                       |\n| `input.items`                      | `[PaymentLinkItemInput!]!`     | Sim (≥ 1)   | —             | Itens do link (ver tabela abaixo).                                                                                                                                                                                                                                                                                                                       |\n| `input.constraints`                | `PaymentLinkConstraintsInput`  | **Sim**     | —             | Restrições de uso. Opcional no schema, mas **obrigatório na prática** — sem ele a chamada falha na validação.                                                                                                                                                                                                                                            |\n| `input.constraints.buyerTypes`     | `[BuyerTypesEnum!]`            | **Sim**     | —             | Quem pode comprar: `NATURAL_PERSON` (pessoa física), `COMPANY` (pessoa jurídica) ou ambos.                                                                                                                                                                                                                                                               |\n| `input.constraints.usageLimit`     | `Int`                          | Não         | sem limite    | Máximo de pedidos que o link aceita (inteiro ≥ 0). Atingido, o link passa a `isSoldOut: true`.                                                                                                                                                                                                                                                           |\n| `input.constraints.expirationDate` | `AWSDateTime`                  | Não         | sem expiração | Data/hora a partir da qual o link expira (`isExpired: true`).                                                                                                                                                                                                                                                                                            |\n| `input.shipping`                   | `CartTemplateShippingInput`    | **Sim**     | —             | Frete do link. Opcional no schema, mas **obrigatório na prática**. Ver tabela abaixo.                                                                                                                                                                                                                                                                    |\n| `input.metadata.customerData`      | `PaymentLinkCustomerDataInput` | Não         | —             | Dados do comprador para pré-preencher o checkout. Cada campo (`firstName`, `lastName`, `email`, `phone`, `taxPayerId`, `postal`, `address1`, `number`, `address2`, `neighborhood`, `city`, `region`) é `{ value: String, editable: Boolean }` — `editable: false` impede o comprador de alterar o valor. Se enviar `email`, `email.value` é obrigatório. |\n| `input.paymentMethod`              | `PaymentMethodName`            | Não         | —             | Forma de pagamento sugerida/fixada: `unboxpay_credit`, `unboxpay_boleto`, `unboxpay_pix` ou `none`.                                                                                                                                                                                                                                                      |\n| `input.blockPaymentMethodChange`   | `Boolean`                      | Não         | —             | `true` impede o comprador de trocar a forma de pagamento.                                                                                                                                                                                                                                                                                                |\n| `input.blockApplyDiscountCode`     | `Boolean`                      | Não         | —             | `true` impede a aplicação de cupons no link.                                                                                                                                                                                                                                                                                                             |\n| `input.blockApplyShopSale`         | `Boolean`                      | Não         | —             | `true` impede que promoções automáticas da loja sejam aplicadas ao link.                                                                                                                                                                                                                                                                                 |\n\n#### Campos de cada item (`PaymentLinkItemInput`)\n\n| Campo                               | Tipo                 | Obrigatório | Descrição                                                                                                                 |\n| ----------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `title`                             | `String!`            | Sim         | Nome do item.                                                                                                             |\n| `description`                       | `String`             | Não         | Descrição do item.                                                                                                        |\n| `quantity`                          | `Int!`               | Sim         | Inteiro ≥ 1.                                                                                                              |\n| `price`                             | `MoneyInput!`        | Sim         | Preço unitário `{ amount, currencyCode }`; `amount` > 0, em formato decimal (ex.: `149.9`).                               |\n| `productERPCode` / `variantERPCode` | `String`             | Não         | Códigos do seu ERP, para correlação.                                                                                      |\n| `parcel`                            | `ParcelInput`        | Não         | Dimensões/peso do item: `{ weight, height, width, length }` — todos `Float!` (obrigatórios se `parcel` for enviado), ≥ 0. |\n| `images`                            | `[ImageUploadInput]` | Não         | **Não use** — upload de imagem não é suportado por esta API (ver Notas).                                                  |\n\n#### Campos de `input.shipping` (`CartTemplateShippingInput`)\n\n| Campo                   | Tipo              | Obrigatório                                                                              | Descrição                                                       |\n| ----------------------- | ----------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------- |\n| `fulfillmentType`       | `FulfillmentType` | Sim (opcional no schema, obrigatório na prática)                                         | `SHIPPING` (com entrega) ou `NONE` (sem entrega, ex.: serviço). |\n| `fulfillmentOptionsIds` | `[ID!]`           | Proibido se `fulfillmentType: NONE`; obrigatório (mín. 1) se `shippingValue` for enviado | IDs das opções de frete da sua loja permitidas neste link.      |\n| `shippingValue`         | `MoneyInput`      | Proibido se `fulfillmentType: NONE`                                                      | Valor fixo de frete (decimal).                                  |\n\n### Retorno\n\n`PaymentLink` — mesma forma retornada por `paymentLink` (ver essa página para a tabela completa). O link nasce com `status: ACTIVE`, `ordersCount` zerado e `totalAmount` = soma de `price × quantity` dos itens.\n\n### Erros\n\n| Código                                                    | Condição                                                                                                        | O que fazer                                                                                                                          |\n| --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |\n| `INVALID_SHIPPING_VALUES_FOR_FULFILLMENT_TYPE_NONE_ERROR` | `fulfillmentType: NONE` com `shippingValue` ou `fulfillmentOptionsIds`.                                         | Remova os campos de frete ou use `fulfillmentType: SHIPPING`.                                                                        |\n| `FULFILLMENT_OPTION_NOT_FOUND_ERROR`                      | Algum ID em `fulfillmentOptionsIds` não existe na sua loja.                                                     | Confira os IDs das opções de frete da loja.                                                                                          |\n| `PROVIDED_ID_IS_NOT_A_FULFILLMENT_OPTION_ERROR`           | Algum ID em `fulfillmentOptionsIds` não é de uma opção de frete.                                                | Use apenas IDs de opções de frete.                                                                                                   |\n| `FULFILLMENT_OPTION_IS_DISABLED_ERROR`                    | Alguma opção de frete informada está desabilitada.                                                              | Habilite a opção na loja ou remova-a da lista.                                                                                       |\n| _(sem código)_                                            | Validação do `input` (ex.: `constraints`/`shipping`/`buyerTypes` ausentes, `price.amount` ≤ 0, `quantity` < 1). | Corrija o `input`; o campo problemático vem descrito em `message`.                                                                   |\n| _(sem código)_                                            | Autenticação/permissão ausente ou inválida: a mensagem começa com `\"Unauthorized\"`.                             | Refaça `signIn` e reenvie com um `Authorization` válido, sem `x-customer-token`; confirme com a Unbox se sua conta pode criar links. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Envie sempre `constraints` (com `buyerTypes`) e `shipping`.** O schema os marca como opcionais, mas a validação da Unbox os exige.\n- **`images` não é suportado.** O campo espera um upload de arquivo, o que não é possível neste endpoint JSON — omita-o; os itens ficam sem imagem.\n- **A resposta não inclui a URL do checkout.** Se você precisa de uma URL pronta para enviar ao comprador, use `createExternalCheckout`, que retorna `checkoutUrl`. Para acompanhar os links criados, use `paymentLink`/`paymentLinks`.\n- Os itens do link são avulsos: não são validados contra o catálogo da loja."},"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":"ca432b01-4473-595f-b56a-052b1a57b2a5"}],"id":"ec3cf17a-7179-498d-b3d8-ca15cfdc0642","_postman_id":"ec3cf17a-7179-498d-b3d8-ca15cfdc0642","description":""}],"id":"c5497c10-9dcd-4d52-9b65-75c74233b708","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> — incluindo o <strong>checkout conduzido pela sua integração</strong>, etapa a etapa. É o fluxo alternativo ao <code>createExternalCheckout</code> (folder \"External Checkout\") para quem monta o carrinho em etapas, reaproveita configurações via templates ou cria links de pagamento avulsos.</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>createCart</code>, <code>createCartByTemplate</code>, <code>anonymousCartByCartId</code>, <code>addCartItems</code>, <code>updateCartItemsQuantity</code>, <code>removeCartItems</code>, <code>setEmailOnAnonymousCart</code>, <code>setShippingAddressOnCart</code>, <code>updateFulfillmentOptionsForGroup</code>, <code>selectFulfillmentOptionForGroup</code>, <code>updateCart</code>): a instância concreta de compra, criada do zero (<code>createCart</code>) ou a partir de um template (<code>createCartByTemplate</code>). Os carrinhos criados por esta API (<code>createCart</code>, <code>createCartByTemplate</code>) são <strong>anônimos</strong>: o acesso é pelo par <code>cartId</code> + <code>cartToken</code> (o <code>token</code> devolvido <strong>só</strong> na criação — guarde-o), não pela conta autenticada.</li>\n<li><strong>Link de pagamento avulso</strong> (<code>createPaymentLink</code>, <code>publicPaymentLink</code>): link com itens livres (fora do catálogo); <code>publicPaymentLink</code> simula os valores (cupom, parcelas, frete) antes do pagamento por <code>placePaymentLinkOrder</code>.</li>\n<li><strong>Carrinho abandonado</strong> (<code>abandonedCarts</code>): carrinho com itens que ficou parado sem virar pedido — matéria-prima para rotinas de recuperação. Ver a operação para a definição exata da janela e para os cuidados com <code>checkoutUrl</code>.</li>\n</ul>\n<h2 id=\"fluxo-de-checkout-em-etapas\">Fluxo de checkout em etapas</h2>\n<p>Resumo: <code>createCart</code> → itens → endereço → cotação e escolha do frete → cupom (opcional) → pagamento → <code>placeOrder</code>. A sequência completa, com o que é obrigatório e o que é opcional (inclusive <code>setEmailOnAnonymousCart</code> e <code>updateCart</code>), está em \"Checkout próprio: fluxo recomendado\", no folder Orders.</p>\n<p>Para links de pagamento, o equivalente é <code>createPaymentLink</code> → <code>publicPaymentLink</code> (simulação) → <code>placePaymentLinkOrder</code>.</p>\n<h2 id=\"paginação\">Paginação</h2>\n<p>As listagens (<code>paymentLinks</code>, <code>cartTemplates</code>, <code>abandonedCarts</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>createCart</code>, <code>createCartByTemplate</code> e <code>createPaymentLink</code> não são idempotentes:</strong> cada chamada cria um novo recurso. <code>addCartItems</code> também não (soma a quantidade a cada chamada); <code>updateCartItemsQuantity</code>, <code>removeCartItems</code>, <code>setEmailOnAnonymousCart</code>, <code>setShippingAddressOnCart</code> e <code>selectFulfillmentOptionForGroup</code> podem ser repetidas com segurança.</li>\n<li><strong><code>createCartByTemplate</code>:</strong> diferente das demais operações desta API, pede <code>shopId</code> <strong>explicitamente</strong> no input (não é derivado do token) — veja a documentação da operação.</li>\n<li><strong>Nome do token do carrinho.</strong> O token do carrinho se chama <code>cartToken</code> na maioria das operações e <code>token</code> nas de cupom (<code>applyDiscountCodeToCart</code>, <code>removeDiscountCodeFromCart</code>). Carrinho não encontrado retorna <code>CART_NOT_FOUND_ERROR</code> (em <code>message</code>) ou <code>NOT_FOUND</code> (em <code>extensions.code</code>) conforme a operação — trate como o mesmo caso. <code>placeOrder</code> recebe apenas <code>cartId</code>.</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<li><strong>Paginação sobre conjunto que muda sozinho:</strong> em listagens cujo resultado depende do tempo — o caso de <code>abandonedCarts</code> — fixe a janela de filtro antes de começar a paginar e mantenha o mesmo valor em todas as páginas. Caso contrário, itens que saem do conjunto no meio da varredura fazem as páginas seguintes deslizarem.</li>\n</ul>\n","_postman_id":"c5497c10-9dcd-4d52-9b65-75c74233b708"},{"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\");","        }","        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.shortDescription !== undefined && data.shortDescription !== null) {","            pm.expect(typeof data.shortDescription).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    titleLabel\n    highlightLabel\n    shortDescription\n    productId\n    erpCode\n    shopId\n    isActive\n    linkedProducts {\n      erpCode\n      productId\n      title\n      label\n      titleLabel\n      highlightLabel\n      shortDescription\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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":"97c23969-ee55-4bfa-9eb1-20369327d66a","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    titleLabel\n    highlightLabel\n    shortDescription\n    productId\n    erpCode\n    shopId\n    isActive\n    linkedProducts {\n      erpCode\n      productId\n      title\n      label\n      titleLabel\n      highlightLabel\n      shortDescription\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      \"titleLabel\": \"Example_String\",\n      \"highlightLabel\": \"Example_String\",\n      \"shortDescription\": \"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          \"titleLabel\": \"Example_String\",\n          \"highlightLabel\": \"Example_String\",\n          \"shortDescription\": \"Example_String\",\n          \"slug\": \"Example_String\",\n          \"imageUrls\": [\n            \"https://exemplo.com\"\n          ]\n        }\n      ]\n    }\n  }\n}"},{"id":"5f65951a-3a38-4426-ae40-7886a93c5509","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    titleLabel\n    highlightLabel\n    shortDescription\n    productId\n    erpCode\n    shopId\n    isActive\n    linkedProducts {\n      erpCode\n      productId\n      title\n      label\n      titleLabel\n      highlightLabel\n      shortDescription\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        titleLabel\n        highlightLabel\n        shortDescription\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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      titleLabel\n      highlightLabel\n      shortDescription\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        titleLabel\n        highlightLabel\n        shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\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":"32956409-b153-43e4-8795-29b1e33b1944","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        titleLabel\n        highlightLabel\n        shortDescription\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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      titleLabel\n      highlightLabel\n      shortDescription\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        titleLabel\n        highlightLabel\n        shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\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          \"titleLabel\": \"Example_String\",\n          \"highlightLabel\": \"Example_String\",\n          \"shortDescription\": \"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":"b011412e-a1ab-46d0-8614-5bde3227c69b","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        titleLabel\n        highlightLabel\n        shortDescription\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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      titleLabel\n      highlightLabel\n      shortDescription\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        titleLabel\n        highlightLabel\n        shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\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":"bd88f933-ccff-4e7e-8944-4930b748be88","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        titleLabel\n        highlightLabel\n        shortDescription\n        productId\n        erpCode\n        shopId\n        isActive\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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      titleLabel\n      highlightLabel\n      shortDescription\n      productId\n      erpCode\n      shopId\n      isActive\n      linkedProducts {\n        erpCode\n        productId\n        title\n        label\n        titleLabel\n        highlightLabel\n        shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"6106ec64-5c3a-4dd7-b61e-d97c0fd5624a","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"f306bda4-07e6-4d7f-8c64-e97cc2bbcf8e","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        titleLabel\n        highlightLabel\n        shortDescription\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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":"2efe14a7-aee6-47da-9531-740a15527e6b","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        titleLabel\n        highlightLabel\n        shortDescription\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\n        \"sitemap\": \"Example_String\"\n      },\n      \"updatedAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"91f60867-c06c-4cc5-addc-7c265ae77c5f","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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        titleLabel\n        highlightLabel\n        shortDescription\n        linkedProducts {\n          erpCode\n          productId\n          title\n          label\n          titleLabel\n          highlightLabel\n          shortDescription\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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":"a5ed5e53-4a9c-4ea0-87cf-a9a5b63a116a","_postman_id":"a5ed5e53-4a9c-4ea0-87cf-a9a5b63a116a","description":""}],"id":"71287511-759f-47fb-96e1-ca9ce9ab4d90","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":"71287511-759f-47fb-96e1-ca9ce9ab4d90"},{"name":"Custom Storefront","item":[{"name":"Query","item":[{"name":"[Query] customStorefront","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 customStorefront data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customStorefront\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customStorefront returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.customStorefront;","    ","    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(\"status\");","        if (data.status !== undefined && data.status !== null) {","            pm.expect(typeof data.status).to.equal(\"string\");","        }","        if (data.currentStep !== undefined && data.currentStep !== null) {","            pm.expect(typeof data.currentStep).to.equal(\"string\");","        }","        if (data.repositorySshUrl !== undefined && data.repositorySshUrl !== null) {","            pm.expect(typeof data.repositorySshUrl).to.equal(\"string\");","        }","        if (data.previewUrl !== undefined && data.previewUrl !== null) {","            pm.expect(typeof data.previewUrl).to.equal(\"string\");","        }","        if (data.lastErrorCode !== undefined && data.lastErrorCode !== null) {","            pm.expect(typeof data.lastErrorCode).to.equal(\"string\");","        }","        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":"99da8ba2-5fbe-508b-a2e9-4619d31aa417","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 CustomStorefront {\n  customStorefront {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"customstorefront\">customStorefront</h2>\n<p><strong>Propósito:</strong> Retorna o estado do provisionamento da custom storefront da sua loja.\n<strong>Quando usar:</strong> Para acompanhar o provisionamento depois de <code>provisionCustomStorefront</code>, até <code>status</code> ser <code>READY</code> ou <code>FAILED</code> (intervalos e teto em <strong>Fluxo</strong>, na pasta Custom Storefront), e para obter o <code>repositorySshUrl</code> antes de publicar e o <code>previewUrl</code> (endereço fixo do preview mais recente). Somente leitura.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Retorna a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de <strong>leitura</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefront</code> (campos descritos na pasta <strong>Custom Storefront</strong>), ou <code>null</code> se a loja nunca chamou <code>provisionCustomStorefront</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Situação</th>\n<th>O que observar</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Em andamento</td>\n<td><code>status: PROVISIONING</code>. <code>currentStep</code> mostra o passo atual (<code>null</code> no início); <code>lastErrorCode</code> pode trazer uma falha que está sendo retentada.</td>\n</tr>\n<tr>\n<td>Pronto</td>\n<td><code>status: READY</code>; <code>repositorySshUrl</code> e <code>previewUrl</code> preenchidos (<code>previewUrl</code> só se a loja tiver o endereço Unbox); <code>currentStep</code> <code>null</code>.</td>\n</tr>\n<tr>\n<td>Falhou</td>\n<td><code>status: FAILED</code>; <code>lastErrorCode</code> traz o motivo; <code>currentStep</code> mostra onde parou (<code>null</code> = no primeiro passo).</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>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de leitura na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>null</code> não é erro:</strong> significa que o provisionamento nunca foi iniciado para esta loja.</li>\n<li><strong><code>lastErrorCode</code> com <code>PROVISIONING</code> não é falha definitiva:</strong> a falha está sendo retentada. Só trate como falha quando <code>status</code> for <code>FAILED</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5a3c02eb-dd49-41ec-96b6-4ddef33a62f0","name":"200 - customStorefront","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 CustomStorefront {\n  customStorefront {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefront\n\n**Propósito:** Retorna o estado do provisionamento da custom storefront da sua loja.\n**Quando usar:** Para acompanhar o provisionamento depois de `provisionCustomStorefront`, até `status` ser `READY` ou `FAILED` (intervalos e teto em **Fluxo**, na pasta Custom Storefront), e para obter o `repositorySshUrl` antes de publicar e o `previewUrl` (endereço fixo do preview mais recente). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Retorna a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefront` (campos descritos na pasta **Custom Storefront**), ou `null` se a loja nunca chamou `provisionCustomStorefront`.\n\n| Situação     | O que observar                                                                                                                                 |\n| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |\n| Em andamento | `status: PROVISIONING`. `currentStep` mostra o passo atual (`null` no início); `lastErrorCode` pode trazer uma falha que está sendo retentada. |\n| Pronto       | `status: READY`; `repositorySshUrl` e `previewUrl` preenchidos (`previewUrl` só se a loja tiver o endereço Unbox); `currentStep` `null`.       |\n| Falhou       | `status: FAILED`; `lastErrorCode` traz o motivo; `currentStep` mostra onde parou (`null` = no primeiro passo).                                 |\n\n### Erros\n\n| Código                 | Condição                                                                                                                         | O que fazer                                                        |\n| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `SHOP_NOT_FOUND_ERROR` | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                    |\n| _(sem código)_         | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n| _(sem código)_         | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **`null` não é erro:** significa que o provisionamento nunca foi iniciado para esta loja.\n- **`lastErrorCode` com `PROVISIONING` não é falha definitiva:** a falha está sendo retentada. Só trate como falha quando `status` for `FAILED`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customStorefront\": {\n      \"_id\": \"Example_String\",\n      \"status\": \"PROVISIONING\",\n      \"currentStep\": \"HOSTING_PROJECT\",\n      \"repositorySshUrl\": \"https://exemplo.com\",\n      \"previewUrl\": \"https://exemplo.com\",\n      \"lastErrorCode\": \"Example_String\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"632ebe0a-83d4-4818-9e80-fba9f14671cc","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 CustomStorefront {\n  customStorefront {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefront\n\n**Propósito:** Retorna o estado do provisionamento da custom storefront da sua loja.\n**Quando usar:** Para acompanhar o provisionamento depois de `provisionCustomStorefront`, até `status` ser `READY` ou `FAILED` (intervalos e teto em **Fluxo**, na pasta Custom Storefront), e para obter o `repositorySshUrl` antes de publicar e o `previewUrl` (endereço fixo do preview mais recente). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Retorna a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefront` (campos descritos na pasta **Custom Storefront**), ou `null` se a loja nunca chamou `provisionCustomStorefront`.\n\n| Situação     | O que observar                                                                                                                                 |\n| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |\n| Em andamento | `status: PROVISIONING`. `currentStep` mostra o passo atual (`null` no início); `lastErrorCode` pode trazer uma falha que está sendo retentada. |\n| Pronto       | `status: READY`; `repositorySshUrl` e `previewUrl` preenchidos (`previewUrl` só se a loja tiver o endereço Unbox); `currentStep` `null`.       |\n| Falhou       | `status: FAILED`; `lastErrorCode` traz o motivo; `currentStep` mostra onde parou (`null` = no primeiro passo).                                 |\n\n### Erros\n\n| Código                 | Condição                                                                                                                         | O que fazer                                                        |\n| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `SHOP_NOT_FOUND_ERROR` | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                    |\n| _(sem código)_         | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n| _(sem código)_         | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **`null` não é erro:** significa que o provisionamento nunca foi iniciado para esta loja.\n- **`lastErrorCode` com `PROVISIONING` não é falha definitiva:** a falha está sendo retentada. Só trate como falha quando `status` for `FAILED`."},"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":"423cf7cd-5fa0-4f5a-bcca-8af4eeb40446","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 CustomStorefront {\n  customStorefront {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefront\n\n**Propósito:** Retorna o estado do provisionamento da custom storefront da sua loja.\n**Quando usar:** Para acompanhar o provisionamento depois de `provisionCustomStorefront`, até `status` ser `READY` ou `FAILED` (intervalos e teto em **Fluxo**, na pasta Custom Storefront), e para obter o `repositorySshUrl` antes de publicar e o `previewUrl` (endereço fixo do preview mais recente). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Retorna a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefront` (campos descritos na pasta **Custom Storefront**), ou `null` se a loja nunca chamou `provisionCustomStorefront`.\n\n| Situação     | O que observar                                                                                                                                 |\n| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |\n| Em andamento | `status: PROVISIONING`. `currentStep` mostra o passo atual (`null` no início); `lastErrorCode` pode trazer uma falha que está sendo retentada. |\n| Pronto       | `status: READY`; `repositorySshUrl` e `previewUrl` preenchidos (`previewUrl` só se a loja tiver o endereço Unbox); `currentStep` `null`.       |\n| Falhou       | `status: FAILED`; `lastErrorCode` traz o motivo; `currentStep` mostra onde parou (`null` = no primeiro passo).                                 |\n\n### Erros\n\n| Código                 | Condição                                                                                                                         | O que fazer                                                        |\n| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `SHOP_NOT_FOUND_ERROR` | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                    |\n| _(sem código)_         | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido. |\n| _(sem código)_         | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **`null` não é erro:** significa que o provisionamento nunca foi iniciado para esta loja.\n- **`lastErrorCode` com `PROVISIONING` não é falha definitiva:** a falha está sendo retentada. Só trate como falha quando `status` for `FAILED`."},"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":"99da8ba2-5fbe-508b-a2e9-4619d31aa417"},{"name":"[Query] customStorefrontDeployKeys","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 customStorefrontDeployKeys data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customStorefrontDeployKeys\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customStorefrontDeployKeys returns valid array structure\", function() {","    const json = pm.response.json();","    const data = json.data.customStorefrontDeployKeys;","    ","    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\");","        }","        pm.expect(data).to.have.property(\"title\");","        if (data.title !== undefined && data.title !== null) {","            pm.expect(typeof data.title).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"fingerprint\");","        if (data.fingerprint !== undefined && data.fingerprint !== null) {","            pm.expect(typeof data.fingerprint).to.equal(\"string\");","        }","        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":"45b13677-9f0f-5366-a7c4-62dd811d6510","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 CustomStorefrontDeployKeys {\n  customStorefrontDeployKeys {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"customstorefrontdeploykeys\">customStorefrontDeployKeys</h2>\n<p><strong>Propósito:</strong> Lista as chaves SSH de deploy que podem fazer push na custom storefront da sua loja.\n<strong>Quando usar:</strong> Para mostrar quais máquinas, pessoas ou pipelines de CI têm acesso de push, conferir se uma chave local está registrada (compare o <code>fingerprint</code> com o 2º campo da saída de <code>ssh-keygen -lf</code>: <code>ssh-keygen -lf &lt;chave&gt;.pub | awk '{print $2}'</code>) e obter o <code>_id</code> ou o <code>fingerprint</code> antes de revogar uma chave com <code>removeCustomStorefrontDeployKey</code>. Só leitura, seguro para repetir.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>leitura</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p>Lista de <code>CustomStorefrontDeployKey</code>, da mais antiga para a mais nova. A chave registrada no provisionamento aparece com o título <code>cli-&lt;nome do repositório&gt;</code>, enquanto não for removida. A chave em si nunca é retornada.</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 chave. Use em <code>removeCustomStorefrontDeployKey</code>.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td><code>String!</code></td>\n<td>Título dado ao adicionar a chave (ex.: nome da máquina).</td>\n</tr>\n<tr>\n<td><code>fingerprint</code></td>\n<td><code>String!</code></td>\n<td>Fingerprint SHA256 no formato do OpenSSH (<code>SHA256:...</code>), igual ao 2º campo da saída de <code>ssh-keygen -lf &lt;chave&gt;.pub</code>.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Quando a chave foi adicionada.</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>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: sem custom storefront, use <code>provisionCustomStorefront</code>; com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR</code></td>\n<td>Falha temporária ao ler as chaves no servidor Git.</td>\n<td>Repita a chamada. Persistindo, contate a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de leitura na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha inesperada ao ler as chaves.</td>\n<td>Repita a chamada. Persistindo, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Lista vazia é possível:</strong> se todas as chaves forem removidas, ninguém consegue fazer push até uma chave nova ser adicionada com <code>addCustomStorefrontDeployKey</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"dc0df33a-3cec-46a7-ac74-bb41922b963d","name":"200 - customStorefrontDeployKeys","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 CustomStorefrontDeployKeys {\n  customStorefrontDeployKeys {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontDeployKeys\n\n**Propósito:** Lista as chaves SSH de deploy que podem fazer push na custom storefront da sua loja.\n**Quando usar:** Para mostrar quais máquinas, pessoas ou pipelines de CI têm acesso de push, conferir se uma chave local está registrada (compare o `fingerprint` com o 2º campo da saída de `ssh-keygen -lf`: `ssh-keygen -lf <chave>.pub | awk '{print $2}'`) e obter o `_id` ou o `fingerprint` antes de revogar uma chave com `removeCustomStorefrontDeployKey`. Só leitura, seguro para repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\nLista de `CustomStorefrontDeployKey`, da mais antiga para a mais nova. A chave registrada no provisionamento aparece com o título `cli-<nome do repositório>`, enquanto não for removida. A chave em si nunca é retornada.\n\n| Propriedade   | Tipo          | Descrição                                                                                                            |\n| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave. Use em `removeCustomStorefrontDeployKey`.                                                    |\n| `title`       | `String!`     | Título dado ao adicionar a chave (ex.: nome da máquina).                                                             |\n| `fingerprint` | `String!`     | Fingerprint SHA256 no formato do OpenSSH (`SHA256:...`), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n| `createdAt`   | `AWSDateTime` | Quando a chave foi adicionada.                                                                                       |\n\n### Erros\n\n| Código                                         | Condição                                                                                                                         | O que fazer                                                                                                                                                                        |\n| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`            | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`       | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                                                                                      |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR` | Falha temporária ao ler as chaves no servidor Git.                                                                               | Repita a chamada. Persistindo, contate a Unbox.                                                                                                                                    |\n| `SHOP_NOT_FOUND_ERROR`                         | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(qualquer outro código)_                      | Falha inesperada ao ler as chaves.                                                                                               | Repita a chamada. Persistindo, contate a Unbox.                                                                                                                                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Lista vazia é possível:** se todas as chaves forem removidas, ninguém consegue fazer push até uma chave nova ser adicionada com `addCustomStorefrontDeployKey`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customStorefrontDeployKeys\": [\n      {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"fingerprint\": \"Example_String\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\"\n      }\n    ]\n  }\n}"},{"id":"ed483347-f7d2-4720-97aa-15c5911c3674","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 CustomStorefrontDeployKeys {\n  customStorefrontDeployKeys {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontDeployKeys\n\n**Propósito:** Lista as chaves SSH de deploy que podem fazer push na custom storefront da sua loja.\n**Quando usar:** Para mostrar quais máquinas, pessoas ou pipelines de CI têm acesso de push, conferir se uma chave local está registrada (compare o `fingerprint` com o 2º campo da saída de `ssh-keygen -lf`: `ssh-keygen -lf <chave>.pub | awk '{print $2}'`) e obter o `_id` ou o `fingerprint` antes de revogar uma chave com `removeCustomStorefrontDeployKey`. Só leitura, seguro para repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\nLista de `CustomStorefrontDeployKey`, da mais antiga para a mais nova. A chave registrada no provisionamento aparece com o título `cli-<nome do repositório>`, enquanto não for removida. A chave em si nunca é retornada.\n\n| Propriedade   | Tipo          | Descrição                                                                                                            |\n| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave. Use em `removeCustomStorefrontDeployKey`.                                                    |\n| `title`       | `String!`     | Título dado ao adicionar a chave (ex.: nome da máquina).                                                             |\n| `fingerprint` | `String!`     | Fingerprint SHA256 no formato do OpenSSH (`SHA256:...`), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n| `createdAt`   | `AWSDateTime` | Quando a chave foi adicionada.                                                                                       |\n\n### Erros\n\n| Código                                         | Condição                                                                                                                         | O que fazer                                                                                                                                                                        |\n| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`            | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`       | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                                                                                      |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR` | Falha temporária ao ler as chaves no servidor Git.                                                                               | Repita a chamada. Persistindo, contate a Unbox.                                                                                                                                    |\n| `SHOP_NOT_FOUND_ERROR`                         | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(qualquer outro código)_                      | Falha inesperada ao ler as chaves.                                                                                               | Repita a chamada. Persistindo, contate a Unbox.                                                                                                                                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Lista vazia é possível:** se todas as chaves forem removidas, ninguém consegue fazer push até uma chave nova ser adicionada com `addCustomStorefrontDeployKey`."},"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":"fb386b76-8200-41d9-a617-e1712d7fa9b0","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 CustomStorefrontDeployKeys {\n  customStorefrontDeployKeys {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontDeployKeys\n\n**Propósito:** Lista as chaves SSH de deploy que podem fazer push na custom storefront da sua loja.\n**Quando usar:** Para mostrar quais máquinas, pessoas ou pipelines de CI têm acesso de push, conferir se uma chave local está registrada (compare o `fingerprint` com o 2º campo da saída de `ssh-keygen -lf`: `ssh-keygen -lf <chave>.pub | awk '{print $2}'`) e obter o `_id` ou o `fingerprint` antes de revogar uma chave com `removeCustomStorefrontDeployKey`. Só leitura, seguro para repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\nLista de `CustomStorefrontDeployKey`, da mais antiga para a mais nova. A chave registrada no provisionamento aparece com o título `cli-<nome do repositório>`, enquanto não for removida. A chave em si nunca é retornada.\n\n| Propriedade   | Tipo          | Descrição                                                                                                            |\n| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave. Use em `removeCustomStorefrontDeployKey`.                                                    |\n| `title`       | `String!`     | Título dado ao adicionar a chave (ex.: nome da máquina).                                                             |\n| `fingerprint` | `String!`     | Fingerprint SHA256 no formato do OpenSSH (`SHA256:...`), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n| `createdAt`   | `AWSDateTime` | Quando a chave foi adicionada.                                                                                       |\n\n### Erros\n\n| Código                                         | Condição                                                                                                                         | O que fazer                                                                                                                                                                        |\n| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`            | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`       | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                                                                                      |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR` | Falha temporária ao ler as chaves no servidor Git.                                                                               | Repita a chamada. Persistindo, contate a Unbox.                                                                                                                                    |\n| `SHOP_NOT_FOUND_ERROR`                         | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(qualquer outro código)_                      | Falha inesperada ao ler as chaves.                                                                                               | Repita a chamada. Persistindo, contate a Unbox.                                                                                                                                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Lista vazia é possível:** se todas as chaves forem removidas, ninguém consegue fazer push até uma chave nova ser adicionada com `addCustomStorefrontDeployKey`."},"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":"45b13677-9f0f-5366-a7c4-62dd811d6510"},{"name":"[Query] customStorefrontDeployment","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 customStorefrontDeployment data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customStorefrontDeployment\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customStorefrontDeployment returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.customStorefrontDeployment;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"commitSha\");","        if (data.commitSha !== undefined && data.commitSha !== null) {","            pm.expect(typeof data.commitSha).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"state\");","        if (data.state !== undefined && data.state !== null) {","            pm.expect(typeof data.state).to.equal(\"string\");","        }","        if (data.url !== undefined && data.url !== null) {","            pm.expect(typeof data.url).to.equal(\"string\");","        }","    }","});"]}}],"id":"4f5fc50c-4ccc-5cae-82d7-dd46cfd0b280","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 CustomStorefrontDeployment($commitSha: String!) {\n  customStorefrontDeployment(commitSha: $commitSha) {\n    commitSha\n    state\n    url\n  }\n}","variables":"{\n  \"commitSha\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customstorefrontdeployment\">customStorefrontDeployment</h2>\n<p><strong>Propósito:</strong> Retorna o estado do deploy de um commit enviado ao repositório da custom storefront da sua loja e, quando concluído, a URL pública do preview.\n<strong>Quando usar:</strong> Logo depois de cada <code>git push</code> para a branch <code>deploy</code>, com o hash do último commit enviado, consultando até <code>state</code> ser <code>SUCCESS</code> ou <code>FAILURE</code> (intervalos, teto e significado dos estados em <strong>Fluxo</strong> e em <code>CustomStorefrontDeploymentState</code>, na pasta Custom Storefront). Somente leitura.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Consulta o repositório da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>leitura</strong> na custom storefront.</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>commitSha</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Hash <strong>completo</strong> (40 caracteres hexadecimais) do último commit enviado no push, como em <code>git rev-parse HEAD</code>. Maiúsculas e espaços nas pontas são aceitos.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontDeployment</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>commitSha</code></td>\n<td><code>String!</code></td>\n<td>O commit consultado, normalizado em minúsculas.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td><code>CustomStorefrontDeploymentState!</code></td>\n<td><code>PENDING</code>, <code>SUCCESS</code> ou <code>FAILURE</code> (ver pasta Custom Storefront).</td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td><code>String</code></td>\n<td>URL pública do preview. Preenchida só com <code>SUCCESS</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>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de leitura na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> cita <code>commitSha</code>: valor que não é um hash completo (abreviado, nome de branch, caracteres inválidos).</td>\n<td>Envie a saída de <code>git rev-parse HEAD</code>.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha temporária ao consultar o estado do deploy.</td>\n<td>Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox informando o <code>commitSha</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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>PENDING</code> que nunca termina:</strong> só o último commit de cada push gera deploy. Um commit intermediário, recusado pelo servidor ou que não foi enviado permanece <code>PENDING</code>. Antes de tratar um <code>PENDING</code> prolongado como problema, confirme que o hash é o topo remoto: <code>git -C vitrine ls-remote origin deploy</code>.</li>\n<li><strong>Cada push gera um preview com URL própria:</strong> consulte sempre o commit que acabou de enviar. Se a Unbox refizer o deploy de um commit, vale o resultado mais recente.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d8a7cb85-b741-4e26-87bb-90c4dd033e62","name":"200 - customStorefrontDeployment","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 CustomStorefrontDeployment($commitSha: String!) {\n  customStorefrontDeployment(commitSha: $commitSha) {\n    commitSha\n    state\n    url\n  }\n}","variables":"{\n  \"commitSha\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customStorefrontDeployment\n\n**Propósito:** Retorna o estado do deploy de um commit enviado ao repositório da custom storefront da sua loja e, quando concluído, a URL pública do preview.\n**Quando usar:** Logo depois de cada `git push` para a branch `deploy`, com o hash do último commit enviado, consultando até `state` ser `SUCCESS` ou `FAILURE` (intervalos, teto e significado dos estados em **Fluxo** e em `CustomStorefrontDeploymentState`, na pasta Custom Storefront). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Consulta o repositório da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\n| Nome        | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                   |\n| ----------- | --------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `commitSha` | `String!` | Sim         | —       | Hash **completo** (40 caracteres hexadecimais) do último commit enviado no push, como em `git rev-parse HEAD`. Maiúsculas e espaços nas pontas são aceitos. |\n\n### Retorno\n\n`CustomStorefrontDeployment`:\n\n| Propriedade | Tipo                               | Descrição                                                        |\n| ----------- | ---------------------------------- | ---------------------------------------------------------------- |\n| `commitSha` | `String!`                          | O commit consultado, normalizado em minúsculas.                  |\n| `state`     | `CustomStorefrontDeploymentState!` | `PENDING`, `SUCCESS` ou `FAILURE` (ver pasta Custom Storefront). |\n| `url`       | `String`                           | URL pública do preview. Preenchida só com `SUCCESS`.             |\n\n### Erros\n\n| Código                                   | Condição                                                                                                                         | O que fazer                                                                                                                       |\n| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`      | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.        |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR` | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                                     |\n| `SHOP_NOT_FOUND_ERROR`                   | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                                   |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                      |\n| _(sem código)_                           | `message` cita `commitSha`: valor que não é um hash completo (abreviado, nome de branch, caracteres inválidos).                  | Envie a saída de `git rev-parse HEAD`.                                                                                            |\n| _(qualquer outro código)_                | Falha temporária ao consultar o estado do deploy.                                                                                | Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox informando o `commitSha`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **`PENDING` que nunca termina:** só o último commit de cada push gera deploy. Um commit intermediário, recusado pelo servidor ou que não foi enviado permanece `PENDING`. Antes de tratar um `PENDING` prolongado como problema, confirme que o hash é o topo remoto: `git -C vitrine ls-remote origin deploy`.\n- **Cada push gera um preview com URL própria:** consulte sempre o commit que acabou de enviar. Se a Unbox refizer o deploy de um commit, vale o resultado mais recente."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customStorefrontDeployment\": {\n      \"commitSha\": \"Example_String\",\n      \"state\": \"PENDING\",\n      \"url\": \"https://exemplo.com\"\n    }\n  }\n}"},{"id":"0421da12-df0a-4d98-b5a6-cb28fbe63676","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 CustomStorefrontDeployment($commitSha: String!) {\n  customStorefrontDeployment(commitSha: $commitSha) {\n    commitSha\n    state\n    url\n  }\n}","variables":"{\n  \"commitSha\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customStorefrontDeployment\n\n**Propósito:** Retorna o estado do deploy de um commit enviado ao repositório da custom storefront da sua loja e, quando concluído, a URL pública do preview.\n**Quando usar:** Logo depois de cada `git push` para a branch `deploy`, com o hash do último commit enviado, consultando até `state` ser `SUCCESS` ou `FAILURE` (intervalos, teto e significado dos estados em **Fluxo** e em `CustomStorefrontDeploymentState`, na pasta Custom Storefront). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Consulta o repositório da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\n| Nome        | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                   |\n| ----------- | --------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `commitSha` | `String!` | Sim         | —       | Hash **completo** (40 caracteres hexadecimais) do último commit enviado no push, como em `git rev-parse HEAD`. Maiúsculas e espaços nas pontas são aceitos. |\n\n### Retorno\n\n`CustomStorefrontDeployment`:\n\n| Propriedade | Tipo                               | Descrição                                                        |\n| ----------- | ---------------------------------- | ---------------------------------------------------------------- |\n| `commitSha` | `String!`                          | O commit consultado, normalizado em minúsculas.                  |\n| `state`     | `CustomStorefrontDeploymentState!` | `PENDING`, `SUCCESS` ou `FAILURE` (ver pasta Custom Storefront). |\n| `url`       | `String`                           | URL pública do preview. Preenchida só com `SUCCESS`.             |\n\n### Erros\n\n| Código                                   | Condição                                                                                                                         | O que fazer                                                                                                                       |\n| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`      | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.        |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR` | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                                     |\n| `SHOP_NOT_FOUND_ERROR`                   | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                                   |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                      |\n| _(sem código)_                           | `message` cita `commitSha`: valor que não é um hash completo (abreviado, nome de branch, caracteres inválidos).                  | Envie a saída de `git rev-parse HEAD`.                                                                                            |\n| _(qualquer outro código)_                | Falha temporária ao consultar o estado do deploy.                                                                                | Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox informando o `commitSha`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **`PENDING` que nunca termina:** só o último commit de cada push gera deploy. Um commit intermediário, recusado pelo servidor ou que não foi enviado permanece `PENDING`. Antes de tratar um `PENDING` prolongado como problema, confirme que o hash é o topo remoto: `git -C vitrine ls-remote origin deploy`.\n- **Cada push gera um preview com URL própria:** consulte sempre o commit que acabou de enviar. Se a Unbox refizer o deploy de um commit, vale o resultado mais recente."},"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":"43cdb447-f89a-452c-b3f4-a15f6514fbe5","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 CustomStorefrontDeployment($commitSha: String!) {\n  customStorefrontDeployment(commitSha: $commitSha) {\n    commitSha\n    state\n    url\n  }\n}","variables":"{\n  \"commitSha\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customStorefrontDeployment\n\n**Propósito:** Retorna o estado do deploy de um commit enviado ao repositório da custom storefront da sua loja e, quando concluído, a URL pública do preview.\n**Quando usar:** Logo depois de cada `git push` para a branch `deploy`, com o hash do último commit enviado, consultando até `state` ser `SUCCESS` ou `FAILURE` (intervalos, teto e significado dos estados em **Fluxo** e em `CustomStorefrontDeploymentState`, na pasta Custom Storefront). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Consulta o repositório da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\n| Nome        | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                   |\n| ----------- | --------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `commitSha` | `String!` | Sim         | —       | Hash **completo** (40 caracteres hexadecimais) do último commit enviado no push, como em `git rev-parse HEAD`. Maiúsculas e espaços nas pontas são aceitos. |\n\n### Retorno\n\n`CustomStorefrontDeployment`:\n\n| Propriedade | Tipo                               | Descrição                                                        |\n| ----------- | ---------------------------------- | ---------------------------------------------------------------- |\n| `commitSha` | `String!`                          | O commit consultado, normalizado em minúsculas.                  |\n| `state`     | `CustomStorefrontDeploymentState!` | `PENDING`, `SUCCESS` ou `FAILURE` (ver pasta Custom Storefront). |\n| `url`       | `String`                           | URL pública do preview. Preenchida só com `SUCCESS`.             |\n\n### Erros\n\n| Código                                   | Condição                                                                                                                         | O que fazer                                                                                                                       |\n| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`      | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.        |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR` | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                                     |\n| `SHOP_NOT_FOUND_ERROR`                   | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                                   |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                      |\n| _(sem código)_                           | `message` cita `commitSha`: valor que não é um hash completo (abreviado, nome de branch, caracteres inválidos).                  | Envie a saída de `git rev-parse HEAD`.                                                                                            |\n| _(qualquer outro código)_                | Falha temporária ao consultar o estado do deploy.                                                                                | Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox informando o `commitSha`. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **`PENDING` que nunca termina:** só o último commit de cada push gera deploy. Um commit intermediário, recusado pelo servidor ou que não foi enviado permanece `PENDING`. Antes de tratar um `PENDING` prolongado como problema, confirme que o hash é o topo remoto: `git -C vitrine ls-remote origin deploy`.\n- **Cada push gera um preview com URL própria:** consulte sempre o commit que acabou de enviar. Se a Unbox refizer o deploy de um commit, vale o resultado mais recente."},"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":"4f5fc50c-4ccc-5cae-82d7-dd46cfd0b280"},{"name":"[Query] customStorefrontEnvironment","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 customStorefrontEnvironment data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customStorefrontEnvironment\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customStorefrontEnvironment returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.customStorefrontEnvironment;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"keys\");","        if (data.keys !== undefined && data.keys !== null) {","            pm.expect(data.keys).to.be.an(\"array\");","        }","    }","});"]}}],"id":"eed69af3-107f-5a5b-8930-291b6488f80c","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 CustomStorefrontEnvironment {\n  customStorefrontEnvironment {\n    keys\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"customstorefrontenvironment\">customStorefrontEnvironment</h2>\n<p><strong>Propósito:</strong> Lista os nomes das variáveis de ambiente que a sua loja configurou na custom storefront.\n<strong>Quando usar:</strong> Para mostrar o que já está configurado, ou para descobrir quais nomes mandar em <code>unset</code> ao sincronizar um <code>.env</code> com <code>setCustomStorefrontEnvironment</code>. Só leitura, seguro para repetir.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>leitura</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontEnvironment</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>keys</code></td>\n<td><code>[String!]!</code></td>\n<td>Nomes das variáveis da loja, ordenados. Lista vazia quando não há nenhuma. Os valores nunca são retornados, e as chaves reservadas ficam de fora.</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>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR</code></td>\n<td>Falha temporária ao ler as variáveis.</td>\n<td>Tente de novo em alguns segundos; persistindo, contate a Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de leitura na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha inesperada ao ler as variáveis.</td>\n<td>Tente de novo em alguns segundos; persistindo, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>Um nome listado vale para preview e produção, mas só nos builds iniciados depois de ele ser gravado (ver <code>setCustomStorefrontEnvironment</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9c8b15de-0c65-4da5-b904-3e6917e7ad1a","name":"200 - customStorefrontEnvironment","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 CustomStorefrontEnvironment {\n  customStorefrontEnvironment {\n    keys\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontEnvironment\n\n**Propósito:** Lista os nomes das variáveis de ambiente que a sua loja configurou na custom storefront.\n**Quando usar:** Para mostrar o que já está configurado, ou para descobrir quais nomes mandar em `unset` ao sincronizar um `.env` com `setCustomStorefrontEnvironment`. Só leitura, seguro para repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontEnvironment`.\n\n| Propriedade | Tipo         | Descrição                                                                                                                                         |\n| ----------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `keys`      | `[String!]!` | Nomes das variáveis da loja, ordenados. Lista vazia quando não há nenhuma. Os valores nunca são retornados, e as chaves reservadas ficam de fora. |\n\n### Erros\n\n| Código                                             | Condição                                                                                                                         | O que fazer                                                                                                                |\n| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR` | Falha temporária ao ler as variáveis.                                                                                            | Tente de novo em alguns segundos; persistindo, contate a Unbox.                                                            |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`           | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                             | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                                     | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                                     | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(qualquer outro código)_                          | Falha inesperada ao ler as variáveis.                                                                                            | Tente de novo em alguns segundos; persistindo, contate a Unbox.                                                            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Um nome listado vale para preview e produção, mas só nos builds iniciados depois de ele ser gravado (ver `setCustomStorefrontEnvironment`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customStorefrontEnvironment\": {\n      \"keys\": [\n        \"Example_String\"\n      ]\n    }\n  }\n}"},{"id":"9b385a04-c457-4455-880b-fd89bc70e2d8","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 CustomStorefrontEnvironment {\n  customStorefrontEnvironment {\n    keys\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontEnvironment\n\n**Propósito:** Lista os nomes das variáveis de ambiente que a sua loja configurou na custom storefront.\n**Quando usar:** Para mostrar o que já está configurado, ou para descobrir quais nomes mandar em `unset` ao sincronizar um `.env` com `setCustomStorefrontEnvironment`. Só leitura, seguro para repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontEnvironment`.\n\n| Propriedade | Tipo         | Descrição                                                                                                                                         |\n| ----------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `keys`      | `[String!]!` | Nomes das variáveis da loja, ordenados. Lista vazia quando não há nenhuma. Os valores nunca são retornados, e as chaves reservadas ficam de fora. |\n\n### Erros\n\n| Código                                             | Condição                                                                                                                         | O que fazer                                                                                                                |\n| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR` | Falha temporária ao ler as variáveis.                                                                                            | Tente de novo em alguns segundos; persistindo, contate a Unbox.                                                            |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`           | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                             | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                                     | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                                     | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(qualquer outro código)_                          | Falha inesperada ao ler as variáveis.                                                                                            | Tente de novo em alguns segundos; persistindo, contate a Unbox.                                                            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Um nome listado vale para preview e produção, mas só nos builds iniciados depois de ele ser gravado (ver `setCustomStorefrontEnvironment`)."},"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":"0692602b-0383-4ff5-923a-e84d38641841","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 CustomStorefrontEnvironment {\n  customStorefrontEnvironment {\n    keys\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontEnvironment\n\n**Propósito:** Lista os nomes das variáveis de ambiente que a sua loja configurou na custom storefront.\n**Quando usar:** Para mostrar o que já está configurado, ou para descobrir quais nomes mandar em `unset` ao sincronizar um `.env` com `setCustomStorefrontEnvironment`. Só leitura, seguro para repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontEnvironment`.\n\n| Propriedade | Tipo         | Descrição                                                                                                                                         |\n| ----------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `keys`      | `[String!]!` | Nomes das variáveis da loja, ordenados. Lista vazia quando não há nenhuma. Os valores nunca são retornados, e as chaves reservadas ficam de fora. |\n\n### Erros\n\n| Código                                             | Condição                                                                                                                         | O que fazer                                                                                                                |\n| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR` | Falha temporária ao ler as variáveis.                                                                                            | Tente de novo em alguns segundos; persistindo, contate a Unbox.                                                            |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`           | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                             | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                                     | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                                     | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(qualquer outro código)_                          | Falha inesperada ao ler as variáveis.                                                                                            | Tente de novo em alguns segundos; persistindo, contate a Unbox.                                                            |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- Um nome listado vale para preview e produção, mas só nos builds iniciados depois de ele ser gravado (ver `setCustomStorefrontEnvironment`)."},"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":"eed69af3-107f-5a5b-8930-291b6488f80c"},{"name":"[Query] customStorefrontProduction","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 customStorefrontProduction data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customStorefrontProduction\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customStorefrontProduction returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.customStorefrontProduction;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"state\");","        if (data.state !== undefined && data.state !== null) {","            pm.expect(typeof data.state).to.equal(\"string\");","        }","        if (data.commitSha !== undefined && data.commitSha !== null) {","            pm.expect(typeof data.commitSha).to.equal(\"string\");","        }","        if (data.url !== undefined && data.url !== null) {","            pm.expect(typeof data.url).to.equal(\"string\");","        }","        if (data.publishedAt !== undefined && data.publishedAt !== null) {","            pm.expect(typeof data.publishedAt).to.equal(\"string\");","        }","        if (data.publishedAt) {","            pm.expect(new Date(data.publishedAt).toString()).to.not.equal(\"Invalid Date\");","        }","        if (data.rollbackCommitSha !== undefined && data.rollbackCommitSha !== null) {","            pm.expect(typeof data.rollbackCommitSha).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"canRollback\");","        if (data.canRollback !== undefined && data.canRollback !== null) {","            pm.expect(typeof data.canRollback).to.equal(\"boolean\");","        }","        if (data.operation !== undefined && data.operation !== null) {","            pm.expect(data.operation).to.be.an(\"object\");","        }","    }","});"]}}],"id":"a93093fa-0ea7-57af-aff9-58fffa38e5b5","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 CustomStorefrontProduction {\n  customStorefrontProduction {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"customstorefrontproduction\">customStorefrontProduction</h2>\n<p><strong>Propósito:</strong> Retorna o que o endereço de produção da custom storefront da sua loja exibe agora, a última publicação ou rollback e se é possível voltar.\n<strong>Quando usar:</strong> Para acompanhar uma publicação (depois de <code>publishCustomStorefront</code>, até <code>operation.state</code> sair de <code>PENDING</code>; intervalos e teto em <strong>Publicação em produção</strong>, na pasta Custom Storefront) ou um rollback que respondeu <code>PENDING</code>, e antes de um rollback (<code>canRollback</code>, <code>rollbackCommitSha</code>). Somente leitura.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Consulta a loja da conta autenticada; não há argumentos. Basta a permissão de <strong>leitura</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontProduction</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>state</code></td>\n<td><code>CustomStorefrontProductionState!</code></td>\n<td>O que produção exibe: <code>NOT_PUBLISHED</code>, <code>PUBLISHED</code> ou <code>UNKNOWN</code> (ver pasta Custom Storefront).</td>\n</tr>\n<tr>\n<td><code>commitSha</code></td>\n<td><code>String</code></td>\n<td>Commit no ar. Preenchido só com <code>PUBLISHED</code>.</td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td><code>String</code></td>\n<td>Endereço de produção da loja: em geral <code>https://&lt;slug&gt;.myunbox.com.br</code> (slug normalizado: minúsculas, sem acentos, até 63 caracteres), ou o domínio próprio da loja quando houver. Use o valor deste campo; não monte o endereço.</td>\n</tr>\n<tr>\n<td><code>publishedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Quando o commit no ar foi publicado originalmente (um rollback não altera esta data). Preenchido só com <code>PUBLISHED</code>.</td>\n</tr>\n<tr>\n<td><code>rollbackCommitSha</code></td>\n<td><code>String</code></td>\n<td>Commit para o qual um rollback voltaria; <code>null</code> quando voltaria para a página inicial \"Em breve\" ou quando não há rollback possível agora.</td>\n</tr>\n<tr>\n<td><code>canRollback</code></td>\n<td><code>Boolean!</code></td>\n<td>Se <code>rollbackCustomStorefront</code> é possível agora. <code>false</code> quando não há para onde voltar (<code>NOT_PUBLISHED</code>, <code>UNKNOWN</code> ou a mais antiga das publicações guardadas) e enquanto houver publicação ou rollback em andamento (um rollback <code>PENDING</code> há mais de 1 min é considerado interrompido e deixa de bloquear).</td>\n</tr>\n<tr>\n<td><code>operation</code></td>\n<td><code>CustomStorefrontOperation</code></td>\n<td>Última publicação ou rollback; <code>null</code> se nunca houve.</td>\n</tr>\n<tr>\n<td><code>operation.type</code></td>\n<td><code>CustomStorefrontOperationType!</code></td>\n<td><code>PUBLISH</code> ou <code>ROLLBACK</code>.</td>\n</tr>\n<tr>\n<td><code>operation.state</code></td>\n<td><code>CustomStorefrontOperationState!</code></td>\n<td><code>PENDING</code>, <code>SUCCESS</code> ou <code>FAILURE</code>.</td>\n</tr>\n<tr>\n<td><code>operation.commitSha</code></td>\n<td><code>String</code></td>\n<td>Publicação: commit pedido, em minúsculas. Rollback: commit de destino (<code>null</code> = página inicial \"Em breve\").</td>\n</tr>\n<tr>\n<td><code>operation.errorCode</code></td>\n<td><code>String</code></td>\n<td>Motivo da falha; preenchido só com <code>FAILURE</code>. Ver <strong>Códigos em <code>operation.errorCode</code></strong> na pasta Custom Storefront.</td>\n</tr>\n<tr>\n<td><code>operation.requestedAt</code></td>\n<td><code>AWSDateTime!</code></td>\n<td>Quando a operação foi pedida.</td>\n</tr>\n<tr>\n<td><code>operation.finishedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Quando terminou (<code>SUCCESS</code> ou <code>FAILURE</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>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de leitura na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha temporária ao consultar produção.</td>\n<td>Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>É a sua operação?</strong> Ao acompanhar uma publicação, considere-a sua quando <code>operation.type</code> for <code>PUBLISH</code> e <code>operation.commitSha</code> for o commit pedido (em minúsculas). Se <code>operation</code> passar a ser outra (outro <code>type</code> ou <code>commitSha</code>, ou <code>requestedAt</code> mais recente), a sua já terminou: pare e confira <code>state</code>/<code>commitSha</code>.</li>\n<li><strong>Logo depois de uma troca:</strong> quando <code>publishCustomStorefront</code> ou <code>rollbackCustomStorefront</code> termina com <code>SUCCESS</code>, <code>state</code>/<code>commitSha</code> já descrevem o que entrou no ar. Só uma alteração feita fora da Unbox fica sujeita a atraso: se ela acontecer até 30 s depois de uma troca pela API, pode levar esse tempo para aparecer aqui.</li>\n<li><strong><code>SUCCESS</code> e cache:</strong> com <code>operation.state</code> <code>SUCCESS</code>, a <code>url</code> passa a exibir o novo conteúdo em alguns segundos (até ~1 min); abra a <code>url</code> para conferir.</li>\n<li><strong><code>UNKNOWN</code>:</strong> produção foi alterada fora desta API e o rollback fica indisponível. Durante uma publicação <code>PENDING</code>, <code>UNKNOWN</code> pode aparecer por alguns segundos (o novo build já está no ar e a publicação ainda não foi registrada); continue consultando. Para voltar ao controle pela API, publique um commit com <code>publishCustomStorefront</code>; se você não reconhece a alteração, contate a Unbox.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"611964bb-133f-4974-8d5c-55d0fa32c7bd","name":"200 - customStorefrontProduction","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 CustomStorefrontProduction {\n  customStorefrontProduction {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontProduction\n\n**Propósito:** Retorna o que o endereço de produção da custom storefront da sua loja exibe agora, a última publicação ou rollback e se é possível voltar.\n**Quando usar:** Para acompanhar uma publicação (depois de `publishCustomStorefront`, até `operation.state` sair de `PENDING`; intervalos e teto em **Publicação em produção**, na pasta Custom Storefront) ou um rollback que respondeu `PENDING`, e antes de um rollback (`canRollback`, `rollbackCommitSha`). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Consulta a loja da conta autenticada; não há argumentos. Basta a permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontProduction`:\n\n| Propriedade             | Tipo                               | Descrição                                                                                                                                                                                                                                                                                                     |\n| ----------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `state`                 | `CustomStorefrontProductionState!` | O que produção exibe: `NOT_PUBLISHED`, `PUBLISHED` ou `UNKNOWN` (ver pasta Custom Storefront).                                                                                                                                                                                                                |\n| `commitSha`             | `String`                           | Commit no ar. Preenchido só com `PUBLISHED`.                                                                                                                                                                                                                                                                  |\n| `url`                   | `String`                           | Endereço de produção da loja: em geral `https://<slug>.myunbox.com.br` (slug normalizado: minúsculas, sem acentos, até 63 caracteres), ou o domínio próprio da loja quando houver. Use o valor deste campo; não monte o endereço.                                                                             |\n| `publishedAt`           | `AWSDateTime`                      | Quando o commit no ar foi publicado originalmente (um rollback não altera esta data). Preenchido só com `PUBLISHED`.                                                                                                                                                                                          |\n| `rollbackCommitSha`     | `String`                           | Commit para o qual um rollback voltaria; `null` quando voltaria para a página inicial \"Em breve\" ou quando não há rollback possível agora.                                                                                                                                                                    |\n| `canRollback`           | `Boolean!`                         | Se `rollbackCustomStorefront` é possível agora. `false` quando não há para onde voltar (`NOT_PUBLISHED`, `UNKNOWN` ou a mais antiga das publicações guardadas) e enquanto houver publicação ou rollback em andamento (um rollback `PENDING` há mais de 1 min é considerado interrompido e deixa de bloquear). |\n| `operation`             | `CustomStorefrontOperation`        | Última publicação ou rollback; `null` se nunca houve.                                                                                                                                                                                                                                                         |\n| `operation.type`        | `CustomStorefrontOperationType!`   | `PUBLISH` ou `ROLLBACK`.                                                                                                                                                                                                                                                                                      |\n| `operation.state`       | `CustomStorefrontOperationState!`  | `PENDING`, `SUCCESS` ou `FAILURE`.                                                                                                                                                                                                                                                                            |\n| `operation.commitSha`   | `String`                           | Publicação: commit pedido, em minúsculas. Rollback: commit de destino (`null` = página inicial \"Em breve\").                                                                                                                                                                                                   |\n| `operation.errorCode`   | `String`                           | Motivo da falha; preenchido só com `FAILURE`. Ver **Códigos em `operation.errorCode`** na pasta Custom Storefront.                                                                                                                                                                                            |\n| `operation.requestedAt` | `AWSDateTime!`                     | Quando a operação foi pedida.                                                                                                                                                                                                                                                                                 |\n| `operation.finishedAt`  | `AWSDateTime`                      | Quando terminou (`SUCCESS` ou `FAILURE`).                                                                                                                                                                                                                                                                     |\n\n### Erros\n\n| Código                                   | Condição                                                                                                                         | O que fazer                                                                                                                |\n| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`      | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR` | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                   | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(qualquer outro código)_                | Falha temporária ao consultar produção.                                                                                          | Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox.                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **É a sua operação?** Ao acompanhar uma publicação, considere-a sua quando `operation.type` for `PUBLISH` e `operation.commitSha` for o commit pedido (em minúsculas). Se `operation` passar a ser outra (outro `type` ou `commitSha`, ou `requestedAt` mais recente), a sua já terminou: pare e confira `state`/`commitSha`.\n- **Logo depois de uma troca:** quando `publishCustomStorefront` ou `rollbackCustomStorefront` termina com `SUCCESS`, `state`/`commitSha` já descrevem o que entrou no ar. Só uma alteração feita fora da Unbox fica sujeita a atraso: se ela acontecer até 30 s depois de uma troca pela API, pode levar esse tempo para aparecer aqui.\n- **`SUCCESS` e cache:** com `operation.state` `SUCCESS`, a `url` passa a exibir o novo conteúdo em alguns segundos (até ~1 min); abra a `url` para conferir.\n- **`UNKNOWN`:** produção foi alterada fora desta API e o rollback fica indisponível. Durante uma publicação `PENDING`, `UNKNOWN` pode aparecer por alguns segundos (o novo build já está no ar e a publicação ainda não foi registrada); continue consultando. Para voltar ao controle pela API, publique um commit com `publishCustomStorefront`; se você não reconhece a alteração, contate a Unbox."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customStorefrontProduction\": {\n      \"state\": \"NOT_PUBLISHED\",\n      \"commitSha\": \"Example_String\",\n      \"url\": \"https://exemplo.com\",\n      \"publishedAt\": \"2025-01-15T10:00:00Z\",\n      \"rollbackCommitSha\": \"Example_String\",\n      \"canRollback\": true,\n      \"operation\": {\n        \"type\": \"PUBLISH\",\n        \"state\": \"PENDING\",\n        \"commitSha\": \"Example_String\",\n        \"errorCode\": \"Example_String\",\n        \"requestedAt\": \"2025-01-15T10:00:00Z\",\n        \"finishedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    }\n  }\n}"},{"id":"29198694-273e-4207-888f-51712be2817d","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 CustomStorefrontProduction {\n  customStorefrontProduction {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontProduction\n\n**Propósito:** Retorna o que o endereço de produção da custom storefront da sua loja exibe agora, a última publicação ou rollback e se é possível voltar.\n**Quando usar:** Para acompanhar uma publicação (depois de `publishCustomStorefront`, até `operation.state` sair de `PENDING`; intervalos e teto em **Publicação em produção**, na pasta Custom Storefront) ou um rollback que respondeu `PENDING`, e antes de um rollback (`canRollback`, `rollbackCommitSha`). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Consulta a loja da conta autenticada; não há argumentos. Basta a permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontProduction`:\n\n| Propriedade             | Tipo                               | Descrição                                                                                                                                                                                                                                                                                                     |\n| ----------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `state`                 | `CustomStorefrontProductionState!` | O que produção exibe: `NOT_PUBLISHED`, `PUBLISHED` ou `UNKNOWN` (ver pasta Custom Storefront).                                                                                                                                                                                                                |\n| `commitSha`             | `String`                           | Commit no ar. Preenchido só com `PUBLISHED`.                                                                                                                                                                                                                                                                  |\n| `url`                   | `String`                           | Endereço de produção da loja: em geral `https://<slug>.myunbox.com.br` (slug normalizado: minúsculas, sem acentos, até 63 caracteres), ou o domínio próprio da loja quando houver. Use o valor deste campo; não monte o endereço.                                                                             |\n| `publishedAt`           | `AWSDateTime`                      | Quando o commit no ar foi publicado originalmente (um rollback não altera esta data). Preenchido só com `PUBLISHED`.                                                                                                                                                                                          |\n| `rollbackCommitSha`     | `String`                           | Commit para o qual um rollback voltaria; `null` quando voltaria para a página inicial \"Em breve\" ou quando não há rollback possível agora.                                                                                                                                                                    |\n| `canRollback`           | `Boolean!`                         | Se `rollbackCustomStorefront` é possível agora. `false` quando não há para onde voltar (`NOT_PUBLISHED`, `UNKNOWN` ou a mais antiga das publicações guardadas) e enquanto houver publicação ou rollback em andamento (um rollback `PENDING` há mais de 1 min é considerado interrompido e deixa de bloquear). |\n| `operation`             | `CustomStorefrontOperation`        | Última publicação ou rollback; `null` se nunca houve.                                                                                                                                                                                                                                                         |\n| `operation.type`        | `CustomStorefrontOperationType!`   | `PUBLISH` ou `ROLLBACK`.                                                                                                                                                                                                                                                                                      |\n| `operation.state`       | `CustomStorefrontOperationState!`  | `PENDING`, `SUCCESS` ou `FAILURE`.                                                                                                                                                                                                                                                                            |\n| `operation.commitSha`   | `String`                           | Publicação: commit pedido, em minúsculas. Rollback: commit de destino (`null` = página inicial \"Em breve\").                                                                                                                                                                                                   |\n| `operation.errorCode`   | `String`                           | Motivo da falha; preenchido só com `FAILURE`. Ver **Códigos em `operation.errorCode`** na pasta Custom Storefront.                                                                                                                                                                                            |\n| `operation.requestedAt` | `AWSDateTime!`                     | Quando a operação foi pedida.                                                                                                                                                                                                                                                                                 |\n| `operation.finishedAt`  | `AWSDateTime`                      | Quando terminou (`SUCCESS` ou `FAILURE`).                                                                                                                                                                                                                                                                     |\n\n### Erros\n\n| Código                                   | Condição                                                                                                                         | O que fazer                                                                                                                |\n| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`      | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR` | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                   | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(qualquer outro código)_                | Falha temporária ao consultar produção.                                                                                          | Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox.                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **É a sua operação?** Ao acompanhar uma publicação, considere-a sua quando `operation.type` for `PUBLISH` e `operation.commitSha` for o commit pedido (em minúsculas). Se `operation` passar a ser outra (outro `type` ou `commitSha`, ou `requestedAt` mais recente), a sua já terminou: pare e confira `state`/`commitSha`.\n- **Logo depois de uma troca:** quando `publishCustomStorefront` ou `rollbackCustomStorefront` termina com `SUCCESS`, `state`/`commitSha` já descrevem o que entrou no ar. Só uma alteração feita fora da Unbox fica sujeita a atraso: se ela acontecer até 30 s depois de uma troca pela API, pode levar esse tempo para aparecer aqui.\n- **`SUCCESS` e cache:** com `operation.state` `SUCCESS`, a `url` passa a exibir o novo conteúdo em alguns segundos (até ~1 min); abra a `url` para conferir.\n- **`UNKNOWN`:** produção foi alterada fora desta API e o rollback fica indisponível. Durante uma publicação `PENDING`, `UNKNOWN` pode aparecer por alguns segundos (o novo build já está no ar e a publicação ainda não foi registrada); continue consultando. Para voltar ao controle pela API, publique um commit com `publishCustomStorefront`; se você não reconhece a alteração, contate a Unbox."},"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":"9006af6c-3a9e-4ae2-a657-69a2afc8aefe","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 CustomStorefrontProduction {\n  customStorefrontProduction {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## customStorefrontProduction\n\n**Propósito:** Retorna o que o endereço de produção da custom storefront da sua loja exibe agora, a última publicação ou rollback e se é possível voltar.\n**Quando usar:** Para acompanhar uma publicação (depois de `publishCustomStorefront`, até `operation.state` sair de `PENDING`; intervalos e teto em **Publicação em produção**, na pasta Custom Storefront) ou um rollback que respondeu `PENDING`, e antes de um rollback (`canRollback`, `rollbackCommitSha`). Somente leitura.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Consulta a loja da conta autenticada; não há argumentos. Basta a permissão de **leitura** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontProduction`:\n\n| Propriedade             | Tipo                               | Descrição                                                                                                                                                                                                                                                                                                     |\n| ----------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `state`                 | `CustomStorefrontProductionState!` | O que produção exibe: `NOT_PUBLISHED`, `PUBLISHED` ou `UNKNOWN` (ver pasta Custom Storefront).                                                                                                                                                                                                                |\n| `commitSha`             | `String`                           | Commit no ar. Preenchido só com `PUBLISHED`.                                                                                                                                                                                                                                                                  |\n| `url`                   | `String`                           | Endereço de produção da loja: em geral `https://<slug>.myunbox.com.br` (slug normalizado: minúsculas, sem acentos, até 63 caracteres), ou o domínio próprio da loja quando houver. Use o valor deste campo; não monte o endereço.                                                                             |\n| `publishedAt`           | `AWSDateTime`                      | Quando o commit no ar foi publicado originalmente (um rollback não altera esta data). Preenchido só com `PUBLISHED`.                                                                                                                                                                                          |\n| `rollbackCommitSha`     | `String`                           | Commit para o qual um rollback voltaria; `null` quando voltaria para a página inicial \"Em breve\" ou quando não há rollback possível agora.                                                                                                                                                                    |\n| `canRollback`           | `Boolean!`                         | Se `rollbackCustomStorefront` é possível agora. `false` quando não há para onde voltar (`NOT_PUBLISHED`, `UNKNOWN` ou a mais antiga das publicações guardadas) e enquanto houver publicação ou rollback em andamento (um rollback `PENDING` há mais de 1 min é considerado interrompido e deixa de bloquear). |\n| `operation`             | `CustomStorefrontOperation`        | Última publicação ou rollback; `null` se nunca houve.                                                                                                                                                                                                                                                         |\n| `operation.type`        | `CustomStorefrontOperationType!`   | `PUBLISH` ou `ROLLBACK`.                                                                                                                                                                                                                                                                                      |\n| `operation.state`       | `CustomStorefrontOperationState!`  | `PENDING`, `SUCCESS` ou `FAILURE`.                                                                                                                                                                                                                                                                            |\n| `operation.commitSha`   | `String`                           | Publicação: commit pedido, em minúsculas. Rollback: commit de destino (`null` = página inicial \"Em breve\").                                                                                                                                                                                                   |\n| `operation.errorCode`   | `String`                           | Motivo da falha; preenchido só com `FAILURE`. Ver **Códigos em `operation.errorCode`** na pasta Custom Storefront.                                                                                                                                                                                            |\n| `operation.requestedAt` | `AWSDateTime!`                     | Quando a operação foi pedida.                                                                                                                                                                                                                                                                                 |\n| `operation.finishedAt`  | `AWSDateTime`                      | Quando terminou (`SUCCESS` ou `FAILURE`).                                                                                                                                                                                                                                                                     |\n\n### Erros\n\n| Código                                   | Condição                                                                                                                         | O que fazer                                                                                                                |\n| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`      | A loja não tem custom storefront ou ela não está `READY`.                                                                        | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR` | O serviço de custom storefront não está disponível neste ambiente.                                                               | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                   | A conta autenticada não está associada a uma loja.                                                                               | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                           | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de leitura na custom storefront. | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(qualquer outro código)_                | Falha temporária ao consultar produção.                                                                                          | Tente de novo no próximo intervalo de consulta; persistindo por mais de alguns minutos, contate a Unbox.                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **É a sua operação?** Ao acompanhar uma publicação, considere-a sua quando `operation.type` for `PUBLISH` e `operation.commitSha` for o commit pedido (em minúsculas). Se `operation` passar a ser outra (outro `type` ou `commitSha`, ou `requestedAt` mais recente), a sua já terminou: pare e confira `state`/`commitSha`.\n- **Logo depois de uma troca:** quando `publishCustomStorefront` ou `rollbackCustomStorefront` termina com `SUCCESS`, `state`/`commitSha` já descrevem o que entrou no ar. Só uma alteração feita fora da Unbox fica sujeita a atraso: se ela acontecer até 30 s depois de uma troca pela API, pode levar esse tempo para aparecer aqui.\n- **`SUCCESS` e cache:** com `operation.state` `SUCCESS`, a `url` passa a exibir o novo conteúdo em alguns segundos (até ~1 min); abra a `url` para conferir.\n- **`UNKNOWN`:** produção foi alterada fora desta API e o rollback fica indisponível. Durante uma publicação `PENDING`, `UNKNOWN` pode aparecer por alguns segundos (o novo build já está no ar e a publicação ainda não foi registrada); continue consultando. Para voltar ao controle pela API, publique um commit com `publishCustomStorefront`; se você não reconhece a alteração, contate a Unbox."},"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":"a93093fa-0ea7-57af-aff9-58fffa38e5b5"}],"id":"82799870-31d1-421d-a2a5-5da61d428c41","_postman_id":"82799870-31d1-421d-a2a5-5da61d428c41","description":""},{"name":"Mutation","item":[{"name":"[Mutation] addCustomStorefrontDeployKey","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 addCustomStorefrontDeployKey data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"addCustomStorefrontDeployKey\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"259175ca-03fd-522b-9189-877ddabd64bd","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 AddCustomStorefrontDeployKey($input: AddCustomStorefrontDeployKeyInput!) {\n  addCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\",\n    \"title\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"addcustomstorefrontdeploykey\">addCustomStorefrontDeployKey</h2>\n<p><strong>Propósito:</strong> Adiciona uma chave SSH de deploy à custom storefront da sua loja, com permissão de push na branch <code>deploy</code>.\n<strong>Quando usar:</strong> Para dar acesso de push a uma segunda máquina, a outra pessoa da equipe ou a um pipeline de CI, ou para recuperar o acesso depois de perder a chave privada. Cada ambiente gera o <strong>próprio</strong> par de chaves e registra só a chave pública. Não copie a chave privada entre ambientes: com uma chave por ambiente, cada uma pode ser revogada sem afetar as outras. A chave passa a funcionar assim que a chamada responde. <strong>É idempotente:</strong> repetir a chamada com a mesma chave devolve a chave já registrada, sem duplicá-la, então um retry depois de um timeout é seguro.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>escrita</strong> na custom storefront (a mesma de <code>provisionCustomStorefront</code>).</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: AddCustomStorefrontDeployKeyInput!</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.deployPublicKey</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Chave <strong>pública</strong> <code>ssh-ed25519</code> (recomendada) ou <code>ssh-rsa</code>, em uma linha: o conteúdo do arquivo <code>.pub</code>, com ou sem comentário no fim. Até 16 KB.</td>\n</tr>\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 para identificar a chave, por exemplo o nome da máquina ou <code>ci</code>. De 1 a 50 caracteres, sem os espaços das pontas (removidos); trunque nomes de máquina mais longos. Não pode repetir o título de outra chave da loja.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontDeployKey</code> da chave adicionada ou, se ela já estava registrada, da chave existente, com o título original.</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 chave. Use em <code>removeCustomStorefrontDeployKey</code>.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td><code>String!</code></td>\n<td>Título da chave.</td>\n</tr>\n<tr>\n<td><code>fingerprint</code></td>\n<td><code>String!</code></td>\n<td>Fingerprint SHA256 no formato do OpenSSH (<code>SHA256:...</code>), igual ao 2º campo da saída de <code>ssh-keygen -lf &lt;chave&gt;.pub</code>.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Quando a chave foi adicionada.</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>CUSTOM_STOREFRONT_DEPLOY_KEYS_LIMIT_ERROR</code></td>\n<td>A loja já tem 10 chaves, o máximo (a do provisionamento conta enquanto existir). Nada foi adicionado.</td>\n<td>Revogue uma chave que não é mais usada com <code>removeCustomStorefrontDeployKey</code> e repita a chamada.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOY_KEY_TITLE_IN_USE_ERROR</code></td>\n<td>Outra chave da loja já usa este <code>title</code> (ex.: a mesma máquina com uma chave anterior).</td>\n<td>Se for a mesma máquina com uma chave nova, revogue antes a chave antiga com <code>removeCustomStorefrontDeployKey</code> e repita; senão, escolha outro título.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOY_KEY_IN_USE_ERROR</code></td>\n<td>A chave já está em uso fora desta loja ou foi recusada pelo servidor Git.</td>\n<td>Gere um par de chaves novo neste ambiente e envie a nova chave pública. Use um par diferente para cada loja.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR</code></td>\n<td>A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.</td>\n<td>Envie o conteúdo exato do arquivo <code>.pub</code> gerado.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: sem custom storefront, use <code>provisionCustomStorefront</code>; com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR</code></td>\n<td>Falha temporária ao ler as chaves no servidor Git. Nada foi adicionado.</td>\n<td>Repita a chamada.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de escrita na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> cita <code>deployPublicKey</code> ou <code>title</code>: chave vazia, de outro tipo, privada, em várias linhas ou acima de 16 KB; título vazio ou com mais de 50 caracteres.</td>\n<td>Envie apenas a linha da chave pública (<code>.pub</code>) e um título de 1 a 50 caracteres. A mensagem nunca repete a chave enviada.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha temporária no servidor Git.</td>\n<td>Repita a mesma chamada (é idempotente). Persistindo, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Nunca envie a chave privada.</strong> Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.</li>\n<li><strong>Não substitui <code>provisionCustomStorefront</code>.</strong> Com a custom storefront <code>READY</code>, <code>provisionCustomStorefront</code> com outra chave continua recusado com <code>CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR</code>: para um novo ambiente, use esta mutation.</li>\n<li><strong>A mesma chave já registrada mantém o título original.</strong> Um <code>title</code> diferente é ignorado nesse caso.</li>\n<li><strong>Quem pode adicionar:</strong> qualquer conta com permissão de escrita na custom storefront. Essa conta já consegue alterar as variáveis de ambiente da loja, então adicionar chaves não amplia o acesso dela. Proteja as credenciais da conta como protege as chaves.</li>\n<li><strong>Chamadas simultâneas</strong> para a mesma loja podem ultrapassar o limite de 10 em uma chave. Adicione as chaves uma de cada vez.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"89fb5519-604e-4769-8d27-5a1beb97e2a6","name":"200 - addCustomStorefrontDeployKey","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 AddCustomStorefrontDeployKey($input: AddCustomStorefrontDeployKeyInput!) {\n  addCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\",\n    \"title\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## addCustomStorefrontDeployKey\n\n**Propósito:** Adiciona uma chave SSH de deploy à custom storefront da sua loja, com permissão de push na branch `deploy`.\n**Quando usar:** Para dar acesso de push a uma segunda máquina, a outra pessoa da equipe ou a um pipeline de CI, ou para recuperar o acesso depois de perder a chave privada. Cada ambiente gera o **próprio** par de chaves e registra só a chave pública. Não copie a chave privada entre ambientes: com uma chave por ambiente, cada uma pode ser revogada sem afetar as outras. A chave passa a funcionar assim que a chamada responde. **É idempotente:** repetir a chamada com a mesma chave devolve a chave já registrada, sem duplicá-la, então um retry depois de um timeout é seguro.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront (a mesma de `provisionCustomStorefront`).\n\n### Argumentos\n\nÚnico argumento: `input: AddCustomStorefrontDeployKeyInput!`.\n\n| Nome                    | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                                                                                    |\n| ----------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.deployPublicKey` | `String!` | Sim         | —       | Chave **pública** `ssh-ed25519` (recomendada) ou `ssh-rsa`, em uma linha: o conteúdo do arquivo `.pub`, com ou sem comentário no fim. Até 16 KB.                                                                             |\n| `input.title`           | `String!` | Sim         | —       | Título para identificar a chave, por exemplo o nome da máquina ou `ci`. De 1 a 50 caracteres, sem os espaços das pontas (removidos); trunque nomes de máquina mais longos. Não pode repetir o título de outra chave da loja. |\n\n### Retorno\n\n`CustomStorefrontDeployKey` da chave adicionada ou, se ela já estava registrada, da chave existente, com o título original.\n\n| Propriedade   | Tipo          | Descrição                                                                                                            |\n| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave. Use em `removeCustomStorefrontDeployKey`.                                                    |\n| `title`       | `String!`     | Título da chave.                                                                                                     |\n| `fingerprint` | `String!`     | Fingerprint SHA256 no formato do OpenSSH (`SHA256:...`), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n| `createdAt`   | `AWSDateTime` | Quando a chave foi adicionada.                                                                                       |\n\n### Erros\n\n| Código                                              | Condição                                                                                                                                                         | O que fazer                                                                                                                                                                        |\n| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_DEPLOY_KEYS_LIMIT_ERROR`         | A loja já tem 10 chaves, o máximo (a do provisionamento conta enquanto existir). Nada foi adicionado.                                                            | Revogue uma chave que não é mais usada com `removeCustomStorefrontDeployKey` e repita a chamada.                                                                                   |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_TITLE_IN_USE_ERROR`   | Outra chave da loja já usa este `title` (ex.: a mesma máquina com uma chave anterior).                                                                           | Se for a mesma máquina com uma chave nova, revogue antes a chave antiga com `removeCustomStorefrontDeployKey` e repita; senão, escolha outro título.                               |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_IN_USE_ERROR`         | A chave já está em uso fora desta loja ou foi recusada pelo servidor Git.                                                                                        | Gere um par de chaves novo neste ambiente e envie a nova chave pública. Use um par diferente para cada loja.                                                                       |\n| `CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR` | A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.                                                                     | Envie o conteúdo exato do arquivo `.pub` gerado.                                                                                                                                   |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                 | A loja não tem custom storefront ou ela não está `READY`.                                                                                                        | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR`      | Falha temporária ao ler as chaves no servidor Git. Nada foi adicionado.                                                                                          | Repita a chamada.                                                                                                                                                                  |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`            | O serviço de custom storefront não está disponível neste ambiente.                                                                                               | Entre em contato com a Unbox.                                                                                                                                                      |\n| `SHOP_NOT_FOUND_ERROR`                              | A conta autenticada não está associada a uma loja.                                                                                                               | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.                                 | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(sem código)_                                      | `message` cita `deployPublicKey` ou `title`: chave vazia, de outro tipo, privada, em várias linhas ou acima de 16 KB; título vazio ou com mais de 50 caracteres. | Envie apenas a linha da chave pública (`.pub`) e um título de 1 a 50 caracteres. A mensagem nunca repete a chave enviada.                                                          |\n| _(qualquer outro código)_                           | Falha temporária no servidor Git.                                                                                                                                | Repita a mesma chamada (é idempotente). Persistindo, contate a Unbox.                                                                                                              |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Nunca envie a chave privada.** Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.\n- **Não substitui `provisionCustomStorefront`.** Com a custom storefront `READY`, `provisionCustomStorefront` com outra chave continua recusado com `CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR`: para um novo ambiente, use esta mutation.\n- **A mesma chave já registrada mantém o título original.** Um `title` diferente é ignorado nesse caso.\n- **Quem pode adicionar:** qualquer conta com permissão de escrita na custom storefront. Essa conta já consegue alterar as variáveis de ambiente da loja, então adicionar chaves não amplia o acesso dela. Proteja as credenciais da conta como protege as chaves.\n- **Chamadas simultâneas** para a mesma loja podem ultrapassar o limite de 10 em uma chave. Adicione as chaves uma de cada vez."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"addCustomStorefrontDeployKey\": {\n      \"_id\": \"Example_String\",\n      \"title\": \"Example_String\",\n      \"fingerprint\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"0a7a259a-55bb-41eb-b002-59a26775b716","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 AddCustomStorefrontDeployKey($input: AddCustomStorefrontDeployKeyInput!) {\n  addCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\",\n    \"title\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## addCustomStorefrontDeployKey\n\n**Propósito:** Adiciona uma chave SSH de deploy à custom storefront da sua loja, com permissão de push na branch `deploy`.\n**Quando usar:** Para dar acesso de push a uma segunda máquina, a outra pessoa da equipe ou a um pipeline de CI, ou para recuperar o acesso depois de perder a chave privada. Cada ambiente gera o **próprio** par de chaves e registra só a chave pública. Não copie a chave privada entre ambientes: com uma chave por ambiente, cada uma pode ser revogada sem afetar as outras. A chave passa a funcionar assim que a chamada responde. **É idempotente:** repetir a chamada com a mesma chave devolve a chave já registrada, sem duplicá-la, então um retry depois de um timeout é seguro.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront (a mesma de `provisionCustomStorefront`).\n\n### Argumentos\n\nÚnico argumento: `input: AddCustomStorefrontDeployKeyInput!`.\n\n| Nome                    | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                                                                                    |\n| ----------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.deployPublicKey` | `String!` | Sim         | —       | Chave **pública** `ssh-ed25519` (recomendada) ou `ssh-rsa`, em uma linha: o conteúdo do arquivo `.pub`, com ou sem comentário no fim. Até 16 KB.                                                                             |\n| `input.title`           | `String!` | Sim         | —       | Título para identificar a chave, por exemplo o nome da máquina ou `ci`. De 1 a 50 caracteres, sem os espaços das pontas (removidos); trunque nomes de máquina mais longos. Não pode repetir o título de outra chave da loja. |\n\n### Retorno\n\n`CustomStorefrontDeployKey` da chave adicionada ou, se ela já estava registrada, da chave existente, com o título original.\n\n| Propriedade   | Tipo          | Descrição                                                                                                            |\n| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave. Use em `removeCustomStorefrontDeployKey`.                                                    |\n| `title`       | `String!`     | Título da chave.                                                                                                     |\n| `fingerprint` | `String!`     | Fingerprint SHA256 no formato do OpenSSH (`SHA256:...`), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n| `createdAt`   | `AWSDateTime` | Quando a chave foi adicionada.                                                                                       |\n\n### Erros\n\n| Código                                              | Condição                                                                                                                                                         | O que fazer                                                                                                                                                                        |\n| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_DEPLOY_KEYS_LIMIT_ERROR`         | A loja já tem 10 chaves, o máximo (a do provisionamento conta enquanto existir). Nada foi adicionado.                                                            | Revogue uma chave que não é mais usada com `removeCustomStorefrontDeployKey` e repita a chamada.                                                                                   |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_TITLE_IN_USE_ERROR`   | Outra chave da loja já usa este `title` (ex.: a mesma máquina com uma chave anterior).                                                                           | Se for a mesma máquina com uma chave nova, revogue antes a chave antiga com `removeCustomStorefrontDeployKey` e repita; senão, escolha outro título.                               |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_IN_USE_ERROR`         | A chave já está em uso fora desta loja ou foi recusada pelo servidor Git.                                                                                        | Gere um par de chaves novo neste ambiente e envie a nova chave pública. Use um par diferente para cada loja.                                                                       |\n| `CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR` | A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.                                                                     | Envie o conteúdo exato do arquivo `.pub` gerado.                                                                                                                                   |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                 | A loja não tem custom storefront ou ela não está `READY`.                                                                                                        | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR`      | Falha temporária ao ler as chaves no servidor Git. Nada foi adicionado.                                                                                          | Repita a chamada.                                                                                                                                                                  |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`            | O serviço de custom storefront não está disponível neste ambiente.                                                                                               | Entre em contato com a Unbox.                                                                                                                                                      |\n| `SHOP_NOT_FOUND_ERROR`                              | A conta autenticada não está associada a uma loja.                                                                                                               | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.                                 | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(sem código)_                                      | `message` cita `deployPublicKey` ou `title`: chave vazia, de outro tipo, privada, em várias linhas ou acima de 16 KB; título vazio ou com mais de 50 caracteres. | Envie apenas a linha da chave pública (`.pub`) e um título de 1 a 50 caracteres. A mensagem nunca repete a chave enviada.                                                          |\n| _(qualquer outro código)_                           | Falha temporária no servidor Git.                                                                                                                                | Repita a mesma chamada (é idempotente). Persistindo, contate a Unbox.                                                                                                              |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Nunca envie a chave privada.** Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.\n- **Não substitui `provisionCustomStorefront`.** Com a custom storefront `READY`, `provisionCustomStorefront` com outra chave continua recusado com `CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR`: para um novo ambiente, use esta mutation.\n- **A mesma chave já registrada mantém o título original.** Um `title` diferente é ignorado nesse caso.\n- **Quem pode adicionar:** qualquer conta com permissão de escrita na custom storefront. Essa conta já consegue alterar as variáveis de ambiente da loja, então adicionar chaves não amplia o acesso dela. Proteja as credenciais da conta como protege as chaves.\n- **Chamadas simultâneas** para a mesma loja podem ultrapassar o limite de 10 em uma chave. Adicione as chaves uma de cada vez."},"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":"4bb4b461-d938-4503-8a06-df7b6ca02da7","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 AddCustomStorefrontDeployKey($input: AddCustomStorefrontDeployKeyInput!) {\n  addCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\",\n    \"title\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## addCustomStorefrontDeployKey\n\n**Propósito:** Adiciona uma chave SSH de deploy à custom storefront da sua loja, com permissão de push na branch `deploy`.\n**Quando usar:** Para dar acesso de push a uma segunda máquina, a outra pessoa da equipe ou a um pipeline de CI, ou para recuperar o acesso depois de perder a chave privada. Cada ambiente gera o **próprio** par de chaves e registra só a chave pública. Não copie a chave privada entre ambientes: com uma chave por ambiente, cada uma pode ser revogada sem afetar as outras. A chave passa a funcionar assim que a chamada responde. **É idempotente:** repetir a chamada com a mesma chave devolve a chave já registrada, sem duplicá-la, então um retry depois de um timeout é seguro.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront (a mesma de `provisionCustomStorefront`).\n\n### Argumentos\n\nÚnico argumento: `input: AddCustomStorefrontDeployKeyInput!`.\n\n| Nome                    | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                                                                                    |\n| ----------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.deployPublicKey` | `String!` | Sim         | —       | Chave **pública** `ssh-ed25519` (recomendada) ou `ssh-rsa`, em uma linha: o conteúdo do arquivo `.pub`, com ou sem comentário no fim. Até 16 KB.                                                                             |\n| `input.title`           | `String!` | Sim         | —       | Título para identificar a chave, por exemplo o nome da máquina ou `ci`. De 1 a 50 caracteres, sem os espaços das pontas (removidos); trunque nomes de máquina mais longos. Não pode repetir o título de outra chave da loja. |\n\n### Retorno\n\n`CustomStorefrontDeployKey` da chave adicionada ou, se ela já estava registrada, da chave existente, com o título original.\n\n| Propriedade   | Tipo          | Descrição                                                                                                            |\n| ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave. Use em `removeCustomStorefrontDeployKey`.                                                    |\n| `title`       | `String!`     | Título da chave.                                                                                                     |\n| `fingerprint` | `String!`     | Fingerprint SHA256 no formato do OpenSSH (`SHA256:...`), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n| `createdAt`   | `AWSDateTime` | Quando a chave foi adicionada.                                                                                       |\n\n### Erros\n\n| Código                                              | Condição                                                                                                                                                         | O que fazer                                                                                                                                                                        |\n| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_DEPLOY_KEYS_LIMIT_ERROR`         | A loja já tem 10 chaves, o máximo (a do provisionamento conta enquanto existir). Nada foi adicionado.                                                            | Revogue uma chave que não é mais usada com `removeCustomStorefrontDeployKey` e repita a chamada.                                                                                   |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_TITLE_IN_USE_ERROR`   | Outra chave da loja já usa este `title` (ex.: a mesma máquina com uma chave anterior).                                                                           | Se for a mesma máquina com uma chave nova, revogue antes a chave antiga com `removeCustomStorefrontDeployKey` e repita; senão, escolha outro título.                               |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_IN_USE_ERROR`         | A chave já está em uso fora desta loja ou foi recusada pelo servidor Git.                                                                                        | Gere um par de chaves novo neste ambiente e envie a nova chave pública. Use um par diferente para cada loja.                                                                       |\n| `CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR` | A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.                                                                     | Envie o conteúdo exato do arquivo `.pub` gerado.                                                                                                                                   |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                 | A loja não tem custom storefront ou ela não está `READY`.                                                                                                        | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR`      | Falha temporária ao ler as chaves no servidor Git. Nada foi adicionado.                                                                                          | Repita a chamada.                                                                                                                                                                  |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`            | O serviço de custom storefront não está disponível neste ambiente.                                                                                               | Entre em contato com a Unbox.                                                                                                                                                      |\n| `SHOP_NOT_FOUND_ERROR`                              | A conta autenticada não está associada a uma loja.                                                                                                               | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                    | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.                                 | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(sem código)_                                      | `message` cita `deployPublicKey` ou `title`: chave vazia, de outro tipo, privada, em várias linhas ou acima de 16 KB; título vazio ou com mais de 50 caracteres. | Envie apenas a linha da chave pública (`.pub`) e um título de 1 a 50 caracteres. A mensagem nunca repete a chave enviada.                                                          |\n| _(qualquer outro código)_                           | Falha temporária no servidor Git.                                                                                                                                | Repita a mesma chamada (é idempotente). Persistindo, contate a Unbox.                                                                                                              |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Nunca envie a chave privada.** Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.\n- **Não substitui `provisionCustomStorefront`.** Com a custom storefront `READY`, `provisionCustomStorefront` com outra chave continua recusado com `CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR`: para um novo ambiente, use esta mutation.\n- **A mesma chave já registrada mantém o título original.** Um `title` diferente é ignorado nesse caso.\n- **Quem pode adicionar:** qualquer conta com permissão de escrita na custom storefront. Essa conta já consegue alterar as variáveis de ambiente da loja, então adicionar chaves não amplia o acesso dela. Proteja as credenciais da conta como protege as chaves.\n- **Chamadas simultâneas** para a mesma loja podem ultrapassar o limite de 10 em uma chave. Adicione as chaves uma de cada vez."},"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":"259175ca-03fd-522b-9189-877ddabd64bd"},{"name":"[Mutation] provisionCustomStorefront","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 provisionCustomStorefront data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"provisionCustomStorefront\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"279fb21e-88d9-51b2-bae7-32d9f64f889c","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 ProvisionCustomStorefront($input: ProvisionCustomStorefrontInput!) {\n  provisionCustomStorefront(input: $input) {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"provisioncustomstorefront\">provisionCustomStorefront</h2>\n<p><strong>Propósito:</strong> Inicia, ou retoma, o provisionamento da custom storefront da sua loja e registra a sua chave SSH de deploy.\n<strong>Quando usar:</strong> Uma vez por loja, antes da primeira publicação; de novo se o provisionamento terminar em <code>FAILED</code>, ou se continuar <code>PROVISIONING</code> além do esperado (ver <strong>Fluxo</strong> na pasta Custom Storefront). A resposta é imediata: <code>PROVISIONING</code> ao iniciar ou retomar, <code>READY</code> se já estiver pronta. O trabalho roda em segundo plano; acompanhe com <code>customStorefront</code>. <strong>É idempotente</strong> com a mesma chave: chamar de novo não duplica nada.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). A custom storefront é a da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>escrita</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: ProvisionCustomStorefrontInput!</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.deployPublicKey</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Chave SSH <strong>pública</strong>, em uma linha: <code>ssh-ed25519 &lt;base64&gt; [comentário]</code> ou <code>ssh-rsa &lt;base64&gt; [comentário]</code>. Até 16 KB; espaços nas pontas são removidos.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>O estado atual da custom storefront (<code>CustomStorefront</code>, campos descritos na pasta <strong>Custom Storefront</strong>). Na primeira chamada, <code>status</code> é <code>PROVISIONING</code> e <code>repositorySshUrl</code> e <code>currentStep</code> ainda são <code>null</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>CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR</code></td>\n<td>A custom storefront está <code>PROVISIONING</code> ou <code>READY</code> com <strong>outra</strong> chave registrada.</td>\n<td>Use a chave do provisionamento. Para dar acesso a outro ambiente ou recuperar uma chave perdida, use <code>addCustomStorefrontDeployKey</code> (com <code>PROVISIONING</code>, aguarde <code>READY</code> antes).</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR</code></td>\n<td>A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.</td>\n<td>Envie o conteúdo exato do arquivo <code>.pub</code> gerado.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço não está disponível neste ambiente. Nada é gravado.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de escrita na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> cita <code>deployPublicKey</code>: chave vazia, de outro tipo, privada, em várias linhas, com opções antes do tipo ou acima de 16 KB.</td>\n<td>Envie apenas a linha da chave pública (<code>.pub</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 de negócio. Omitir <code>deployPublicKey</code> é rejeitado antes, como erro de validação do próprio GraphQL.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Nunca envie a chave privada.</strong> Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.</li>\n<li><strong>Comportamento por estado, com a mesma chave:</strong><ul>\n<li>sem custom storefront: cria e inicia o provisionamento;</li>\n<li><code>PROVISIONING</code>: retorna o estado atual e retoma o trabalho se ele tiver parado, sem duplicá-lo;</li>\n<li><code>READY</code>: retorna o estado atual, sem alterar nada;</li>\n<li><code>FAILED</code>: retoma do passo que falhou e limpa <code>lastErrorCode</code>.</li>\n</ul>\n</li>\n<li><strong>Com <code>FAILED</code>, a chave pode ser trocada:</strong> a chave enviada passa a ser a registrada e substitui a anterior no repositório.</li>\n<li><strong>Outras chaves:</strong> com <code>READY</code>, novas chaves (outra máquina, CI, outra pessoa) entram por <code>addCustomStorefrontDeployKey</code>, não por esta mutation.</li>\n<li>Seguro para retry: um timeout de rede seguido de nova chamada com a mesma chave não cria uma segunda custom storefront.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e3a113c5-bf08-4b46-a794-c2d9e49b5cc0","name":"200 - provisionCustomStorefront","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 ProvisionCustomStorefront($input: ProvisionCustomStorefrontInput!) {\n  provisionCustomStorefront(input: $input) {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## provisionCustomStorefront\n\n**Propósito:** Inicia, ou retoma, o provisionamento da custom storefront da sua loja e registra a sua chave SSH de deploy.\n**Quando usar:** Uma vez por loja, antes da primeira publicação; de novo se o provisionamento terminar em `FAILED`, ou se continuar `PROVISIONING` além do esperado (ver **Fluxo** na pasta Custom Storefront). A resposta é imediata: `PROVISIONING` ao iniciar ou retomar, `READY` se já estiver pronta. O trabalho roda em segundo plano; acompanhe com `customStorefront`. **É idempotente** com a mesma chave: chamar de novo não duplica nada.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A custom storefront é a da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: ProvisionCustomStorefrontInput!`.\n\n| Nome                    | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                 |\n| ----------------------- | --------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.deployPublicKey` | `String!` | Sim         | —       | Chave SSH **pública**, em uma linha: `ssh-ed25519 <base64> [comentário]` ou `ssh-rsa <base64> [comentário]`. Até 16 KB; espaços nas pontas são removidos. |\n\n### Retorno\n\nO estado atual da custom storefront (`CustomStorefront`, campos descritos na pasta **Custom Storefront**). Na primeira chamada, `status` é `PROVISIONING` e `repositorySshUrl` e `currentStep` ainda são `null`.\n\n### Erros\n\n| Código                                              | Condição                                                                                                                             | O que fazer                                                                                                                                                                      |\n| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR`       | A custom storefront está `PROVISIONING` ou `READY` com **outra** chave registrada.                                                   | Use a chave do provisionamento. Para dar acesso a outro ambiente ou recuperar uma chave perdida, use `addCustomStorefrontDeployKey` (com `PROVISIONING`, aguarde `READY` antes). |\n| `CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR` | A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.                                         | Envie o conteúdo exato do arquivo `.pub` gerado.                                                                                                                                 |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`            | O serviço não está disponível neste ambiente. Nada é gravado.                                                                        | Entre em contato com a Unbox.                                                                                                                                                    |\n| `SHOP_NOT_FOUND_ERROR`                              | A conta autenticada não está associada a uma loja.                                                                                   | Autentique com a conta da loja.                                                                                                                                                  |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                        | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                               |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.     | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                     |\n| _(sem código)_                                      | `message` cita `deployPublicKey`: chave vazia, de outro tipo, privada, em várias linhas, com opções antes do tipo ou acima de 16 KB. | Envie apenas a linha da chave pública (`.pub`).                                                                                                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Omitir `deployPublicKey` é rejeitado antes, como erro de validação do próprio GraphQL.\n\n### Notas\n\n- **Nunca envie a chave privada.** Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.\n- **Comportamento por estado, com a mesma chave:**\n  - sem custom storefront: cria e inicia o provisionamento;\n  - `PROVISIONING`: retorna o estado atual e retoma o trabalho se ele tiver parado, sem duplicá-lo;\n  - `READY`: retorna o estado atual, sem alterar nada;\n  - `FAILED`: retoma do passo que falhou e limpa `lastErrorCode`.\n- **Com `FAILED`, a chave pode ser trocada:** a chave enviada passa a ser a registrada e substitui a anterior no repositório.\n- **Outras chaves:** com `READY`, novas chaves (outra máquina, CI, outra pessoa) entram por `addCustomStorefrontDeployKey`, não por esta mutation.\n- Seguro para retry: um timeout de rede seguido de nova chamada com a mesma chave não cria uma segunda custom storefront."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"provisionCustomStorefront\": {\n      \"_id\": \"Example_String\",\n      \"status\": \"PROVISIONING\",\n      \"currentStep\": \"HOSTING_PROJECT\",\n      \"repositorySshUrl\": \"https://exemplo.com\",\n      \"previewUrl\": \"https://exemplo.com\",\n      \"lastErrorCode\": \"Example_String\",\n      \"updatedAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"36e869be-8749-491f-b10e-f795440e136a","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 ProvisionCustomStorefront($input: ProvisionCustomStorefrontInput!) {\n  provisionCustomStorefront(input: $input) {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## provisionCustomStorefront\n\n**Propósito:** Inicia, ou retoma, o provisionamento da custom storefront da sua loja e registra a sua chave SSH de deploy.\n**Quando usar:** Uma vez por loja, antes da primeira publicação; de novo se o provisionamento terminar em `FAILED`, ou se continuar `PROVISIONING` além do esperado (ver **Fluxo** na pasta Custom Storefront). A resposta é imediata: `PROVISIONING` ao iniciar ou retomar, `READY` se já estiver pronta. O trabalho roda em segundo plano; acompanhe com `customStorefront`. **É idempotente** com a mesma chave: chamar de novo não duplica nada.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A custom storefront é a da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: ProvisionCustomStorefrontInput!`.\n\n| Nome                    | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                 |\n| ----------------------- | --------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.deployPublicKey` | `String!` | Sim         | —       | Chave SSH **pública**, em uma linha: `ssh-ed25519 <base64> [comentário]` ou `ssh-rsa <base64> [comentário]`. Até 16 KB; espaços nas pontas são removidos. |\n\n### Retorno\n\nO estado atual da custom storefront (`CustomStorefront`, campos descritos na pasta **Custom Storefront**). Na primeira chamada, `status` é `PROVISIONING` e `repositorySshUrl` e `currentStep` ainda são `null`.\n\n### Erros\n\n| Código                                              | Condição                                                                                                                             | O que fazer                                                                                                                                                                      |\n| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR`       | A custom storefront está `PROVISIONING` ou `READY` com **outra** chave registrada.                                                   | Use a chave do provisionamento. Para dar acesso a outro ambiente ou recuperar uma chave perdida, use `addCustomStorefrontDeployKey` (com `PROVISIONING`, aguarde `READY` antes). |\n| `CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR` | A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.                                         | Envie o conteúdo exato do arquivo `.pub` gerado.                                                                                                                                 |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`            | O serviço não está disponível neste ambiente. Nada é gravado.                                                                        | Entre em contato com a Unbox.                                                                                                                                                    |\n| `SHOP_NOT_FOUND_ERROR`                              | A conta autenticada não está associada a uma loja.                                                                                   | Autentique com a conta da loja.                                                                                                                                                  |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                        | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                               |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.     | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                     |\n| _(sem código)_                                      | `message` cita `deployPublicKey`: chave vazia, de outro tipo, privada, em várias linhas, com opções antes do tipo ou acima de 16 KB. | Envie apenas a linha da chave pública (`.pub`).                                                                                                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Omitir `deployPublicKey` é rejeitado antes, como erro de validação do próprio GraphQL.\n\n### Notas\n\n- **Nunca envie a chave privada.** Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.\n- **Comportamento por estado, com a mesma chave:**\n  - sem custom storefront: cria e inicia o provisionamento;\n  - `PROVISIONING`: retorna o estado atual e retoma o trabalho se ele tiver parado, sem duplicá-lo;\n  - `READY`: retorna o estado atual, sem alterar nada;\n  - `FAILED`: retoma do passo que falhou e limpa `lastErrorCode`.\n- **Com `FAILED`, a chave pode ser trocada:** a chave enviada passa a ser a registrada e substitui a anterior no repositório.\n- **Outras chaves:** com `READY`, novas chaves (outra máquina, CI, outra pessoa) entram por `addCustomStorefrontDeployKey`, não por esta mutation.\n- Seguro para retry: um timeout de rede seguido de nova chamada com a mesma chave não cria uma segunda custom storefront."},"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":"67f2d3f1-c8aa-479b-a5ef-a96a1154e58d","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 ProvisionCustomStorefront($input: ProvisionCustomStorefrontInput!) {\n  provisionCustomStorefront(input: $input) {\n    _id\n    status\n    currentStep\n    repositorySshUrl\n    previewUrl\n    lastErrorCode\n    updatedAt\n  }\n}","variables":"{\n  \"input\": {\n    \"deployPublicKey\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## provisionCustomStorefront\n\n**Propósito:** Inicia, ou retoma, o provisionamento da custom storefront da sua loja e registra a sua chave SSH de deploy.\n**Quando usar:** Uma vez por loja, antes da primeira publicação; de novo se o provisionamento terminar em `FAILED`, ou se continuar `PROVISIONING` além do esperado (ver **Fluxo** na pasta Custom Storefront). A resposta é imediata: `PROVISIONING` ao iniciar ou retomar, `READY` se já estiver pronta. O trabalho roda em segundo plano; acompanhe com `customStorefront`. **É idempotente** com a mesma chave: chamar de novo não duplica nada.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A custom storefront é a da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: ProvisionCustomStorefrontInput!`.\n\n| Nome                    | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                 |\n| ----------------------- | --------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.deployPublicKey` | `String!` | Sim         | —       | Chave SSH **pública**, em uma linha: `ssh-ed25519 <base64> [comentário]` ou `ssh-rsa <base64> [comentário]`. Até 16 KB; espaços nas pontas são removidos. |\n\n### Retorno\n\nO estado atual da custom storefront (`CustomStorefront`, campos descritos na pasta **Custom Storefront**). Na primeira chamada, `status` é `PROVISIONING` e `repositorySshUrl` e `currentStep` ainda são `null`.\n\n### Erros\n\n| Código                                              | Condição                                                                                                                             | O que fazer                                                                                                                                                                      |\n| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR`       | A custom storefront está `PROVISIONING` ou `READY` com **outra** chave registrada.                                                   | Use a chave do provisionamento. Para dar acesso a outro ambiente ou recuperar uma chave perdida, use `addCustomStorefrontDeployKey` (com `PROVISIONING`, aguarde `READY` antes). |\n| `CUSTOM_STOREFRONT_INVALID_DEPLOY_PUBLIC_KEY_ERROR` | A chave tem o formato certo, mas o conteúdo base64 não é uma chave válida do tipo declarado.                                         | Envie o conteúdo exato do arquivo `.pub` gerado.                                                                                                                                 |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`            | O serviço não está disponível neste ambiente. Nada é gravado.                                                                        | Entre em contato com a Unbox.                                                                                                                                                    |\n| `SHOP_NOT_FOUND_ERROR`                              | A conta autenticada não está associada a uma loja.                                                                                   | Autentique com a conta da loja.                                                                                                                                                  |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                        | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                               |\n| _(sem código)_                                      | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.     | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                     |\n| _(sem código)_                                      | `message` cita `deployPublicKey`: chave vazia, de outro tipo, privada, em várias linhas, com opções antes do tipo ou acima de 16 KB. | Envie apenas a linha da chave pública (`.pub`).                                                                                                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Omitir `deployPublicKey` é rejeitado antes, como erro de validação do próprio GraphQL.\n\n### Notas\n\n- **Nunca envie a chave privada.** Ela é recusada pela validação, mas já trafegou: se enviou por engano, considere-a exposta e gere um par novo.\n- **Comportamento por estado, com a mesma chave:**\n  - sem custom storefront: cria e inicia o provisionamento;\n  - `PROVISIONING`: retorna o estado atual e retoma o trabalho se ele tiver parado, sem duplicá-lo;\n  - `READY`: retorna o estado atual, sem alterar nada;\n  - `FAILED`: retoma do passo que falhou e limpa `lastErrorCode`.\n- **Com `FAILED`, a chave pode ser trocada:** a chave enviada passa a ser a registrada e substitui a anterior no repositório.\n- **Outras chaves:** com `READY`, novas chaves (outra máquina, CI, outra pessoa) entram por `addCustomStorefrontDeployKey`, não por esta mutation.\n- Seguro para retry: um timeout de rede seguido de nova chamada com a mesma chave não cria uma segunda custom storefront."},"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":"279fb21e-88d9-51b2-bae7-32d9f64f889c"},{"name":"[Mutation] publishCustomStorefront","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 publishCustomStorefront data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"publishCustomStorefront\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"d686979b-cd7b-52d0-8d8f-93a169fcb5ae","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 PublishCustomStorefront($input: PublishCustomStorefrontInput!) {\n  publishCustomStorefront(input: $input) {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"commitSha\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"publishcustomstorefront\">publishCustomStorefront</h2>\n<p><strong>Propósito:</strong> Publica em produção o código de um commit que já tem preview pronto (<code>customStorefrontDeployment</code> com <code>state</code> <code>SUCCESS</code>).\n<strong>Quando usar:</strong> Depois de validar o preview de um commit, para colocá-lo no endereço de produção da loja. Normalmente a resposta vem com <code>operation.state</code> <code>PENDING</code>: acompanhe com <code>customStorefrontProduction</code> (intervalos e teto em <strong>Publicação em produção</strong>, na pasta Custom Storefront). Se vier <code>state</code> <code>PUBLISHED</code> com <code>commitSha</code> igual ao pedido, o commit já está no ar e não há o que acompanhar. <strong>Idempotente por commit:</strong> repetir com o commit que já está no ar, ou com o que está sendo publicado, devolve o estado atual sem iniciar outra publicação; é seguro repetir após uma falha de rede. Repetir depois de uma publicação que terminou em <code>FAILURE</code> inicia uma nova.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Publica a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>publicação</strong> na custom storefront, que é separada da permissão de leitura.</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.commitSha</code></td>\n<td><code>String!</code> (em <code>PublishCustomStorefrontInput!</code>)</td>\n<td>Sim</td>\n<td>—</td>\n<td>Hash <strong>completo</strong> do commit a publicar (como em <code>git rev-parse HEAD</code>), o mesmo consultado em <code>customStorefrontDeployment</code>. Maiúsculas e espaços nas pontas são aceitos.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontProduction</code> (ver pasta Custom Storefront). Numa publicação iniciada agora, <code>state</code>/<code>commitSha</code> ainda mostram o que está no ar, e <code>operation</code> traz <code>type</code> <code>PUBLISH</code>, <code>state</code> <code>PENDING</code> e o <code>commitSha</code> pedido.</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>CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR</code></td>\n<td>Já há outra publicação ou rollback em andamento. Um commit com preview inválido recebe o erro do preview antes deste.</td>\n<td>Acompanhe com <code>customStorefrontProduction</code> até <code>operation.state</code> sair de <code>PENDING</code> (intervalos e teto em <strong>Publicação em produção</strong>). Antes de repetir, confira se o que está no ar ainda é o esperado: outra operação pode tê-lo mudado.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOYMENT_NOT_READY_ERROR</code></td>\n<td>O deploy de preview do commit ainda não terminou, ou o commit não gerou deploy (não enviado, recusado ou intermediário de um push).</td>\n<td>Consulte <code>customStorefrontDeployment</code>: com <code>SUCCESS</code>, tente de novo; com <code>FAILURE</code>, corrija e faça um novo push. Se ficar <code>PENDING</code> por mais de ~15 min, siga o passo 6 do <strong>Fluxo</strong>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR</code></td>\n<td>O commit não tem preview publicado: o deploy falhou ou o preview tem mais de 90 dias e foi removido.</td>\n<td>Para um deploy que falhou, corrija e faça um novo push. Para um preview removido, faça um novo push (um commit novo, ainda que vazio: <code>git commit --allow-empty</code>) e publique esse commit.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOYMENT_INVALID_ERROR</code></td>\n<td>Este commit não pode ser publicado nesta loja.</td>\n<td>Não repita. Contate a Unbox informando o <code>commitSha</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de publicação.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> cita <code>commitSha</code>: valor que não é um hash completo.</td>\n<td>Envie a saída de <code>git rev-parse HEAD</code>.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha temporária ao iniciar a publicação.</td>\n<td>Tente de novo em alguns segundos (é seguro: a chamada é idempotente por commit); persistindo, contate a Unbox informando o <code>commitSha</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 de negócio. Falhas no fim da publicação (ex.: o build de produção falhou) só aparecem em <code>operation.errorCode</code> de <code>customStorefrontProduction</code>; uma falha ao iniciar o build aparece nos dois.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Produção refaz o build.</strong> O código publicado é o do commit do preview, mas produção é um build novo, com a configuração de produção da loja. Um commit com preview <code>SUCCESS</code> pode falhar em produção (<code>operation.errorCode</code> <code>CUSTOM_STOREFRONT_PRODUCTION_BUILD_ERROR</code>); nesse caso produção continua exibindo o que já estava no ar.</li>\n<li><strong>Commit publicado antes:</strong> publicar de novo um commit que já esteve no ar (mas não está agora) é permitido e gera uma nova publicação.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"58b0d466-487c-4891-9446-7e72a59aea67","name":"200 - publishCustomStorefront","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 PublishCustomStorefront($input: PublishCustomStorefrontInput!) {\n  publishCustomStorefront(input: $input) {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"commitSha\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## publishCustomStorefront\n\n**Propósito:** Publica em produção o código de um commit que já tem preview pronto (`customStorefrontDeployment` com `state` `SUCCESS`).\n**Quando usar:** Depois de validar o preview de um commit, para colocá-lo no endereço de produção da loja. Normalmente a resposta vem com `operation.state` `PENDING`: acompanhe com `customStorefrontProduction` (intervalos e teto em **Publicação em produção**, na pasta Custom Storefront). Se vier `state` `PUBLISHED` com `commitSha` igual ao pedido, o commit já está no ar e não há o que acompanhar. **Idempotente por commit:** repetir com o commit que já está no ar, ou com o que está sendo publicado, devolve o estado atual sem iniciar outra publicação; é seguro repetir após uma falha de rede. Repetir depois de uma publicação que terminou em `FAILURE` inicia uma nova.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Publica a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **publicação** na custom storefront, que é separada da permissão de leitura.\n\n### Argumentos\n\n| Nome              | Tipo                                           | Obrigatório | Default | Descrição                                                                                                                                                               |\n| ----------------- | ---------------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.commitSha` | `String!` (em `PublishCustomStorefrontInput!`) | Sim         | —       | Hash **completo** do commit a publicar (como em `git rev-parse HEAD`), o mesmo consultado em `customStorefrontDeployment`. Maiúsculas e espaços nas pontas são aceitos. |\n\n### Retorno\n\n`CustomStorefrontProduction` (ver pasta Custom Storefront). Numa publicação iniciada agora, `state`/`commitSha` ainda mostram o que está no ar, e `operation` traz `type` `PUBLISH`, `state` `PENDING` e o `commitSha` pedido.\n\n### Erros\n\n| Código                                         | Condição                                                                                                                            | O que fazer                                                                                                                                                                                                                               |\n| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR`      | Já há outra publicação ou rollback em andamento. Um commit com preview inválido recebe o erro do preview antes deste.               | Acompanhe com `customStorefrontProduction` até `operation.state` sair de `PENDING` (intervalos e teto em **Publicação em produção**). Antes de repetir, confira se o que está no ar ainda é o esperado: outra operação pode tê-lo mudado. |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_READY_ERROR` | O deploy de preview do commit ainda não terminou, ou o commit não gerou deploy (não enviado, recusado ou intermediário de um push). | Consulte `customStorefrontDeployment`: com `SUCCESS`, tente de novo; com `FAILURE`, corrija e faça um novo push. Se ficar `PENDING` por mais de ~15 min, siga o passo 6 do **Fluxo**.                                                     |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR` | O commit não tem preview publicado: o deploy falhou ou o preview tem mais de 90 dias e foi removido.                                | Para um deploy que falhou, corrija e faça um novo push. Para um preview removido, faça um novo push (um commit novo, ainda que vazio: `git commit --allow-empty`) e publique esse commit.                                                 |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_INVALID_ERROR`   | Este commit não pode ser publicado nesta loja.                                                                                      | Não repita. Contate a Unbox informando o `commitSha`.                                                                                                                                                                                     |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`            | A loja não tem custom storefront ou ela não está `READY`.                                                                           | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.                                                                                                                |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`       | O serviço de custom storefront não está disponível neste ambiente.                                                                  | Entre em contato com a Unbox.                                                                                                                                                                                                             |\n| `SHOP_NOT_FOUND_ERROR`                         | A conta autenticada não está associada a uma loja.                                                                                  | Autentique com a conta da loja.                                                                                                                                                                                                           |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                       | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                                                                        |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de publicação.                      | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                                                                              |\n| _(sem código)_                                 | `message` cita `commitSha`: valor que não é um hash completo.                                                                       | Envie a saída de `git rev-parse HEAD`.                                                                                                                                                                                                    |\n| _(qualquer outro código)_                      | Falha temporária ao iniciar a publicação.                                                                                           | Tente de novo em alguns segundos (é seguro: a chamada é idempotente por commit); persistindo, contate a Unbox informando o `commitSha`.                                                                                                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Falhas no fim da publicação (ex.: o build de produção falhou) só aparecem em `operation.errorCode` de `customStorefrontProduction`; uma falha ao iniciar o build aparece nos dois.\n\n### Notas\n\n- **Produção refaz o build.** O código publicado é o do commit do preview, mas produção é um build novo, com a configuração de produção da loja. Um commit com preview `SUCCESS` pode falhar em produção (`operation.errorCode` `CUSTOM_STOREFRONT_PRODUCTION_BUILD_ERROR`); nesse caso produção continua exibindo o que já estava no ar.\n- **Commit publicado antes:** publicar de novo um commit que já esteve no ar (mas não está agora) é permitido e gera uma nova publicação."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"publishCustomStorefront\": {\n      \"state\": \"NOT_PUBLISHED\",\n      \"commitSha\": \"Example_String\",\n      \"url\": \"https://exemplo.com\",\n      \"publishedAt\": \"2025-01-15T10:00:00Z\",\n      \"rollbackCommitSha\": \"Example_String\",\n      \"canRollback\": true,\n      \"operation\": {\n        \"type\": \"PUBLISH\",\n        \"state\": \"PENDING\",\n        \"commitSha\": \"Example_String\",\n        \"errorCode\": \"Example_String\",\n        \"requestedAt\": \"2025-01-15T10:00:00Z\",\n        \"finishedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    }\n  }\n}"},{"id":"78e6fd12-aa9c-40a6-9e63-0ff35d85f441","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 PublishCustomStorefront($input: PublishCustomStorefrontInput!) {\n  publishCustomStorefront(input: $input) {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"commitSha\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## publishCustomStorefront\n\n**Propósito:** Publica em produção o código de um commit que já tem preview pronto (`customStorefrontDeployment` com `state` `SUCCESS`).\n**Quando usar:** Depois de validar o preview de um commit, para colocá-lo no endereço de produção da loja. Normalmente a resposta vem com `operation.state` `PENDING`: acompanhe com `customStorefrontProduction` (intervalos e teto em **Publicação em produção**, na pasta Custom Storefront). Se vier `state` `PUBLISHED` com `commitSha` igual ao pedido, o commit já está no ar e não há o que acompanhar. **Idempotente por commit:** repetir com o commit que já está no ar, ou com o que está sendo publicado, devolve o estado atual sem iniciar outra publicação; é seguro repetir após uma falha de rede. Repetir depois de uma publicação que terminou em `FAILURE` inicia uma nova.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Publica a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **publicação** na custom storefront, que é separada da permissão de leitura.\n\n### Argumentos\n\n| Nome              | Tipo                                           | Obrigatório | Default | Descrição                                                                                                                                                               |\n| ----------------- | ---------------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.commitSha` | `String!` (em `PublishCustomStorefrontInput!`) | Sim         | —       | Hash **completo** do commit a publicar (como em `git rev-parse HEAD`), o mesmo consultado em `customStorefrontDeployment`. Maiúsculas e espaços nas pontas são aceitos. |\n\n### Retorno\n\n`CustomStorefrontProduction` (ver pasta Custom Storefront). Numa publicação iniciada agora, `state`/`commitSha` ainda mostram o que está no ar, e `operation` traz `type` `PUBLISH`, `state` `PENDING` e o `commitSha` pedido.\n\n### Erros\n\n| Código                                         | Condição                                                                                                                            | O que fazer                                                                                                                                                                                                                               |\n| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR`      | Já há outra publicação ou rollback em andamento. Um commit com preview inválido recebe o erro do preview antes deste.               | Acompanhe com `customStorefrontProduction` até `operation.state` sair de `PENDING` (intervalos e teto em **Publicação em produção**). Antes de repetir, confira se o que está no ar ainda é o esperado: outra operação pode tê-lo mudado. |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_READY_ERROR` | O deploy de preview do commit ainda não terminou, ou o commit não gerou deploy (não enviado, recusado ou intermediário de um push). | Consulte `customStorefrontDeployment`: com `SUCCESS`, tente de novo; com `FAILURE`, corrija e faça um novo push. Se ficar `PENDING` por mais de ~15 min, siga o passo 6 do **Fluxo**.                                                     |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR` | O commit não tem preview publicado: o deploy falhou ou o preview tem mais de 90 dias e foi removido.                                | Para um deploy que falhou, corrija e faça um novo push. Para um preview removido, faça um novo push (um commit novo, ainda que vazio: `git commit --allow-empty`) e publique esse commit.                                                 |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_INVALID_ERROR`   | Este commit não pode ser publicado nesta loja.                                                                                      | Não repita. Contate a Unbox informando o `commitSha`.                                                                                                                                                                                     |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`            | A loja não tem custom storefront ou ela não está `READY`.                                                                           | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.                                                                                                                |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`       | O serviço de custom storefront não está disponível neste ambiente.                                                                  | Entre em contato com a Unbox.                                                                                                                                                                                                             |\n| `SHOP_NOT_FOUND_ERROR`                         | A conta autenticada não está associada a uma loja.                                                                                  | Autentique com a conta da loja.                                                                                                                                                                                                           |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                       | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                                                                        |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de publicação.                      | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                                                                              |\n| _(sem código)_                                 | `message` cita `commitSha`: valor que não é um hash completo.                                                                       | Envie a saída de `git rev-parse HEAD`.                                                                                                                                                                                                    |\n| _(qualquer outro código)_                      | Falha temporária ao iniciar a publicação.                                                                                           | Tente de novo em alguns segundos (é seguro: a chamada é idempotente por commit); persistindo, contate a Unbox informando o `commitSha`.                                                                                                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Falhas no fim da publicação (ex.: o build de produção falhou) só aparecem em `operation.errorCode` de `customStorefrontProduction`; uma falha ao iniciar o build aparece nos dois.\n\n### Notas\n\n- **Produção refaz o build.** O código publicado é o do commit do preview, mas produção é um build novo, com a configuração de produção da loja. Um commit com preview `SUCCESS` pode falhar em produção (`operation.errorCode` `CUSTOM_STOREFRONT_PRODUCTION_BUILD_ERROR`); nesse caso produção continua exibindo o que já estava no ar.\n- **Commit publicado antes:** publicar de novo um commit que já esteve no ar (mas não está agora) é permitido e gera uma nova publicaçã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":"024cc3a2-2fb9-4ae1-b031-3aa297a1a7a8","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 PublishCustomStorefront($input: PublishCustomStorefrontInput!) {\n  publishCustomStorefront(input: $input) {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"commitSha\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## publishCustomStorefront\n\n**Propósito:** Publica em produção o código de um commit que já tem preview pronto (`customStorefrontDeployment` com `state` `SUCCESS`).\n**Quando usar:** Depois de validar o preview de um commit, para colocá-lo no endereço de produção da loja. Normalmente a resposta vem com `operation.state` `PENDING`: acompanhe com `customStorefrontProduction` (intervalos e teto em **Publicação em produção**, na pasta Custom Storefront). Se vier `state` `PUBLISHED` com `commitSha` igual ao pedido, o commit já está no ar e não há o que acompanhar. **Idempotente por commit:** repetir com o commit que já está no ar, ou com o que está sendo publicado, devolve o estado atual sem iniciar outra publicação; é seguro repetir após uma falha de rede. Repetir depois de uma publicação que terminou em `FAILURE` inicia uma nova.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Publica a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **publicação** na custom storefront, que é separada da permissão de leitura.\n\n### Argumentos\n\n| Nome              | Tipo                                           | Obrigatório | Default | Descrição                                                                                                                                                               |\n| ----------------- | ---------------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.commitSha` | `String!` (em `PublishCustomStorefrontInput!`) | Sim         | —       | Hash **completo** do commit a publicar (como em `git rev-parse HEAD`), o mesmo consultado em `customStorefrontDeployment`. Maiúsculas e espaços nas pontas são aceitos. |\n\n### Retorno\n\n`CustomStorefrontProduction` (ver pasta Custom Storefront). Numa publicação iniciada agora, `state`/`commitSha` ainda mostram o que está no ar, e `operation` traz `type` `PUBLISH`, `state` `PENDING` e o `commitSha` pedido.\n\n### Erros\n\n| Código                                         | Condição                                                                                                                            | O que fazer                                                                                                                                                                                                                               |\n| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR`      | Já há outra publicação ou rollback em andamento. Um commit com preview inválido recebe o erro do preview antes deste.               | Acompanhe com `customStorefrontProduction` até `operation.state` sair de `PENDING` (intervalos e teto em **Publicação em produção**). Antes de repetir, confira se o que está no ar ainda é o esperado: outra operação pode tê-lo mudado. |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_READY_ERROR` | O deploy de preview do commit ainda não terminou, ou o commit não gerou deploy (não enviado, recusado ou intermediário de um push). | Consulte `customStorefrontDeployment`: com `SUCCESS`, tente de novo; com `FAILURE`, corrija e faça um novo push. Se ficar `PENDING` por mais de ~15 min, siga o passo 6 do **Fluxo**.                                                     |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR` | O commit não tem preview publicado: o deploy falhou ou o preview tem mais de 90 dias e foi removido.                                | Para um deploy que falhou, corrija e faça um novo push. Para um preview removido, faça um novo push (um commit novo, ainda que vazio: `git commit --allow-empty`) e publique esse commit.                                                 |\n| `CUSTOM_STOREFRONT_DEPLOYMENT_INVALID_ERROR`   | Este commit não pode ser publicado nesta loja.                                                                                      | Não repita. Contate a Unbox informando o `commitSha`.                                                                                                                                                                                     |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`            | A loja não tem custom storefront ou ela não está `READY`.                                                                           | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.                                                                                                                |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`       | O serviço de custom storefront não está disponível neste ambiente.                                                                  | Entre em contato com a Unbox.                                                                                                                                                                                                             |\n| `SHOP_NOT_FOUND_ERROR`                         | A conta autenticada não está associada a uma loja.                                                                                  | Autentique com a conta da loja.                                                                                                                                                                                                           |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                       | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                                                                        |\n| _(sem código)_                                 | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de publicação.                      | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                                                                              |\n| _(sem código)_                                 | `message` cita `commitSha`: valor que não é um hash completo.                                                                       | Envie a saída de `git rev-parse HEAD`.                                                                                                                                                                                                    |\n| _(qualquer outro código)_                      | Falha temporária ao iniciar a publicação.                                                                                           | Tente de novo em alguns segundos (é seguro: a chamada é idempotente por commit); persistindo, contate a Unbox informando o `commitSha`.                                                                                                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio. Falhas no fim da publicação (ex.: o build de produção falhou) só aparecem em `operation.errorCode` de `customStorefrontProduction`; uma falha ao iniciar o build aparece nos dois.\n\n### Notas\n\n- **Produção refaz o build.** O código publicado é o do commit do preview, mas produção é um build novo, com a configuração de produção da loja. Um commit com preview `SUCCESS` pode falhar em produção (`operation.errorCode` `CUSTOM_STOREFRONT_PRODUCTION_BUILD_ERROR`); nesse caso produção continua exibindo o que já estava no ar.\n- **Commit publicado antes:** publicar de novo um commit que já esteve no ar (mas não está agora) é permitido e gera uma nova publicaçã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":"d686979b-cd7b-52d0-8d8f-93a169fcb5ae"},{"name":"[Mutation] removeCustomStorefrontDeployKey","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 removeCustomStorefrontDeployKey data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"removeCustomStorefrontDeployKey\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"525009b7-ff72-5581-8cc8-6f0144fc7000","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 RemoveCustomStorefrontDeployKey($input: RemoveCustomStorefrontDeployKeyInput!) {\n  removeCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"_id\": \"Example_String\",\n    \"fingerprint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"removecustomstorefrontdeploykey\">removeCustomStorefrontDeployKey</h2>\n<p><strong>Propósito:</strong> Revoga uma chave SSH de deploy da custom storefront da sua loja.\n<strong>Quando usar:</strong> Quando uma máquina deixa de ser usada, uma pessoa sai da equipe, um pipeline de CI é desativado ou uma chave privada pode ter vazado. A revogação vale assim que a chamada responde: pushes com aquela chave passam a ser recusados, e as outras chaves continuam funcionando. Pode ser a chave do provisionamento e pode ser a última da loja. Nesse caso, ninguém faz push até uma chave nova ser adicionada com <code>addCustomStorefrontDeployKey</code> (adicionar só exige a conta, não uma chave existente). <strong>Não é idempotente na resposta:</strong> repetir a chamada depois de uma remoção bem-sucedida retorna <code>CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR</code> (ver <strong>Notas</strong>).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>escrita</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: RemoveCustomStorefrontDeployKeyInput!</code>. Envie <strong>exatamente um</strong> dos dois campos.</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._id</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Identificador da chave, como retornado por <code>customStorefrontDeployKeys</code> ou <code>addCustomStorefrontDeployKey</code>.</td>\n</tr>\n<tr>\n<td><code>input.fingerprint</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Fingerprint SHA256 no formato do OpenSSH (<code>SHA256:</code> seguido de 43 caracteres), igual ao 2º campo da saída de <code>ssh-keygen -lf &lt;chave&gt;.pub</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontDeployKey</code> da chave removida, como estava antes da remoção.</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 chave removida.</td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td><code>String!</code></td>\n<td>Título da chave removida.</td>\n</tr>\n<tr>\n<td><code>fingerprint</code></td>\n<td><code>String!</code></td>\n<td>Fingerprint SHA256 da chave removida.</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Quando a chave removida tinha sido adicionada.</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>CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR</code></td>\n<td>Nenhuma chave desta loja tem o <code>_id</code> ou o <code>fingerprint</code> enviado, inclusive quando ela acabou de ser removida por outra chamada.</td>\n<td>Confira com <code>customStorefrontDeployKeys</code>: se a chave não aparece, ela já não tem acesso. Em retry depois de timeout, trate como sucesso.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_GIT_DELETE_DEPLOY_KEY_ERROR</code></td>\n<td>Falha temporária ao remover a chave no servidor Git. A chave pode continuar ativa.</td>\n<td>Repita a chamada. Persistindo, contate a Unbox; se a chave vazou, informe isso.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR</code></td>\n<td>Falha temporária ao ler as chaves no servidor Git. Nada foi removido.</td>\n<td>Repita a chamada.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: sem custom storefront, use <code>provisionCustomStorefront</code>; com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de escrita na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> cita <code>_id</code> ou <code>fingerprint</code>: nenhum ou os dois enviados, <code>_id</code> não numérico ou <code>fingerprint</code> fora do formato <code>SHA256:</code>.</td>\n<td>Envie só um dos campos, no formato de <strong>Argumentos</strong>.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha inesperada; a chave pode continuar ativa.</td>\n<td>Confira com <code>customStorefrontDeployKeys</code> e repita se ela ainda aparecer. Persistindo, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Retry depois de timeout:</strong> se a resposta se perdeu e a nova tentativa retornar <code>CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR</code>, a primeira chamada removeu a chave. Confirme com <code>customStorefrontDeployKeys</code>.</li>\n<li><strong>Chave vazada:</strong> revogue imediatamente. Não é preciso adicionar outra chave antes, porque adicionar só exige a conta. O código que já foi enviado e os previews já gerados não são desfeitos: revise os commits recentes da <code>deploy</code> e, se houver suspeita, troque os valores sensíveis com <code>setCustomStorefrontEnvironment</code>.</li>\n<li><strong>Chave do provisionamento:</strong> depois de removida, <code>provisionCustomStorefront</code> com essa chave continua respondendo <code>READY</code>, mas ela não faz mais push. Para voltar a usá-la, adicione-a de novo com <code>addCustomStorefrontDeployKey</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ee666694-6ddc-49e6-8351-38cc32410d69","name":"200 - removeCustomStorefrontDeployKey","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 RemoveCustomStorefrontDeployKey($input: RemoveCustomStorefrontDeployKeyInput!) {\n  removeCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"_id\": \"Example_String\",\n    \"fingerprint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCustomStorefrontDeployKey\n\n**Propósito:** Revoga uma chave SSH de deploy da custom storefront da sua loja.\n**Quando usar:** Quando uma máquina deixa de ser usada, uma pessoa sai da equipe, um pipeline de CI é desativado ou uma chave privada pode ter vazado. A revogação vale assim que a chamada responde: pushes com aquela chave passam a ser recusados, e as outras chaves continuam funcionando. Pode ser a chave do provisionamento e pode ser a última da loja. Nesse caso, ninguém faz push até uma chave nova ser adicionada com `addCustomStorefrontDeployKey` (adicionar só exige a conta, não uma chave existente). **Não é idempotente na resposta:** repetir a chamada depois de uma remoção bem-sucedida retorna `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR` (ver **Notas**).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCustomStorefrontDeployKeyInput!`. Envie **exatamente um** dos dois campos.\n\n| Nome                | Tipo     | Obrigatório | Default | Descrição                                                                                                                                  |\n| ------------------- | -------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input._id`         | `String` | Não         | —       | Identificador da chave, como retornado por `customStorefrontDeployKeys` ou `addCustomStorefrontDeployKey`.                                 |\n| `input.fingerprint` | `String` | Não         | —       | Fingerprint SHA256 no formato do OpenSSH (`SHA256:` seguido de 43 caracteres), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n\n### Retorno\n\n`CustomStorefrontDeployKey` da chave removida, como estava antes da remoção.\n\n| Propriedade   | Tipo          | Descrição                                      |\n| ------------- | ------------- | ---------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave removida.               |\n| `title`       | `String!`     | Título da chave removida.                      |\n| `fingerprint` | `String!`     | Fingerprint SHA256 da chave removida.          |\n| `createdAt`   | `AWSDateTime` | Quando a chave removida tinha sido adicionada. |\n\n### Erros\n\n| Código                                          | Condição                                                                                                                          | O que fazer                                                                                                                                                                        |\n| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR`  | Nenhuma chave desta loja tem o `_id` ou o `fingerprint` enviado, inclusive quando ela acabou de ser removida por outra chamada.   | Confira com `customStorefrontDeployKeys`: se a chave não aparece, ela já não tem acesso. Em retry depois de timeout, trate como sucesso.                                           |\n| `CUSTOM_STOREFRONT_GIT_DELETE_DEPLOY_KEY_ERROR` | Falha temporária ao remover a chave no servidor Git. A chave pode continuar ativa.                                                | Repita a chamada. Persistindo, contate a Unbox; se a chave vazou, informe isso.                                                                                                    |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR`  | Falha temporária ao ler as chaves no servidor Git. Nada foi removido.                                                             | Repita a chamada.                                                                                                                                                                  |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`             | A loja não tem custom storefront ou ela não está `READY`.                                                                         | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`        | O serviço de custom storefront não está disponível neste ambiente.                                                                | Entre em contato com a Unbox.                                                                                                                                                      |\n| `SHOP_NOT_FOUND_ERROR`                          | A conta autenticada não está associada a uma loja.                                                                                | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                  | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                     | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                  | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.  | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(sem código)_                                  | `message` cita `_id` ou `fingerprint`: nenhum ou os dois enviados, `_id` não numérico ou `fingerprint` fora do formato `SHA256:`. | Envie só um dos campos, no formato de **Argumentos**.                                                                                                                              |\n| _(qualquer outro código)_                       | Falha inesperada; a chave pode continuar ativa.                                                                                   | Confira com `customStorefrontDeployKeys` e repita se ela ainda aparecer. Persistindo, contate a Unbox.                                                                             |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Retry depois de timeout:** se a resposta se perdeu e a nova tentativa retornar `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR`, a primeira chamada removeu a chave. Confirme com `customStorefrontDeployKeys`.\n- **Chave vazada:** revogue imediatamente. Não é preciso adicionar outra chave antes, porque adicionar só exige a conta. O código que já foi enviado e os previews já gerados não são desfeitos: revise os commits recentes da `deploy` e, se houver suspeita, troque os valores sensíveis com `setCustomStorefrontEnvironment`.\n- **Chave do provisionamento:** depois de removida, `provisionCustomStorefront` com essa chave continua respondendo `READY`, mas ela não faz mais push. Para voltar a usá-la, adicione-a de novo com `addCustomStorefrontDeployKey`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"removeCustomStorefrontDeployKey\": {\n      \"_id\": \"Example_String\",\n      \"title\": \"Example_String\",\n      \"fingerprint\": \"Example_String\",\n      \"createdAt\": \"2025-01-15T10:00:00Z\"\n    }\n  }\n}"},{"id":"1f64234d-9082-4643-9555-cb00b6671aae","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 RemoveCustomStorefrontDeployKey($input: RemoveCustomStorefrontDeployKeyInput!) {\n  removeCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"_id\": \"Example_String\",\n    \"fingerprint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCustomStorefrontDeployKey\n\n**Propósito:** Revoga uma chave SSH de deploy da custom storefront da sua loja.\n**Quando usar:** Quando uma máquina deixa de ser usada, uma pessoa sai da equipe, um pipeline de CI é desativado ou uma chave privada pode ter vazado. A revogação vale assim que a chamada responde: pushes com aquela chave passam a ser recusados, e as outras chaves continuam funcionando. Pode ser a chave do provisionamento e pode ser a última da loja. Nesse caso, ninguém faz push até uma chave nova ser adicionada com `addCustomStorefrontDeployKey` (adicionar só exige a conta, não uma chave existente). **Não é idempotente na resposta:** repetir a chamada depois de uma remoção bem-sucedida retorna `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR` (ver **Notas**).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCustomStorefrontDeployKeyInput!`. Envie **exatamente um** dos dois campos.\n\n| Nome                | Tipo     | Obrigatório | Default | Descrição                                                                                                                                  |\n| ------------------- | -------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input._id`         | `String` | Não         | —       | Identificador da chave, como retornado por `customStorefrontDeployKeys` ou `addCustomStorefrontDeployKey`.                                 |\n| `input.fingerprint` | `String` | Não         | —       | Fingerprint SHA256 no formato do OpenSSH (`SHA256:` seguido de 43 caracteres), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n\n### Retorno\n\n`CustomStorefrontDeployKey` da chave removida, como estava antes da remoção.\n\n| Propriedade   | Tipo          | Descrição                                      |\n| ------------- | ------------- | ---------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave removida.               |\n| `title`       | `String!`     | Título da chave removida.                      |\n| `fingerprint` | `String!`     | Fingerprint SHA256 da chave removida.          |\n| `createdAt`   | `AWSDateTime` | Quando a chave removida tinha sido adicionada. |\n\n### Erros\n\n| Código                                          | Condição                                                                                                                          | O que fazer                                                                                                                                                                        |\n| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR`  | Nenhuma chave desta loja tem o `_id` ou o `fingerprint` enviado, inclusive quando ela acabou de ser removida por outra chamada.   | Confira com `customStorefrontDeployKeys`: se a chave não aparece, ela já não tem acesso. Em retry depois de timeout, trate como sucesso.                                           |\n| `CUSTOM_STOREFRONT_GIT_DELETE_DEPLOY_KEY_ERROR` | Falha temporária ao remover a chave no servidor Git. A chave pode continuar ativa.                                                | Repita a chamada. Persistindo, contate a Unbox; se a chave vazou, informe isso.                                                                                                    |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR`  | Falha temporária ao ler as chaves no servidor Git. Nada foi removido.                                                             | Repita a chamada.                                                                                                                                                                  |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`             | A loja não tem custom storefront ou ela não está `READY`.                                                                         | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`        | O serviço de custom storefront não está disponível neste ambiente.                                                                | Entre em contato com a Unbox.                                                                                                                                                      |\n| `SHOP_NOT_FOUND_ERROR`                          | A conta autenticada não está associada a uma loja.                                                                                | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                  | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                     | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                  | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.  | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(sem código)_                                  | `message` cita `_id` ou `fingerprint`: nenhum ou os dois enviados, `_id` não numérico ou `fingerprint` fora do formato `SHA256:`. | Envie só um dos campos, no formato de **Argumentos**.                                                                                                                              |\n| _(qualquer outro código)_                       | Falha inesperada; a chave pode continuar ativa.                                                                                   | Confira com `customStorefrontDeployKeys` e repita se ela ainda aparecer. Persistindo, contate a Unbox.                                                                             |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Retry depois de timeout:** se a resposta se perdeu e a nova tentativa retornar `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR`, a primeira chamada removeu a chave. Confirme com `customStorefrontDeployKeys`.\n- **Chave vazada:** revogue imediatamente. Não é preciso adicionar outra chave antes, porque adicionar só exige a conta. O código que já foi enviado e os previews já gerados não são desfeitos: revise os commits recentes da `deploy` e, se houver suspeita, troque os valores sensíveis com `setCustomStorefrontEnvironment`.\n- **Chave do provisionamento:** depois de removida, `provisionCustomStorefront` com essa chave continua respondendo `READY`, mas ela não faz mais push. Para voltar a usá-la, adicione-a de novo com `addCustomStorefrontDeployKey`."},"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":"b2b23b07-7550-4e5f-92e0-8d6c8ba9aa86","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 RemoveCustomStorefrontDeployKey($input: RemoveCustomStorefrontDeployKeyInput!) {\n  removeCustomStorefrontDeployKey(input: $input) {\n    _id\n    title\n    fingerprint\n    createdAt\n  }\n}","variables":"{\n  \"input\": {\n    \"_id\": \"Example_String\",\n    \"fingerprint\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeCustomStorefrontDeployKey\n\n**Propósito:** Revoga uma chave SSH de deploy da custom storefront da sua loja.\n**Quando usar:** Quando uma máquina deixa de ser usada, uma pessoa sai da equipe, um pipeline de CI é desativado ou uma chave privada pode ter vazado. A revogação vale assim que a chamada responde: pushes com aquela chave passam a ser recusados, e as outras chaves continuam funcionando. Pode ser a chave do provisionamento e pode ser a última da loja. Nesse caso, ninguém faz push até uma chave nova ser adicionada com `addCustomStorefrontDeployKey` (adicionar só exige a conta, não uma chave existente). **Não é idempotente na resposta:** repetir a chamada depois de uma remoção bem-sucedida retorna `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR` (ver **Notas**).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveCustomStorefrontDeployKeyInput!`. Envie **exatamente um** dos dois campos.\n\n| Nome                | Tipo     | Obrigatório | Default | Descrição                                                                                                                                  |\n| ------------------- | -------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input._id`         | `String` | Não         | —       | Identificador da chave, como retornado por `customStorefrontDeployKeys` ou `addCustomStorefrontDeployKey`.                                 |\n| `input.fingerprint` | `String` | Não         | —       | Fingerprint SHA256 no formato do OpenSSH (`SHA256:` seguido de 43 caracteres), igual ao 2º campo da saída de `ssh-keygen -lf <chave>.pub`. |\n\n### Retorno\n\n`CustomStorefrontDeployKey` da chave removida, como estava antes da remoção.\n\n| Propriedade   | Tipo          | Descrição                                      |\n| ------------- | ------------- | ---------------------------------------------- |\n| `_id`         | `String!`     | Identificador da chave removida.               |\n| `title`       | `String!`     | Título da chave removida.                      |\n| `fingerprint` | `String!`     | Fingerprint SHA256 da chave removida.          |\n| `createdAt`   | `AWSDateTime` | Quando a chave removida tinha sido adicionada. |\n\n### Erros\n\n| Código                                          | Condição                                                                                                                          | O que fazer                                                                                                                                                                        |\n| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR`  | Nenhuma chave desta loja tem o `_id` ou o `fingerprint` enviado, inclusive quando ela acabou de ser removida por outra chamada.   | Confira com `customStorefrontDeployKeys`: se a chave não aparece, ela já não tem acesso. Em retry depois de timeout, trate como sucesso.                                           |\n| `CUSTOM_STOREFRONT_GIT_DELETE_DEPLOY_KEY_ERROR` | Falha temporária ao remover a chave no servidor Git. A chave pode continuar ativa.                                                | Repita a chamada. Persistindo, contate a Unbox; se a chave vazou, informe isso.                                                                                                    |\n| `CUSTOM_STOREFRONT_GIT_LIST_DEPLOY_KEYS_ERROR`  | Falha temporária ao ler as chaves no servidor Git. Nada foi removido.                                                             | Repita a chamada.                                                                                                                                                                  |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`             | A loja não tem custom storefront ou ela não está `READY`.                                                                         | Consulte `customStorefront`: sem custom storefront, use `provisionCustomStorefront`; com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`        | O serviço de custom storefront não está disponível neste ambiente.                                                                | Entre em contato com a Unbox.                                                                                                                                                      |\n| `SHOP_NOT_FOUND_ERROR`                          | A conta autenticada não está associada a uma loja.                                                                                | Autentique com a conta da loja.                                                                                                                                                    |\n| _(sem código)_                                  | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                     | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                 |\n| _(sem código)_                                  | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.  | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                       |\n| _(sem código)_                                  | `message` cita `_id` ou `fingerprint`: nenhum ou os dois enviados, `_id` não numérico ou `fingerprint` fora do formato `SHA256:`. | Envie só um dos campos, no formato de **Argumentos**.                                                                                                                              |\n| _(qualquer outro código)_                       | Falha inesperada; a chave pode continuar ativa.                                                                                   | Confira com `customStorefrontDeployKeys` e repita se ela ainda aparecer. Persistindo, contate a Unbox.                                                                             |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Retry depois de timeout:** se a resposta se perdeu e a nova tentativa retornar `CUSTOM_STOREFRONT_DEPLOY_KEY_NOT_FOUND_ERROR`, a primeira chamada removeu a chave. Confirme com `customStorefrontDeployKeys`.\n- **Chave vazada:** revogue imediatamente. Não é preciso adicionar outra chave antes, porque adicionar só exige a conta. O código que já foi enviado e os previews já gerados não são desfeitos: revise os commits recentes da `deploy` e, se houver suspeita, troque os valores sensíveis com `setCustomStorefrontEnvironment`.\n- **Chave do provisionamento:** depois de removida, `provisionCustomStorefront` com essa chave continua respondendo `READY`, mas ela não faz mais push. Para voltar a usá-la, adicione-a de novo com `addCustomStorefrontDeployKey`."},"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":"525009b7-ff72-5581-8cc8-6f0144fc7000"},{"name":"[Mutation] rollbackCustomStorefront","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 rollbackCustomStorefront data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"rollbackCustomStorefront\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"de38362f-3ea7-5f58-a0f9-57c73fb3e727","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 RollbackCustomStorefront {\n  rollbackCustomStorefront {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"rollbackcustomstorefront\">rollbackCustomStorefront</h2>\n<p><strong>Propósito:</strong> Volta a produção para a publicação feita imediatamente antes da que está no ar, na ordem cronológica de publicação, ou para a página inicial \"Em breve\" quando a que está no ar é a primeira.\n<strong>Quando usar:</strong> Para desfazer uma publicação com problema. Não há novo build: a troca é imediata e a resposta normalmente já vem com <code>operation.state</code> <code>SUCCESS</code>. Antes de chamar, confira em <code>customStorefrontProduction</code>: <code>canRollback</code> diz se é possível e, com <code>canRollback</code> <code>true</code>, <code>rollbackCommitSha</code> mostra para qual commit vai voltar (<code>null</code> = página inicial \"Em breve\"). Guarde também o <code>operation.requestedAt</code> atual. <strong>Não é idempotente:</strong> cada chamada volta mais uma publicação. Após uma falha de rede, consulte <code>customStorefrontProduction</code>: se <code>operation.type</code> for <code>ROLLBACK</code> com <code>requestedAt</code> diferente do guardado e <code>operation.state</code> <code>SUCCESS</code>, o rollback foi aplicado e não deve ser repetido; com <code>PENDING</code>, veja <strong>Rollback interrompido</strong> nas Notas.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Vale para a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de <strong>publicação</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontProduction</code> (ver pasta Custom Storefront) já com o resultado do rollback: <code>operation.type</code> <code>ROLLBACK</code>, <code>state</code>/<code>commitSha</code>/<code>publishedAt</code> do destino que voltou ao ar e <code>canRollback</code>/<code>rollbackCommitSha</code> calculados a partir dele. Se <code>operation.type</code> não for <code>ROLLBACK</code> ou <code>operation.state</code> não for <code>SUCCESS</code>, outra operação começou logo depois do rollback: confira em <code>customStorefrontProduction</code> antes de qualquer nova açã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>CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR</code></td>\n<td>Não há para onde voltar: produção exibe a página inicial \"Em breve\" (<code>NOT_PUBLISHED</code>), algo publicado fora desta API (<code>UNKNOWN</code>) ou a mais antiga das publicações guardadas.</td>\n<td>Nada a desfazer por rollback. Se houver uma publicação <code>PENDING</code>, aguarde ela terminar e confira de novo. Para colocar um commit no ar, use <code>publishCustomStorefront</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR</code></td>\n<td>Já há outra publicação ou rollback em andamento.</td>\n<td>Acompanhe com <code>customStorefrontProduction</code> até <code>operation.state</code> sair de <code>PENDING</code> (intervalos e teto em <strong>Publicação em produção</strong>) e decida de novo: a operação pode ter mudado o que está no ar.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_ROLLBACK_TARGET_UNAVAILABLE_ERROR</code></td>\n<td>A publicação de destino não existe mais.</td>\n<td>Publique o commit desejado com <code>publishCustomStorefront</code> (se o preview tiver sido removido, siga a ação de <code>CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR</code> lá).</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de publicação.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha temporária.</td>\n<td>Consulte <code>customStorefrontProduction</code> e só repita se o rollback não tiver sido aplicado (ver <strong>Quando usar</strong>); persistindo, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>A ordem é a de publicação.</strong> Com as publicações A, B e C (C no ar), rollbacks seguidos levam para B, A e então à página inicial \"Em breve\"; o próximo dá <code>CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR</code>. Depois de voltar de C para B e publicar D, um rollback a partir de D volta para C (a publicação feita antes de D).</li>\n<li>Logo depois da troca, <code>customStorefrontProduction</code> já mostra em <code>state</code>/<code>commitSha</code> o destino que entrou no ar, como a resposta desta mutation; só o endereço de produção (<code>url</code>) pode levar alguns segundos a mais para exibir o conteúdo (cache). Só uma troca feita fora da Unbox fica sujeita a atraso na query (ver <code>customStorefrontProduction</code>).</li>\n<li><strong>Rollback interrompido:</strong> se a troca for interrompida na Unbox, a chamada termina em erro de rede ou timeout e <code>customStorefrontProduction</code> mostra <code>operation.type</code> <code>ROLLBACK</code> <code>PENDING</code> com <code>requestedAt</code> novo, que nada fecha. Aguarde alguns segundos e compare <code>state</code>/<code>commitSha</code> com o destino (<code>operation.commitSha</code>; <code>null</code> = página inicial \"Em breve\"): se forem iguais, o rollback foi aplicado e não deve ser repetido. Depois de 1 min, a operação deixa de bloquear e <code>canRollback</code>/<code>rollbackCommitSha</code> voltam a refletir o que está no ar.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ef620ae8-a2bc-49d9-8f43-feda2844e3bd","name":"200 - rollbackCustomStorefront","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 RollbackCustomStorefront {\n  rollbackCustomStorefront {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## rollbackCustomStorefront\n\n**Propósito:** Volta a produção para a publicação feita imediatamente antes da que está no ar, na ordem cronológica de publicação, ou para a página inicial \"Em breve\" quando a que está no ar é a primeira.\n**Quando usar:** Para desfazer uma publicação com problema. Não há novo build: a troca é imediata e a resposta normalmente já vem com `operation.state` `SUCCESS`. Antes de chamar, confira em `customStorefrontProduction`: `canRollback` diz se é possível e, com `canRollback` `true`, `rollbackCommitSha` mostra para qual commit vai voltar (`null` = página inicial \"Em breve\"). Guarde também o `operation.requestedAt` atual. **Não é idempotente:** cada chamada volta mais uma publicação. Após uma falha de rede, consulte `customStorefrontProduction`: se `operation.type` for `ROLLBACK` com `requestedAt` diferente do guardado e `operation.state` `SUCCESS`, o rollback foi aplicado e não deve ser repetido; com `PENDING`, veja **Rollback interrompido** nas Notas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de **publicação** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontProduction` (ver pasta Custom Storefront) já com o resultado do rollback: `operation.type` `ROLLBACK`, `state`/`commitSha`/`publishedAt` do destino que voltou ao ar e `canRollback`/`rollbackCommitSha` calculados a partir dele. Se `operation.type` não for `ROLLBACK` ou `operation.state` não for `SUCCESS`, outra operação começou logo depois do rollback: confira em `customStorefrontProduction` antes de qualquer nova ação.\n\n### Erros\n\n| Código                                                | Condição                                                                                                                                                                     | O que fazer                                                                                                                                                                                         |\n| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR`         | Não há para onde voltar: produção exibe a página inicial \"Em breve\" (`NOT_PUBLISHED`), algo publicado fora desta API (`UNKNOWN`) ou a mais antiga das publicações guardadas. | Nada a desfazer por rollback. Se houver uma publicação `PENDING`, aguarde ela terminar e confira de novo. Para colocar um commit no ar, use `publishCustomStorefront`.                              |\n| `CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR`             | Já há outra publicação ou rollback em andamento.                                                                                                                             | Acompanhe com `customStorefrontProduction` até `operation.state` sair de `PENDING` (intervalos e teto em **Publicação em produção**) e decida de novo: a operação pode ter mudado o que está no ar. |\n| `CUSTOM_STOREFRONT_ROLLBACK_TARGET_UNAVAILABLE_ERROR` | A publicação de destino não existe mais.                                                                                                                                     | Publique o commit desejado com `publishCustomStorefront` (se o preview tiver sido removido, siga a ação de `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR` lá).                                      |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                   | A loja não tem custom storefront ou ela não está `READY`.                                                                                                                    | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.                                                                          |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`              | O serviço de custom storefront não está disponível neste ambiente.                                                                                                           | Entre em contato com a Unbox.                                                                                                                                                                       |\n| `SHOP_NOT_FOUND_ERROR`                                | A conta autenticada não está associada a uma loja.                                                                                                                           | Autentique com a conta da loja.                                                                                                                                                                     |\n| _(sem código)_                                        | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                                | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                                  |\n| _(sem código)_                                        | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de publicação.                                                               | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                                        |\n| _(qualquer outro código)_                             | Falha temporária.                                                                                                                                                            | Consulte `customStorefrontProduction` e só repita se o rollback não tiver sido aplicado (ver **Quando usar**); persistindo, contate a Unbox.                                                        |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **A ordem é a de publicação.** Com as publicações A, B e C (C no ar), rollbacks seguidos levam para B, A e então à página inicial \"Em breve\"; o próximo dá `CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR`. Depois de voltar de C para B e publicar D, um rollback a partir de D volta para C (a publicação feita antes de D).\n- Logo depois da troca, `customStorefrontProduction` já mostra em `state`/`commitSha` o destino que entrou no ar, como a resposta desta mutation; só o endereço de produção (`url`) pode levar alguns segundos a mais para exibir o conteúdo (cache). Só uma troca feita fora da Unbox fica sujeita a atraso na query (ver `customStorefrontProduction`).\n- **Rollback interrompido:** se a troca for interrompida na Unbox, a chamada termina em erro de rede ou timeout e `customStorefrontProduction` mostra `operation.type` `ROLLBACK` `PENDING` com `requestedAt` novo, que nada fecha. Aguarde alguns segundos e compare `state`/`commitSha` com o destino (`operation.commitSha`; `null` = página inicial \"Em breve\"): se forem iguais, o rollback foi aplicado e não deve ser repetido. Depois de 1 min, a operação deixa de bloquear e `canRollback`/`rollbackCommitSha` voltam a refletir o que está no ar."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"rollbackCustomStorefront\": {\n      \"state\": \"NOT_PUBLISHED\",\n      \"commitSha\": \"Example_String\",\n      \"url\": \"https://exemplo.com\",\n      \"publishedAt\": \"2025-01-15T10:00:00Z\",\n      \"rollbackCommitSha\": \"Example_String\",\n      \"canRollback\": true,\n      \"operation\": {\n        \"type\": \"PUBLISH\",\n        \"state\": \"PENDING\",\n        \"commitSha\": \"Example_String\",\n        \"errorCode\": \"Example_String\",\n        \"requestedAt\": \"2025-01-15T10:00:00Z\",\n        \"finishedAt\": \"2025-01-15T10:00:00Z\"\n      }\n    }\n  }\n}"},{"id":"4cf377c6-84d7-493d-adbf-c2b9ff6162bb","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 RollbackCustomStorefront {\n  rollbackCustomStorefront {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## rollbackCustomStorefront\n\n**Propósito:** Volta a produção para a publicação feita imediatamente antes da que está no ar, na ordem cronológica de publicação, ou para a página inicial \"Em breve\" quando a que está no ar é a primeira.\n**Quando usar:** Para desfazer uma publicação com problema. Não há novo build: a troca é imediata e a resposta normalmente já vem com `operation.state` `SUCCESS`. Antes de chamar, confira em `customStorefrontProduction`: `canRollback` diz se é possível e, com `canRollback` `true`, `rollbackCommitSha` mostra para qual commit vai voltar (`null` = página inicial \"Em breve\"). Guarde também o `operation.requestedAt` atual. **Não é idempotente:** cada chamada volta mais uma publicação. Após uma falha de rede, consulte `customStorefrontProduction`: se `operation.type` for `ROLLBACK` com `requestedAt` diferente do guardado e `operation.state` `SUCCESS`, o rollback foi aplicado e não deve ser repetido; com `PENDING`, veja **Rollback interrompido** nas Notas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de **publicação** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontProduction` (ver pasta Custom Storefront) já com o resultado do rollback: `operation.type` `ROLLBACK`, `state`/`commitSha`/`publishedAt` do destino que voltou ao ar e `canRollback`/`rollbackCommitSha` calculados a partir dele. Se `operation.type` não for `ROLLBACK` ou `operation.state` não for `SUCCESS`, outra operação começou logo depois do rollback: confira em `customStorefrontProduction` antes de qualquer nova ação.\n\n### Erros\n\n| Código                                                | Condição                                                                                                                                                                     | O que fazer                                                                                                                                                                                         |\n| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR`         | Não há para onde voltar: produção exibe a página inicial \"Em breve\" (`NOT_PUBLISHED`), algo publicado fora desta API (`UNKNOWN`) ou a mais antiga das publicações guardadas. | Nada a desfazer por rollback. Se houver uma publicação `PENDING`, aguarde ela terminar e confira de novo. Para colocar um commit no ar, use `publishCustomStorefront`.                              |\n| `CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR`             | Já há outra publicação ou rollback em andamento.                                                                                                                             | Acompanhe com `customStorefrontProduction` até `operation.state` sair de `PENDING` (intervalos e teto em **Publicação em produção**) e decida de novo: a operação pode ter mudado o que está no ar. |\n| `CUSTOM_STOREFRONT_ROLLBACK_TARGET_UNAVAILABLE_ERROR` | A publicação de destino não existe mais.                                                                                                                                     | Publique o commit desejado com `publishCustomStorefront` (se o preview tiver sido removido, siga a ação de `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR` lá).                                      |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                   | A loja não tem custom storefront ou ela não está `READY`.                                                                                                                    | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.                                                                          |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`              | O serviço de custom storefront não está disponível neste ambiente.                                                                                                           | Entre em contato com a Unbox.                                                                                                                                                                       |\n| `SHOP_NOT_FOUND_ERROR`                                | A conta autenticada não está associada a uma loja.                                                                                                                           | Autentique com a conta da loja.                                                                                                                                                                     |\n| _(sem código)_                                        | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                                | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                                  |\n| _(sem código)_                                        | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de publicação.                                                               | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                                        |\n| _(qualquer outro código)_                             | Falha temporária.                                                                                                                                                            | Consulte `customStorefrontProduction` e só repita se o rollback não tiver sido aplicado (ver **Quando usar**); persistindo, contate a Unbox.                                                        |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **A ordem é a de publicação.** Com as publicações A, B e C (C no ar), rollbacks seguidos levam para B, A e então à página inicial \"Em breve\"; o próximo dá `CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR`. Depois de voltar de C para B e publicar D, um rollback a partir de D volta para C (a publicação feita antes de D).\n- Logo depois da troca, `customStorefrontProduction` já mostra em `state`/`commitSha` o destino que entrou no ar, como a resposta desta mutation; só o endereço de produção (`url`) pode levar alguns segundos a mais para exibir o conteúdo (cache). Só uma troca feita fora da Unbox fica sujeita a atraso na query (ver `customStorefrontProduction`).\n- **Rollback interrompido:** se a troca for interrompida na Unbox, a chamada termina em erro de rede ou timeout e `customStorefrontProduction` mostra `operation.type` `ROLLBACK` `PENDING` com `requestedAt` novo, que nada fecha. Aguarde alguns segundos e compare `state`/`commitSha` com o destino (`operation.commitSha`; `null` = página inicial \"Em breve\"): se forem iguais, o rollback foi aplicado e não deve ser repetido. Depois de 1 min, a operação deixa de bloquear e `canRollback`/`rollbackCommitSha` voltam a refletir o que está no ar."},"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":"e7aaa6ff-ed21-4b3b-a52b-f37328c325dd","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 RollbackCustomStorefront {\n  rollbackCustomStorefront {\n    state\n    commitSha\n    url\n    publishedAt\n    rollbackCommitSha\n    canRollback\n    operation {\n      type\n      state\n      commitSha\n      errorCode\n      requestedAt\n      finishedAt\n    }\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## rollbackCustomStorefront\n\n**Propósito:** Volta a produção para a publicação feita imediatamente antes da que está no ar, na ordem cronológica de publicação, ou para a página inicial \"Em breve\" quando a que está no ar é a primeira.\n**Quando usar:** Para desfazer uma publicação com problema. Não há novo build: a troca é imediata e a resposta normalmente já vem com `operation.state` `SUCCESS`. Antes de chamar, confira em `customStorefrontProduction`: `canRollback` diz se é possível e, com `canRollback` `true`, `rollbackCommitSha` mostra para qual commit vai voltar (`null` = página inicial \"Em breve\"). Guarde também o `operation.requestedAt` atual. **Não é idempotente:** cada chamada volta mais uma publicação. Após uma falha de rede, consulte `customStorefrontProduction`: se `operation.type` for `ROLLBACK` com `requestedAt` diferente do guardado e `operation.state` `SUCCESS`, o rollback foi aplicado e não deve ser repetido; com `PENDING`, veja **Rollback interrompido** nas Notas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumentos. A conta precisa ter permissão de **publicação** na custom storefront.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`CustomStorefrontProduction` (ver pasta Custom Storefront) já com o resultado do rollback: `operation.type` `ROLLBACK`, `state`/`commitSha`/`publishedAt` do destino que voltou ao ar e `canRollback`/`rollbackCommitSha` calculados a partir dele. Se `operation.type` não for `ROLLBACK` ou `operation.state` não for `SUCCESS`, outra operação começou logo depois do rollback: confira em `customStorefrontProduction` antes de qualquer nova ação.\n\n### Erros\n\n| Código                                                | Condição                                                                                                                                                                     | O que fazer                                                                                                                                                                                         |\n| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR`         | Não há para onde voltar: produção exibe a página inicial \"Em breve\" (`NOT_PUBLISHED`), algo publicado fora desta API (`UNKNOWN`) ou a mais antiga das publicações guardadas. | Nada a desfazer por rollback. Se houver uma publicação `PENDING`, aguarde ela terminar e confira de novo. Para colocar um commit no ar, use `publishCustomStorefront`.                              |\n| `CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR`             | Já há outra publicação ou rollback em andamento.                                                                                                                             | Acompanhe com `customStorefrontProduction` até `operation.state` sair de `PENDING` (intervalos e teto em **Publicação em produção**) e decida de novo: a operação pode ter mudado o que está no ar. |\n| `CUSTOM_STOREFRONT_ROLLBACK_TARGET_UNAVAILABLE_ERROR` | A publicação de destino não existe mais.                                                                                                                                     | Publique o commit desejado com `publishCustomStorefront` (se o preview tiver sido removido, siga a ação de `CUSTOM_STOREFRONT_DEPLOYMENT_NOT_FOUND_ERROR` lá).                                      |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                   | A loja não tem custom storefront ou ela não está `READY`.                                                                                                                    | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo.                                                                          |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`              | O serviço de custom storefront não está disponível neste ambiente.                                                                                                           | Entre em contato com a Unbox.                                                                                                                                                                       |\n| `SHOP_NOT_FOUND_ERROR`                                | A conta autenticada não está associada a uma loja.                                                                                                                           | Autentique com a conta da loja.                                                                                                                                                                     |\n| _(sem código)_                                        | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                                | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                                                                                                  |\n| _(sem código)_                                        | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de publicação.                                                               | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                                                                                                        |\n| _(qualquer outro código)_                             | Falha temporária.                                                                                                                                                            | Consulte `customStorefrontProduction` e só repita se o rollback não tiver sido aplicado (ver **Quando usar**); persistindo, contate a Unbox.                                                        |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **A ordem é a de publicação.** Com as publicações A, B e C (C no ar), rollbacks seguidos levam para B, A e então à página inicial \"Em breve\"; o próximo dá `CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR`. Depois de voltar de C para B e publicar D, um rollback a partir de D volta para C (a publicação feita antes de D).\n- Logo depois da troca, `customStorefrontProduction` já mostra em `state`/`commitSha` o destino que entrou no ar, como a resposta desta mutation; só o endereço de produção (`url`) pode levar alguns segundos a mais para exibir o conteúdo (cache). Só uma troca feita fora da Unbox fica sujeita a atraso na query (ver `customStorefrontProduction`).\n- **Rollback interrompido:** se a troca for interrompida na Unbox, a chamada termina em erro de rede ou timeout e `customStorefrontProduction` mostra `operation.type` `ROLLBACK` `PENDING` com `requestedAt` novo, que nada fecha. Aguarde alguns segundos e compare `state`/`commitSha` com o destino (`operation.commitSha`; `null` = página inicial \"Em breve\"): se forem iguais, o rollback foi aplicado e não deve ser repetido. Depois de 1 min, a operação deixa de bloquear e `canRollback`/`rollbackCommitSha` voltam a refletir o que está no ar."},"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":"de38362f-3ea7-5f58-a0f9-57c73fb3e727"},{"name":"[Mutation] setCustomStorefrontEnvironment","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 setCustomStorefrontEnvironment data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"setCustomStorefrontEnvironment\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"a6e35af8-6d28-587a-9428-6d1fdc1b1228","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 SetCustomStorefrontEnvironment($input: SetCustomStorefrontEnvironmentInput!) {\n  setCustomStorefrontEnvironment(input: $input) {\n    keys\n  }\n}","variables":"{\n  \"input\": {\n    \"set\": [\n      {\n        \"key\": \"Example_String\",\n        \"value\": 99.99\n      }\n    ],\n    \"unset\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"setcustomstorefrontenvironment\">setCustomStorefrontEnvironment</h2>\n<p><strong>Propósito:</strong> Cria, substitui e remove variáveis de ambiente da custom storefront da sua loja, usadas nos builds de preview e de produção.\n<strong>Quando usar:</strong> Para configurar o que o código da vitrine lê do ambiente (URLs de APIs, chaves públicas, flags), sem acesso direto à hospedagem. Uma única chamada grava (<code>set</code>) e remove (<code>unset</code>). As variáveis só valem para <strong>builds iniciados depois</strong> da chamada; ver <strong>Notas</strong>. <strong>É idempotente:</strong> repetir a mesma chamada dá o mesmo resultado, então reenviar o <code>.env</code> inteiro a cada mudança é seguro, em lotes de até 50 itens (<code>set</code> + <code>unset</code>). Variáveis com valor vazio não são aceitas: omita-as ou mande o nome em <code>unset</code>. Nomes fora do formato (minúsculas, <code>-</code>) recusam a chamada inteira.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de <strong>escrita</strong> na custom storefront.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: SetCustomStorefrontEnvironmentInput!</code>. <code>set</code> e <code>unset</code> são opcionais, mas a chamada precisa ter de 1 a 50 itens somando os dois.</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.set</code></td>\n<td><code>[CustomStorefrontEnvironmentVariableInput!]</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Variáveis a criar ou substituir. Uma chave que já existe tem o valor trocado. Sem chaves repetidas.</td>\n</tr>\n<tr>\n<td><code>input.set.key</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Nome da variável: letra maiúscula seguida de letras maiúsculas, dígitos ou <code>_</code> (<code>^[A-Z][A-Z0-9_]*$</code>), até 256 caracteres. Não pode ser uma chave reservada.</td>\n</tr>\n<tr>\n<td><code>input.set.value</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Valor, não vazio, até 16.384 caracteres. <strong>Nunca é devolvido</strong> pela API.</td>\n</tr>\n<tr>\n<td><code>input.unset</code></td>\n<td><code>[String!]</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Nomes a remover, no mesmo formato de <code>key</code>. Nomes que não existem são ignorados. Sem nomes repetidos nem presentes também em <code>set</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomStorefrontEnvironment</code>, com o estado <strong>depois</strong> da alteração.</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>keys</code></td>\n<td><code>[String!]!</code></td>\n<td>Nomes das variáveis da loja, ordenados. Os valores nunca são retornados, e as chaves reservadas ficam de fora.</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>CUSTOM_STOREFRONT_ENVIRONMENT_KEY_RESERVED_ERROR</code></td>\n<td>Algum nome em <code>set</code> ou <code>unset</code> é reservado (ver <strong>Notas</strong>). Nada é gravado.</td>\n<td>Renomeie a variável ou retire-a da chamada.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_READY_ERROR</code></td>\n<td>A loja não tem custom storefront ou ela não está <code>READY</code>.</td>\n<td>Consulte <code>customStorefront</code>: com <code>PROVISIONING</code>, aguarde <code>READY</code>; com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_SET_ENVIRONMENT_ERROR</code></td>\n<td>A hospedagem não gravou uma ou mais variáveis de <code>set</code>. Parte delas pode ter sido gravada, e <code>unset</code> não foi aplicado.</td>\n<td>Reenvie a mesma chamada (é idempotente: completa o que faltou). Persistindo, contate a Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR</code></td>\n<td>Falha ao ler as variáveis. <code>set</code> já foi gravado; <code>unset</code> não foi aplicado.</td>\n<td>Reenvie a mesma chamada. Persistindo, contate a Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_REMOVE_ENVIRONMENT_ERROR</code></td>\n<td>Falha ao remover as variáveis de <code>unset</code>. <code>set</code> já foi gravado.</td>\n<td>Reenvie a mesma chamada. Persistindo, contate a Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>SHOP_NOT_FOUND_ERROR</code></td>\n<td>A conta autenticada não está associada a uma loja.</td>\n<td>Autentique com a conta da loja.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> começa com <code>\"Unauthorized - No authenticated user\"</code>: <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>message</code> começa com <code>\"Unauthorized - Missing required permissions\"</code>: a conta não tem permissão de escrita na custom storefront.</td>\n<td><strong>Não</strong> refaça <code>signIn</code>. Peça a liberação do acesso à Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>message</code> cita <code>set</code>, <code>unset</code>, <code>key</code> ou <code>value</code>: nome fora do formato, valor vazio ou longo demais, item repetido, mesmo nome em <code>set</code> e <code>unset</code>, ou chamada vazia ou com mais de 50 itens. Nada é gravado.</td>\n<td>Corrija a entrada conforme <strong>Argumentos</strong>. A mensagem nunca repete o valor enviado.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha inesperada ao aplicar as variáveis.</td>\n<td>Reenvie a mesma chamada (é idempotente). Persistindo, contate a 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 de negócio.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Só builds novos usam as variáveis.</strong> O preview e a produção que já estão no ar não mudam. Para aplicar a mudança, faça um novo push na <code>deploy</code> (um commit novo, ainda que vazio: <code>git commit --allow-empty</code>), confira o preview desse commit e publique-o com <code>publishCustomStorefront</code>. Publicar de novo o commit que já está no ar não refaz o build.</li>\n<li><strong>Rollback volta as variáveis antigas.</strong> <code>rollbackCustomStorefront</code> não refaz o build: recoloca no ar a publicação anterior com as variáveis que valiam quando ela foi construída. Depois de trocar ou remover um valor sensível, não volte para publicações anteriores à mudança.</li>\n<li><strong>Valores são somente escrita</strong> e valem para preview e produção. Não há como lê-los de volta: guarde-os no seu ambiente de origem (ex.: o <code>.env</code> do projeto). Variáveis lidas no navegador (ex.: prefixo <code>NEXT_PUBLIC_</code> no Next.js) ficam públicas no código da vitrine: não coloque segredos nelas.</li>\n<li><strong>Chaves reservadas:</strong> nomes gerenciados pela plataforma ou pela Unbox não podem ser gravados nem removidos. São os nomes <code>EDITOR_URL</code>, <code>NEXT_PUBLIC_EDITOR_ORIGIN</code>, <code>NEXT_PUBLIC_ADMIN_ORIGIN</code>, <code>NEXT_PUBLIC_SITE_URL</code> e <code>TZ</code> e os que começam com <code>VERCEL_</code>, <code>NEXT_PUBLIC_VERCEL_</code>, <code>NOW_</code>, <code>AWS_</code> ou <code>LAMBDA_</code>. A lista pode crescer. A Unbox preenche <code>NEXT_PUBLIC_SITE_URL</code> no provisionamento com o endereço da loja em cada ambiente: o de produção definido no provisionamento nos builds de produção e, quando a loja tem <code>previewUrl</code>, ele nos builds de preview. Em lojas criadas antes dessa mudança, ela pode ainda não estar preenchida.</li>\n<li><strong>Falha no meio da chamada:</strong> as variáveis são gravadas uma a uma, então uma falha pode deixar parte de <code>set</code> aplicada. Reenviar a mesma chamada completa o resto.</li>\n<li><strong><code>set</code> não remove o que ficou de fora.</strong> Para apagar uma variável, coloque o nome dela em <code>unset</code>. Para sincronizar com um <code>.env</code>, compare com <code>customStorefrontEnvironment</code> e envie em <code>unset</code> os nomes que saíram.</li>\n<li><strong>Uma chamada por vez:</strong> não faça chamadas simultâneas para a mesma loja. Com a mesma chave em duas chamadas, vale a última, e <code>keys</code> pode trazer mudanças da outra.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7fecc2e4-9444-431d-a046-c3c01f8da060","name":"200 - setCustomStorefrontEnvironment","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 SetCustomStorefrontEnvironment($input: SetCustomStorefrontEnvironmentInput!) {\n  setCustomStorefrontEnvironment(input: $input) {\n    keys\n  }\n}","variables":"{\n  \"input\": {\n    \"set\": [\n      {\n        \"key\": \"Example_String\",\n        \"value\": 99.99\n      }\n    ],\n    \"unset\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## setCustomStorefrontEnvironment\n\n**Propósito:** Cria, substitui e remove variáveis de ambiente da custom storefront da sua loja, usadas nos builds de preview e de produção.\n**Quando usar:** Para configurar o que o código da vitrine lê do ambiente (URLs de APIs, chaves públicas, flags), sem acesso direto à hospedagem. Uma única chamada grava (`set`) e remove (`unset`). As variáveis só valem para **builds iniciados depois** da chamada; ver **Notas**. **É idempotente:** repetir a mesma chamada dá o mesmo resultado, então reenviar o `.env` inteiro a cada mudança é seguro, em lotes de até 50 itens (`set` + `unset`). Variáveis com valor vazio não são aceitas: omita-as ou mande o nome em `unset`. Nomes fora do formato (minúsculas, `-`) recusam a chamada inteira.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: SetCustomStorefrontEnvironmentInput!`. `set` e `unset` são opcionais, mas a chamada precisa ter de 1 a 50 itens somando os dois.\n\n| Nome              | Tipo                                          | Obrigatório | Default | Descrição                                                                                                                                                   |\n| ----------------- | --------------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.set`       | `[CustomStorefrontEnvironmentVariableInput!]` | Não         | —       | Variáveis a criar ou substituir. Uma chave que já existe tem o valor trocado. Sem chaves repetidas.                                                         |\n| `input.set.key`   | `String!`                                     | Sim         | —       | Nome da variável: letra maiúscula seguida de letras maiúsculas, dígitos ou `_` (`^[A-Z][A-Z0-9_]*$`), até 256 caracteres. Não pode ser uma chave reservada. |\n| `input.set.value` | `String!`                                     | Sim         | —       | Valor, não vazio, até 16.384 caracteres. **Nunca é devolvido** pela API.                                                                                    |\n| `input.unset`     | `[String!]`                                   | Não         | —       | Nomes a remover, no mesmo formato de `key`. Nomes que não existem são ignorados. Sem nomes repetidos nem presentes também em `set`.                         |\n\n### Retorno\n\n`CustomStorefrontEnvironment`, com o estado **depois** da alteração.\n\n| Propriedade | Tipo         | Descrição                                                                                                      |\n| ----------- | ------------ | -------------------------------------------------------------------------------------------------------------- |\n| `keys`      | `[String!]!` | Nomes das variáveis da loja, ordenados. Os valores nunca são retornados, e as chaves reservadas ficam de fora. |\n\n### Erros\n\n| Código                                               | Condição                                                                                                                                                                                                    | O que fazer                                                                                                                |\n| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_ENVIRONMENT_KEY_RESERVED_ERROR`   | Algum nome em `set` ou `unset` é reservado (ver **Notas**). Nada é gravado.                                                                                                                                 | Renomeie a variável ou retire-a da chamada.                                                                                |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                  | A loja não tem custom storefront ou ela não está `READY`.                                                                                                                                                   | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_HOSTING_SET_ENVIRONMENT_ERROR`    | A hospedagem não gravou uma ou mais variáveis de `set`. Parte delas pode ter sido gravada, e `unset` não foi aplicado.                                                                                      | Reenvie a mesma chamada (é idempotente: completa o que faltou). Persistindo, contate a Unbox.                              |\n| `CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR`   | Falha ao ler as variáveis. `set` já foi gravado; `unset` não foi aplicado.                                                                                                                                  | Reenvie a mesma chamada. Persistindo, contate a Unbox.                                                                     |\n| `CUSTOM_STOREFRONT_HOSTING_REMOVE_ENVIRONMENT_ERROR` | Falha ao remover as variáveis de `unset`. `set` já foi gravado.                                                                                                                                             | Reenvie a mesma chamada. Persistindo, contate a Unbox.                                                                     |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`             | O serviço de custom storefront não está disponível neste ambiente.                                                                                                                                          | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                               | A conta autenticada não está associada a uma loja.                                                                                                                                                          | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                                       | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                                                               | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                                       | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.                                                                            | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(sem código)_                                       | `message` cita `set`, `unset`, `key` ou `value`: nome fora do formato, valor vazio ou longo demais, item repetido, mesmo nome em `set` e `unset`, ou chamada vazia ou com mais de 50 itens. Nada é gravado. | Corrija a entrada conforme **Argumentos**. A mensagem nunca repete o valor enviado.                                        |\n| _(qualquer outro código)_                            | Falha inesperada ao aplicar as variáveis.                                                                                                                                                                   | Reenvie a mesma chamada (é idempotente). Persistindo, contate a Unbox.                                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Só builds novos usam as variáveis.** O preview e a produção que já estão no ar não mudam. Para aplicar a mudança, faça um novo push na `deploy` (um commit novo, ainda que vazio: `git commit --allow-empty`), confira o preview desse commit e publique-o com `publishCustomStorefront`. Publicar de novo o commit que já está no ar não refaz o build.\n- **Rollback volta as variáveis antigas.** `rollbackCustomStorefront` não refaz o build: recoloca no ar a publicação anterior com as variáveis que valiam quando ela foi construída. Depois de trocar ou remover um valor sensível, não volte para publicações anteriores à mudança.\n- **Valores são somente escrita** e valem para preview e produção. Não há como lê-los de volta: guarde-os no seu ambiente de origem (ex.: o `.env` do projeto). Variáveis lidas no navegador (ex.: prefixo `NEXT_PUBLIC_` no Next.js) ficam públicas no código da vitrine: não coloque segredos nelas.\n- **Chaves reservadas:** nomes gerenciados pela plataforma ou pela Unbox não podem ser gravados nem removidos. São os nomes `EDITOR_URL`, `NEXT_PUBLIC_EDITOR_ORIGIN`, `NEXT_PUBLIC_ADMIN_ORIGIN`, `NEXT_PUBLIC_SITE_URL` e `TZ` e os que começam com `VERCEL_`, `NEXT_PUBLIC_VERCEL_`, `NOW_`, `AWS_` ou `LAMBDA_`. A lista pode crescer. A Unbox preenche `NEXT_PUBLIC_SITE_URL` no provisionamento com o endereço da loja em cada ambiente: o de produção definido no provisionamento nos builds de produção e, quando a loja tem `previewUrl`, ele nos builds de preview. Em lojas criadas antes dessa mudança, ela pode ainda não estar preenchida.\n- **Falha no meio da chamada:** as variáveis são gravadas uma a uma, então uma falha pode deixar parte de `set` aplicada. Reenviar a mesma chamada completa o resto.\n- **`set` não remove o que ficou de fora.** Para apagar uma variável, coloque o nome dela em `unset`. Para sincronizar com um `.env`, compare com `customStorefrontEnvironment` e envie em `unset` os nomes que saíram.\n- **Uma chamada por vez:** não faça chamadas simultâneas para a mesma loja. Com a mesma chave em duas chamadas, vale a última, e `keys` pode trazer mudanças da outra."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"setCustomStorefrontEnvironment\": {\n      \"keys\": [\n        \"Example_String\"\n      ]\n    }\n  }\n}"},{"id":"a6dda982-56e6-4522-8ae2-503f418e4bea","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 SetCustomStorefrontEnvironment($input: SetCustomStorefrontEnvironmentInput!) {\n  setCustomStorefrontEnvironment(input: $input) {\n    keys\n  }\n}","variables":"{\n  \"input\": {\n    \"set\": [\n      {\n        \"key\": \"Example_String\",\n        \"value\": 99.99\n      }\n    ],\n    \"unset\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## setCustomStorefrontEnvironment\n\n**Propósito:** Cria, substitui e remove variáveis de ambiente da custom storefront da sua loja, usadas nos builds de preview e de produção.\n**Quando usar:** Para configurar o que o código da vitrine lê do ambiente (URLs de APIs, chaves públicas, flags), sem acesso direto à hospedagem. Uma única chamada grava (`set`) e remove (`unset`). As variáveis só valem para **builds iniciados depois** da chamada; ver **Notas**. **É idempotente:** repetir a mesma chamada dá o mesmo resultado, então reenviar o `.env` inteiro a cada mudança é seguro, em lotes de até 50 itens (`set` + `unset`). Variáveis com valor vazio não são aceitas: omita-as ou mande o nome em `unset`. Nomes fora do formato (minúsculas, `-`) recusam a chamada inteira.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: SetCustomStorefrontEnvironmentInput!`. `set` e `unset` são opcionais, mas a chamada precisa ter de 1 a 50 itens somando os dois.\n\n| Nome              | Tipo                                          | Obrigatório | Default | Descrição                                                                                                                                                   |\n| ----------------- | --------------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.set`       | `[CustomStorefrontEnvironmentVariableInput!]` | Não         | —       | Variáveis a criar ou substituir. Uma chave que já existe tem o valor trocado. Sem chaves repetidas.                                                         |\n| `input.set.key`   | `String!`                                     | Sim         | —       | Nome da variável: letra maiúscula seguida de letras maiúsculas, dígitos ou `_` (`^[A-Z][A-Z0-9_]*$`), até 256 caracteres. Não pode ser uma chave reservada. |\n| `input.set.value` | `String!`                                     | Sim         | —       | Valor, não vazio, até 16.384 caracteres. **Nunca é devolvido** pela API.                                                                                    |\n| `input.unset`     | `[String!]`                                   | Não         | —       | Nomes a remover, no mesmo formato de `key`. Nomes que não existem são ignorados. Sem nomes repetidos nem presentes também em `set`.                         |\n\n### Retorno\n\n`CustomStorefrontEnvironment`, com o estado **depois** da alteração.\n\n| Propriedade | Tipo         | Descrição                                                                                                      |\n| ----------- | ------------ | -------------------------------------------------------------------------------------------------------------- |\n| `keys`      | `[String!]!` | Nomes das variáveis da loja, ordenados. Os valores nunca são retornados, e as chaves reservadas ficam de fora. |\n\n### Erros\n\n| Código                                               | Condição                                                                                                                                                                                                    | O que fazer                                                                                                                |\n| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_ENVIRONMENT_KEY_RESERVED_ERROR`   | Algum nome em `set` ou `unset` é reservado (ver **Notas**). Nada é gravado.                                                                                                                                 | Renomeie a variável ou retire-a da chamada.                                                                                |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                  | A loja não tem custom storefront ou ela não está `READY`.                                                                                                                                                   | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_HOSTING_SET_ENVIRONMENT_ERROR`    | A hospedagem não gravou uma ou mais variáveis de `set`. Parte delas pode ter sido gravada, e `unset` não foi aplicado.                                                                                      | Reenvie a mesma chamada (é idempotente: completa o que faltou). Persistindo, contate a Unbox.                              |\n| `CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR`   | Falha ao ler as variáveis. `set` já foi gravado; `unset` não foi aplicado.                                                                                                                                  | Reenvie a mesma chamada. Persistindo, contate a Unbox.                                                                     |\n| `CUSTOM_STOREFRONT_HOSTING_REMOVE_ENVIRONMENT_ERROR` | Falha ao remover as variáveis de `unset`. `set` já foi gravado.                                                                                                                                             | Reenvie a mesma chamada. Persistindo, contate a Unbox.                                                                     |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`             | O serviço de custom storefront não está disponível neste ambiente.                                                                                                                                          | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                               | A conta autenticada não está associada a uma loja.                                                                                                                                                          | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                                       | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                                                               | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                                       | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.                                                                            | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(sem código)_                                       | `message` cita `set`, `unset`, `key` ou `value`: nome fora do formato, valor vazio ou longo demais, item repetido, mesmo nome em `set` e `unset`, ou chamada vazia ou com mais de 50 itens. Nada é gravado. | Corrija a entrada conforme **Argumentos**. A mensagem nunca repete o valor enviado.                                        |\n| _(qualquer outro código)_                            | Falha inesperada ao aplicar as variáveis.                                                                                                                                                                   | Reenvie a mesma chamada (é idempotente). Persistindo, contate a Unbox.                                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Só builds novos usam as variáveis.** O preview e a produção que já estão no ar não mudam. Para aplicar a mudança, faça um novo push na `deploy` (um commit novo, ainda que vazio: `git commit --allow-empty`), confira o preview desse commit e publique-o com `publishCustomStorefront`. Publicar de novo o commit que já está no ar não refaz o build.\n- **Rollback volta as variáveis antigas.** `rollbackCustomStorefront` não refaz o build: recoloca no ar a publicação anterior com as variáveis que valiam quando ela foi construída. Depois de trocar ou remover um valor sensível, não volte para publicações anteriores à mudança.\n- **Valores são somente escrita** e valem para preview e produção. Não há como lê-los de volta: guarde-os no seu ambiente de origem (ex.: o `.env` do projeto). Variáveis lidas no navegador (ex.: prefixo `NEXT_PUBLIC_` no Next.js) ficam públicas no código da vitrine: não coloque segredos nelas.\n- **Chaves reservadas:** nomes gerenciados pela plataforma ou pela Unbox não podem ser gravados nem removidos. São os nomes `EDITOR_URL`, `NEXT_PUBLIC_EDITOR_ORIGIN`, `NEXT_PUBLIC_ADMIN_ORIGIN`, `NEXT_PUBLIC_SITE_URL` e `TZ` e os que começam com `VERCEL_`, `NEXT_PUBLIC_VERCEL_`, `NOW_`, `AWS_` ou `LAMBDA_`. A lista pode crescer. A Unbox preenche `NEXT_PUBLIC_SITE_URL` no provisionamento com o endereço da loja em cada ambiente: o de produção definido no provisionamento nos builds de produção e, quando a loja tem `previewUrl`, ele nos builds de preview. Em lojas criadas antes dessa mudança, ela pode ainda não estar preenchida.\n- **Falha no meio da chamada:** as variáveis são gravadas uma a uma, então uma falha pode deixar parte de `set` aplicada. Reenviar a mesma chamada completa o resto.\n- **`set` não remove o que ficou de fora.** Para apagar uma variável, coloque o nome dela em `unset`. Para sincronizar com um `.env`, compare com `customStorefrontEnvironment` e envie em `unset` os nomes que saíram.\n- **Uma chamada por vez:** não faça chamadas simultâneas para a mesma loja. Com a mesma chave em duas chamadas, vale a última, e `keys` pode trazer mudanças da outra."},"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":"8d93af7a-c281-4348-a7d0-e149fa84297d","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 SetCustomStorefrontEnvironment($input: SetCustomStorefrontEnvironmentInput!) {\n  setCustomStorefrontEnvironment(input: $input) {\n    keys\n  }\n}","variables":"{\n  \"input\": {\n    \"set\": [\n      {\n        \"key\": \"Example_String\",\n        \"value\": 99.99\n      }\n    ],\n    \"unset\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## setCustomStorefrontEnvironment\n\n**Propósito:** Cria, substitui e remove variáveis de ambiente da custom storefront da sua loja, usadas nos builds de preview e de produção.\n**Quando usar:** Para configurar o que o código da vitrine lê do ambiente (URLs de APIs, chaves públicas, flags), sem acesso direto à hospedagem. Uma única chamada grava (`set`) e remove (`unset`). As variáveis só valem para **builds iniciados depois** da chamada; ver **Notas**. **É idempotente:** repetir a mesma chamada dá o mesmo resultado, então reenviar o `.env` inteiro a cada mudança é seguro, em lotes de até 50 itens (`set` + `unset`). Variáveis com valor vazio não são aceitas: omita-as ou mande o nome em `unset`. Nomes fora do formato (minúsculas, `-`) recusam a chamada inteira.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Vale para a custom storefront da loja da conta autenticada; não há argumento de loja. A conta precisa ter permissão de **escrita** na custom storefront.\n\n### Argumentos\n\nÚnico argumento: `input: SetCustomStorefrontEnvironmentInput!`. `set` e `unset` são opcionais, mas a chamada precisa ter de 1 a 50 itens somando os dois.\n\n| Nome              | Tipo                                          | Obrigatório | Default | Descrição                                                                                                                                                   |\n| ----------------- | --------------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.set`       | `[CustomStorefrontEnvironmentVariableInput!]` | Não         | —       | Variáveis a criar ou substituir. Uma chave que já existe tem o valor trocado. Sem chaves repetidas.                                                         |\n| `input.set.key`   | `String!`                                     | Sim         | —       | Nome da variável: letra maiúscula seguida de letras maiúsculas, dígitos ou `_` (`^[A-Z][A-Z0-9_]*$`), até 256 caracteres. Não pode ser uma chave reservada. |\n| `input.set.value` | `String!`                                     | Sim         | —       | Valor, não vazio, até 16.384 caracteres. **Nunca é devolvido** pela API.                                                                                    |\n| `input.unset`     | `[String!]`                                   | Não         | —       | Nomes a remover, no mesmo formato de `key`. Nomes que não existem são ignorados. Sem nomes repetidos nem presentes também em `set`.                         |\n\n### Retorno\n\n`CustomStorefrontEnvironment`, com o estado **depois** da alteração.\n\n| Propriedade | Tipo         | Descrição                                                                                                      |\n| ----------- | ------------ | -------------------------------------------------------------------------------------------------------------- |\n| `keys`      | `[String!]!` | Nomes das variáveis da loja, ordenados. Os valores nunca são retornados, e as chaves reservadas ficam de fora. |\n\n### Erros\n\n| Código                                               | Condição                                                                                                                                                                                                    | O que fazer                                                                                                                |\n| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `CUSTOM_STOREFRONT_ENVIRONMENT_KEY_RESERVED_ERROR`   | Algum nome em `set` ou `unset` é reservado (ver **Notas**). Nada é gravado.                                                                                                                                 | Renomeie a variável ou retire-a da chamada.                                                                                |\n| `CUSTOM_STOREFRONT_NOT_READY_ERROR`                  | A loja não tem custom storefront ou ela não está `READY`.                                                                                                                                                   | Consulte `customStorefront`: com `PROVISIONING`, aguarde `READY`; com `FAILED`, chame `provisionCustomStorefront` de novo. |\n| `CUSTOM_STOREFRONT_HOSTING_SET_ENVIRONMENT_ERROR`    | A hospedagem não gravou uma ou mais variáveis de `set`. Parte delas pode ter sido gravada, e `unset` não foi aplicado.                                                                                      | Reenvie a mesma chamada (é idempotente: completa o que faltou). Persistindo, contate a Unbox.                              |\n| `CUSTOM_STOREFRONT_HOSTING_LIST_ENVIRONMENT_ERROR`   | Falha ao ler as variáveis. `set` já foi gravado; `unset` não foi aplicado.                                                                                                                                  | Reenvie a mesma chamada. Persistindo, contate a Unbox.                                                                     |\n| `CUSTOM_STOREFRONT_HOSTING_REMOVE_ENVIRONMENT_ERROR` | Falha ao remover as variáveis de `unset`. `set` já foi gravado.                                                                                                                                             | Reenvie a mesma chamada. Persistindo, contate a Unbox.                                                                     |\n| `CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR`             | O serviço de custom storefront não está disponível neste ambiente.                                                                                                                                          | Entre em contato com a Unbox.                                                                                              |\n| `SHOP_NOT_FOUND_ERROR`                               | A conta autenticada não está associada a uma loja.                                                                                                                                                          | Autentique com a conta da loja.                                                                                            |\n| _(sem código)_                                       | `message` começa com `\"Unauthorized - No authenticated user\"`: `Authorization` ausente, inválido ou expirado.                                                                                               | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                         |\n| _(sem código)_                                       | `message` começa com `\"Unauthorized - Missing required permissions\"`: a conta não tem permissão de escrita na custom storefront.                                                                            | **Não** refaça `signIn`. Peça a liberação do acesso à Unbox.                                                               |\n| _(sem código)_                                       | `message` cita `set`, `unset`, `key` ou `value`: nome fora do formato, valor vazio ou longo demais, item repetido, mesmo nome em `set` e `unset`, ou chamada vazia ou com mais de 50 itens. Nada é gravado. | Corrija a entrada conforme **Argumentos**. A mensagem nunca repete o valor enviado.                                        |\n| _(qualquer outro código)_                            | Falha inesperada ao aplicar as variáveis.                                                                                                                                                                   | Reenvie a mesma chamada (é idempotente). Persistindo, contate a Unbox.                                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha de negócio.\n\n### Notas\n\n- **Só builds novos usam as variáveis.** O preview e a produção que já estão no ar não mudam. Para aplicar a mudança, faça um novo push na `deploy` (um commit novo, ainda que vazio: `git commit --allow-empty`), confira o preview desse commit e publique-o com `publishCustomStorefront`. Publicar de novo o commit que já está no ar não refaz o build.\n- **Rollback volta as variáveis antigas.** `rollbackCustomStorefront` não refaz o build: recoloca no ar a publicação anterior com as variáveis que valiam quando ela foi construída. Depois de trocar ou remover um valor sensível, não volte para publicações anteriores à mudança.\n- **Valores são somente escrita** e valem para preview e produção. Não há como lê-los de volta: guarde-os no seu ambiente de origem (ex.: o `.env` do projeto). Variáveis lidas no navegador (ex.: prefixo `NEXT_PUBLIC_` no Next.js) ficam públicas no código da vitrine: não coloque segredos nelas.\n- **Chaves reservadas:** nomes gerenciados pela plataforma ou pela Unbox não podem ser gravados nem removidos. São os nomes `EDITOR_URL`, `NEXT_PUBLIC_EDITOR_ORIGIN`, `NEXT_PUBLIC_ADMIN_ORIGIN`, `NEXT_PUBLIC_SITE_URL` e `TZ` e os que começam com `VERCEL_`, `NEXT_PUBLIC_VERCEL_`, `NOW_`, `AWS_` ou `LAMBDA_`. A lista pode crescer. A Unbox preenche `NEXT_PUBLIC_SITE_URL` no provisionamento com o endereço da loja em cada ambiente: o de produção definido no provisionamento nos builds de produção e, quando a loja tem `previewUrl`, ele nos builds de preview. Em lojas criadas antes dessa mudança, ela pode ainda não estar preenchida.\n- **Falha no meio da chamada:** as variáveis são gravadas uma a uma, então uma falha pode deixar parte de `set` aplicada. Reenviar a mesma chamada completa o resto.\n- **`set` não remove o que ficou de fora.** Para apagar uma variável, coloque o nome dela em `unset`. Para sincronizar com um `.env`, compare com `customStorefrontEnvironment` e envie em `unset` os nomes que saíram.\n- **Uma chamada por vez:** não faça chamadas simultâneas para a mesma loja. Com a mesma chave em duas chamadas, vale a última, e `keys` pode trazer mudanças da outra."},"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":"a6e35af8-6d28-587a-9428-6d1fdc1b1228"}],"id":"2fddb69f-3391-4684-bed6-e0478d704661","_postman_id":"2fddb69f-3391-4684-bed6-e0478d704661","description":""}],"id":"71a6ac4d-2a35-47c8-8a8e-2ff4bcf7ccb9","description":"<h1 id=\"custom-storefront\">Custom Storefront</h1>\n<p>Domínio da vitrine própria da loja: um repositório Git privado, onde o código da vitrine é enviado com uma chave SSH de deploy, e um projeto de hospedagem que gera um preview público a cada push e publica em produção o commit escolhido. Cada loja tem <strong>no máximo uma</strong> custom storefront.</p>\n<p>Todas as operações usam <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) e valem para a loja da conta autenticada. Publicar e voltar (<code>publishCustomStorefront</code>, <code>rollbackCustomStorefront</code>) exigem uma permissão de <strong>publicação</strong>, separada da de leitura.</p>\n<p>O provisionamento é <strong>assíncrono</strong>: <code>provisionCustomStorefront</code> registra o pedido e responde na hora; a criação dos recursos roda em segundo plano, normalmente em segundos, ou em alguns minutos (até ~8 min) quando há falhas retentadas. Acompanhe com <code>customStorefront</code>.</p>\n<h2 id=\"fluxo\">Fluxo</h2>\n<ol>\n<li>Gere um par de chaves SSH (<code>ssh-ed25519</code> recomendado) no ambiente que vai publicar o código. A chave privada nunca sai desse ambiente.</li>\n<li>Chame <code>provisionCustomStorefront</code> com a chave <strong>pública</strong>.</li>\n<li>Consulte <code>customStorefront</code> após 1 s, depois após mais 2 s e, a partir daí, a cada 5 s, até <code>status</code> ser <code>READY</code> ou <code>FAILED</code>.<ul>\n<li>Se após ~10 min ainda estiver <code>PROVISIONING</code>, chame <code>provisionCustomStorefront</code> de novo com a <strong>mesma</strong> chave (é seguro: retoma o trabalho se ele tiver parado) e volte a consultar.</li>\n<li>Persistindo por mais de ~20 min, contate a Unbox informando <code>_id</code>, <code>currentStep</code> e <code>lastErrorCode</code>.</li>\n</ul>\n</li>\n<li>Com <code>READY</code>, clone o <code>repositorySshUrl</code>. A branch <code>deploy</code> já vem com commits iniciais, incluindo o fluxo de publicação em <code>.forgejo/workflows/deploy.yml</code>.<ul>\n<li>Se o código lê variáveis de ambiente, grave-as com <code>setCustomStorefrontEnvironment</code> antes do primeiro push (ver <strong>Variáveis de ambiente</strong>).</li>\n</ul>\n</li>\n<li>Faça seus commits sobre esse histórico e rode <code>git push</code> para a branch <code>deploy</code>. Cada push dispara um novo deploy de preview.</li>\n<li>Consulte <code>customStorefrontDeployment</code> com o hash do <strong>último</strong> commit enviado no push (o topo da <code>deploy</code>, obtido com <code>git -C vitrine rev-parse HEAD</code> logo após um push concluído sem erro): após 2 s, depois após mais 5 s e, a partir daí, a cada 10 s, até <code>state</code> ser <code>SUCCESS</code> (exiba a <code>url</code>) ou <code>FAILURE</code> (pare e reporte a falha). O deploy costuma levar de 1 a 2 min e tem limite de 15 min; se após ~15 min ainda estiver <code>PENDING</code>, pare de consultar e contate a Unbox informando o <code>commitSha</code>.</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">GIT_SSH_COMMAND=\"ssh -i &lt;chave_privada&gt; -o IdentitiesOnly=yes\" git clone &lt;repositorySshUrl&gt; vitrine\n# commits sobre o histórico existente, sem alterar .forgejo/\nGIT_SSH_COMMAND=\"ssh -i &lt;chave_privada&gt; -o IdentitiesOnly=yes\" git -C vitrine push origin HEAD:deploy\n</code></pre>\n<ol>\n<li>Para colocar um commit com preview <code>SUCCESS</code> no ar, chame <code>publishCustomStorefront</code> com o mesmo <code>commitSha</code>. Normalmente a resposta vem com <code>operation.state</code> <code>PENDING</code>; siga em <strong>Publicação em produção</strong>.</li>\n</ol>\n<h2 id=\"publicação-em-produção\">Publicação em produção</h2>\n<ul>\n<li><strong>Publicar</strong> (<code>publishCustomStorefront</code>) refaz o build do commit com a configuração de produção e troca o endereço de produção quando o build termina. A publicação é acompanhada pela Unbox e termina sozinha, mesmo que você pare de consultar. Consulte <code>customStorefrontProduction</code> a cada 10 s até a sua operação (<code>operation.type</code> <code>PUBLISH</code> com <code>operation.commitSha</code> igual ao commit pedido) ter <code>operation.state</code> <code>SUCCESS</code> (o commit está no ar; a <code>url</code> exibe o novo conteúdo em alguns segundos) ou <code>FAILURE</code> (veja <code>operation.errorCode</code>). O build costuma levar de 1 a 2 min; sem conclusão, a publicação fecha com <code>FAILURE</code> e <code>CUSTOM_STOREFRONT_PRODUCTION_TIMEOUT_ERROR</code> na primeira verificação após 20 min (pode demorar mais se a hospedagem estiver indisponível). Se ainda vier <code>PENDING</code> após ~25 min, pare e contate a Unbox informando o <code>commitSha</code>.</li>\n<li><strong>Voltar</strong> (<code>rollbackCustomStorefront</code>) recoloca no ar a publicação anterior, sem novo build, e normalmente já responde com <code>SUCCESS</code>. Rollbacks seguidos andam para trás na ordem de publicação até a página inicial \"Em breve\".</li>\n<li><strong>Uma operação por vez:</strong> enquanto uma publicação ou rollback estiver <code>PENDING</code>, outro pedido recebe <code>CUSTOM_STOREFRONT_PRODUCTION_BUSY_ERROR</code>. Uma publicação <code>PENDING</code> há mais de 20 min (ou um rollback <code>PENDING</code> há mais de 1 min) é considerada abandonada: um novo pedido é aceito e a substitui. Um rollback abandonado também deixa de bloquear <code>canRollback</code> em <code>customStorefrontProduction</code>; uma publicação abandonada bloqueia até a Unbox fechá-la com <code>FAILURE</code>.</li>\n<li><strong>Previews ficam disponíveis por 90 dias.</strong> Para publicar um commit mais antigo, faça um novo push (um commit novo, ainda que vazio) e publique esse commit.</li>\n</ul>\n<h2 id=\"chaves-de-deploy\">Chaves de deploy</h2>\n<p>Cada ambiente que faz push (uma máquina, uma pessoa da equipe, um pipeline de CI) usa o <strong>próprio</strong> par de chaves SSH. Não copie a chave privada entre ambientes. Com uma chave por ambiente, cada uma pode ser revogada sem afetar as outras.</p>\n<ul>\n<li><strong>Primeira chave:</strong> a enviada a <code>provisionCustomStorefront</code>, registrada com o título <code>cli-&lt;nome do repositório&gt;</code>.</li>\n<li><strong>Novo ambiente, com a loja <code>READY</code>:</strong> gere um par neste ambiente e chame <code>addCustomStorefrontDeployKey</code> com a chave pública e um título (ex.: o nome da máquina ou <code>ci</code>). Clone o <code>repositorySshUrl</code> de <code>customStorefront</code> com a chave nova. <code>provisionCustomStorefront</code> com outra chave continua recusado (<code>CUSTOM_STOREFRONT_ALREADY_PROVISIONED_ERROR</code>).</li>\n<li><strong>Perdeu a chave privada:</strong> gere um par novo. Se for usar o mesmo título (ex.: a mesma máquina), revogue antes a chave perdida com <code>removeCustomStorefrontDeployKey</code>, porque títulos não se repetem; senão, adicione a nova e depois revogue a perdida.</li>\n<li><strong>Revogar</strong> (máquina desativada, pessoa saiu, chave vazada): localize a chave em <code>customStorefrontDeployKeys</code> (compare o <code>fingerprint</code> com o 2º campo de <code>ssh-keygen -lf &lt;chave&gt;.pub</code>: <code>ssh-keygen -lf &lt;chave&gt;.pub | awk '{print $2}'</code>) e chame <code>removeCustomStorefrontDeployKey</code>. O push com ela é recusado na hora; as outras continuam valendo.</li>\n<li><strong>Limite:</strong> até 10 chaves por loja, contando a do provisionamento enquanto existir. A última chave também pode ser removida: adicionar uma chave nova só exige a conta, não uma chave.</li>\n<li>Adicionar e revogar exigem a mesma permissão de <strong>escrita</strong> de <code>provisionCustomStorefront</code>; listar, a de leitura.</li>\n</ul>\n<h2 id=\"variáveis-de-ambiente\">Variáveis de ambiente</h2>\n<ul>\n<li><code>setCustomStorefrontEnvironment</code> grava e remove variáveis de ambiente usadas nos builds de preview e produção; <code>customStorefrontEnvironment</code> lista os nomes configurados. Os valores são somente escrita: nunca voltam pela API.</li>\n<li><strong>Só builds novos usam as variáveis.</strong> Para aplicar uma mudança, faça um novo push na <code>deploy</code> (ainda que um commit vazio) e publique esse commit; o que já está no ar não muda.</li>\n<li><strong>Rollback volta as variáveis antigas:</strong> <code>rollbackCustomStorefront</code> não refaz o build, então a publicação anterior volta ao ar com as variáveis que valiam quando foi construída. Depois de trocar ou remover um valor sensível, não volte para publicações anteriores à mudança.</li>\n<li>Nomes gerenciados pela plataforma ou pela Unbox são reservados (<code>CUSTOM_STOREFRONT_ENVIRONMENT_KEY_RESERVED_ERROR</code>); a lista está em <code>setCustomStorefrontEnvironment</code>.</li>\n<li>Gravar exige a mesma permissão de <strong>escrita</strong> de <code>provisionCustomStorefront</code>; listar, a de leitura.</li>\n</ul>\n<h2 id=\"tipos-e-enums-compartilhados\">Tipos e enums compartilhados</h2>\n<h3 id=\"customstorefront\"><code>CustomStorefront</code></h3>\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 custom storefront.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>CustomStorefrontStatus!</code></td>\n<td>Estado do provisionamento. É o campo a usar na sua lógica.</td>\n</tr>\n<tr>\n<td><code>currentStep</code></td>\n<td><code>CustomStorefrontStep</code></td>\n<td>Passo em execução ou pendente. <code>null</code> antes de o primeiro passo terminar (inclusive <code>FAILED</code> no primeiro passo) e quando <code>READY</code>. Use só para exibir progresso: a lista pode crescer.</td>\n</tr>\n<tr>\n<td><code>repositorySshUrl</code></td>\n<td><code>String</code></td>\n<td>URL para o <code>git clone</code>/<code>git push</code>, no formato <code>ssh://git@&lt;host&gt;:&lt;porta&gt;/&lt;dono&gt;/&lt;repo&gt;.git</code>, com porta não padrão. Use exatamente como recebida. Preenchida só quando <code>READY</code>.</td>\n</tr>\n<tr>\n<td><code>previewUrl</code></td>\n<td><code>String</code></td>\n<td>Endereço fixo que sempre exibe o preview mais recente, no formato <code>https://preview.&lt;slug&gt;.myunbox.com.br</code>. Preenchido só quando <code>READY</code>; <code>null</code> se a loja não tiver o endereço Unbox ou tiver sido provisionada antes da existência deste endereço. Não exibe a loja até o primeiro deploy. É <strong>público</strong> (qualquer pessoa com o link vê o conteúdo ainda não publicado) e não é indexado por buscadores.</td>\n</tr>\n<tr>\n<td><code>lastErrorCode</code></td>\n<td><code>String</code></td>\n<td>Código do erro da última tentativa que falhou. Ver <strong>Códigos em <code>lastErrorCode</code></strong>.</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data da última alteração.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customstorefrontstatus\"><code>CustomStorefrontStatus</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>PROVISIONING</code></td>\n<td>Provisionamento pendente ou em execução. Toda falha é retentada automaticamente (até 4 tentativas, com esperas de 1, 2 e 4 min).</td>\n</tr>\n<tr>\n<td><code>READY</code></td>\n<td>Repositório e projeto prontos: já é possível clonar e publicar.</td>\n</tr>\n<tr>\n<td><code>FAILED</code></td>\n<td>A última tentativa automática falhou. Chame <code>provisionCustomStorefront</code> de novo para retomar do passo que falhou.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customstorefrontstep\"><code>CustomStorefrontStep</code></h3>\n<p>Passos executados em ordem.</p>\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>HOSTING_PROJECT</code></td>\n<td>Criação do projeto de hospedagem.</td>\n</tr>\n<tr>\n<td><code>HOSTING_PRODUCTION_PLACEHOLDER</code></td>\n<td>Publicação da página inicial de produção (\"Em breve\").</td>\n</tr>\n<tr>\n<td><code>HOSTING_PROJECT_SETTINGS</code></td>\n<td>Configuração do projeto e liberação do acesso público.</td>\n</tr>\n<tr>\n<td><code>GIT_REPOSITORY</code></td>\n<td>Criação do repositório Git privado.</td>\n</tr>\n<tr>\n<td><code>DEPLOY_CREDENTIALS</code></td>\n<td>Configuração das credenciais de publicação do repositório.</td>\n</tr>\n<tr>\n<td><code>REPOSITORY_SETTINGS</code></td>\n<td>Desativação dos recursos do repositório que não são usados.</td>\n</tr>\n<tr>\n<td><code>DEPLOY_WORKFLOW</code></td>\n<td>Instalação do fluxo de publicação automática.</td>\n</tr>\n<tr>\n<td><code>PROTECTIONS</code></td>\n<td>Aplicação das regras de proteção de branches e tags.</td>\n</tr>\n<tr>\n<td><code>DEPLOY_KEY</code></td>\n<td>Registro da sua chave SSH de deploy.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customstorefrontdeploymentstate\"><code>CustomStorefrontDeploymentState</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>PENDING</code></td>\n<td>Deploy na fila ou em andamento. Também é retornado para commits que não geraram deploy: não enviados, recusados pelo servidor ou intermediários de um push.</td>\n</tr>\n<tr>\n<td><code>SUCCESS</code></td>\n<td>Deploy concluído: o preview está publicado em <code>url</code>.</td>\n</tr>\n<tr>\n<td><code>FAILURE</code></td>\n<td>Deploy não concluído (falhou, excedeu o tempo limite, foi cancelado ou não publicou a URL); o motivo não é retornado. Revise o código e faça um novo push; se falhar de novo sem mudança aparente, contate a Unbox informando o <code>commitSha</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customstorefrontproductionstate\"><code>CustomStorefrontProductionState</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>NOT_PUBLISHED</code></td>\n<td>Produção exibe a página inicial \"Em breve\": nada publicado ainda, ou um rollback voltou até ela.</td>\n</tr>\n<tr>\n<td><code>PUBLISHED</code></td>\n<td>Produção exibe um commit publicado por <code>publishCustomStorefront</code> (ver <code>commitSha</code>).</td>\n</tr>\n<tr>\n<td><code>UNKNOWN</code></td>\n<td>Produção exibe algo publicado fora desta API. Rollback indisponível até uma nova publicação. Durante uma publicação <code>PENDING</code>, pode aparecer por alguns segundos, entre o novo build entrar no ar e a publicação ser registrada.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customstorefrontoperationtype\"><code>CustomStorefrontOperationType</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>PUBLISH</code></td>\n<td>Publicação de um commit (<code>publishCustomStorefront</code>).</td>\n</tr>\n<tr>\n<td><code>ROLLBACK</code></td>\n<td>Volta para a publicação anterior (<code>rollbackCustomStorefront</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"customstorefrontoperationstate\"><code>CustomStorefrontOperationState</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>PENDING</code></td>\n<td>Em andamento. Continue consultando <code>customStorefrontProduction</code>.</td>\n</tr>\n<tr>\n<td><code>SUCCESS</code></td>\n<td>Produção exibe o destino da operação.</td>\n</tr>\n<tr>\n<td><code>FAILURE</code></td>\n<td>A operação falhou; em geral produção não muda (confira <code>state</code>/<code>commitSha</code>). O motivo está em <code>operation.errorCode</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>Chaves no provisionamento:</strong> <code>provisionCustomStorefront</code> com <code>PROVISIONING</code> ou <code>READY</code> só aceita a chave registrada atualmente (a da última chamada aceita). A troca por ele só é possível com <code>FAILED</code>. Com <code>READY</code>, novas chaves entram por <code>addCustomStorefrontDeployKey</code> (ver <strong>Chaves de deploy</strong>).</li>\n<li><strong>Publicação só na branch <code>deploy</code>, só com uma chave de deploy da loja.</strong> Push em qualquer outra branch, push de tags e force-push são recusados.</li>\n<li><strong>O fluxo de publicação é protegido:</strong> commits que criam ou alteram arquivos em <code>.forgejo/</code>, <code>.github/</code> ou <code>.gitea/</code> são recusados. Não remova nem edite <code>.forgejo/workflows/deploy.yml</code>.</li>\n<li><strong>Preview e produção:</strong> cada push na <code>deploy</code> gera um preview com URL própria (ver <code>customStorefrontDeployment</code>). O <code>previewUrl</code> (em <code>customStorefront</code>) é um endereço fixo que passa a exibir o preview poucos segundos depois de pronto: sempre o push mais recente que terminou com sucesso; um build com falha mantém o anterior. O endereço de produção (<code>url</code> em <code>customStorefrontProduction</code>; em geral <code>https://&lt;slug&gt;.myunbox.com.br</code>, definido no provisionamento e mantido mesmo se o slug da loja mudar depois) exibe a página inicial \"Em breve\" até a primeira publicação e só muda por <code>publishCustomStorefront</code>/<code>rollbackCustomStorefront</code>.</li>\n<li><strong><code>vercel.json</code>:</strong> se existir, precisa ser um objeto JSON válido, com <code>headers</code> e <code>routes</code> (quando usados) em formato de lista. Fora disso o deploy do preview falha (<code>FAILURE</code>).</li>\n<li><strong>Produção refaz o build:</strong> o código publicado é o do commit do preview, mas com a configuração de produção da loja. Um preview <code>SUCCESS</code> pode falhar em produção (<code>CUSTOM_STOREFRONT_PRODUCTION_BUILD_ERROR</code>).</li>\n<li><strong>Histórico:</strong> as últimas 20 publicações ficam disponíveis para rollback; com o histórico cheio, a mais antiga guardada não tem para onde voltar (<code>CUSTOM_STOREFRONT_NOTHING_TO_ROLLBACK_ERROR</code>).</li>\n</ul>\n<h2 id=\"códigos-em-lasterrorcode\">Códigos em <code>lastErrorCode</code></h2>\n<p><code>lastErrorCode</code> mostra o motivo da última falha, inclusive enquanto ainda há tentativas automáticas (<code>PROVISIONING</code>). Só aja sobre ele quando <code>status</code> for <code>FAILED</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><code>CUSTOM_STOREFRONT_INVALID_DEPLOY_CLI_VERSION_ERROR</code></td>\n<td>Configuração de publicação inválida no servidor.</td>\n<td>Não adianta repetir. Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOY_KEY_IN_USE_ERROR</code></td>\n<td>A chave SSH enviada já está em uso no servidor Git fora desta loja ou foi recusada por ele.</td>\n<td>Com <code>FAILED</code>, gere um par de chaves novo e chame <code>provisionCustomStorefront</code> com a nova chave pública.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOY_WORKFLOW_MISMATCH_ERROR</code></td>\n<td>O repositório da loja tem um workflow de publicação diferente do esperado.</td>\n<td>Não adianta repetir. Entre em contato com a Unbox informando <code>_id</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_DOMAIN_IN_USE_ERROR</code></td>\n<td>O endereço da loja (<code>&lt;slug&gt;.myunbox.com.br</code> ou <code>preview.&lt;slug&gt;.myunbox.com.br</code>) está indisponível: já está em uso ou é reservado pela Unbox.</td>\n<td>Não adianta repetir. Entre em contato com a Unbox informando <code>_id</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_DOMAIN_MISCONFIGURED_ERROR</code></td>\n<td>O endereço da loja (produção ou preview) está configurado de forma inconsistente na hospedagem.</td>\n<td>Não adianta repetir. Entre em contato com a Unbox informando <code>_id</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_HOSTING_ENVIRONMENT_LIMIT_ERROR</code></td>\n<td>A hospedagem da loja não comporta o ambiente de preview fixo.</td>\n<td>Não adianta repetir. Entre em contato com a Unbox informando <code>_id</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_INVALID_SHOP_SLUG_ERROR</code></td>\n<td>O slug da loja não gera um nome ou endereço válido.</td>\n<td>Não adianta repetir. Entre em contato com a Unbox informando <code>_id</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_NOT_CONFIGURED_ERROR</code></td>\n<td>O serviço de custom storefront não está disponível neste ambiente.</td>\n<td>Entre em contato com a Unbox.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha em um dos passos do provisionamento.</td>\n<td>Com <code>FAILED</code>, chame <code>provisionCustomStorefront</code> de novo. Persistindo, contate a Unbox.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"códigos-em-operationerrorcode\">Códigos em <code>operation.errorCode</code></h2>\n<p>Falhas que acontecem depois de uma publicação ou rollback começar aparecem em <code>operation.errorCode</code> de <code>customStorefrontProduction</code>, com <code>operation.state</code> <code>FAILURE</code>. Em geral produção continua exibindo o que já estava no ar; confira <code>state</code> e <code>commitSha</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><code>CUSTOM_STOREFRONT_PRODUCTION_BUILD_ERROR</code></td>\n<td>O build de produção do commit falhou, mesmo com o preview <code>SUCCESS</code>.</td>\n<td>Revise o que difere entre preview e produção no código (configuração por ambiente), faça um novo push e publique.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_PRODUCTION_TIMEOUT_ERROR</code></td>\n<td>A operação não terminou em 20 min.</td>\n<td>Publique de novo; persistindo, contate a Unbox informando o <code>commitSha</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_ROLLBACK_TARGET_UNAVAILABLE_ERROR</code></td>\n<td>A publicação de destino do rollback não existe mais.</td>\n<td>Publique o commit desejado com <code>publishCustomStorefront</code> (se o preview tiver sido removido, faça antes um novo push).</td>\n</tr>\n<tr>\n<td><code>CUSTOM_STOREFRONT_DEPLOYMENT_INVALID_ERROR</code></td>\n<td>Este commit não pode ser publicado nesta loja.</td>\n<td>Não repita. Contate a Unbox informando o <code>commitSha</code>.</td>\n</tr>\n<tr>\n<td><em>(qualquer outro código)</em></td>\n<td>Falha temporária ao executar a operação.</td>\n<td>Confira <code>state</code>/<code>commitSha</code> e, se nada mudou, tente de novo; persistindo, contate a Unbox.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"71a6ac4d-2a35-47c8-8a8e-2ff4bcf7ccb9"},{"name":"Customer Account","item":[{"name":"Query","item":[{"name":"[Query] currentCustomerAccount","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 currentCustomerAccount data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"currentCustomerAccount\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"currentCustomerAccount returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.currentCustomerAccount;","    ","    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(\"isFirstAccess\");","        if (data.isFirstAccess !== undefined && data.isFirstAccess !== null) {","            pm.expect(typeof data.isFirstAccess).to.equal(\"boolean\");","        }","        pm.expect(data).to.have.property(\"email\");","        if (data.email !== undefined && data.email !== null) {","            pm.expect(typeof data.email).to.equal(\"string\");","        }","        if (data.metafields !== undefined && data.metafields !== null) {","            pm.expect(data.metafields).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"reuseDataBetweenShops\");","        if (data.reuseDataBetweenShops !== undefined && data.reuseDataBetweenShops !== null) {","            pm.expect(typeof data.reuseDataBetweenShops).to.equal(\"boolean\");","        }","        if (data.addressBooks !== undefined && data.addressBooks !== null) {","            pm.expect(data.addressBooks).to.be.an(\"array\");","        }","        if (data.lastAddressUsed !== undefined && data.lastAddressUsed !== null) {","            pm.expect(data.lastAddressUsed).to.be.an(\"object\");","        }","    }","});"]}}],"id":"8157be4d-2c62-5492-a47b-394409006d04","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 CurrentCustomerAccount {\n  currentCustomerAccount {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"currentcustomeraccount\">currentCustomerAccount</h2>\n<p><strong>Propósito:</strong> Retorna a conta do consumidor autenticado pelo <code>x-customer-token</code>, incluindo os endereços dele na sua loja.\n<strong>Quando usar:</strong> Logo após <code>customerPasswordlessSignIn</code>, para carregar o perfil do consumidor (e-mail, preferências, endereços) e para validar se o token do consumidor ainda é aceito. Leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. O <code>shopId</code> é derivado do seu token — não envie.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum. O consumidor é identificado exclusivamente pelo header <code>x-customer-token</code>.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomerAccount!</code> — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.</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>ID da conta do consumidor.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>String!</code></td>\n<td>E-mail da conta.</td>\n</tr>\n<tr>\n<td><code>isFirstAccess</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando o login mais recente foi o primeiro da conta.</td>\n</tr>\n<tr>\n<td><code>reuseDataBetweenShops</code></td>\n<td><code>Boolean!</code></td>\n<td>Se os endereços do consumidor são reutilizáveis entre lojas.</td>\n</tr>\n<tr>\n<td><code>metafields.receiveNewOrderEmail</code></td>\n<td><code>Boolean</code></td>\n<td>Preferência por e-mail de novo pedido.</td>\n</tr>\n<tr>\n<td><code>addressBooks</code></td>\n<td><code>[Address]</code></td>\n<td>Endereços do consumidor visíveis na sua loja (<code>[]</code> se nenhum).</td>\n</tr>\n<tr>\n<td><code>lastAddressUsed</code></td>\n<td><code>Address</code></td>\n<td>Endereço criado mais recentemente na sua loja; <code>null</code> se não 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>CURRENT_CUSTOMER_NOT_FOUND_ERROR</code></td>\n<td>Nenhum consumidor identificado na chamada.</td>\n<td>Envie <code>x-customer-token</code> com o <code>accessToken</code> de <code>customerPasswordlessSignIn</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong><code>x-customer-token</code> é obrigatório.</strong> Sem ele, a operação não tem um consumidor para retornar e falha.</li>\n<li><code>addressBooks</code> respeita <code>reuseDataBetweenShops</code>: com <code>false</code>, só aparecem endereços criados na sua loja; com <code>true</code>, aparecem também endereços reutilizáveis de outras lojas.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8b086be1-df8e-4478-a985-db64659e6368","name":"200 - currentCustomerAccount","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 CurrentCustomerAccount {\n  currentCustomerAccount {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## currentCustomerAccount\n\n**Propósito:** Retorna a conta do consumidor autenticado pelo `x-customer-token`, incluindo os endereços dele na sua loja.\n**Quando usar:** Logo após `customerPasswordlessSignIn`, para carregar o perfil do consumidor (e-mail, preferências, endereços) e para validar se o token do consumidor ainda é aceito. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\nNenhum. O consumidor é identificado exclusivamente pelo header `x-customer-token`.\n\n### Retorno\n\n`CustomerAccount!` — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n| Propriedade                       | Tipo        | Descrição                                                            |\n| --------------------------------- | ----------- | -------------------------------------------------------------------- |\n| `_id`                             | `String!`   | ID da conta do consumidor.                                           |\n| `email`                           | `String!`   | E-mail da conta.                                                     |\n| `isFirstAccess`                   | `Boolean!`  | `true` quando o login mais recente foi o primeiro da conta.          |\n| `reuseDataBetweenShops`           | `Boolean!`  | Se os endereços do consumidor são reutilizáveis entre lojas.         |\n| `metafields.receiveNewOrderEmail` | `Boolean`   | Preferência por e-mail de novo pedido.                               |\n| `addressBooks`                    | `[Address]` | Endereços do consumidor visíveis na sua loja (`[]` se nenhum).       |\n| `lastAddressUsed`                 | `Address`   | Endereço criado mais recentemente na sua loja; `null` se não houver. |\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `CURRENT_CUSTOMER_NOT_FOUND_ERROR`  | Nenhum consumidor identificado na chamada.                                                         | Envie `x-customer-token` com o `accessToken` de `customerPasswordlessSignIn`.                                      |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **`x-customer-token` é obrigatório.** Sem ele, a operação não tem um consumidor para retornar e falha.\n- `addressBooks` respeita `reuseDataBetweenShops`: com `false`, só aparecem endereços criados na sua loja; com `true`, aparecem também endereços reutilizáveis de outras lojas."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"currentCustomerAccount\": {\n      \"_id\": \"Example_String\",\n      \"isFirstAccess\": true,\n      \"email\": \"cliente@exemplo.com\",\n      \"metafields\": {\n        \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n      },\n      \"reuseDataBetweenShops\": true,\n      \"addressBooks\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"alias\": \"Example_String\",\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"Example_String\",\n          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"postal\": \"Example_String\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"taxPayerId\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        }\n      ],\n      \"lastAddressUsed\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      }\n    }\n  }\n}"},{"id":"91371ba9-735c-4852-8793-7fa7d93f337b","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 CurrentCustomerAccount {\n  currentCustomerAccount {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## currentCustomerAccount\n\n**Propósito:** Retorna a conta do consumidor autenticado pelo `x-customer-token`, incluindo os endereços dele na sua loja.\n**Quando usar:** Logo após `customerPasswordlessSignIn`, para carregar o perfil do consumidor (e-mail, preferências, endereços) e para validar se o token do consumidor ainda é aceito. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\nNenhum. O consumidor é identificado exclusivamente pelo header `x-customer-token`.\n\n### Retorno\n\n`CustomerAccount!` — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n| Propriedade                       | Tipo        | Descrição                                                            |\n| --------------------------------- | ----------- | -------------------------------------------------------------------- |\n| `_id`                             | `String!`   | ID da conta do consumidor.                                           |\n| `email`                           | `String!`   | E-mail da conta.                                                     |\n| `isFirstAccess`                   | `Boolean!`  | `true` quando o login mais recente foi o primeiro da conta.          |\n| `reuseDataBetweenShops`           | `Boolean!`  | Se os endereços do consumidor são reutilizáveis entre lojas.         |\n| `metafields.receiveNewOrderEmail` | `Boolean`   | Preferência por e-mail de novo pedido.                               |\n| `addressBooks`                    | `[Address]` | Endereços do consumidor visíveis na sua loja (`[]` se nenhum).       |\n| `lastAddressUsed`                 | `Address`   | Endereço criado mais recentemente na sua loja; `null` se não houver. |\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `CURRENT_CUSTOMER_NOT_FOUND_ERROR`  | Nenhum consumidor identificado na chamada.                                                         | Envie `x-customer-token` com o `accessToken` de `customerPasswordlessSignIn`.                                      |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **`x-customer-token` é obrigatório.** Sem ele, a operação não tem um consumidor para retornar e falha.\n- `addressBooks` respeita `reuseDataBetweenShops`: com `false`, só aparecem endereços criados na sua loja; com `true`, aparecem também endereços reutilizáveis de outras lojas."},"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":"282595f1-fb38-462e-be35-2427d1d2abdb","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 CurrentCustomerAccount {\n  currentCustomerAccount {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## currentCustomerAccount\n\n**Propósito:** Retorna a conta do consumidor autenticado pelo `x-customer-token`, incluindo os endereços dele na sua loja.\n**Quando usar:** Logo após `customerPasswordlessSignIn`, para carregar o perfil do consumidor (e-mail, preferências, endereços) e para validar se o token do consumidor ainda é aceito. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\nNenhum. O consumidor é identificado exclusivamente pelo header `x-customer-token`.\n\n### Retorno\n\n`CustomerAccount!` — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n| Propriedade                       | Tipo        | Descrição                                                            |\n| --------------------------------- | ----------- | -------------------------------------------------------------------- |\n| `_id`                             | `String!`   | ID da conta do consumidor.                                           |\n| `email`                           | `String!`   | E-mail da conta.                                                     |\n| `isFirstAccess`                   | `Boolean!`  | `true` quando o login mais recente foi o primeiro da conta.          |\n| `reuseDataBetweenShops`           | `Boolean!`  | Se os endereços do consumidor são reutilizáveis entre lojas.         |\n| `metafields.receiveNewOrderEmail` | `Boolean`   | Preferência por e-mail de novo pedido.                               |\n| `addressBooks`                    | `[Address]` | Endereços do consumidor visíveis na sua loja (`[]` se nenhum).       |\n| `lastAddressUsed`                 | `Address`   | Endereço criado mais recentemente na sua loja; `null` se não houver. |\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `CURRENT_CUSTOMER_NOT_FOUND_ERROR`  | Nenhum consumidor identificado na chamada.                                                         | Envie `x-customer-token` com o `accessToken` de `customerPasswordlessSignIn`.                                      |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **`x-customer-token` é obrigatório.** Sem ele, a operação não tem um consumidor para retornar e falha.\n- `addressBooks` respeita `reuseDataBetweenShops`: com `false`, só aparecem endereços criados na sua loja; com `true`, aparecem também endereços reutilizáveis de outras lojas."},"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":"8157be4d-2c62-5492-a47b-394409006d04"},{"name":"[Query] customerAddressBooks","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 customerAddressBooks data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerAddressBooks\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customerAddressBooks returns valid array structure\", function() {","    const json = pm.response.json();","    const data = json.data.customerAddressBooks;","    ","    if (data !== null && Array.isArray(data) && data.length > 0) {","        const item = data[0];","        if (data._id !== undefined && data._id !== null) {","            pm.expect(typeof data._id).to.equal(\"string\");","        }","        if (data.alias !== undefined && data.alias !== null) {","            pm.expect(typeof data.alias).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"address1\");","        if (data.address1 !== undefined && data.address1 !== null) {","            pm.expect(typeof data.address1).to.equal(\"string\");","        }","        if (data.address2 !== undefined && data.address2 !== null) {","            pm.expect(typeof data.address2).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"city\");","        if (data.city !== undefined && data.city !== null) {","            pm.expect(typeof data.city).to.equal(\"string\");","        }","        if (data.cityCode !== undefined && data.cityCode !== null) {","            pm.expect(typeof data.cityCode).to.equal(\"string\");","        }","        if (data.company !== undefined && data.company !== null) {","            pm.expect(typeof data.company).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"country\");","        if (data.country !== undefined && data.country !== null) {","            pm.expect(typeof data.country).to.equal(\"string\");","        }","        if (data.firstName !== undefined && data.firstName !== null) {","            pm.expect(typeof data.firstName).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"fullName\");","        if (data.fullName !== undefined && data.fullName !== null) {","            pm.expect(typeof data.fullName).to.equal(\"string\");","        }","    }","});"]}}],"id":"d185a95a-6a70-5271-8872-04b1065fec43","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 CustomerAddressBooks($input: AddressBooksInput!) {\n  customerAddressBooks(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customeraddressbooks\">customerAddressBooks</h2>\n<p><strong>Propósito:</strong> Retorna endereços do consumidor autenticado a partir de uma lista de IDs.\n<strong>Quando usar:</strong> Para recarregar endereços específicos cujos IDs você já conhece (ex.: o endereço selecionado no checkout). Para listar todos os endereços do consumidor, use <code>currentCustomerAccount</code> (campo <code>addressBooks</code>). Leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. O <code>shopId</code> é derivado 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>input.addressBooksIds</code></td>\n<td><code>[String!]!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>IDs (<code>Address._id</code>) dos endereços a retornar. Mínimo 1. Use IDs obtidos de <code>currentCustomerAccount.addressBooks</code> ou de <code>upsertCustomerAddressBook</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>[Address]</code> — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.</p>\n<p>A lista contém apenas os endereços encontrados e ativos: IDs inexistentes ou removidos são <strong>omitidos silenciosamente</strong> (sem erro). A ordem não acompanha a ordem de <code>addressBooksIds</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><em>(sem código)</em></td>\n<td><code>addressBooksIds</code> ausente ou vazio.</td>\n<td>Envie ao menos um ID.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Compare o retorno com os IDs pedidos.</strong> Um ID ausente no retorno significa que o endereço não existe mais (ou nunca existiu) para este consumidor na sua loja.</li>\n<li>O escopo segue <code>reuseDataBetweenShops</code> do consumidor (ver folder Conta do consumidor).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"beb21255-5a86-4ef5-9726-e8769ecab3ff","name":"200 - customerAddressBooks","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 CustomerAddressBooks($input: AddressBooksInput!) {\n  customerAddressBooks(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## customerAddressBooks\n\n**Propósito:** Retorna endereços do consumidor autenticado a partir de uma lista de IDs.\n**Quando usar:** Para recarregar endereços específicos cujos IDs você já conhece (ex.: o endereço selecionado no checkout). Para listar todos os endereços do consumidor, use `currentCustomerAccount` (campo `addressBooks`). Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\n| Nome                    | Tipo         | Obrigatório | Default | Descrição                                                                                                                                           |\n| ----------------------- | ------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.addressBooksIds` | `[String!]!` | Sim         | —       | IDs (`Address._id`) dos endereços a retornar. Mínimo 1. Use IDs obtidos de `currentCustomerAccount.addressBooks` ou de `upsertCustomerAddressBook`. |\n\n### Retorno\n\n`[Address]` — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\nA lista contém apenas os endereços encontrados e ativos: IDs inexistentes ou removidos são **omitidos silenciosamente** (sem erro). A ordem não acompanha a ordem de `addressBooksIds`.\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | `addressBooksIds` ausente ou vazio.                                                                | Envie ao menos um ID.                                                                                              |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Compare o retorno com os IDs pedidos.** Um ID ausente no retorno significa que o endereço não existe mais (ou nunca existiu) para este consumidor na sua loja.\n- O escopo segue `reuseDataBetweenShops` do consumidor (ver folder Conta do consumidor)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerAddressBooks\": [\n      {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      }\n    ]\n  }\n}"},{"id":"687200c9-889e-4dce-9e44-a30a74adf7b7","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 CustomerAddressBooks($input: AddressBooksInput!) {\n  customerAddressBooks(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## customerAddressBooks\n\n**Propósito:** Retorna endereços do consumidor autenticado a partir de uma lista de IDs.\n**Quando usar:** Para recarregar endereços específicos cujos IDs você já conhece (ex.: o endereço selecionado no checkout). Para listar todos os endereços do consumidor, use `currentCustomerAccount` (campo `addressBooks`). Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\n| Nome                    | Tipo         | Obrigatório | Default | Descrição                                                                                                                                           |\n| ----------------------- | ------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.addressBooksIds` | `[String!]!` | Sim         | —       | IDs (`Address._id`) dos endereços a retornar. Mínimo 1. Use IDs obtidos de `currentCustomerAccount.addressBooks` ou de `upsertCustomerAddressBook`. |\n\n### Retorno\n\n`[Address]` — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\nA lista contém apenas os endereços encontrados e ativos: IDs inexistentes ou removidos são **omitidos silenciosamente** (sem erro). A ordem não acompanha a ordem de `addressBooksIds`.\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | `addressBooksIds` ausente ou vazio.                                                                | Envie ao menos um ID.                                                                                              |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Compare o retorno com os IDs pedidos.** Um ID ausente no retorno significa que o endereço não existe mais (ou nunca existiu) para este consumidor na sua loja.\n- O escopo segue `reuseDataBetweenShops` do consumidor (ver folder Conta do consumidor)."},"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":"908c0147-6b28-4616-a072-2a7eb26737b3","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 CustomerAddressBooks($input: AddressBooksInput!) {\n  customerAddressBooks(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## customerAddressBooks\n\n**Propósito:** Retorna endereços do consumidor autenticado a partir de uma lista de IDs.\n**Quando usar:** Para recarregar endereços específicos cujos IDs você já conhece (ex.: o endereço selecionado no checkout). Para listar todos os endereços do consumidor, use `currentCustomerAccount` (campo `addressBooks`). Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\n| Nome                    | Tipo         | Obrigatório | Default | Descrição                                                                                                                                           |\n| ----------------------- | ------------ | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.addressBooksIds` | `[String!]!` | Sim         | —       | IDs (`Address._id`) dos endereços a retornar. Mínimo 1. Use IDs obtidos de `currentCustomerAccount.addressBooks` ou de `upsertCustomerAddressBook`. |\n\n### Retorno\n\n`[Address]` — ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\nA lista contém apenas os endereços encontrados e ativos: IDs inexistentes ou removidos são **omitidos silenciosamente** (sem erro). A ordem não acompanha a ordem de `addressBooksIds`.\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | `addressBooksIds` ausente ou vazio.                                                                | Envie ao menos um ID.                                                                                              |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Compare o retorno com os IDs pedidos.** Um ID ausente no retorno significa que o endereço não existe mais (ou nunca existiu) para este consumidor na sua loja.\n- O escopo segue `reuseDataBetweenShops` do consumidor (ver folder Conta do consumidor)."},"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":"d185a95a-6a70-5271-8872-04b1065fec43"},{"name":"[Query] hasCustomerAccount","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 hasCustomerAccount data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"hasCustomerAccount\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"hasCustomerAccount returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.hasCustomerAccount;","    ","    if (data !== null) {","        pm.expect(data).to.have.property(\"result\");","        if (data.result !== undefined && data.result !== null) {","            pm.expect(typeof data.result).to.equal(\"boolean\");","        }","    }","});"]}}],"id":"587d1a60-1300-5006-a805-3335a7ca913f","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 HasCustomerAccount($input: HasCustomerAccountInput) {\n  hasCustomerAccount(input: $input) {\n    result\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"hascustomeraccount\">hasCustomerAccount</h2>\n<p><strong>Propósito:</strong> Informa se já existe uma conta de consumidor para um e-mail.\n<strong>Quando usar:</strong> Opcionalmente, no início do login do consumidor, para adaptar a UX (ex.: \"Bem-vindo de volta\" vs. \"Crie sua conta\"). Não é pré-requisito: <code>customerOTPRequest</code> e <code>customerPasswordlessSignIn</code> funcionam para e-mails novos e existentes (a conta é criada no primeiro login). Leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). Não envie <code>x-customer-token</code>.</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</code></td>\n<td><code>HasCustomerAccountInput</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td>Opcional no schema, mas a chamada falha sem ele. Envie sempre.</td>\n</tr>\n<tr>\n<td><code>input.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>E-mail a verificar. A comparação é exata: normalize para minúsculas e sem espaços antes de enviar.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>HasCustomerAccountResponse!</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>result</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> se existe conta de consumidor ativa para o e-mail; <code>false</code> caso contrário.</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> ou <code>input.email</code> ausente/inválido.</td>\n<td>Envie <code>input.email</code> preenchido.</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>Normalize o e-mail.</strong> As contas são armazenadas com e-mail em minúsculas; <code>Cliente@Exemplo.com</code> retorna <code>false</code> mesmo que <code>cliente@exemplo.com</code> exista.</li>\n<li><strong>Não bloqueie o fluxo com base no resultado.</strong> <code>false</code> não impede o login: siga para <code>customerOTPRequest</code> normalmente.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"69667f64-a71f-44b6-9128-bbf122385a08","name":"200 - hasCustomerAccount","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 HasCustomerAccount($input: HasCustomerAccountInput) {\n  hasCustomerAccount(input: $input) {\n    result\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\"\n  }\n}"}},"url":"{{base_url}}","description":"## hasCustomerAccount\n\n**Propósito:** Informa se já existe uma conta de consumidor para um e-mail.\n**Quando usar:** Opcionalmente, no início do login do consumidor, para adaptar a UX (ex.: \"Bem-vindo de volta\" vs. \"Crie sua conta\"). Não é pré-requisito: `customerOTPRequest` e `customerPasswordlessSignIn` funcionam para e-mails novos e existentes (a conta é criada no primeiro login). Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome          | Tipo                      | Obrigatório      | Default | Descrição                                                                                          |\n| ------------- | ------------------------- | ---------------- | ------- | -------------------------------------------------------------------------------------------------- |\n| `input`       | `HasCustomerAccountInput` | Sim (na prática) | —       | Opcional no schema, mas a chamada falha sem ele. Envie sempre.                                     |\n| `input.email` | `String!`                 | Sim              | —       | E-mail a verificar. A comparação é exata: normalize para minúsculas e sem espaços antes de enviar. |\n\n### Retorno\n\n`HasCustomerAccountResponse!`\n\n| Propriedade | Tipo       | Descrição                                                                         |\n| ----------- | ---------- | --------------------------------------------------------------------------------- |\n| `result`    | `Boolean!` | `true` se existe conta de consumidor ativa para o e-mail; `false` caso contrário. |\n\n### Erros\n\n| Código         | Condição                                   | O que fazer                     |\n| -------------- | ------------------------------------------ | ------------------------------- |\n| _(sem código)_ | `input` ou `input.email` ausente/inválido. | Envie `input.email` preenchido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Normalize o e-mail.** As contas são armazenadas com e-mail em minúsculas; `Cliente@Exemplo.com` retorna `false` mesmo que `cliente@exemplo.com` exista.\n- **Não bloqueie o fluxo com base no resultado.** `false` não impede o login: siga para `customerOTPRequest` normalmente."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"hasCustomerAccount\": {\n      \"result\": true\n    }\n  }\n}"},{"id":"ceff56b4-9961-4f35-895d-f2143c9ad053","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 HasCustomerAccount($input: HasCustomerAccountInput) {\n  hasCustomerAccount(input: $input) {\n    result\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\"\n  }\n}"}},"url":"{{base_url}}","description":"## hasCustomerAccount\n\n**Propósito:** Informa se já existe uma conta de consumidor para um e-mail.\n**Quando usar:** Opcionalmente, no início do login do consumidor, para adaptar a UX (ex.: \"Bem-vindo de volta\" vs. \"Crie sua conta\"). Não é pré-requisito: `customerOTPRequest` e `customerPasswordlessSignIn` funcionam para e-mails novos e existentes (a conta é criada no primeiro login). Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome          | Tipo                      | Obrigatório      | Default | Descrição                                                                                          |\n| ------------- | ------------------------- | ---------------- | ------- | -------------------------------------------------------------------------------------------------- |\n| `input`       | `HasCustomerAccountInput` | Sim (na prática) | —       | Opcional no schema, mas a chamada falha sem ele. Envie sempre.                                     |\n| `input.email` | `String!`                 | Sim              | —       | E-mail a verificar. A comparação é exata: normalize para minúsculas e sem espaços antes de enviar. |\n\n### Retorno\n\n`HasCustomerAccountResponse!`\n\n| Propriedade | Tipo       | Descrição                                                                         |\n| ----------- | ---------- | --------------------------------------------------------------------------------- |\n| `result`    | `Boolean!` | `true` se existe conta de consumidor ativa para o e-mail; `false` caso contrário. |\n\n### Erros\n\n| Código         | Condição                                   | O que fazer                     |\n| -------------- | ------------------------------------------ | ------------------------------- |\n| _(sem código)_ | `input` ou `input.email` ausente/inválido. | Envie `input.email` preenchido. |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- **Normalize o e-mail.** As contas são armazenadas com e-mail em minúsculas; `Cliente@Exemplo.com` retorna `false` mesmo que `cliente@exemplo.com` exista.\n- **Não bloqueie o fluxo com base no resultado.** `false` não impede o login: siga para `customerOTPRequest` normalmente."},"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":"587d1a60-1300-5006-a805-3335a7ca913f"}],"id":"45782212-e20d-40da-8800-ede1d03af42a","_postman_id":"45782212-e20d-40da-8800-ede1d03af42a","description":""},{"name":"Mutation","item":[{"name":"[Mutation] customerOTPRequest","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 customerOTPRequest data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerOTPRequest\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"b7ae1f1d-80d7-54ae-8b03-4c2e2c7ad9f4","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 CustomerOTPRequest($input: CustomerOTPRequestInput!) {\n  customerOTPRequest(input: $input) {\n    success\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerotprequest\">customerOTPRequest</h2>\n<p><strong>Propósito:</strong> Envia ao consumidor, por e-mail, um código de uso único (OTP) para login sem senha.\n<strong>Quando usar:</strong> Primeiro passo do login do consumidor — antes de <code>customerPasswordlessSignIn</code>. Funciona para qualquer e-mail válido, com ou sem conta existente. <strong>Não é idempotente:</strong> cada chamada dispara um novo e-mail e um novo código; o código anterior deixa de ser o válido. Use para \"reenviar código\", com intervalo entre tentativas.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Não envie <code>x-customer-token</code>.</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.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>E-mail do consumidor (formato válido).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomerOTPRequestPayload!</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>success</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando o envio do e-mail foi aceito. Em falha, a resposta traz <code>errors[]</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>INACTIVE_SHOP_ERROR</code></td>\n<td>A loja associada ao seu token não está ativa.</td>\n<td>Não repita a chamada; contate o suporte Unbox.</td>\n</tr>\n<tr>\n<td><code>FAILED_TO_REQUEST_OTP_ERROR</code></td>\n<td>O envio do código não foi aceito.</td>\n<td>Aguarde alguns segundos e tente novamente uma única vez; persistindo, contate o suporte.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>email</code> ausente ou em formato inválido.</td>\n<td>Corrija o e-mail antes de reenviar.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Muitas solicitações em sequência (limitação de taxa).</td>\n<td>Aguarde antes de solicitar um novo código; não faça retry em laç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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>O código tem validade curta e é de uso único.</strong> Peça ao consumidor que o use logo após recebê-lo; se expirar, chame esta operação de novo.</li>\n<li><strong>Não cria conta.</strong> A conta do consumidor só é criada (ou vinculada à sua loja) em <code>customerPasswordlessSignIn</code>.</li>\n<li><code>success: true</code> indica que o envio foi aceito, não que o e-mail foi entregue (caixa de spam, e-mail digitado errado etc.).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6d971021-c1a8-4597-8848-4a355b2f1a80","name":"200 - customerOTPRequest","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 CustomerOTPRequest($input: CustomerOTPRequestInput!) {\n  customerOTPRequest(input: $input) {\n    success\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerOTPRequest\n\n**Propósito:** Envia ao consumidor, por e-mail, um código de uso único (OTP) para login sem senha.\n**Quando usar:** Primeiro passo do login do consumidor — antes de `customerPasswordlessSignIn`. Funciona para qualquer e-mail válido, com ou sem conta existente. **Não é idempotente:** cada chamada dispara um novo e-mail e um novo código; o código anterior deixa de ser o válido. Use para \"reenviar código\", com intervalo entre tentativas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome          | Tipo      | Obrigatório | Default | Descrição                              |\n| ------------- | --------- | ----------- | ------- | -------------------------------------- |\n| `input.email` | `String!` | Sim         | —       | E-mail do consumidor (formato válido). |\n\n### Retorno\n\n`CustomerOTPRequestPayload!`\n\n| Propriedade | Tipo       | Descrição                                                                         |\n| ----------- | ---------- | --------------------------------------------------------------------------------- |\n| `success`   | `Boolean!` | `true` quando o envio do e-mail foi aceito. Em falha, a resposta traz `errors[]`. |\n\n### Erros\n\n| Código                        | Condição                                              | O que fazer                                                                              |\n| ----------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| `INACTIVE_SHOP_ERROR`         | A loja associada ao seu token não está ativa.         | Não repita a chamada; contate o suporte Unbox.                                           |\n| `FAILED_TO_REQUEST_OTP_ERROR` | O envio do código não foi aceito.                     | Aguarde alguns segundos e tente novamente uma única vez; persistindo, contate o suporte. |\n| _(sem código)_                | `email` ausente ou em formato inválido.               | Corrija o e-mail antes de reenviar.                                                      |\n| _(sem código)_                | Muitas solicitações em sequência (limitação de taxa). | Aguarde antes de solicitar um novo código; não faça retry em laço.                       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O código tem validade curta e é de uso único.** Peça ao consumidor que o use logo após recebê-lo; se expirar, chame esta operação de novo.\n- **Não cria conta.** A conta do consumidor só é criada (ou vinculada à sua loja) em `customerPasswordlessSignIn`.\n- `success: true` indica que o envio foi aceito, não que o e-mail foi entregue (caixa de spam, e-mail digitado errado etc.)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerOTPRequest\": {\n      \"success\": true\n    }\n  }\n}"},{"id":"b7a33c70-2707-4799-b14a-dba1fa078fbf","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 CustomerOTPRequest($input: CustomerOTPRequestInput!) {\n  customerOTPRequest(input: $input) {\n    success\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerOTPRequest\n\n**Propósito:** Envia ao consumidor, por e-mail, um código de uso único (OTP) para login sem senha.\n**Quando usar:** Primeiro passo do login do consumidor — antes de `customerPasswordlessSignIn`. Funciona para qualquer e-mail válido, com ou sem conta existente. **Não é idempotente:** cada chamada dispara um novo e-mail e um novo código; o código anterior deixa de ser o válido. Use para \"reenviar código\", com intervalo entre tentativas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome          | Tipo      | Obrigatório | Default | Descrição                              |\n| ------------- | --------- | ----------- | ------- | -------------------------------------- |\n| `input.email` | `String!` | Sim         | —       | E-mail do consumidor (formato válido). |\n\n### Retorno\n\n`CustomerOTPRequestPayload!`\n\n| Propriedade | Tipo       | Descrição                                                                         |\n| ----------- | ---------- | --------------------------------------------------------------------------------- |\n| `success`   | `Boolean!` | `true` quando o envio do e-mail foi aceito. Em falha, a resposta traz `errors[]`. |\n\n### Erros\n\n| Código                        | Condição                                              | O que fazer                                                                              |\n| ----------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| `INACTIVE_SHOP_ERROR`         | A loja associada ao seu token não está ativa.         | Não repita a chamada; contate o suporte Unbox.                                           |\n| `FAILED_TO_REQUEST_OTP_ERROR` | O envio do código não foi aceito.                     | Aguarde alguns segundos e tente novamente uma única vez; persistindo, contate o suporte. |\n| _(sem código)_                | `email` ausente ou em formato inválido.               | Corrija o e-mail antes de reenviar.                                                      |\n| _(sem código)_                | Muitas solicitações em sequência (limitação de taxa). | Aguarde antes de solicitar um novo código; não faça retry em laço.                       |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O código tem validade curta e é de uso único.** Peça ao consumidor que o use logo após recebê-lo; se expirar, chame esta operação de novo.\n- **Não cria conta.** A conta do consumidor só é criada (ou vinculada à sua loja) em `customerPasswordlessSignIn`.\n- `success: true` indica que o envio foi aceito, não que o e-mail foi entregue (caixa de spam, e-mail digitado errado etc.)."},"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":"b7ae1f1d-80d7-54ae-8b03-4c2e2c7ad9f4"},{"name":"[Mutation] customerPasswordlessSignIn","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 customerPasswordlessSignIn data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerPasswordlessSignIn\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"428cd7ed-e30b-57c1-840a-284f3bc8b23b","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 CustomerPasswordlessSignIn($input: CustomerPasswordlessSignInInput) {\n  customerPasswordlessSignIn(input: $input) {\n    firstAccess\n    newShopSignIn\n    accessToken\n    idToken\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\",\n    \"otp\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerpasswordlesssignin\">customerPasswordlessSignIn</h2>\n<p><strong>Propósito:</strong> Troca o e-mail + código (OTP) recebido pelo consumidor por um token de sessão do consumidor.\n<strong>Quando usar:</strong> Segundo passo do login do consumidor, logo após <code>customerOTPRequest</code>. O <code>accessToken</code> retornado vai no header <code>x-customer-token</code> das operações que agem como o cliente. <strong>Efeitos colaterais:</strong> se o e-mail ainda não tem conta, ela é <strong>criada</strong>; se é o primeiro login do consumidor na sua loja, a conta é <strong>vinculada</strong> a ela. <strong>Não é idempotente:</strong> o código é de uso único — repetir a chamada com o mesmo código falha; para um novo token, solicite um novo código.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Não envie <code>x-customer-token</code>.</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</code></td>\n<td><code>CustomerPasswordlessSignInInput</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td>Opcional no schema, mas a chamada falha sem ele. Envie sempre.</td>\n</tr>\n<tr>\n<td><code>input.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O mesmo e-mail usado em <code>customerOTPRequest</code>.</td>\n</tr>\n<tr>\n<td><code>input.otp</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Código recebido pelo consumidor no e-mail.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomerSignInResult</code> — em caso de sucesso:</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>accessToken</code></td>\n<td><code>String!</code></td>\n<td>Token do consumidor. Envie em <code>x-customer-token: &lt;accessToken&gt;</code> (token puro, sem <code>Bearer</code>).</td>\n</tr>\n<tr>\n<td><code>idToken</code></td>\n<td><code>String!</code></td>\n<td>Token informativo sobre a identidade do consumidor. Não é aceito em nenhuma operação da API.</td>\n</tr>\n<tr>\n<td><code>firstAccess</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> se este foi o primeiro login da conta (conta nova).</td>\n</tr>\n<tr>\n<td><code>newShopSignIn</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> se este foi o primeiro login do consumidor na sua loja (inclui o caso de conta nova).</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 associada ao seu token não está ativa.</td>\n<td>Não repita a chamada; contate o suporte Unbox.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_PASSWORDLESS_SIGNIN_NO_RESPONSE_ERROR</code></td>\n<td>O login não pôde ser concluído.</td>\n<td>Solicite um novo código (<code>customerOTPRequest</code>) e tente novamente.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Código incorreto, expirado ou já usado, ou e-mail diferente do usado na solicitação.</td>\n<td>Peça ao consumidor para conferir o código; se necessário, solicite um novo.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>email</code>/<code>otp</code> ausentes ou <code>email</code> em formato inválido.</td>\n<td>Corrija a entrada antes de reenviar.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Muitas tentativas em sequência (limitação de taxa).</td>\n<td>Aguarde antes de tentar novamente; não faça retry em laç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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Guarde o <code>accessToken</code> como credencial do consumidor.</strong> Ele dá acesso à conta, endereços, pedidos e assinaturas dele na sua loja. Não registre em logs.</li>\n<li><strong>Não há expiração no retorno nem operação de refresh.</strong> Quando chamadas com <code>x-customer-token</code> passarem a falhar por autorização, repita <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>.</li>\n<li>Use <code>firstAccess</code>/<code>newShopSignIn</code> para decidir a UX pós-login (ex.: boas-vindas, pedir aceite de termos da sua loja).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cf8bf23e-a559-4295-895f-acec5ad275b3","name":"200 - customerPasswordlessSignIn","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 CustomerPasswordlessSignIn($input: CustomerPasswordlessSignInInput) {\n  customerPasswordlessSignIn(input: $input) {\n    firstAccess\n    newShopSignIn\n    accessToken\n    idToken\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\",\n    \"otp\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerPasswordlessSignIn\n\n**Propósito:** Troca o e-mail + código (OTP) recebido pelo consumidor por um token de sessão do consumidor.\n**Quando usar:** Segundo passo do login do consumidor, logo após `customerOTPRequest`. O `accessToken` retornado vai no header `x-customer-token` das operações que agem como o cliente. **Efeitos colaterais:** se o e-mail ainda não tem conta, ela é **criada**; se é o primeiro login do consumidor na sua loja, a conta é **vinculada** a ela. **Não é idempotente:** o código é de uso único — repetir a chamada com o mesmo código falha; para um novo token, solicite um novo código.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome          | Tipo                              | Obrigatório      | Default | Descrição                                                      |\n| ------------- | --------------------------------- | ---------------- | ------- | -------------------------------------------------------------- |\n| `input`       | `CustomerPasswordlessSignInInput` | Sim (na prática) | —       | Opcional no schema, mas a chamada falha sem ele. Envie sempre. |\n| `input.email` | `String!`                         | Sim              | —       | O mesmo e-mail usado em `customerOTPRequest`.                  |\n| `input.otp`   | `String!`                         | Sim              | —       | Código recebido pelo consumidor no e-mail.                     |\n\n### Retorno\n\n`CustomerSignInResult` — em caso de sucesso:\n\n| Propriedade     | Tipo       | Descrição                                                                                    |\n| --------------- | ---------- | -------------------------------------------------------------------------------------------- |\n| `accessToken`   | `String!`  | Token do consumidor. Envie em `x-customer-token: <accessToken>` (token puro, sem `Bearer`).  |\n| `idToken`       | `String!`  | Token informativo sobre a identidade do consumidor. Não é aceito em nenhuma operação da API. |\n| `firstAccess`   | `Boolean!` | `true` se este foi o primeiro login da conta (conta nova).                                   |\n| `newShopSignIn` | `Boolean!` | `true` se este foi o primeiro login do consumidor na sua loja (inclui o caso de conta nova). |\n\n### Erros\n\n| Código                                           | Condição                                                                             | O que fazer                                                                 |\n| ------------------------------------------------ | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR`                                | A loja associada ao seu token não está ativa.                                        | Não repita a chamada; contate o suporte Unbox.                              |\n| `CUSTOMER_PASSWORDLESS_SIGNIN_NO_RESPONSE_ERROR` | O login não pôde ser concluído.                                                      | Solicite um novo código (`customerOTPRequest`) e tente novamente.           |\n| _(sem código)_                                   | Código incorreto, expirado ou já usado, ou e-mail diferente do usado na solicitação. | Peça ao consumidor para conferir o código; se necessário, solicite um novo. |\n| _(sem código)_                                   | `email`/`otp` ausentes ou `email` em formato inválido.                               | Corrija a entrada antes de reenviar.                                        |\n| _(sem código)_                                   | Muitas tentativas em sequência (limitação de taxa).                                  | Aguarde antes de tentar novamente; não faça retry em laço.                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Guarde o `accessToken` como credencial do consumidor.** Ele dá acesso à conta, endereços, pedidos e assinaturas dele na sua loja. Não registre em logs.\n- **Não há expiração no retorno nem operação de refresh.** Quando chamadas com `x-customer-token` passarem a falhar por autorização, repita `customerOTPRequest` → `customerPasswordlessSignIn`.\n- Use `firstAccess`/`newShopSignIn` para decidir a UX pós-login (ex.: boas-vindas, pedir aceite de termos da sua loja)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerPasswordlessSignIn\": {\n      \"firstAccess\": true,\n      \"newShopSignIn\": true,\n      \"accessToken\": \"Example_String\",\n      \"idToken\": \"Example_String\"\n    }\n  }\n}"},{"id":"2da8f6e0-61fd-4f5d-a013-e157f69c7286","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 CustomerPasswordlessSignIn($input: CustomerPasswordlessSignInInput) {\n  customerPasswordlessSignIn(input: $input) {\n    firstAccess\n    newShopSignIn\n    accessToken\n    idToken\n  }\n}","variables":"{\n  \"input\": {\n    \"email\": \"cliente@exemplo.com\",\n    \"otp\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerPasswordlessSignIn\n\n**Propósito:** Troca o e-mail + código (OTP) recebido pelo consumidor por um token de sessão do consumidor.\n**Quando usar:** Segundo passo do login do consumidor, logo após `customerOTPRequest`. O `accessToken` retornado vai no header `x-customer-token` das operações que agem como o cliente. **Efeitos colaterais:** se o e-mail ainda não tem conta, ela é **criada**; se é o primeiro login do consumidor na sua loja, a conta é **vinculada** a ela. **Não é idempotente:** o código é de uso único — repetir a chamada com o mesmo código falha; para um novo token, solicite um novo código.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome          | Tipo                              | Obrigatório      | Default | Descrição                                                      |\n| ------------- | --------------------------------- | ---------------- | ------- | -------------------------------------------------------------- |\n| `input`       | `CustomerPasswordlessSignInInput` | Sim (na prática) | —       | Opcional no schema, mas a chamada falha sem ele. Envie sempre. |\n| `input.email` | `String!`                         | Sim              | —       | O mesmo e-mail usado em `customerOTPRequest`.                  |\n| `input.otp`   | `String!`                         | Sim              | —       | Código recebido pelo consumidor no e-mail.                     |\n\n### Retorno\n\n`CustomerSignInResult` — em caso de sucesso:\n\n| Propriedade     | Tipo       | Descrição                                                                                    |\n| --------------- | ---------- | -------------------------------------------------------------------------------------------- |\n| `accessToken`   | `String!`  | Token do consumidor. Envie em `x-customer-token: <accessToken>` (token puro, sem `Bearer`).  |\n| `idToken`       | `String!`  | Token informativo sobre a identidade do consumidor. Não é aceito em nenhuma operação da API. |\n| `firstAccess`   | `Boolean!` | `true` se este foi o primeiro login da conta (conta nova).                                   |\n| `newShopSignIn` | `Boolean!` | `true` se este foi o primeiro login do consumidor na sua loja (inclui o caso de conta nova). |\n\n### Erros\n\n| Código                                           | Condição                                                                             | O que fazer                                                                 |\n| ------------------------------------------------ | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- |\n| `FORBIDDEN_ERROR`                                | A loja associada ao seu token não está ativa.                                        | Não repita a chamada; contate o suporte Unbox.                              |\n| `CUSTOMER_PASSWORDLESS_SIGNIN_NO_RESPONSE_ERROR` | O login não pôde ser concluído.                                                      | Solicite um novo código (`customerOTPRequest`) e tente novamente.           |\n| _(sem código)_                                   | Código incorreto, expirado ou já usado, ou e-mail diferente do usado na solicitação. | Peça ao consumidor para conferir o código; se necessário, solicite um novo. |\n| _(sem código)_                                   | `email`/`otp` ausentes ou `email` em formato inválido.                               | Corrija a entrada antes de reenviar.                                        |\n| _(sem código)_                                   | Muitas tentativas em sequência (limitação de taxa).                                  | Aguarde antes de tentar novamente; não faça retry em laço.                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Guarde o `accessToken` como credencial do consumidor.** Ele dá acesso à conta, endereços, pedidos e assinaturas dele na sua loja. Não registre em logs.\n- **Não há expiração no retorno nem operação de refresh.** Quando chamadas com `x-customer-token` passarem a falhar por autorização, repita `customerOTPRequest` → `customerPasswordlessSignIn`.\n- Use `firstAccess`/`newShopSignIn` para decidir a UX pós-login (ex.: boas-vindas, pedir aceite de termos da sua loja)."},"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":"428cd7ed-e30b-57c1-840a-284f3bc8b23b"},{"name":"[Mutation] updateCustomerAccount","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 updateCustomerAccount data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"updateCustomerAccount\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"78e2ea7b-c867-59e1-a222-d1c3d89643fd","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 UpdateCustomerAccount($input: UpdateCustomerAccountInput) {\n  updateCustomerAccount(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"metafields\": {\n      \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n    },\n    \"reuseDataBetweenShops\": true\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"updatecustomeraccount\">updateCustomerAccount</h2>\n<p><strong>Propósito:</strong> Atualiza preferências da conta do consumidor autenticado.\n<strong>Quando usar:</strong> Quando o consumidor altera, na sua interface, a preferência de e-mail de novo pedido ou o consentimento para reutilizar dados entre lojas. <strong>Merge parcial:</strong> só os campos enviados são alterados; campos omitidos permanecem como estão. <strong>Idempotente:</strong> reenviar os mesmos valores produz o mesmo estado.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpdateCustomerAccountInput</code>. Envie ao menos um campo.</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.metafields.receiveNewOrderEmail</code></td>\n<td><code>Boolean</code></td>\n<td>Opcional no schema; envie sempre que enviar <code>metafields</code></td>\n<td>—</td>\n<td>Preferência por receber e-mail de novo pedido.</td>\n</tr>\n<tr>\n<td><code>input.reuseDataBetweenShops</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Consentimento do consumidor para reutilizar os dados dele (endereços) entre lojas. Altere só com consentimento explícito.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomerAccount</code> — a conta <strong>após</strong> a atualização. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor. Selecione apenas <code>_id</code>, <code>email</code>, <code>isFirstAccess</code>, <code>reuseDataBetweenShops</code> e <code>metafields</code> (ver 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><code>UNABLE_TO_UPDATE_CUSTOMER_ACCOUNT_ERROR</code></td>\n<td>A conta do consumidor não foi encontrada para atualização.</td>\n<td>Envie <code>x-customer-token</code> válido; se persistir, refaça o login do consumidor.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> vazio, campo desconhecido, ou <code>metafields</code> sem <code>receiveNewOrderEmail</code>.</td>\n<td>Envie ao menos um campo válido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não selecione <code>addressBooks</code>/<code>lastAddressUsed</code> no retorno desta operação</strong> — esses campos não são retornados por esta operação. Para os endereços atualizados, chame <code>currentCustomerAccount</code> em seguida.</li>\n<li><strong><code>reuseDataBetweenShops</code> vale para a conta inteira do consumidor</strong>, não só para a sua loja — por isso exige consentimento dele.</li>\n<li><code>metafields</code> é enviado como objeto completo: hoje o único campo é <code>receiveNewOrderEmail</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9d93217c-16ea-412d-b69f-01a0afed8931","name":"200 - updateCustomerAccount","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 UpdateCustomerAccount($input: UpdateCustomerAccountInput) {\n  updateCustomerAccount(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"metafields\": {\n      \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n    },\n    \"reuseDataBetweenShops\": true\n  }\n}"}},"url":"{{base_url}}","description":"## updateCustomerAccount\n\n**Propósito:** Atualiza preferências da conta do consumidor autenticado.\n**Quando usar:** Quando o consumidor altera, na sua interface, a preferência de e-mail de novo pedido ou o consentimento para reutilizar dados entre lojas. **Merge parcial:** só os campos enviados são alterados; campos omitidos permanecem como estão. **Idempotente:** reenviar os mesmos valores produz o mesmo estado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCustomerAccountInput`. Envie ao menos um campo.\n\n| Nome                                    | Tipo      | Obrigatório                                              | Default | Descrição                                                                                                                 |\n| --------------------------------------- | --------- | -------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `input.metafields.receiveNewOrderEmail` | `Boolean` | Opcional no schema; envie sempre que enviar `metafields` | —       | Preferência por receber e-mail de novo pedido.                                                                            |\n| `input.reuseDataBetweenShops`           | `Boolean` | Não                                                      | —       | Consentimento do consumidor para reutilizar os dados dele (endereços) entre lojas. Altere só com consentimento explícito. |\n\n### Retorno\n\n`CustomerAccount` — a conta **após** a atualização. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor. Selecione apenas `_id`, `email`, `isFirstAccess`, `reuseDataBetweenShops` e `metafields` (ver Notas).\n\n### Erros\n\n| Código                                    | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `UNABLE_TO_UPDATE_CUSTOMER_ACCOUNT_ERROR` | A conta do consumidor não foi encontrada para atualização.                                         | Envie `x-customer-token` válido; se persistir, refaça o login do consumidor.                                       |\n| _(sem código)_                            | `input` vazio, campo desconhecido, ou `metafields` sem `receiveNewOrderEmail`.                     | Envie ao menos um campo válido.                                                                                    |\n| _(sem código)_                            | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                            | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`       | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não selecione `addressBooks`/`lastAddressUsed` no retorno desta operação** — esses campos não são retornados por esta operação. Para os endereços atualizados, chame `currentCustomerAccount` em seguida.\n- **`reuseDataBetweenShops` vale para a conta inteira do consumidor**, não só para a sua loja — por isso exige consentimento dele.\n- `metafields` é enviado como objeto completo: hoje o único campo é `receiveNewOrderEmail`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"updateCustomerAccount\": {\n      \"_id\": \"Example_String\",\n      \"isFirstAccess\": true,\n      \"email\": \"cliente@exemplo.com\",\n      \"metafields\": {\n        \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n      },\n      \"reuseDataBetweenShops\": true,\n      \"addressBooks\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"alias\": \"Example_String\",\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"Example_String\",\n          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"postal\": \"Example_String\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"taxPayerId\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        }\n      ],\n      \"lastAddressUsed\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      }\n    }\n  }\n}"},{"id":"895ab1d3-fc1e-41c8-a3c1-567899b5e0c5","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 UpdateCustomerAccount($input: UpdateCustomerAccountInput) {\n  updateCustomerAccount(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"metafields\": {\n      \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n    },\n    \"reuseDataBetweenShops\": true\n  }\n}"}},"url":"{{base_url}}","description":"## updateCustomerAccount\n\n**Propósito:** Atualiza preferências da conta do consumidor autenticado.\n**Quando usar:** Quando o consumidor altera, na sua interface, a preferência de e-mail de novo pedido ou o consentimento para reutilizar dados entre lojas. **Merge parcial:** só os campos enviados são alterados; campos omitidos permanecem como estão. **Idempotente:** reenviar os mesmos valores produz o mesmo estado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCustomerAccountInput`. Envie ao menos um campo.\n\n| Nome                                    | Tipo      | Obrigatório                                              | Default | Descrição                                                                                                                 |\n| --------------------------------------- | --------- | -------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `input.metafields.receiveNewOrderEmail` | `Boolean` | Opcional no schema; envie sempre que enviar `metafields` | —       | Preferência por receber e-mail de novo pedido.                                                                            |\n| `input.reuseDataBetweenShops`           | `Boolean` | Não                                                      | —       | Consentimento do consumidor para reutilizar os dados dele (endereços) entre lojas. Altere só com consentimento explícito. |\n\n### Retorno\n\n`CustomerAccount` — a conta **após** a atualização. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor. Selecione apenas `_id`, `email`, `isFirstAccess`, `reuseDataBetweenShops` e `metafields` (ver Notas).\n\n### Erros\n\n| Código                                    | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `UNABLE_TO_UPDATE_CUSTOMER_ACCOUNT_ERROR` | A conta do consumidor não foi encontrada para atualização.                                         | Envie `x-customer-token` válido; se persistir, refaça o login do consumidor.                                       |\n| _(sem código)_                            | `input` vazio, campo desconhecido, ou `metafields` sem `receiveNewOrderEmail`.                     | Envie ao menos um campo válido.                                                                                    |\n| _(sem código)_                            | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                            | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`       | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não selecione `addressBooks`/`lastAddressUsed` no retorno desta operação** — esses campos não são retornados por esta operação. Para os endereços atualizados, chame `currentCustomerAccount` em seguida.\n- **`reuseDataBetweenShops` vale para a conta inteira do consumidor**, não só para a sua loja — por isso exige consentimento dele.\n- `metafields` é enviado como objeto completo: hoje o único campo é `receiveNewOrderEmail`."},"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":"7cb15196-5dbf-4ade-aedb-772f97bc9067","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 UpdateCustomerAccount($input: UpdateCustomerAccountInput) {\n  updateCustomerAccount(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"metafields\": {\n      \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n    },\n    \"reuseDataBetweenShops\": true\n  }\n}"}},"url":"{{base_url}}","description":"## updateCustomerAccount\n\n**Propósito:** Atualiza preferências da conta do consumidor autenticado.\n**Quando usar:** Quando o consumidor altera, na sua interface, a preferência de e-mail de novo pedido ou o consentimento para reutilizar dados entre lojas. **Merge parcial:** só os campos enviados são alterados; campos omitidos permanecem como estão. **Idempotente:** reenviar os mesmos valores produz o mesmo estado.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`.\n\n### Argumentos\n\nÚnico argumento: `input: UpdateCustomerAccountInput`. Envie ao menos um campo.\n\n| Nome                                    | Tipo      | Obrigatório                                              | Default | Descrição                                                                                                                 |\n| --------------------------------------- | --------- | -------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `input.metafields.receiveNewOrderEmail` | `Boolean` | Opcional no schema; envie sempre que enviar `metafields` | —       | Preferência por receber e-mail de novo pedido.                                                                            |\n| `input.reuseDataBetweenShops`           | `Boolean` | Não                                                      | —       | Consentimento do consumidor para reutilizar os dados dele (endereços) entre lojas. Altere só com consentimento explícito. |\n\n### Retorno\n\n`CustomerAccount` — a conta **após** a atualização. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor. Selecione apenas `_id`, `email`, `isFirstAccess`, `reuseDataBetweenShops` e `metafields` (ver Notas).\n\n### Erros\n\n| Código                                    | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `UNABLE_TO_UPDATE_CUSTOMER_ACCOUNT_ERROR` | A conta do consumidor não foi encontrada para atualização.                                         | Envie `x-customer-token` válido; se persistir, refaça o login do consumidor.                                       |\n| _(sem código)_                            | `input` vazio, campo desconhecido, ou `metafields` sem `receiveNewOrderEmail`.                     | Envie ao menos um campo válido.                                                                                    |\n| _(sem código)_                            | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                            | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`       | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não selecione `addressBooks`/`lastAddressUsed` no retorno desta operação** — esses campos não são retornados por esta operação. Para os endereços atualizados, chame `currentCustomerAccount` em seguida.\n- **`reuseDataBetweenShops` vale para a conta inteira do consumidor**, não só para a sua loja — por isso exige consentimento dele.\n- `metafields` é enviado como objeto completo: hoje o único campo é `receiveNewOrderEmail`."},"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":"78e2ea7b-c867-59e1-a222-d1c3d89643fd"},{"name":"[Mutation] upsertCustomerAddressBook","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 upsertCustomerAddressBook data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"upsertCustomerAddressBook\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"4f3517e2-0479-5200-9fe8-132e660005b1","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 UpsertCustomerAddressBook($input: UpsertAddressBookInput) {\n  upsertCustomerAddressBook(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"alias\": \"Example_String\",\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"postal\": \"Example_String\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"upsertcustomeraddressbook\">upsertCustomerAddressBook</h2>\n<p><strong>Propósito:</strong> Cadastra um novo endereço no livro de endereços do consumidor autenticado.\n<strong>Quando usar:</strong> Quando o consumidor adiciona um endereço (ex.: novo endereço de entrega no checkout). <strong>Apesar do nome, na API de parceiros esta operação sempre cria um endereço novo</strong> — o input não tem campo de ID, então não é possível editar um endereço existente. Para \"editar\", crie o novo endereço e remova o antigo com <code>deleteCustomerAddressBooks</code>. <strong>Não é idempotente:</strong> cada chamada bem-sucedida cria um endereço distinto; um retry após timeout pode duplicar o endereço — confira <code>currentCustomerAccount.addressBooks</code> antes de repetir.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. O <code>shopId</code> é derivado do seu token — não envie.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: UpsertAddressBookInput</code>. O schema marca todos os campos como opcionais, mas a validação exige os campos indicados abaixo.</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.fullName</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Nome do destinatário (máx. 50). Se <code>firstName</code>/<code>lastName</code> não forem enviados, são derivados dele.</td>\n</tr>\n<tr>\n<td><code>input.address1</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Logradouro (máx. 50).</td>\n</tr>\n<tr>\n<td><code>input.number</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Número (máx. 6).</td>\n</tr>\n<tr>\n<td><code>input.address2</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Complemento (máx. 30).</td>\n</tr>\n<tr>\n<td><code>input.neighborhood</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Bairro (máx. 50).</td>\n</tr>\n<tr>\n<td><code>input.city</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Cidade.</td>\n</tr>\n<tr>\n<td><code>input.cityCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Código IBGE da cidade.</td>\n</tr>\n<tr>\n<td><code>input.region</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>UF (ex.: <code>SP</code>).</td>\n</tr>\n<tr>\n<td><code>input.postal</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>CEP.</td>\n</tr>\n<tr>\n<td><code>input.country</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>País.</td>\n</tr>\n<tr>\n<td><code>input.phone</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Telefone brasileiro só com dígitos, com DDD válido: 10 dígitos (fixo, começando em 2–5) ou 11 (celular, começando em 9).</td>\n</tr>\n<tr>\n<td><code>input.reference</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Ponto de referência.</td>\n</tr>\n<tr>\n<td><code>input.alias</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Apelido do endereço (ex.: \"Casa\").</td>\n</tr>\n<tr>\n<td><code>input.firstName</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Primeiro nome do destinatário.</td>\n</tr>\n<tr>\n<td><code>input.lastName</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Sobrenome do destinatário.</td>\n</tr>\n<tr>\n<td><code>input.company</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Empresa, se endereço comercial.</td>\n</tr>\n<tr>\n<td><code>input.isCommercial</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Endereço comercial. Define a validação de <code>taxPayerId</code>.</td>\n</tr>\n<tr>\n<td><code>input.taxPayerId</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>CPF (se <code>isCommercial</code> não for <code>true</code>) ou CNPJ (se <code>isCommercial: true</code>); validado.</td>\n</tr>\n<tr>\n<td><code>input.isShippingDefault</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Marca como endereço padrão de entrega.</td>\n</tr>\n<tr>\n<td><code>input.isBillingDefault</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Marca como endereço padrão de cobrança.</td>\n</tr>\n<tr>\n<td><code>input.metafields</code></td>\n<td><code>[MetafieldInput]</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Metadados livres (<code>key</code> obrigatório, máx. 30; <code>namespace</code> máx. 20; <code>value</code>, <code>scope</code>, <code>valueType</code>, <code>description</code>).</td>\n</tr>\n<tr>\n<td><code>input.addressName</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td><strong>Não envie.</strong> Presente no schema, mas hoje rejeitado pela validação. Use <code>alias</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>Address</code> — o endereço criado, com o <code>_id</code> gerado. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.</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>Campo obrigatório ausente, tamanho excedido, telefone/CPF/CNPJ inválido ou campo não permitido — mensagem descreve o campo.</td>\n<td>Corrija o campo indicado em <code>errors[].message</code> e reenvie.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sempre cria.</strong> Não existe edição de endereço pela API de parceiros hoje.</li>\n<li><strong>Marcações padrão não são exclusivas.</strong> Enviar <code>isShippingDefault: true</code> não desmarca automaticamente outros endereços do consumidor.</li>\n<li>O endereço fica visível só na sua loja, a menos que o consumidor tenha <code>reuseDataBetweenShops: true</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e114b2fc-2506-4275-b909-8bee288fea1f","name":"200 - upsertCustomerAddressBook","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 UpsertCustomerAddressBook($input: UpsertAddressBookInput) {\n  upsertCustomerAddressBook(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"alias\": \"Example_String\",\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"postal\": \"Example_String\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## upsertCustomerAddressBook\n\n**Propósito:** Cadastra um novo endereço no livro de endereços do consumidor autenticado.\n**Quando usar:** Quando o consumidor adiciona um endereço (ex.: novo endereço de entrega no checkout). **Apesar do nome, na API de parceiros esta operação sempre cria um endereço novo** — o input não tem campo de ID, então não é possível editar um endereço existente. Para \"editar\", crie o novo endereço e remova o antigo com `deleteCustomerAddressBooks`. **Não é idempotente:** cada chamada bem-sucedida cria um endereço distinto; um retry após timeout pode duplicar o endereço — confira `currentCustomerAccount.addressBooks` antes de repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\nÚnico argumento: `input: UpsertAddressBookInput`. O schema marca todos os campos como opcionais, mas a validação exige os campos indicados abaixo.\n\n| Nome                      | Tipo               | Obrigatório | Default | Descrição                                                                                                                |\n| ------------------------- | ------------------ | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |\n| `input.fullName`          | `String`           | Sim         | —       | Nome do destinatário (máx. 50). Se `firstName`/`lastName` não forem enviados, são derivados dele.                        |\n| `input.address1`          | `String`           | Sim         | —       | Logradouro (máx. 50).                                                                                                    |\n| `input.number`            | `String`           | Não         | —       | Número (máx. 6).                                                                                                         |\n| `input.address2`          | `String`           | Não         | —       | Complemento (máx. 30).                                                                                                   |\n| `input.neighborhood`      | `String`           | Sim         | —       | Bairro (máx. 50).                                                                                                        |\n| `input.city`              | `String`           | Sim         | —       | Cidade.                                                                                                                  |\n| `input.cityCode`          | `String`           | Não         | —       | Código IBGE da cidade.                                                                                                   |\n| `input.region`            | `String`           | Sim         | —       | UF (ex.: `SP`).                                                                                                          |\n| `input.postal`            | `String`           | Sim         | —       | CEP.                                                                                                                     |\n| `input.country`           | `String`           | Sim         | —       | País.                                                                                                                    |\n| `input.phone`             | `String`           | Sim         | —       | Telefone brasileiro só com dígitos, com DDD válido: 10 dígitos (fixo, começando em 2–5) ou 11 (celular, começando em 9). |\n| `input.reference`         | `String`           | Não         | —       | Ponto de referência.                                                                                                     |\n| `input.alias`             | `String`           | Não         | —       | Apelido do endereço (ex.: \"Casa\").                                                                                       |\n| `input.firstName`         | `String`           | Não         | —       | Primeiro nome do destinatário.                                                                                           |\n| `input.lastName`          | `String`           | Não         | —       | Sobrenome do destinatário.                                                                                               |\n| `input.company`           | `String`           | Não         | —       | Empresa, se endereço comercial.                                                                                          |\n| `input.isCommercial`      | `Boolean`          | Não         | —       | Endereço comercial. Define a validação de `taxPayerId`.                                                                  |\n| `input.taxPayerId`        | `String`           | Não         | —       | CPF (se `isCommercial` não for `true`) ou CNPJ (se `isCommercial: true`); validado.                                      |\n| `input.isShippingDefault` | `Boolean`          | Não         | —       | Marca como endereço padrão de entrega.                                                                                   |\n| `input.isBillingDefault`  | `Boolean`          | Não         | —       | Marca como endereço padrão de cobrança.                                                                                  |\n| `input.metafields`        | `[MetafieldInput]` | Não         | —       | Metadados livres (`key` obrigatório, máx. 30; `namespace` máx. 20; `value`, `scope`, `valueType`, `description`).        |\n| `input.addressName`       | `String`           | Não         | —       | **Não envie.** Presente no schema, mas hoje rejeitado pela validação. Use `alias`.                                       |\n\n### Retorno\n\n`Address` — o endereço criado, com o `_id` gerado. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n### Erros\n\n| Código                              | Condição                                                                                                                    | O que fazer                                                                                                        |\n| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | Campo obrigatório ausente, tamanho excedido, telefone/CPF/CNPJ inválido ou campo não permitido — mensagem descreve o campo. | Corrija o campo indicado em `errors[].message` e reenvie.                                                          |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                          | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                              | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                          | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre cria.** Não existe edição de endereço pela API de parceiros hoje.\n- **Marcações padrão não são exclusivas.** Enviar `isShippingDefault: true` não desmarca automaticamente outros endereços do consumidor.\n- O endereço fica visível só na sua loja, a menos que o consumidor tenha `reuseDataBetweenShops: true`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"upsertCustomerAddressBook\": {\n      \"_id\": \"Example_ID\",\n      \"alias\": \"Example_String\",\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"postal\": \"Example_String\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"taxPayerId\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    }\n  }\n}"},{"id":"f7dc4b6c-1916-4b60-b7d6-620526222b23","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 UpsertCustomerAddressBook($input: UpsertAddressBookInput) {\n  upsertCustomerAddressBook(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"alias\": \"Example_String\",\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"postal\": \"Example_String\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## upsertCustomerAddressBook\n\n**Propósito:** Cadastra um novo endereço no livro de endereços do consumidor autenticado.\n**Quando usar:** Quando o consumidor adiciona um endereço (ex.: novo endereço de entrega no checkout). **Apesar do nome, na API de parceiros esta operação sempre cria um endereço novo** — o input não tem campo de ID, então não é possível editar um endereço existente. Para \"editar\", crie o novo endereço e remova o antigo com `deleteCustomerAddressBooks`. **Não é idempotente:** cada chamada bem-sucedida cria um endereço distinto; um retry após timeout pode duplicar o endereço — confira `currentCustomerAccount.addressBooks` antes de repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\nÚnico argumento: `input: UpsertAddressBookInput`. O schema marca todos os campos como opcionais, mas a validação exige os campos indicados abaixo.\n\n| Nome                      | Tipo               | Obrigatório | Default | Descrição                                                                                                                |\n| ------------------------- | ------------------ | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |\n| `input.fullName`          | `String`           | Sim         | —       | Nome do destinatário (máx. 50). Se `firstName`/`lastName` não forem enviados, são derivados dele.                        |\n| `input.address1`          | `String`           | Sim         | —       | Logradouro (máx. 50).                                                                                                    |\n| `input.number`            | `String`           | Não         | —       | Número (máx. 6).                                                                                                         |\n| `input.address2`          | `String`           | Não         | —       | Complemento (máx. 30).                                                                                                   |\n| `input.neighborhood`      | `String`           | Sim         | —       | Bairro (máx. 50).                                                                                                        |\n| `input.city`              | `String`           | Sim         | —       | Cidade.                                                                                                                  |\n| `input.cityCode`          | `String`           | Não         | —       | Código IBGE da cidade.                                                                                                   |\n| `input.region`            | `String`           | Sim         | —       | UF (ex.: `SP`).                                                                                                          |\n| `input.postal`            | `String`           | Sim         | —       | CEP.                                                                                                                     |\n| `input.country`           | `String`           | Sim         | —       | País.                                                                                                                    |\n| `input.phone`             | `String`           | Sim         | —       | Telefone brasileiro só com dígitos, com DDD válido: 10 dígitos (fixo, começando em 2–5) ou 11 (celular, começando em 9). |\n| `input.reference`         | `String`           | Não         | —       | Ponto de referência.                                                                                                     |\n| `input.alias`             | `String`           | Não         | —       | Apelido do endereço (ex.: \"Casa\").                                                                                       |\n| `input.firstName`         | `String`           | Não         | —       | Primeiro nome do destinatário.                                                                                           |\n| `input.lastName`          | `String`           | Não         | —       | Sobrenome do destinatário.                                                                                               |\n| `input.company`           | `String`           | Não         | —       | Empresa, se endereço comercial.                                                                                          |\n| `input.isCommercial`      | `Boolean`          | Não         | —       | Endereço comercial. Define a validação de `taxPayerId`.                                                                  |\n| `input.taxPayerId`        | `String`           | Não         | —       | CPF (se `isCommercial` não for `true`) ou CNPJ (se `isCommercial: true`); validado.                                      |\n| `input.isShippingDefault` | `Boolean`          | Não         | —       | Marca como endereço padrão de entrega.                                                                                   |\n| `input.isBillingDefault`  | `Boolean`          | Não         | —       | Marca como endereço padrão de cobrança.                                                                                  |\n| `input.metafields`        | `[MetafieldInput]` | Não         | —       | Metadados livres (`key` obrigatório, máx. 30; `namespace` máx. 20; `value`, `scope`, `valueType`, `description`).        |\n| `input.addressName`       | `String`           | Não         | —       | **Não envie.** Presente no schema, mas hoje rejeitado pela validação. Use `alias`.                                       |\n\n### Retorno\n\n`Address` — o endereço criado, com o `_id` gerado. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n### Erros\n\n| Código                              | Condição                                                                                                                    | O que fazer                                                                                                        |\n| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | Campo obrigatório ausente, tamanho excedido, telefone/CPF/CNPJ inválido ou campo não permitido — mensagem descreve o campo. | Corrija o campo indicado em `errors[].message` e reenvie.                                                          |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                          | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                              | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                          | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre cria.** Não existe edição de endereço pela API de parceiros hoje.\n- **Marcações padrão não são exclusivas.** Enviar `isShippingDefault: true` não desmarca automaticamente outros endereços do consumidor.\n- O endereço fica visível só na sua loja, a menos que o consumidor tenha `reuseDataBetweenShops: 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}"},{"id":"4481c930-1e74-473a-9b20-6f3554c9040d","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 UpsertCustomerAddressBook($input: UpsertAddressBookInput) {\n  upsertCustomerAddressBook(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"alias\": \"Example_String\",\n    \"address1\": \"Example_String\",\n    \"address2\": \"Example_String\",\n    \"addressName\": \"Example_String\",\n    \"city\": \"Example_String\",\n    \"cityCode\": \"Example_String\",\n    \"company\": \"Example_String\",\n    \"country\": \"BR\",\n    \"firstName\": \"Example_String\",\n    \"fullName\": \"Example_String\",\n    \"isBillingDefault\": true,\n    \"isCommercial\": true,\n    \"isShippingDefault\": true,\n    \"lastName\": \"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    \"neighborhood\": \"Example_String\",\n    \"number\": \"Example_String\",\n    \"phone\": \"+5511999999999\",\n    \"postal\": \"Example_String\",\n    \"region\": \"Example_String\",\n    \"reference\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## upsertCustomerAddressBook\n\n**Propósito:** Cadastra um novo endereço no livro de endereços do consumidor autenticado.\n**Quando usar:** Quando o consumidor adiciona um endereço (ex.: novo endereço de entrega no checkout). **Apesar do nome, na API de parceiros esta operação sempre cria um endereço novo** — o input não tem campo de ID, então não é possível editar um endereço existente. Para \"editar\", crie o novo endereço e remova o antigo com `deleteCustomerAddressBooks`. **Não é idempotente:** cada chamada bem-sucedida cria um endereço distinto; um retry após timeout pode duplicar o endereço — confira `currentCustomerAccount.addressBooks` antes de repetir.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\nÚnico argumento: `input: UpsertAddressBookInput`. O schema marca todos os campos como opcionais, mas a validação exige os campos indicados abaixo.\n\n| Nome                      | Tipo               | Obrigatório | Default | Descrição                                                                                                                |\n| ------------------------- | ------------------ | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |\n| `input.fullName`          | `String`           | Sim         | —       | Nome do destinatário (máx. 50). Se `firstName`/`lastName` não forem enviados, são derivados dele.                        |\n| `input.address1`          | `String`           | Sim         | —       | Logradouro (máx. 50).                                                                                                    |\n| `input.number`            | `String`           | Não         | —       | Número (máx. 6).                                                                                                         |\n| `input.address2`          | `String`           | Não         | —       | Complemento (máx. 30).                                                                                                   |\n| `input.neighborhood`      | `String`           | Sim         | —       | Bairro (máx. 50).                                                                                                        |\n| `input.city`              | `String`           | Sim         | —       | Cidade.                                                                                                                  |\n| `input.cityCode`          | `String`           | Não         | —       | Código IBGE da cidade.                                                                                                   |\n| `input.region`            | `String`           | Sim         | —       | UF (ex.: `SP`).                                                                                                          |\n| `input.postal`            | `String`           | Sim         | —       | CEP.                                                                                                                     |\n| `input.country`           | `String`           | Sim         | —       | País.                                                                                                                    |\n| `input.phone`             | `String`           | Sim         | —       | Telefone brasileiro só com dígitos, com DDD válido: 10 dígitos (fixo, começando em 2–5) ou 11 (celular, começando em 9). |\n| `input.reference`         | `String`           | Não         | —       | Ponto de referência.                                                                                                     |\n| `input.alias`             | `String`           | Não         | —       | Apelido do endereço (ex.: \"Casa\").                                                                                       |\n| `input.firstName`         | `String`           | Não         | —       | Primeiro nome do destinatário.                                                                                           |\n| `input.lastName`          | `String`           | Não         | —       | Sobrenome do destinatário.                                                                                               |\n| `input.company`           | `String`           | Não         | —       | Empresa, se endereço comercial.                                                                                          |\n| `input.isCommercial`      | `Boolean`          | Não         | —       | Endereço comercial. Define a validação de `taxPayerId`.                                                                  |\n| `input.taxPayerId`        | `String`           | Não         | —       | CPF (se `isCommercial` não for `true`) ou CNPJ (se `isCommercial: true`); validado.                                      |\n| `input.isShippingDefault` | `Boolean`          | Não         | —       | Marca como endereço padrão de entrega.                                                                                   |\n| `input.isBillingDefault`  | `Boolean`          | Não         | —       | Marca como endereço padrão de cobrança.                                                                                  |\n| `input.metafields`        | `[MetafieldInput]` | Não         | —       | Metadados livres (`key` obrigatório, máx. 30; `namespace` máx. 20; `value`, `scope`, `valueType`, `description`).        |\n| `input.addressName`       | `String`           | Não         | —       | **Não envie.** Presente no schema, mas hoje rejeitado pela validação. Use `alias`.                                       |\n\n### Retorno\n\n`Address` — o endereço criado, com o `_id` gerado. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n### Erros\n\n| Código                              | Condição                                                                                                                    | O que fazer                                                                                                        |\n| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | Campo obrigatório ausente, tamanho excedido, telefone/CPF/CNPJ inválido ou campo não permitido — mensagem descreve o campo. | Corrija o campo indicado em `errors[].message` e reenvie.                                                          |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                          | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                              | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                          | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre cria.** Não existe edição de endereço pela API de parceiros hoje.\n- **Marcações padrão não são exclusivas.** Enviar `isShippingDefault: true` não desmarca automaticamente outros endereços do consumidor.\n- O endereço fica visível só na sua loja, a menos que o consumidor tenha `reuseDataBetweenShops: true`."},"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":"4f3517e2-0479-5200-9fe8-132e660005b1"},{"name":"[Mutation] deleteCustomerAddressBooks","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 deleteCustomerAddressBooks data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"deleteCustomerAddressBooks\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"bada95e0-476c-592d-b113-aea58f9e3e51","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 DeleteCustomerAddressBooks($input: DeleteCustomerAddressBooksInput) {\n  deleteCustomerAddressBooks(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"deletecustomeraddressbooks\">deleteCustomerAddressBooks</h2>\n<p><strong>Propósito:</strong> Remove um ou mais endereços do livro de endereços do consumidor autenticado.\n<strong>Quando usar:</strong> Quando o consumidor exclui endereços salvos (ou para concluir uma \"edição\": criar o novo com <code>upsertCustomerAddressBook</code> e remover o antigo). A operação é <strong>tudo ou nada</strong>: se qualquer ID não pertencer ao consumidor, nada é removido. <strong>Remoção lógica:</strong> os endereços são marcados como removidos e desvinculados da conta — deixam de aparecer em qualquer leitura. <strong>Não é idempotente:</strong> repetir a chamada com os mesmos IDs retorna <code>ADDRESS_BOOK_ID_NOT_FOUND_ERROR</code>, pois eles já não pertencem mais à conta.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. O <code>shopId</code> é derivado 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>input.addressBooksIds</code></td>\n<td><code>[String!]!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>IDs (<code>Address._id</code>) dos endereços a remover. Mínimo 1.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomerAccount</code> — a conta do consumidor <strong>após</strong> a remoção. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.</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>ADDRESS_BOOK_ID_NOT_FOUND_ERROR</code></td>\n<td>Um ou mais IDs não pertencem à conta do consumidor (inexistentes, de outro consumidor ou já removidos). Nada é removido.</td>\n<td>Recarregue <code>currentCustomerAccount.addressBooks</code> e reenvie só IDs presentes. Em retry após timeout, trate como \"já removido\".</td>\n</tr>\n<tr>\n<td><code>ADDRESS_BOOKS_NOT_FOUND_ERROR</code></td>\n<td>Nenhum dos endereços informados estava ativo para remoção.</td>\n<td>Recarregue os endereços do consumidor; não há nada a remover.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>addressBooksIds</code> ausente ou vazio.</td>\n<td>Envie ao menos um ID.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Tudo ou nada na validação.</strong> Remova IDs inválidos da lista e reenvie; uma lista com um único ID inválido bloqueia a remoção dos demais.</li>\n<li><strong>Retry seguro por verificação:</strong> após um timeout, confira <code>currentCustomerAccount.addressBooks</code> antes de repetir — se os IDs já não aparecem, a remoção foi concluída.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2d4eeaab-0951-42f8-816a-bc6cfe1a7862","name":"200 - deleteCustomerAddressBooks","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 DeleteCustomerAddressBooks($input: DeleteCustomerAddressBooksInput) {\n  deleteCustomerAddressBooks(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## deleteCustomerAddressBooks\n\n**Propósito:** Remove um ou mais endereços do livro de endereços do consumidor autenticado.\n**Quando usar:** Quando o consumidor exclui endereços salvos (ou para concluir uma \"edição\": criar o novo com `upsertCustomerAddressBook` e remover o antigo). A operação é **tudo ou nada**: se qualquer ID não pertencer ao consumidor, nada é removido. **Remoção lógica:** os endereços são marcados como removidos e desvinculados da conta — deixam de aparecer em qualquer leitura. **Não é idempotente:** repetir a chamada com os mesmos IDs retorna `ADDRESS_BOOK_ID_NOT_FOUND_ERROR`, pois eles já não pertencem mais à conta.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\n| Nome                    | Tipo         | Obrigatório | Default | Descrição                                              |\n| ----------------------- | ------------ | ----------- | ------- | ------------------------------------------------------ |\n| `input.addressBooksIds` | `[String!]!` | Sim         | —       | IDs (`Address._id`) dos endereços a remover. Mínimo 1. |\n\n### Retorno\n\n`CustomerAccount` — a conta do consumidor **após** a remoção. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n### Erros\n\n| Código                              | Condição                                                                                                                 | O que fazer                                                                                                                   |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |\n| `ADDRESS_BOOK_ID_NOT_FOUND_ERROR`   | Um ou mais IDs não pertencem à conta do consumidor (inexistentes, de outro consumidor ou já removidos). Nada é removido. | Recarregue `currentCustomerAccount.addressBooks` e reenvie só IDs presentes. Em retry após timeout, trate como \"já removido\". |\n| `ADDRESS_BOOKS_NOT_FOUND_ERROR`     | Nenhum dos endereços informados estava ativo para remoção.                                                               | Recarregue os endereços do consumidor; não há nada a remover.                                                                 |\n| _(sem código)_                      | `addressBooksIds` ausente ou vazio.                                                                                      | Envie ao menos um ID.                                                                                                         |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                       | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                       |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                           | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.            |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                       | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Tudo ou nada na validação.** Remova IDs inválidos da lista e reenvie; uma lista com um único ID inválido bloqueia a remoção dos demais.\n- **Retry seguro por verificação:** após um timeout, confira `currentCustomerAccount.addressBooks` antes de repetir — se os IDs já não aparecem, a remoção foi concluída."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"deleteCustomerAddressBooks\": {\n      \"_id\": \"Example_String\",\n      \"isFirstAccess\": true,\n      \"email\": \"cliente@exemplo.com\",\n      \"metafields\": {\n        \"receiveNewOrderEmail\": \"cliente@exemplo.com\"\n      },\n      \"reuseDataBetweenShops\": true,\n      \"addressBooks\": [\n        {\n          \"_id\": \"Example_ID\",\n          \"alias\": \"Example_String\",\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"Example_String\",\n          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"postal\": \"Example_String\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"taxPayerId\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        }\n      ],\n      \"lastAddressUsed\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      }\n    }\n  }\n}"},{"id":"d45fe3d9-73f4-4b57-8b8e-b90ba7c5167e","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 DeleteCustomerAddressBooks($input: DeleteCustomerAddressBooksInput) {\n  deleteCustomerAddressBooks(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## deleteCustomerAddressBooks\n\n**Propósito:** Remove um ou mais endereços do livro de endereços do consumidor autenticado.\n**Quando usar:** Quando o consumidor exclui endereços salvos (ou para concluir uma \"edição\": criar o novo com `upsertCustomerAddressBook` e remover o antigo). A operação é **tudo ou nada**: se qualquer ID não pertencer ao consumidor, nada é removido. **Remoção lógica:** os endereços são marcados como removidos e desvinculados da conta — deixam de aparecer em qualquer leitura. **Não é idempotente:** repetir a chamada com os mesmos IDs retorna `ADDRESS_BOOK_ID_NOT_FOUND_ERROR`, pois eles já não pertencem mais à conta.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\n| Nome                    | Tipo         | Obrigatório | Default | Descrição                                              |\n| ----------------------- | ------------ | ----------- | ------- | ------------------------------------------------------ |\n| `input.addressBooksIds` | `[String!]!` | Sim         | —       | IDs (`Address._id`) dos endereços a remover. Mínimo 1. |\n\n### Retorno\n\n`CustomerAccount` — a conta do consumidor **após** a remoção. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n### Erros\n\n| Código                              | Condição                                                                                                                 | O que fazer                                                                                                                   |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |\n| `ADDRESS_BOOK_ID_NOT_FOUND_ERROR`   | Um ou mais IDs não pertencem à conta do consumidor (inexistentes, de outro consumidor ou já removidos). Nada é removido. | Recarregue `currentCustomerAccount.addressBooks` e reenvie só IDs presentes. Em retry após timeout, trate como \"já removido\". |\n| `ADDRESS_BOOKS_NOT_FOUND_ERROR`     | Nenhum dos endereços informados estava ativo para remoção.                                                               | Recarregue os endereços do consumidor; não há nada a remover.                                                                 |\n| _(sem código)_                      | `addressBooksIds` ausente ou vazio.                                                                                      | Envie ao menos um ID.                                                                                                         |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                       | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                       |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                           | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.            |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                       | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Tudo ou nada na validação.** Remova IDs inválidos da lista e reenvie; uma lista com um único ID inválido bloqueia a remoção dos demais.\n- **Retry seguro por verificação:** após um timeout, confira `currentCustomerAccount.addressBooks` antes de repetir — se os IDs já não aparecem, a remoção foi concluída."},"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":"364e0308-0171-4d3b-a20f-68159cc23c67","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 DeleteCustomerAddressBooks($input: DeleteCustomerAddressBooksInput) {\n  deleteCustomerAddressBooks(input: $input) {\n    _id\n    isFirstAccess\n    email\n    metafields {\n      receiveNewOrderEmail\n    }\n    reuseDataBetweenShops\n    addressBooks {\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    lastAddressUsed {\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  }\n}","variables":"{\n  \"input\": {\n    \"addressBooksIds\": [\n      \"Example_String\"\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## deleteCustomerAddressBooks\n\n**Propósito:** Remove um ou mais endereços do livro de endereços do consumidor autenticado.\n**Quando usar:** Quando o consumidor exclui endereços salvos (ou para concluir uma \"edição\": criar o novo com `upsertCustomerAddressBook` e remover o antigo). A operação é **tudo ou nada**: se qualquer ID não pertencer ao consumidor, nada é removido. **Remoção lógica:** os endereços são marcados como removidos e desvinculados da conta — deixam de aparecer em qualquer leitura. **Não é idempotente:** repetir a chamada com os mesmos IDs retorna `ADDRESS_BOOK_ID_NOT_FOUND_ERROR`, pois eles já não pertencem mais à conta.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie.\n\n### Argumentos\n\n| Nome                    | Tipo         | Obrigatório | Default | Descrição                                              |\n| ----------------------- | ------------ | ----------- | ------- | ------------------------------------------------------ |\n| `input.addressBooksIds` | `[String!]!` | Sim         | —       | IDs (`Address._id`) dos endereços a remover. Mínimo 1. |\n\n### Retorno\n\n`CustomerAccount` — a conta do consumidor **após** a remoção. Ver campos em \"Tipos compartilhados\" no folder Conta do consumidor.\n\n### Erros\n\n| Código                              | Condição                                                                                                                 | O que fazer                                                                                                                   |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |\n| `ADDRESS_BOOK_ID_NOT_FOUND_ERROR`   | Um ou mais IDs não pertencem à conta do consumidor (inexistentes, de outro consumidor ou já removidos). Nada é removido. | Recarregue `currentCustomerAccount.addressBooks` e reenvie só IDs presentes. Em retry após timeout, trate como \"já removido\". |\n| `ADDRESS_BOOKS_NOT_FOUND_ERROR`     | Nenhum dos endereços informados estava ativo para remoção.                                                               | Recarregue os endereços do consumidor; não há nada a remover.                                                                 |\n| _(sem código)_                      | `addressBooksIds` ausente ou vazio.                                                                                      | Envie ao menos um ID.                                                                                                         |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                       | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                       |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                           | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.            |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                       | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Tudo ou nada na validação.** Remova IDs inválidos da lista e reenvie; uma lista com um único ID inválido bloqueia a remoção dos demais.\n- **Retry seguro por verificação:** após um timeout, confira `currentCustomerAccount.addressBooks` antes de repetir — se os IDs já não aparecem, a remoção foi concluída."},"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":"bada95e0-476c-592d-b113-aea58f9e3e51"}],"id":"45bdbf95-24e5-4c56-be1b-4b74f8596d58","_postman_id":"45bdbf95-24e5-4c56-be1b-4b74f8596d58","description":""}],"id":"f4aeab23-8ac2-4191-a778-ebb239632160","description":"<h1 id=\"conta-do-consumidor\">Conta do consumidor</h1>\n<p>Domínio que autentica o <strong>consumidor final</strong> (o cliente que compra na sua loja) e gerencia a conta e o livro de endereços dele. É diferente da autenticação do parceiro (<code>signIn</code>): aqui você obtém um token <strong>do consumidor</strong>, com login sem senha por código enviado por e-mail (OTP), e o usa para agir \"como o cliente\" — ler a conta, gerenciar endereços, consultar pedidos e assinaturas dele.</p>\n<h2 id=\"dois-tokens-dois-headers\">Dois tokens, dois headers</h2>\n<p>Toda chamada deste domínio continua exigindo a autenticação do <strong>parceiro</strong>. O token do consumidor é um header <strong>adicional</strong>, nunca um substituto.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Valor</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><code>{{api_key}}</code></td>\n<td>Todas as chamadas.</td>\n</tr>\n<tr>\n<td><code>Authorization</code></td>\n<td><code>access_token</code> do <strong>parceiro</strong>, obtido via <code>signIn</code>. Token puro, sem <code>Bearer</code>.</td>\n<td>Todas as chamadas deste domínio. É dele que a sua loja é identificada.</td>\n</tr>\n<tr>\n<td><code>x-customer-token</code></td>\n<td><code>accessToken</code> do <strong>consumidor</strong>, obtido via <code>customerPasswordlessSignIn</code>. Token puro, sem <code>Bearer</code>.</td>\n<td>Operações que agem como o cliente: <code>currentCustomerAccount</code>, <code>customerAddressBooks</code>, <code>upsertCustomerAddressBook</code>, <code>deleteCustomerAddressBooks</code>, <code>updateCustomerAccount</code> e as operações <code>customer*</code> de pedidos e assinaturas (lista completa, inclusive onde é opcional, no Overview da collection).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Nas operações de login (<code>hasCustomerAccount</code>, <code>customerOTPRequest</code>, <code>customerPasswordlessSignIn</code>) <strong>não envie</strong> <code>x-customer-token</code> — ainda não existe um consumidor autenticado, e um token de consumidor expirado nesse header faz a chamada falhar.</p>\n<h2 id=\"fluxo-de-autenticação-do-consumidor-ponta-a-ponta\">Fluxo de autenticação do consumidor (ponta a ponta)</h2>\n<ol>\n<li><strong>Autentique o parceiro.</strong> Chame <code>signIn</code> e guarde o <code>access_token</code>. Ele vai no <code>Authorization</code> de todas as chamadas abaixo.</li>\n<li><strong>(Opcional) Verifique o e-mail.</strong> <code>hasCustomerAccount(input: { email })</code> diz se já existe uma conta de consumidor para o e-mail. Serve só para ajustar a sua UX (ex.: \"Bem-vindo de volta\"); o fluxo abaixo funciona igual para e-mails novos e existentes.</li>\n<li><strong>Envie o código.</strong> <code>customerOTPRequest(input: { email })</code> dispara um e-mail para o consumidor com um código de uso único (OTP). Retorna <code>success: true</code>.</li>\n<li><strong>Troque o código por um token.</strong> O consumidor digita o código na sua interface; chame <code>customerPasswordlessSignIn(input: { email, otp })</code>. Em caso de sucesso, retorna <code>CustomerSignInResult</code>. Se o e-mail ainda não tinha conta, <strong>a conta é criada neste momento</strong> e vinculada à sua loja.</li>\n<li><strong>Use o token do consumidor.</strong> Envie o <code>accessToken</code> retornado no header <code>x-customer-token</code> (mantendo <code>x-api-key</code> + <code>Authorization</code> do parceiro) nas operações que agem como o cliente.</li>\n<li><strong>Token expirado?</strong> Não há operação de refresh para o consumidor. Quando as chamadas com <code>x-customer-token</code> começarem a falhar por autorização, repita os passos 3 e 4.</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>x-api-key: {{api_key}}\nAuthorization: {{authorization}}\nx-customer-token: &lt;accessToken do consumidor&gt;\n</code></pre><h2 id=\"loja-resolvida-pelo-token-do-parceiro\">Loja resolvida pelo token do parceiro</h2>\n<p>Nenhuma operação deste domínio aceita <code>shopId</code>: a loja é derivada do <code>access_token</code> do parceiro enviado em <code>Authorization</code> — inclusive quando <code>x-customer-token</code> está presente. O consumidor só consegue operar na sua loja se tiver feito login nela via <code>customerPasswordlessSignIn</code> (passo 4); um token de consumidor que nunca fez login na sua loja é recusado com <code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code> (em <code>errors[].message</code>).</p>\n<h2 id=\"tipos-compartilhados\">Tipos compartilhados</h2>\n<h3 id=\"customeraccount\"><code>CustomerAccount</code></h3>\n<p>Retornado por <code>currentCustomerAccount</code>, <code>updateCustomerAccount</code> e <code>deleteCustomerAddressBooks</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>String!</code></td>\n<td>ID da conta do consumidor.</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td><code>String!</code></td>\n<td>E-mail da conta (armazenado em minúsculas).</td>\n</tr>\n<tr>\n<td><code>isFirstAccess</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando o login mais recente foi o primeiro da conta. Para decidir a UX logo após o login, prefira <code>firstAccess</code>/<code>newShopSignIn</code> do retorno de <code>customerPasswordlessSignIn</code>.</td>\n</tr>\n<tr>\n<td><code>reuseDataBetweenShops</code></td>\n<td><code>Boolean!</code></td>\n<td>Se o consumidor permite reaproveitar os dados dele (endereços) entre lojas. Ver Regras de negócio.</td>\n</tr>\n<tr>\n<td><code>metafields.receiveNewOrderEmail</code></td>\n<td><code>Boolean</code></td>\n<td>Preferência do consumidor por receber e-mail de novo pedido.</td>\n</tr>\n<tr>\n<td><code>addressBooks</code></td>\n<td><code>[Address]</code></td>\n<td>Endereços do consumidor visíveis na sua loja.</td>\n</tr>\n<tr>\n<td><code>lastAddressUsed</code></td>\n<td><code>Address</code></td>\n<td>Endereço do consumidor criado mais recentemente na sua loja; <code>null</code> se não houver.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"address\"><code>Address</code></h3>\n<p>Retornado por <code>customerAddressBooks</code>, <code>upsertCustomerAddressBook</code> e pelos campos <code>addressBooks</code>/<code>lastAddressUsed</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 endereço — use em <code>customerAddressBooks</code> e <code>deleteCustomerAddressBooks</code>.</td>\n</tr>\n<tr>\n<td><code>alias</code></td>\n<td><code>String</code></td>\n<td>Apelido livre (ex.: \"Casa\").</td>\n</tr>\n<tr>\n<td><code>fullName</code> / <code>firstName</code> / <code>lastName</code></td>\n<td><code>String</code></td>\n<td>Destinatário. <code>fullName</code> é sempre preenchido.</td>\n</tr>\n<tr>\n<td><code>address1</code> / <code>number</code> / <code>address2</code></td>\n<td><code>String</code></td>\n<td>Logradouro, número e complemento.</td>\n</tr>\n<tr>\n<td><code>neighborhood</code> / <code>city</code> / <code>cityCode</code></td>\n<td><code>String</code></td>\n<td>Bairro, cidade e código IBGE da cidade.</td>\n</tr>\n<tr>\n<td><code>region</code> / <code>postal</code> / <code>country</code></td>\n<td><code>String</code></td>\n<td>UF, CEP e país.</td>\n</tr>\n<tr>\n<td><code>reference</code></td>\n<td><code>String</code></td>\n<td>Ponto de referência.</td>\n</tr>\n<tr>\n<td><code>phone</code> / <code>mobile</code> / <code>trackByMobile</code></td>\n<td><code>String</code> / <code>String</code> / <code>Boolean</code></td>\n<td>Telefones de contato e se o celular recebe rastreio.</td>\n</tr>\n<tr>\n<td><code>company</code> / <code>isCommercial</code> / <code>taxPayerId</code></td>\n<td><code>String</code> / <code>Boolean!</code> / <code>String</code></td>\n<td>Endereço comercial e CPF/CNPJ.</td>\n</tr>\n<tr>\n<td><code>isShippingDefault</code> / <code>isBillingDefault</code></td>\n<td><code>Boolean</code></td>\n<td>Marcações de endereço padrão de entrega/cobrança.</td>\n</tr>\n<tr>\n<td><code>metafields</code></td>\n<td><code>[Metafield]</code></td>\n<td>Metadados livres (<code>key</code>, <code>value</code>, <code>namespace</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 conta do consumidor é única por e-mail</strong> e pode estar vinculada a mais de uma loja Unbox. O login na sua loja (passo 4) é o que a vincula a você.</li>\n<li><strong><code>reuseDataBetweenShops</code></strong> controla o escopo dos endereços: <code>false</code> (padrão) mantém os endereços criados na sua loja visíveis só nela; <code>true</code> torna os endereços do consumidor reutilizáveis entre lojas. É uma preferência do consumidor — altere-a (via <code>updateCustomerAccount</code>) apenas com consentimento explícito dele.</li>\n<li><strong>Limitação de taxa:</strong> <code>customerOTPRequest</code> e <code>customerPasswordlessSignIn</code> são limitadas para impedir abuso. Não faça retry automático em laço; aguarde antes de repetir e ofereça \"reenviar código\" com intervalo na sua UI.</li>\n<li><strong>Formato de erro:</strong> HTTP 200 com <code>errors[]</code>. Neste domínio, o código de negócio (ex.: <code>ADDRESS_BOOK_ID_NOT_FOUND_ERROR</code>) chega em <code>errors[].message</code>; não dependa de <code>errors[].extensions.code</code> para decidir o fluxo. Erros de validação de entrada chegam com mensagem descritiva e sem código estável.</li>\n</ul>\n","_postman_id":"f4aeab23-8ac2-4191-a778-ebb239632160"},{"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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"1e12b128-7b30-4b5f-a69f-d9aefeff623c","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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":"e183e5bd-9e2b-4df5-b9d6-e54a7d10b7c7","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"9fd9391f-933f-41e9-a246-ee73b27f84b7","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"ffcca405-88f9-4f36-a04b-7a10ead0184e","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"25f8a9cf-7372-4311-a514-9c8ea2f35879","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"18723227-4545-4d76-ad8a-7654a734920e","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"274f2cf2-77d0-48c6-9c51-a0fd6892dbdc","_postman_id":"274f2cf2-77d0-48c6-9c51-a0fd6892dbdc","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"7362bdda-8fe2-4ac7-a164-17a4f65efcc8","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"c8317659-e136-44dd-b92d-5f291632dffe","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"a6c6a7f3-e76b-4884-a526-e409dc89b83c","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"8c72f9d5-fd89-471e-ade5-c46be5844d57","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"0e79cbcc-f6ba-44d5-aa6a-761be52ac25f","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"41a88b79-6ccd-479c-a0e9-194e26204e36","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"23417b91-afca-47bc-b312-01c3d518be63","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"a5eb7c84-1176-4e45-9525-61ec7e169845","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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":"5a7b1120-8691-4614-987e-03651d3b3577","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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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"},{"name":"[Mutation] applyDiscountCodeToCart","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 applyDiscountCodeToCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"applyDiscountCodeToCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"1d1dbe59-2051-5d79-8f92-8e8dd40a2c70","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 ApplyDiscountCodeToCart($input: ApplyDiscountCodeToCartInput!) {\n  applyDiscountCodeToCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountCode\": \"Example_String\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"applydiscountcodetocart\">applyDiscountCodeToCart</h2>\n<p><strong>Propósito:</strong> Aplica um cupom de desconto (por código) da sua loja a um carrinho.\n<strong>Quando usar:</strong> No checkout, quando o comprador informa um cupom — depois de montar os itens (as condições do cupom são avaliadas sobre os itens e o valor atual do carrinho). O carrinho comporta <strong>um cupom por vez</strong>. <strong>Idempotente para o mesmo código</strong>; outro código substitui o anterior sem aviso.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Só cupons da sua loja são encontrados. Acesso ao carrinho pelo par <code>cartId</code> + <code>token</code>. <code>x-customer-token</code> <strong>opcional</strong>: envie-o quando o comprador estiver autenticado — é necessário para que limites por conta (<code>conditions.accountLimit</code>) sejam aplicados.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: ApplyDiscountCodeToCartInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.discountCode</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Código do cupom. Comparação sem diferenciar maiúsculas/minúsculas e ignorando espaços nas pontas.</td>\n</tr>\n<tr>\n<td><code>input.token</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> do carrinho retornado em <code>createCart</code> (aqui o campo se chama <code>token</code>, não <code>cartToken</code>). Opcional no schema, mas <strong>obrigatório na prática</strong> — sempre envie-o.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>ApplyDiscountCodeToCartPayload!</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 com o cupom aplicado.</td>\n</tr>\n<tr>\n<td><code>cart.billing[]</code></td>\n<td><code>[CartBilling]</code></td>\n<td>O cupom aplicado. <code>data</code> traz <code>discountId</code> (use em <code>removeDiscountCodeFromCart</code>), <code>code</code>, <code>label</code>, <code>description</code>.</td>\n</tr>\n<tr>\n<td><code>cart.checkout.summary.discountTotal</code></td>\n<td><code>Money!</code></td>\n<td>Valor total de desconto; <code>total</code> já considera o cupom.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Efeitos colaterais (ex.: <code>SALE_FREE_ITEM_ADDED</code>, ou <code>DISCOUNT_CODE_REMOVED</code> se o cupom não se sustentar após o recálculo).</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Sempre <code>null</code> (o campo não é aceito no input desta operaçã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>CART_NOT_FOUND_ERROR</code></td>\n<td>Carrinho inexistente ou já travado em checkout.</td>\n<td>Confira <code>cartId</code>/<code>token</code>; se o pedido já foi fechado, crie um novo carrinho.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_CODE_NOT_FOUND_ERROR</code></td>\n<td>Nenhum cupom habilitado e não removido com esse código na sua loja atende ao carrinho.</td>\n<td>Confira o código; peça ao comprador para digitá-lo novamente.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_CODE_CONDITION_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>O cupom existe, mas não se aplica agora: fora da vigência, limite de uso atingido, ou valor do carrinho fora de <code>conditions.min</code>/<code>max</code>.</td>\n<td>Informe ao comprador que o cupom não é válido para este carrinho; ajuste os itens se for o caso de valor mínimo/máximo.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR</code></td>\n<td>O cupom vale só para itens recorrentes e o carrinho não tem nenhum.</td>\n<td>Inclua itens recorrentes ou use outro cupom.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR</code></td>\n<td>O cupom vale só para itens avulsos e o carrinho não tem nenhum.</td>\n<td>Inclua itens avulsos ou use outro cupom.</td>\n</tr>\n<tr>\n<td><code>INVALID_DISCOUNT_CODE_ERROR</code></td>\n<td>O cupom é do método <code>SUBSCRIPTION</code>, que não pode ser aplicado a carrinho.</td>\n<td>Use outro cupom.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Campo obrigatório ausente.</td>\n<td>Corrija o <code>input</code>; a causa vem descrita em <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Um cupom por carrinho.</strong> Aplicar um segundo código descarta o primeiro sem aviso.</li>\n<li><strong>O cupom pode cair depois.</strong> Ao alterar itens (<code>addCartItems</code>, <code>removeCartItems</code>, <code>updateCartItemsQuantity</code>), as condições são reavaliadas; se deixarem de ser atendidas, o cupom é <strong>suspenso</strong> (sai de <code>billing[]</code> e do total) e a operação que causou a mudança devolve <code>DISCOUNT_CODE_REMOVED</code> em <code>cartEvents</code>. Se o carrinho voltar a atender às condições, o cupom é reaplicado automaticamente e a resposta traz <code>DISCOUNT_CODE_RECOVERED</code>.</li>\n<li><strong>Cupom de frete grátis (<code>SHIPPING</code>)</strong> só reflete no valor depois que houver frete cotado/escolhido (<code>updateFulfillmentOptionsForGroup</code> → <code>selectFulfillmentOptionForGroup</code>): aparece como <code>discountPrice</code> nas opções cobertas.</li>\n<li>Os métodos de cálculo e as condições do cupom estão descritos na seção <strong>Tipos e enums compartilhados</strong> deste folder.</li>\n<li>Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor e aplique o cupom de novo.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7f43ee06-6d92-45aa-bdc4-fc3c2213c470","name":"200 - applyDiscountCodeToCart","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 ApplyDiscountCodeToCart($input: ApplyDiscountCodeToCartInput!) {\n  applyDiscountCodeToCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountCode\": \"Example_String\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## applyDiscountCodeToCart\n\n**Propósito:** Aplica um cupom de desconto (por código) da sua loja a um carrinho.\n**Quando usar:** No checkout, quando o comprador informa um cupom — depois de montar os itens (as condições do cupom são avaliadas sobre os itens e o valor atual do carrinho). O carrinho comporta **um cupom por vez**. **Idempotente para o mesmo código**; outro código substitui o anterior sem aviso.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Só cupons da sua loja são encontrados. Acesso ao carrinho pelo par `cartId` + `token`. `x-customer-token` **opcional**: envie-o quando o comprador estiver autenticado — é necessário para que limites por conta (`conditions.accountLimit`) sejam aplicados.\n\n### Argumentos\n\nÚnico argumento: `input: ApplyDiscountCodeToCartInput!`.\n\n| Nome                 | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                              |\n| -------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`       | `ID!`     | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountCode` | `String!` | Sim         | —       | Código do cupom. Comparação sem diferenciar maiúsculas/minúsculas e ignorando espaços nas pontas.                                                                      |\n| `input.token`        | `String`  | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`ApplyDiscountCodeToCartPayload!`:\n\n| Propriedade                           | Tipo            | Descrição                                                                                                                  |\n| ------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                                | `Cart!`         | O carrinho com o cupom aplicado.                                                                                           |\n| `cart.billing[]`                      | `[CartBilling]` | O cupom aplicado. `data` traz `discountId` (use em `removeDiscountCodeFromCart`), `code`, `label`, `description`.          |\n| `cart.checkout.summary.discountTotal` | `Money!`        | Valor total de desconto; `total` já considera o cupom.                                                                     |\n| `cartEvents`                          | `[CartEvent]`   | Efeitos colaterais (ex.: `SALE_FREE_ITEM_ADDED`, ou `DISCOUNT_CODE_REMOVED` se o cupom não se sustentar após o recálculo). |\n| `clientMutationId`                    | `String`        | Sempre `null` (o campo não é aceito no input desta operação).                                                              |\n\n### Erros\n\n| Código                                                     | Condição                                                                                                                                | O que fazer                                                                                                             |\n| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                                     | Carrinho inexistente ou já travado em checkout.                                                                                         | Confira `cartId`/`token`; se o pedido já foi fechado, crie um novo carrinho.                                            |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | Nenhum cupom habilitado e não removido com esse código na sua loja atende ao carrinho.                                                  | Confira o código; peça ao comprador para digitá-lo novamente.                                                           |\n| `DISCOUNT_CODE_CONDITION_ERROR` (em `extensions.code`)     | O cupom existe, mas não se aplica agora: fora da vigência, limite de uso atingido, ou valor do carrinho fora de `conditions.min`/`max`. | Informe ao comprador que o cupom não é válido para este carrinho; ajuste os itens se for o caso de valor mínimo/máximo. |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O cupom vale só para itens recorrentes e o carrinho não tem nenhum.                                                                     | Inclua itens recorrentes ou use outro cupom.                                                                            |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O cupom vale só para itens avulsos e o carrinho não tem nenhum.                                                                         | Inclua itens avulsos ou use outro cupom.                                                                                |\n| `INVALID_DISCOUNT_CODE_ERROR`                              | O cupom é do método `SUBSCRIPTION`, que não pode ser aplicado a carrinho.                                                               | Use outro cupom.                                                                                                        |\n| _(sem código)_                                             | Campo obrigatório ausente.                                                                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                                   |\n| _(sem código)_                                             | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                          | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                        | O consumidor do token nunca fez login na sua loja.                                                                                      | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Um cupom por carrinho.** Aplicar um segundo código descarta o primeiro sem aviso.\n- **O cupom pode cair depois.** Ao alterar itens (`addCartItems`, `removeCartItems`, `updateCartItemsQuantity`), as condições são reavaliadas; se deixarem de ser atendidas, o cupom é **suspenso** (sai de `billing[]` e do total) e a operação que causou a mudança devolve `DISCOUNT_CODE_REMOVED` em `cartEvents`. Se o carrinho voltar a atender às condições, o cupom é reaplicado automaticamente e a resposta traz `DISCOUNT_CODE_RECOVERED`.\n- **Cupom de frete grátis (`SHIPPING`)** só reflete no valor depois que houver frete cotado/escolhido (`updateFulfillmentOptionsForGroup` → `selectFulfillmentOptionForGroup`): aparece como `discountPrice` nas opções cobertas.\n- Os métodos de cálculo e as condições do cupom estão descritos na seção **Tipos e enums compartilhados** deste folder.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor e aplique o cupom de novo."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"applyDiscountCodeToCart\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"3ee52bc0-2eb6-49ca-ae9d-5784b2653077","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 ApplyDiscountCodeToCart($input: ApplyDiscountCodeToCartInput!) {\n  applyDiscountCodeToCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountCode\": \"Example_String\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## applyDiscountCodeToCart\n\n**Propósito:** Aplica um cupom de desconto (por código) da sua loja a um carrinho.\n**Quando usar:** No checkout, quando o comprador informa um cupom — depois de montar os itens (as condições do cupom são avaliadas sobre os itens e o valor atual do carrinho). O carrinho comporta **um cupom por vez**. **Idempotente para o mesmo código**; outro código substitui o anterior sem aviso.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Só cupons da sua loja são encontrados. Acesso ao carrinho pelo par `cartId` + `token`. `x-customer-token` **opcional**: envie-o quando o comprador estiver autenticado — é necessário para que limites por conta (`conditions.accountLimit`) sejam aplicados.\n\n### Argumentos\n\nÚnico argumento: `input: ApplyDiscountCodeToCartInput!`.\n\n| Nome                 | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                              |\n| -------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`       | `ID!`     | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountCode` | `String!` | Sim         | —       | Código do cupom. Comparação sem diferenciar maiúsculas/minúsculas e ignorando espaços nas pontas.                                                                      |\n| `input.token`        | `String`  | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`ApplyDiscountCodeToCartPayload!`:\n\n| Propriedade                           | Tipo            | Descrição                                                                                                                  |\n| ------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                                | `Cart!`         | O carrinho com o cupom aplicado.                                                                                           |\n| `cart.billing[]`                      | `[CartBilling]` | O cupom aplicado. `data` traz `discountId` (use em `removeDiscountCodeFromCart`), `code`, `label`, `description`.          |\n| `cart.checkout.summary.discountTotal` | `Money!`        | Valor total de desconto; `total` já considera o cupom.                                                                     |\n| `cartEvents`                          | `[CartEvent]`   | Efeitos colaterais (ex.: `SALE_FREE_ITEM_ADDED`, ou `DISCOUNT_CODE_REMOVED` se o cupom não se sustentar após o recálculo). |\n| `clientMutationId`                    | `String`        | Sempre `null` (o campo não é aceito no input desta operação).                                                              |\n\n### Erros\n\n| Código                                                     | Condição                                                                                                                                | O que fazer                                                                                                             |\n| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                                     | Carrinho inexistente ou já travado em checkout.                                                                                         | Confira `cartId`/`token`; se o pedido já foi fechado, crie um novo carrinho.                                            |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | Nenhum cupom habilitado e não removido com esse código na sua loja atende ao carrinho.                                                  | Confira o código; peça ao comprador para digitá-lo novamente.                                                           |\n| `DISCOUNT_CODE_CONDITION_ERROR` (em `extensions.code`)     | O cupom existe, mas não se aplica agora: fora da vigência, limite de uso atingido, ou valor do carrinho fora de `conditions.min`/`max`. | Informe ao comprador que o cupom não é válido para este carrinho; ajuste os itens se for o caso de valor mínimo/máximo. |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O cupom vale só para itens recorrentes e o carrinho não tem nenhum.                                                                     | Inclua itens recorrentes ou use outro cupom.                                                                            |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O cupom vale só para itens avulsos e o carrinho não tem nenhum.                                                                         | Inclua itens avulsos ou use outro cupom.                                                                                |\n| `INVALID_DISCOUNT_CODE_ERROR`                              | O cupom é do método `SUBSCRIPTION`, que não pode ser aplicado a carrinho.                                                               | Use outro cupom.                                                                                                        |\n| _(sem código)_                                             | Campo obrigatório ausente.                                                                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                                   |\n| _(sem código)_                                             | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                          | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                        | O consumidor do token nunca fez login na sua loja.                                                                                      | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Um cupom por carrinho.** Aplicar um segundo código descarta o primeiro sem aviso.\n- **O cupom pode cair depois.** Ao alterar itens (`addCartItems`, `removeCartItems`, `updateCartItemsQuantity`), as condições são reavaliadas; se deixarem de ser atendidas, o cupom é **suspenso** (sai de `billing[]` e do total) e a operação que causou a mudança devolve `DISCOUNT_CODE_REMOVED` em `cartEvents`. Se o carrinho voltar a atender às condições, o cupom é reaplicado automaticamente e a resposta traz `DISCOUNT_CODE_RECOVERED`.\n- **Cupom de frete grátis (`SHIPPING`)** só reflete no valor depois que houver frete cotado/escolhido (`updateFulfillmentOptionsForGroup` → `selectFulfillmentOptionForGroup`): aparece como `discountPrice` nas opções cobertas.\n- Os métodos de cálculo e as condições do cupom estão descritos na seção **Tipos e enums compartilhados** deste folder.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor e aplique o cupom de novo."},"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":"442cf438-f0df-4d9b-9c74-51035bbd917f","name":"Erro - CART_NOT_FOUND_ERROR","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 ApplyDiscountCodeToCart($input: ApplyDiscountCodeToCartInput!) {\n  applyDiscountCodeToCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountCode\": \"Example_String\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## applyDiscountCodeToCart\n\n**Propósito:** Aplica um cupom de desconto (por código) da sua loja a um carrinho.\n**Quando usar:** No checkout, quando o comprador informa um cupom — depois de montar os itens (as condições do cupom são avaliadas sobre os itens e o valor atual do carrinho). O carrinho comporta **um cupom por vez**. **Idempotente para o mesmo código**; outro código substitui o anterior sem aviso.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Só cupons da sua loja são encontrados. Acesso ao carrinho pelo par `cartId` + `token`. `x-customer-token` **opcional**: envie-o quando o comprador estiver autenticado — é necessário para que limites por conta (`conditions.accountLimit`) sejam aplicados.\n\n### Argumentos\n\nÚnico argumento: `input: ApplyDiscountCodeToCartInput!`.\n\n| Nome                 | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                              |\n| -------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`       | `ID!`     | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountCode` | `String!` | Sim         | —       | Código do cupom. Comparação sem diferenciar maiúsculas/minúsculas e ignorando espaços nas pontas.                                                                      |\n| `input.token`        | `String`  | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`ApplyDiscountCodeToCartPayload!`:\n\n| Propriedade                           | Tipo            | Descrição                                                                                                                  |\n| ------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                                | `Cart!`         | O carrinho com o cupom aplicado.                                                                                           |\n| `cart.billing[]`                      | `[CartBilling]` | O cupom aplicado. `data` traz `discountId` (use em `removeDiscountCodeFromCart`), `code`, `label`, `description`.          |\n| `cart.checkout.summary.discountTotal` | `Money!`        | Valor total de desconto; `total` já considera o cupom.                                                                     |\n| `cartEvents`                          | `[CartEvent]`   | Efeitos colaterais (ex.: `SALE_FREE_ITEM_ADDED`, ou `DISCOUNT_CODE_REMOVED` se o cupom não se sustentar após o recálculo). |\n| `clientMutationId`                    | `String`        | Sempre `null` (o campo não é aceito no input desta operação).                                                              |\n\n### Erros\n\n| Código                                                     | Condição                                                                                                                                | O que fazer                                                                                                             |\n| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                                     | Carrinho inexistente ou já travado em checkout.                                                                                         | Confira `cartId`/`token`; se o pedido já foi fechado, crie um novo carrinho.                                            |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | Nenhum cupom habilitado e não removido com esse código na sua loja atende ao carrinho.                                                  | Confira o código; peça ao comprador para digitá-lo novamente.                                                           |\n| `DISCOUNT_CODE_CONDITION_ERROR` (em `extensions.code`)     | O cupom existe, mas não se aplica agora: fora da vigência, limite de uso atingido, ou valor do carrinho fora de `conditions.min`/`max`. | Informe ao comprador que o cupom não é válido para este carrinho; ajuste os itens se for o caso de valor mínimo/máximo. |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O cupom vale só para itens recorrentes e o carrinho não tem nenhum.                                                                     | Inclua itens recorrentes ou use outro cupom.                                                                            |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O cupom vale só para itens avulsos e o carrinho não tem nenhum.                                                                         | Inclua itens avulsos ou use outro cupom.                                                                                |\n| `INVALID_DISCOUNT_CODE_ERROR`                              | O cupom é do método `SUBSCRIPTION`, que não pode ser aplicado a carrinho.                                                               | Use outro cupom.                                                                                                        |\n| _(sem código)_                                             | Campo obrigatório ausente.                                                                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                                   |\n| _(sem código)_                                             | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                          | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                        | O consumidor do token nunca fez login na sua loja.                                                                                      | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Um cupom por carrinho.** Aplicar um segundo código descarta o primeiro sem aviso.\n- **O cupom pode cair depois.** Ao alterar itens (`addCartItems`, `removeCartItems`, `updateCartItemsQuantity`), as condições são reavaliadas; se deixarem de ser atendidas, o cupom é **suspenso** (sai de `billing[]` e do total) e a operação que causou a mudança devolve `DISCOUNT_CODE_REMOVED` em `cartEvents`. Se o carrinho voltar a atender às condições, o cupom é reaplicado automaticamente e a resposta traz `DISCOUNT_CODE_RECOVERED`.\n- **Cupom de frete grátis (`SHIPPING`)** só reflete no valor depois que houver frete cotado/escolhido (`updateFulfillmentOptionsForGroup` → `selectFulfillmentOptionForGroup`): aparece como `discountPrice` nas opções cobertas.\n- Os métodos de cálculo e as condições do cupom estão descritos na seção **Tipos e enums compartilhados** deste folder.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor e aplique o cupom de novo."},"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\": \"Cart not found error\",\n      \"extensions\": {\n        \"code\": \"CART_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"59fad0c0-c95e-402b-a4ef-244ba59a5662","name":"Erro - INVALID_DISCOUNT_CODE_ERROR","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 ApplyDiscountCodeToCart($input: ApplyDiscountCodeToCartInput!) {\n  applyDiscountCodeToCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountCode\": \"Example_String\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## applyDiscountCodeToCart\n\n**Propósito:** Aplica um cupom de desconto (por código) da sua loja a um carrinho.\n**Quando usar:** No checkout, quando o comprador informa um cupom — depois de montar os itens (as condições do cupom são avaliadas sobre os itens e o valor atual do carrinho). O carrinho comporta **um cupom por vez**. **Idempotente para o mesmo código**; outro código substitui o anterior sem aviso.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Só cupons da sua loja são encontrados. Acesso ao carrinho pelo par `cartId` + `token`. `x-customer-token` **opcional**: envie-o quando o comprador estiver autenticado — é necessário para que limites por conta (`conditions.accountLimit`) sejam aplicados.\n\n### Argumentos\n\nÚnico argumento: `input: ApplyDiscountCodeToCartInput!`.\n\n| Nome                 | Tipo      | Obrigatório | Default | Descrição                                                                                                                                                              |\n| -------------------- | --------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`       | `ID!`     | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountCode` | `String!` | Sim         | —       | Código do cupom. Comparação sem diferenciar maiúsculas/minúsculas e ignorando espaços nas pontas.                                                                      |\n| `input.token`        | `String`  | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`ApplyDiscountCodeToCartPayload!`:\n\n| Propriedade                           | Tipo            | Descrição                                                                                                                  |\n| ------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| `cart`                                | `Cart!`         | O carrinho com o cupom aplicado.                                                                                           |\n| `cart.billing[]`                      | `[CartBilling]` | O cupom aplicado. `data` traz `discountId` (use em `removeDiscountCodeFromCart`), `code`, `label`, `description`.          |\n| `cart.checkout.summary.discountTotal` | `Money!`        | Valor total de desconto; `total` já considera o cupom.                                                                     |\n| `cartEvents`                          | `[CartEvent]`   | Efeitos colaterais (ex.: `SALE_FREE_ITEM_ADDED`, ou `DISCOUNT_CODE_REMOVED` se o cupom não se sustentar após o recálculo). |\n| `clientMutationId`                    | `String`        | Sempre `null` (o campo não é aceito no input desta operação).                                                              |\n\n### Erros\n\n| Código                                                     | Condição                                                                                                                                | O que fazer                                                                                                             |\n| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `CART_NOT_FOUND_ERROR`                                     | Carrinho inexistente ou já travado em checkout.                                                                                         | Confira `cartId`/`token`; se o pedido já foi fechado, crie um novo carrinho.                                            |\n| `DISCOUNT_CODE_NOT_FOUND_ERROR`                            | Nenhum cupom habilitado e não removido com esse código na sua loja atende ao carrinho.                                                  | Confira o código; peça ao comprador para digitá-lo novamente.                                                           |\n| `DISCOUNT_CODE_CONDITION_ERROR` (em `extensions.code`)     | O cupom existe, mas não se aplica agora: fora da vigência, limite de uso atingido, ou valor do carrinho fora de `conditions.min`/`max`. | Informe ao comprador que o cupom não é válido para este carrinho; ajuste os itens se for o caso de valor mínimo/máximo. |\n| `DISCOUNT_AVAILABLE_FOR_RECURRING_PRODUCTS_ONLY_ERROR`     | O cupom vale só para itens recorrentes e o carrinho não tem nenhum.                                                                     | Inclua itens recorrentes ou use outro cupom.                                                                            |\n| `DISCOUNT_AVAILABLE_FOR_NON_RECURRING_PRODUCTS_ONLY_ERROR` | O cupom vale só para itens avulsos e o carrinho não tem nenhum.                                                                         | Inclua itens avulsos ou use outro cupom.                                                                                |\n| `INVALID_DISCOUNT_CODE_ERROR`                              | O cupom é do método `SUBSCRIPTION`, que não pode ser aplicado a carrinho.                                                               | Use outro cupom.                                                                                                        |\n| _(sem código)_                                             | Campo obrigatório ausente.                                                                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                                   |\n| _(sem código)_                                             | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                          | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                        | O consumidor do token nunca fez login na sua loja.                                                                                      | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Um cupom por carrinho.** Aplicar um segundo código descarta o primeiro sem aviso.\n- **O cupom pode cair depois.** Ao alterar itens (`addCartItems`, `removeCartItems`, `updateCartItemsQuantity`), as condições são reavaliadas; se deixarem de ser atendidas, o cupom é **suspenso** (sai de `billing[]` e do total) e a operação que causou a mudança devolve `DISCOUNT_CODE_REMOVED` em `cartEvents`. Se o carrinho voltar a atender às condições, o cupom é reaplicado automaticamente e a resposta traz `DISCOUNT_CODE_RECOVERED`.\n- **Cupom de frete grátis (`SHIPPING`)** só reflete no valor depois que houver frete cotado/escolhido (`updateFulfillmentOptionsForGroup` → `selectFulfillmentOptionForGroup`): aparece como `discountPrice` nas opções cobertas.\n- Os métodos de cálculo e as condições do cupom estão descritos na seção **Tipos e enums compartilhados** deste folder.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor e aplique o cupom de novo."},"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 discount code error\",\n      \"extensions\": {\n        \"code\": \"INVALID_DISCOUNT_CODE_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"1d1dbe59-2051-5d79-8f92-8e8dd40a2c70"},{"name":"[Mutation] removeDiscountCodeFromCart","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 removeDiscountCodeFromCart data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"removeDiscountCodeFromCart\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"230c0e69-ca27-5274-b584-bff6195622f2","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 RemoveDiscountCodeFromCart($input: RemoveDiscountCodeFromCartInput!) {\n  removeDiscountCodeFromCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountId\": \"{{discountId}}\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"removediscountcodefromcart\">removeDiscountCodeFromCart</h2>\n<p><strong>Propósito:</strong> Remove do carrinho o cupom de desconto aplicado.\n<strong>Quando usar:</strong> Quando o comprador desiste do cupom no checkout, ou antes de aplicar outro (embora <code>applyDiscountCodeToCart</code> já substitua o cupom anterior). <strong>Não é idempotente no retorno</strong>: a primeira chamada remove o cupom; repetir com o mesmo <code>discountId</code> retorna <code>DISCOUNT_NOT_FOUND_ERROR</code> (o estado final do carrinho é o mesmo — trate esse erro como \"já removido\" em retentativas).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Acesso ao carrinho pelo par <code>cartId</code> + <code>token</code>. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Único argumento: <code>input: RemoveDiscountCodeFromCartInput!</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.</td>\n</tr>\n<tr>\n<td><code>input.discountId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>ID do cupom aplicado — <strong>não é o código digitado</strong>. Leia de <code>cart.billing[].data.discountId</code> (retornado por <code>applyDiscountCodeToCart</code> ou <code>anonymousCartByCartId</code>).</td>\n</tr>\n<tr>\n<td><code>input.token</code></td>\n<td><code>String</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>token</code> do carrinho retornado em <code>createCart</code> (aqui o campo se chama <code>token</code>, não <code>cartToken</code>). Opcional no schema, mas <strong>obrigatório na prática</strong> — sempre envie-o.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RemoveDiscountCodeFromCartPayload!</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 sem o cupom; <code>checkout.summary</code> já recalculado.</td>\n</tr>\n<tr>\n<td><code>cartEvents</code></td>\n<td><code>[CartEvent]</code></td>\n<td>Efeitos colaterais do recálculo (ex.: brinde vinculado a promoção removido/alterado).</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Sempre <code>null</code> (o campo não é aceito no input desta operaçã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>CART_NOT_FOUND_ERROR</code></td>\n<td>Carrinho inexistente na sua loja ou já travado em checkout.</td>\n<td>Confira <code>cartId</code>/<code>token</code>.</td>\n</tr>\n<tr>\n<td><code>DISCOUNT_NOT_FOUND_ERROR</code></td>\n<td>Não há cupom com esse <code>discountId</code> aplicado ao carrinho (inclusive se já foi removido).</td>\n<td>Leia o carrinho e use o <code>discountId</code> atual de <code>billing[].data</code>; em retentativa, considere já removido.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Campo obrigatório ausente.</td>\n<td>Corrija o <code>input</code>; a causa vem descrita em <code>message</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Use o <code>discountId</code>, não o <code>code</code>.</strong> O código que o comprador digitou não é aceito aqui.</li>\n<li>Remover o cupom não afeta promoções automáticas da loja, que continuam sendo aplicadas se o carrinho atender às condições delas.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"14089735-a2dc-460e-a16a-2dc4b6a625b9","name":"200 - removeDiscountCodeFromCart","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 RemoveDiscountCodeFromCart($input: RemoveDiscountCodeFromCartInput!) {\n  removeDiscountCodeFromCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountId\": \"{{discountId}}\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeDiscountCodeFromCart\n\n**Propósito:** Remove do carrinho o cupom de desconto aplicado.\n**Quando usar:** Quando o comprador desiste do cupom no checkout, ou antes de aplicar outro (embora `applyDiscountCodeToCart` já substitua o cupom anterior). **Não é idempotente no retorno**: a primeira chamada remove o cupom; repetir com o mesmo `discountId` retorna `DISCOUNT_NOT_FOUND_ERROR` (o estado final do carrinho é o mesmo — trate esse erro como \"já removido\" em retentativas).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Acesso ao carrinho pelo par `cartId` + `token`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveDiscountCodeFromCartInput!`.\n\n| Nome               | Tipo     | Obrigatório | Default | Descrição                                                                                                                                                              |\n| ------------------ | -------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`     | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountId` | `ID!`    | Sim         | —       | ID do cupom aplicado — **não é o código digitado**. Leia de `cart.billing[].data.discountId` (retornado por `applyDiscountCodeToCart` ou `anonymousCartByCartId`).     |\n| `input.token`      | `String` | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`RemoveDiscountCodeFromCartPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                             |\n| ------------------ | ------------- | ------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho sem o cupom; `checkout.summary` já recalculado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais do recálculo (ex.: brinde vinculado a promoção removido/alterado). |\n| `clientMutationId` | `String`      | Sempre `null` (o campo não é aceito no input desta operação).                         |\n\n### Erros\n\n| Código                     | Condição                                                                                | O que fazer                                                                                            |\n| -------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `CART_NOT_FOUND_ERROR`     | Carrinho inexistente na sua loja ou já travado em checkout.                             | Confira `cartId`/`token`.                                                                              |\n| `DISCOUNT_NOT_FOUND_ERROR` | Não há cupom com esse `discountId` aplicado ao carrinho (inclusive se já foi removido). | Leia o carrinho e use o `discountId` atual de `billing[].data`; em retentativa, considere já removido. |\n| _(sem código)_             | Campo obrigatório ausente.                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Use o `discountId`, não o `code`.** O código que o comprador digitou não é aceito aqui.\n- Remover o cupom não afeta promoções automáticas da loja, que continuam sendo aplicadas se o carrinho atender às condições delas."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"removeDiscountCodeFromCart\": {\n      \"cart\": {\n        \"_id\": \"Example_ID\",\n        \"checkoutUrl\": \"https://exemplo.com\",\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      \"cartEvents\": [\n        {\n          \"type\": \"SALE_FREE_ITEM_ADDED\",\n          \"data\": {}\n        }\n      ]\n    }\n  }\n}"},{"id":"03a205ca-7f9d-4484-8dbd-54a84bc98c7c","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 RemoveDiscountCodeFromCart($input: RemoveDiscountCodeFromCartInput!) {\n  removeDiscountCodeFromCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountId\": \"{{discountId}}\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeDiscountCodeFromCart\n\n**Propósito:** Remove do carrinho o cupom de desconto aplicado.\n**Quando usar:** Quando o comprador desiste do cupom no checkout, ou antes de aplicar outro (embora `applyDiscountCodeToCart` já substitua o cupom anterior). **Não é idempotente no retorno**: a primeira chamada remove o cupom; repetir com o mesmo `discountId` retorna `DISCOUNT_NOT_FOUND_ERROR` (o estado final do carrinho é o mesmo — trate esse erro como \"já removido\" em retentativas).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Acesso ao carrinho pelo par `cartId` + `token`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveDiscountCodeFromCartInput!`.\n\n| Nome               | Tipo     | Obrigatório | Default | Descrição                                                                                                                                                              |\n| ------------------ | -------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`     | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountId` | `ID!`    | Sim         | —       | ID do cupom aplicado — **não é o código digitado**. Leia de `cart.billing[].data.discountId` (retornado por `applyDiscountCodeToCart` ou `anonymousCartByCartId`).     |\n| `input.token`      | `String` | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`RemoveDiscountCodeFromCartPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                             |\n| ------------------ | ------------- | ------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho sem o cupom; `checkout.summary` já recalculado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais do recálculo (ex.: brinde vinculado a promoção removido/alterado). |\n| `clientMutationId` | `String`      | Sempre `null` (o campo não é aceito no input desta operação).                         |\n\n### Erros\n\n| Código                     | Condição                                                                                | O que fazer                                                                                            |\n| -------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `CART_NOT_FOUND_ERROR`     | Carrinho inexistente na sua loja ou já travado em checkout.                             | Confira `cartId`/`token`.                                                                              |\n| `DISCOUNT_NOT_FOUND_ERROR` | Não há cupom com esse `discountId` aplicado ao carrinho (inclusive se já foi removido). | Leia o carrinho e use o `discountId` atual de `billing[].data`; em retentativa, considere já removido. |\n| _(sem código)_             | Campo obrigatório ausente.                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Use o `discountId`, não o `code`.** O código que o comprador digitou não é aceito aqui.\n- Remover o cupom não afeta promoções automáticas da loja, que continuam sendo aplicadas se o carrinho atender às condições delas."},"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":"c8ae2e98-5036-4ce0-b193-209104924f60","name":"Erro - CART_NOT_FOUND_ERROR","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 RemoveDiscountCodeFromCart($input: RemoveDiscountCodeFromCartInput!) {\n  removeDiscountCodeFromCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountId\": \"{{discountId}}\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeDiscountCodeFromCart\n\n**Propósito:** Remove do carrinho o cupom de desconto aplicado.\n**Quando usar:** Quando o comprador desiste do cupom no checkout, ou antes de aplicar outro (embora `applyDiscountCodeToCart` já substitua o cupom anterior). **Não é idempotente no retorno**: a primeira chamada remove o cupom; repetir com o mesmo `discountId` retorna `DISCOUNT_NOT_FOUND_ERROR` (o estado final do carrinho é o mesmo — trate esse erro como \"já removido\" em retentativas).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Acesso ao carrinho pelo par `cartId` + `token`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveDiscountCodeFromCartInput!`.\n\n| Nome               | Tipo     | Obrigatório | Default | Descrição                                                                                                                                                              |\n| ------------------ | -------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`     | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountId` | `ID!`    | Sim         | —       | ID do cupom aplicado — **não é o código digitado**. Leia de `cart.billing[].data.discountId` (retornado por `applyDiscountCodeToCart` ou `anonymousCartByCartId`).     |\n| `input.token`      | `String` | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`RemoveDiscountCodeFromCartPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                             |\n| ------------------ | ------------- | ------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho sem o cupom; `checkout.summary` já recalculado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais do recálculo (ex.: brinde vinculado a promoção removido/alterado). |\n| `clientMutationId` | `String`      | Sempre `null` (o campo não é aceito no input desta operação).                         |\n\n### Erros\n\n| Código                     | Condição                                                                                | O que fazer                                                                                            |\n| -------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `CART_NOT_FOUND_ERROR`     | Carrinho inexistente na sua loja ou já travado em checkout.                             | Confira `cartId`/`token`.                                                                              |\n| `DISCOUNT_NOT_FOUND_ERROR` | Não há cupom com esse `discountId` aplicado ao carrinho (inclusive se já foi removido). | Leia o carrinho e use o `discountId` atual de `billing[].data`; em retentativa, considere já removido. |\n| _(sem código)_             | Campo obrigatório ausente.                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Use o `discountId`, não o `code`.** O código que o comprador digitou não é aceito aqui.\n- Remover o cupom não afeta promoções automáticas da loja, que continuam sendo aplicadas se o carrinho atender às condições delas."},"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\": \"Cart not found error\",\n      \"extensions\": {\n        \"code\": \"CART_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"},{"id":"2316abd2-e962-40dc-9025-42d0e41f4e06","name":"Erro - DISCOUNT_NOT_FOUND_ERROR","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 RemoveDiscountCodeFromCart($input: RemoveDiscountCodeFromCartInput!) {\n  removeDiscountCodeFromCart(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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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      checkoutUrl\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            constraints {\n              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              provider\n              externalId\n            }\n            enabled\n            status\n            shopId\n            handling {\n              value\n              isPercentage\n            }\n            constraints {\n              startDate\n              endDate\n              targetedOption\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    cartEvents {\n      type\n      data\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"cartId\": \"{{cartId}}\",\n    \"discountId\": \"{{discountId}}\",\n    \"token\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## removeDiscountCodeFromCart\n\n**Propósito:** Remove do carrinho o cupom de desconto aplicado.\n**Quando usar:** Quando o comprador desiste do cupom no checkout, ou antes de aplicar outro (embora `applyDiscountCodeToCart` já substitua o cupom anterior). **Não é idempotente no retorno**: a primeira chamada remove o cupom; repetir com o mesmo `discountId` retorna `DISCOUNT_NOT_FOUND_ERROR` (o estado final do carrinho é o mesmo — trate esse erro como \"já removido\" em retentativas).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Acesso ao carrinho pelo par `cartId` + `token`. Não envie `x-customer-token`.\n\n### Argumentos\n\nÚnico argumento: `input: RemoveDiscountCodeFromCartInput!`.\n\n| Nome               | Tipo     | Obrigatório | Default | Descrição                                                                                                                                                              |\n| ------------------ | -------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.cartId`     | `ID!`    | Sim         | —       | `_id` do carrinho.                                                                                                                                                     |\n| `input.discountId` | `ID!`    | Sim         | —       | ID do cupom aplicado — **não é o código digitado**. Leia de `cart.billing[].data.discountId` (retornado por `applyDiscountCodeToCart` ou `anonymousCartByCartId`).     |\n| `input.token`      | `String` | Sim         | —       | O `token` do carrinho retornado em `createCart` (aqui o campo se chama `token`, não `cartToken`). Opcional no schema, mas **obrigatório na prática** — sempre envie-o. |\n\n### Retorno\n\n`RemoveDiscountCodeFromCartPayload!`:\n\n| Propriedade        | Tipo          | Descrição                                                                             |\n| ------------------ | ------------- | ------------------------------------------------------------------------------------- |\n| `cart`             | `Cart!`       | O carrinho sem o cupom; `checkout.summary` já recalculado.                            |\n| `cartEvents`       | `[CartEvent]` | Efeitos colaterais do recálculo (ex.: brinde vinculado a promoção removido/alterado). |\n| `clientMutationId` | `String`      | Sempre `null` (o campo não é aceito no input desta operação).                         |\n\n### Erros\n\n| Código                     | Condição                                                                                | O que fazer                                                                                            |\n| -------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `CART_NOT_FOUND_ERROR`     | Carrinho inexistente na sua loja ou já travado em checkout.                             | Confira `cartId`/`token`.                                                                              |\n| `DISCOUNT_NOT_FOUND_ERROR` | Não há cupom com esse `discountId` aplicado ao carrinho (inclusive se já foi removido). | Leia o carrinho e use o `discountId` atual de `billing[].data`; em retentativa, considere já removido. |\n| _(sem código)_             | Campo obrigatório ausente.                                                              | Corrija o `input`; a causa vem descrita em `message`.                                                  |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Use o `discountId`, não o `code`.** O código que o comprador digitou não é aceito aqui.\n- Remover o cupom não afeta promoções automáticas da loja, que continuam sendo aplicadas se o carrinho atender às condições delas."},"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\": \"Discount not found error\",\n      \"extensions\": {\n        \"code\": \"DISCOUNT_NOT_FOUND_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"230c0e69-ca27-5274-b584-bff6195622f2"}],"id":"28c19952-00f6-480e-ab8a-9f1a5d33d5c6","_postman_id":"28c19952-00f6-480e-ab8a-9f1a5d33d5c6","description":""}],"id":"bf6fd36c-ab0a-4bc6-9dfd-dbdaafd058b4","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 — e a aplicação de cupons a carrinhos no checkout. Cobre as operações <code>discountCode</code>, <code>discountCodes</code>, <code>createDiscountCode</code>, <code>updateDiscountCode</code> e <code>deleteDiscountCode</code> (gestão) e <code>applyDiscountCodeToCart</code> e <code>removeDiscountCodeFromCart</code> (checkout — ver o fluxo completo na descrição do folder de carrinhos). 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>Cupom no carrinho.</strong> <code>applyDiscountCodeToCart</code> recebe o <strong>código</strong> digitado pelo comprador; <code>removeDiscountCodeFromCart</code> recebe o <strong><code>discountId</code></strong> do cupom aplicado (em <code>cart.billing[].data.discountId</code>). Um carrinho tem no máximo um cupom por vez — aplicar outro substitui o anterior. As condições (<code>conditions</code>) são reavaliadas a cada alteração do carrinho. O <code>shopId</code> é derivado do seu token nas duas operações — não envie.</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":"bf6fd36c-ab0a-4bc6-9dfd-dbdaafd058b4"},{"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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"65137880-5971-48f9-8a5b-54bb69df117f","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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"ca0b8638-19c9-404d-ac0e-808e580eb307","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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"7a6a466e-11ee-45ed-864f-8ceccdbf6ea7","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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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":"27a9397b-02ba-481e-bb4b-10d19161d9f0","_postman_id":"27a9397b-02ba-481e-bb4b-10d19161d9f0","description":""}],"id":"5fa4e855-f200-4d2d-8fbb-a1bc121192dc","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":"5fa4e855-f200-4d2d-8fbb-a1bc121192dc"},{"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":"babd47f7-d3a0-4e30-a364-d1ce3918590c","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":"2efbc4eb-fe19-45b1-b62f-7b45f89b4b61","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":"7a72d073-5a06-44cc-a005-9ee5a99dee28","_postman_id":"7a72d073-5a06-44cc-a005-9ee5a99dee28","description":""}],"id":"8c432d76-1977-42d3-a4ba-33c7e65707d7","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":"8c432d76-1977-42d3-a4ba-33c7e65707d7"},{"name":"Logistics","item":[{"name":"Query","item":[{"name":"[Query] getAddressByPostalCode","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 getAddressByPostalCode data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"getAddressByPostalCode\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"getAddressByPostalCode returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.getAddressByPostalCode;","    ","    if (data !== null) {","        if (data.address1 !== undefined && data.address1 !== null) {","            pm.expect(typeof data.address1).to.equal(\"string\");","        }","        if (data.neighborhood !== undefined && data.neighborhood !== null) {","            pm.expect(typeof data.neighborhood).to.equal(\"string\");","        }","        if (data.city !== undefined && data.city !== null) {","            pm.expect(typeof data.city).to.equal(\"string\");","        }","        if (data.region !== undefined && data.region !== null) {","            pm.expect(typeof data.region).to.equal(\"string\");","        }","        if (data.cityCode !== undefined && data.cityCode !== null) {","            pm.expect(typeof data.cityCode).to.equal(\"string\");","        }","    }","});"]}}],"id":"7b1a1baa-18fc-5489-851e-f944a73cf5c2","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 GetAddressByPostalCode($input: getAddressByPostalCodeInput!) {\n  getAddressByPostalCode(input: $input) {\n    address1\n    neighborhood\n    city\n    region\n    cityCode\n  }\n}","variables":"{\n  \"input\": {\n    \"postalCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"getaddressbypostalcode\">getAddressByPostalCode</h2>\n<p><strong>Propósito:</strong> Resolve um CEP brasileiro em logradouro, bairro, cidade, UF e código IBGE do município.\n<strong>Quando usar:</strong> No formulário de endereço de um checkout próprio — ao comprador digitar o CEP, chame esta operação para pré-preencher os campos antes de <code>setShippingAddressOnCart</code> (carrinho) ou <code>placePaymentLinkOrder</code> (link de pagamento). Leitura pura, sem efeitos colaterais; pode ser repetida livremente.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Não envie <code>x-customer-token</code>.</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.postalCode</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>CEP com <strong>exatamente 8 dígitos numéricos</strong>, sem hífen, ponto ou espaço (ex.: <code>\"01310100\"</code>, não <code>\"01310-100\"</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>getAddressByPostalCodeResponse!</code> — sempre um objeto (nunca <code>null</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>address1</code></td>\n<td><code>String</code></td>\n<td>Logradouro (rua/avenida). Pode vir vazio para CEPs gerais de município (cidades de CEP único).</td>\n</tr>\n<tr>\n<td><code>neighborhood</code></td>\n<td><code>String</code></td>\n<td>Bairro. Pode vir vazio nos mesmos casos acima.</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td><code>String</code></td>\n<td>Nome da cidade.</td>\n</tr>\n<tr>\n<td><code>region</code></td>\n<td><code>String</code></td>\n<td>UF com duas letras (ex.: <code>SP</code>). Use em <code>AddressInput.region</code>.</td>\n</tr>\n<tr>\n<td><code>cityCode</code></td>\n<td><code>String</code></td>\n<td>Código IBGE do município. Use em <code>AddressInput.cityCode</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>CEP não encontrado não é erro:</strong> quando o CEP não existe ou não pôde ser resolvido, a resposta volta com <strong>todos os campos como string vazia</strong> (<code>\"\"</code>). Trate <code>city === \"\"</code> como \"endereço não encontrado\" e deixe o comprador preencher manualmente.</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><code>postalCode</code> com tamanho diferente de 8 ou com caracteres não numéricos (erro de validação).</td>\n<td>Remova hífen/espaços e envie só os 8 dígitos.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente ou inválido, impedindo a derivação da loja.</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>Normalize o CEP antes de enviar</strong> (<code>\"01310-100\"</code> → <code>\"01310100\"</code>); formatos com máscara são rejeitados.</li>\n<li><code>number</code> e complemento (<code>address2</code>) não fazem parte da resposta — colete-os do comprador.</li>\n<li>O resultado é uma sugestão para pré-preenchimento; o endereço final enviado em <code>AddressInput</code> é o que vale para frete e pedido.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bed751dd-7cd2-4d3d-be78-c0cbed0d8049","name":"200 - getAddressByPostalCode","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 GetAddressByPostalCode($input: getAddressByPostalCodeInput!) {\n  getAddressByPostalCode(input: $input) {\n    address1\n    neighborhood\n    city\n    region\n    cityCode\n  }\n}","variables":"{\n  \"input\": {\n    \"postalCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## getAddressByPostalCode\n\n**Propósito:** Resolve um CEP brasileiro em logradouro, bairro, cidade, UF e código IBGE do município.\n**Quando usar:** No formulário de endereço de um checkout próprio — ao comprador digitar o CEP, chame esta operação para pré-preencher os campos antes de `setShippingAddressOnCart` (carrinho) ou `placePaymentLinkOrder` (link de pagamento). Leitura pura, sem efeitos colaterais; pode ser repetida livremente.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                                                      |\n| ------------------ | --------- | ----------- | ------- | -------------------------------------------------------------------------------------------------------------- |\n| `input.postalCode` | `String!` | Sim         | —       | CEP com **exatamente 8 dígitos numéricos**, sem hífen, ponto ou espaço (ex.: `\"01310100\"`, não `\"01310-100\"`). |\n\n### Retorno\n\n`getAddressByPostalCodeResponse!` — sempre um objeto (nunca `null`).\n\n| Propriedade    | Tipo     | Descrição                                                                                      |\n| -------------- | -------- | ---------------------------------------------------------------------------------------------- |\n| `address1`     | `String` | Logradouro (rua/avenida). Pode vir vazio para CEPs gerais de município (cidades de CEP único). |\n| `neighborhood` | `String` | Bairro. Pode vir vazio nos mesmos casos acima.                                                 |\n| `city`         | `String` | Nome da cidade.                                                                                |\n| `region`       | `String` | UF com duas letras (ex.: `SP`). Use em `AddressInput.region`.                                  |\n| `cityCode`     | `String` | Código IBGE do município. Use em `AddressInput.cityCode`.                                      |\n\n**CEP não encontrado não é erro:** quando o CEP não existe ou não pôde ser resolvido, a resposta volta com **todos os campos como string vazia** (`\"\"`). Trate `city === \"\"` como \"endereço não encontrado\" e deixe o comprador preencher manualmente.\n\n### Erros\n\n| Código         | Condição                                                                                     | O que fazer                                                        |\n| -------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| _(sem código)_ | `postalCode` com tamanho diferente de 8 ou com caracteres não numéricos (erro de validação). | Remova hífen/espaços e envie só os 8 dígitos.                      |\n| _(sem código)_ | `Authorization` ausente ou inválido, impedindo a derivação da loja.                          | 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- **Normalize o CEP antes de enviar** (`\"01310-100\"` → `\"01310100\"`); formatos com máscara são rejeitados.\n- `number` e complemento (`address2`) não fazem parte da resposta — colete-os do comprador.\n- O resultado é uma sugestão para pré-preenchimento; o endereço final enviado em `AddressInput` é o que vale para frete e pedido."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"getAddressByPostalCode\": {\n      \"address1\": \"Example_String\",\n      \"neighborhood\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"region\": \"Example_String\",\n      \"cityCode\": \"Example_String\"\n    }\n  }\n}"},{"id":"dd3418e1-6870-4d3a-8f6f-4c88a8b0ebba","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 GetAddressByPostalCode($input: getAddressByPostalCodeInput!) {\n  getAddressByPostalCode(input: $input) {\n    address1\n    neighborhood\n    city\n    region\n    cityCode\n  }\n}","variables":"{\n  \"input\": {\n    \"postalCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## getAddressByPostalCode\n\n**Propósito:** Resolve um CEP brasileiro em logradouro, bairro, cidade, UF e código IBGE do município.\n**Quando usar:** No formulário de endereço de um checkout próprio — ao comprador digitar o CEP, chame esta operação para pré-preencher os campos antes de `setShippingAddressOnCart` (carrinho) ou `placePaymentLinkOrder` (link de pagamento). Leitura pura, sem efeitos colaterais; pode ser repetida livremente.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                                                      |\n| ------------------ | --------- | ----------- | ------- | -------------------------------------------------------------------------------------------------------------- |\n| `input.postalCode` | `String!` | Sim         | —       | CEP com **exatamente 8 dígitos numéricos**, sem hífen, ponto ou espaço (ex.: `\"01310100\"`, não `\"01310-100\"`). |\n\n### Retorno\n\n`getAddressByPostalCodeResponse!` — sempre um objeto (nunca `null`).\n\n| Propriedade    | Tipo     | Descrição                                                                                      |\n| -------------- | -------- | ---------------------------------------------------------------------------------------------- |\n| `address1`     | `String` | Logradouro (rua/avenida). Pode vir vazio para CEPs gerais de município (cidades de CEP único). |\n| `neighborhood` | `String` | Bairro. Pode vir vazio nos mesmos casos acima.                                                 |\n| `city`         | `String` | Nome da cidade.                                                                                |\n| `region`       | `String` | UF com duas letras (ex.: `SP`). Use em `AddressInput.region`.                                  |\n| `cityCode`     | `String` | Código IBGE do município. Use em `AddressInput.cityCode`.                                      |\n\n**CEP não encontrado não é erro:** quando o CEP não existe ou não pôde ser resolvido, a resposta volta com **todos os campos como string vazia** (`\"\"`). Trate `city === \"\"` como \"endereço não encontrado\" e deixe o comprador preencher manualmente.\n\n### Erros\n\n| Código         | Condição                                                                                     | O que fazer                                                        |\n| -------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| _(sem código)_ | `postalCode` com tamanho diferente de 8 ou com caracteres não numéricos (erro de validação). | Remova hífen/espaços e envie só os 8 dígitos.                      |\n| _(sem código)_ | `Authorization` ausente ou inválido, impedindo a derivação da loja.                          | 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- **Normalize o CEP antes de enviar** (`\"01310-100\"` → `\"01310100\"`); formatos com máscara são rejeitados.\n- `number` e complemento (`address2`) não fazem parte da resposta — colete-os do comprador.\n- O resultado é uma sugestão para pré-preenchimento; o endereço final enviado em `AddressInput` é o que vale para frete e pedido."},"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":"7b1a1baa-18fc-5489-851e-f944a73cf5c2"}],"id":"6720e983-1b40-4b71-8ff7-8663ea0ec5de","_postman_id":"6720e983-1b40-4b71-8ff7-8663ea0ec5de","description":""}],"id":"44624ee5-aa9c-497c-94ae-8e2438f06423","description":"<h1 id=\"logistics\">Logistics</h1>\n<p>Utilitários de logística para o checkout. Hoje o grupo expõe <code>getAddressByPostalCode</code>, que resolve um CEP brasileiro em logradouro, bairro, cidade, UF e código IBGE do município — use para pré-preencher o formulário de endereço do comprador antes de cotar frete e fechar o pedido.</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>getAddressByPostalCodeResponse</code></td>\n<td><code>address1</code>, <code>neighborhood</code>, <code>city</code>, <code>region</code>, <code>cityCode</code></td>\n<td>Endereço resolvido a partir do CEP. Ver a operação para detalhes.</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 CEPs brasileiros</strong>, no formato de 8 dígitos numéricos, sem hífen (<code>01310100</code>, não <code>01310-100</code>).</li>\n<li><strong>CEP sem correspondência não é erro.</strong> A resposta volta com todos os campos como string vazia (<code>\"\"</code>) — trate esse caso como \"endereço não encontrado\" e deixe o comprador preencher manualmente.</li>\n<li><strong><code>shopId</code> injetado na borda.</strong> A loja é derivada do seu <code>access_token</code>; você não envia <code>shopId</code>.</li>\n<li>O resultado é uma sugestão para pré-preenchimento: <code>number</code>, <code>address2</code> (complemento) e demais dados do comprador continuam sendo coletados por você.</li>\n</ul>\n","_postman_id":"44624ee5-aa9c-497c-94ae-8e2438f06423"},{"name":"Orders","item":[{"name":"Query","item":[{"name":"[Query] customerOrderByReferenceId","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 customerOrderByReferenceId data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerOrderByReferenceId\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customerOrderByReferenceId returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.customerOrderByReferenceId;","    ","    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":"73c2896a-4e50-5beb-9598-cdebf490f715","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 CustomerOrderByReferenceId($referenceId: ID!) {\n  customerOrderByReferenceId(referenceId: $referenceId) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      }\n      tookLossOnSale\n      transactionId\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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  }\n}","variables":"{\n  \"referenceId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerorderbyreferenceid\">customerOrderByReferenceId</h2>\n<p><strong>Propósito:</strong> Retorna um pedido <strong>do consumidor final autenticado</strong> pelo <code>referenceId</code> (o identificador público exibido ao comprador).\n<strong>Quando usar:</strong> Na visão do comprador — página \"detalhe do meu pedido\", confirmação pós-checkout ou um assistente respondendo \"onde está meu pedido X?\" para o próprio comprador. Só retorna o pedido se ele pertencer ao consumidor do <code>x-customer-token</code>. Para consultar qualquer pedido da loja, use <code>orderByReferenceId</code>. Leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. O <code>shopId</code> é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo <code>x-customer-token</code> (obtido em <code>customerPasswordlessSignIn</code>, após <code>customerOTPRequest</code>).</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>referenceId</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><p>Note que o argumento aqui se chama <code>referenceId</code> (em <code>orderByReferenceId</code> ele se chama <code>id</code>).</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p>Um <code>CustomerOrder</code> — ver \"Campos do objeto <code>CustomerOrder</code>\" no folder Orders. É o formato de <code>Order</code> sem <code>shopSales</code> e <code>surcharges</code>; <code>payments</code> é <code>CustomerOrderPayment</code> — sem os campos de 3DS e com status de pagamento <strong>simplificado</strong> (<code>PENDING</code>/<code>PAID</code>/<code>CANCELED</code>, pode vir <code>null</code>).</p>\n<p><strong>Atenção:</strong> apesar de o tipo de retorno ser anulável, esta operação <strong>não</strong> retorna <code>null</code> quando o pedido não é encontrado — ela responde com erro (ver Erros).</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>ORDER_NOT_FOUND_ERROR</code></td>\n<td>Não existe pedido com esse <code>referenceId</code> na loja do seu token <strong>pertencente ao consumidor</strong> do <code>x-customer-token</code>.</td>\n<td>Confira o <code>referenceId</code>. Pedidos de outro consumidor, de outra loja ou ainda não vinculados à conta (ver Notas) não são retornados.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sem resultado é erro, não <code>null</code>.</strong> Trate <code>ORDER_NOT_FOUND_ERROR</code> como ausência esperada.</li>\n<li><strong>Isolamento por consumidor:</strong> mesmo conhecendo o <code>referenceId</code>, um consumidor não consegue ler o pedido de outro — a busca sempre combina loja (do seu token) + consumidor (do <code>x-customer-token</code>).</li>\n<li><strong>Pedido de convidado:</strong> um pedido feito sem <code>x-customer-token</code> nasce sem vínculo com conta. Ele passa a ser do consumidor quando este faz <code>customerPasswordlessSignIn</code> na loja com o <strong>mesmo e-mail</strong> do pedido (o vínculo acontece a cada login). Até lá, só é encontrado por <code>orderByReferenceId</code> (visão da loja).</li>\n<li><code>displayStatus(language: String!)</code> exige o idioma (ex.: <code>\"pt-BR\"</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a6018750-7f0d-4f66-81a4-89068b4d8e53","name":"200 - customerOrderByReferenceId","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 CustomerOrderByReferenceId($referenceId: ID!) {\n  customerOrderByReferenceId(referenceId: $referenceId) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      }\n      tookLossOnSale\n      transactionId\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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  }\n}","variables":"{\n  \"referenceId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## customerOrderByReferenceId\n\n**Propósito:** Retorna um pedido **do consumidor final autenticado** pelo `referenceId` (o identificador público exibido ao comprador).\n**Quando usar:** Na visão do comprador — página \"detalhe do meu pedido\", confirmação pós-checkout ou um assistente respondendo \"onde está meu pedido X?\" para o próprio comprador. Só retorna o pedido se ele pertencer ao consumidor do `x-customer-token`. Para consultar qualquer pedido da loja, use `orderByReferenceId`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo `x-customer-token` (obtido em `customerPasswordlessSignIn`, após `customerOTPRequest`).\n\n### Argumentos\n\n| Nome          | Tipo  | Obrigatório | Default | Descrição                                                                                       |\n| ------------- | ----- | ----------- | ------- | ----------------------------------------------------------------------------------------------- |\n| `referenceId` | `ID!` | Sim         | —       | O `referenceId` do pedido — o identificador público mostrado ao comprador, não o `_id` interno. |\n\nNote que o argumento aqui se chama `referenceId` (em `orderByReferenceId` ele se chama `id`).\n\n### Retorno\n\nUm `CustomerOrder` — ver \"Campos do objeto `CustomerOrder`\" no folder Orders. É o formato de `Order` sem `shopSales` e `surcharges`; `payments` é `CustomerOrderPayment` — sem os campos de 3DS e com status de pagamento **simplificado** (`PENDING`/`PAID`/`CANCELED`, pode vir `null`).\n\n**Atenção:** apesar de o tipo de retorno ser anulável, esta operação **não** retorna `null` quando o pedido não é encontrado — ela responde com erro (ver Erros).\n\n### Erros\n\n| Código                              | Condição                                                                                                           | O que fazer                                                                                                                         |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `ORDER_NOT_FOUND_ERROR`             | Não existe pedido com esse `referenceId` na loja do seu token **pertencente ao consumidor** do `x-customer-token`. | Confira o `referenceId`. Pedidos de outro consumidor, de outra loja ou ainda não vinculados à conta (ver Notas) não são retornados. |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                 | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                             |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                  |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Trate `ORDER_NOT_FOUND_ERROR` como ausência esperada.\n- **Isolamento por consumidor:** mesmo conhecendo o `referenceId`, um consumidor não consegue ler o pedido de outro — a busca sempre combina loja (do seu token) + consumidor (do `x-customer-token`).\n- **Pedido de convidado:** um pedido feito sem `x-customer-token` nasce sem vínculo com conta. Ele passa a ser do consumidor quando este faz `customerPasswordlessSignIn` na loja com o **mesmo e-mail** do pedido (o vínculo acontece a cada login). Até lá, só é encontrado por `orderByReferenceId` (visão da loja).\n- `displayStatus(language: String!)` exige o idioma (ex.: `\"pt-BR\"`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerOrderByReferenceId\": {\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        }\n      ],\n      \"shipping\": [\n        {}\n      ],\n      \"recurringOrderId\": \"Example_String\",\n      \"recurringOrderCycleId\": \"Example_String\",\n      \"generatedNewRecurringOrder\": true,\n      \"recurringOrderFrequencyId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"shop\": {\n        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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    }\n  }\n}"},{"id":"2d6f814e-1caa-48fd-91f4-568f53524c34","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 CustomerOrderByReferenceId($referenceId: ID!) {\n  customerOrderByReferenceId(referenceId: $referenceId) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      }\n      tookLossOnSale\n      transactionId\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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  }\n}","variables":"{\n  \"referenceId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## customerOrderByReferenceId\n\n**Propósito:** Retorna um pedido **do consumidor final autenticado** pelo `referenceId` (o identificador público exibido ao comprador).\n**Quando usar:** Na visão do comprador — página \"detalhe do meu pedido\", confirmação pós-checkout ou um assistente respondendo \"onde está meu pedido X?\" para o próprio comprador. Só retorna o pedido se ele pertencer ao consumidor do `x-customer-token`. Para consultar qualquer pedido da loja, use `orderByReferenceId`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo `x-customer-token` (obtido em `customerPasswordlessSignIn`, após `customerOTPRequest`).\n\n### Argumentos\n\n| Nome          | Tipo  | Obrigatório | Default | Descrição                                                                                       |\n| ------------- | ----- | ----------- | ------- | ----------------------------------------------------------------------------------------------- |\n| `referenceId` | `ID!` | Sim         | —       | O `referenceId` do pedido — o identificador público mostrado ao comprador, não o `_id` interno. |\n\nNote que o argumento aqui se chama `referenceId` (em `orderByReferenceId` ele se chama `id`).\n\n### Retorno\n\nUm `CustomerOrder` — ver \"Campos do objeto `CustomerOrder`\" no folder Orders. É o formato de `Order` sem `shopSales` e `surcharges`; `payments` é `CustomerOrderPayment` — sem os campos de 3DS e com status de pagamento **simplificado** (`PENDING`/`PAID`/`CANCELED`, pode vir `null`).\n\n**Atenção:** apesar de o tipo de retorno ser anulável, esta operação **não** retorna `null` quando o pedido não é encontrado — ela responde com erro (ver Erros).\n\n### Erros\n\n| Código                              | Condição                                                                                                           | O que fazer                                                                                                                         |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `ORDER_NOT_FOUND_ERROR`             | Não existe pedido com esse `referenceId` na loja do seu token **pertencente ao consumidor** do `x-customer-token`. | Confira o `referenceId`. Pedidos de outro consumidor, de outra loja ou ainda não vinculados à conta (ver Notas) não são retornados. |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                 | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                             |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                  |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Trate `ORDER_NOT_FOUND_ERROR` como ausência esperada.\n- **Isolamento por consumidor:** mesmo conhecendo o `referenceId`, um consumidor não consegue ler o pedido de outro — a busca sempre combina loja (do seu token) + consumidor (do `x-customer-token`).\n- **Pedido de convidado:** um pedido feito sem `x-customer-token` nasce sem vínculo com conta. Ele passa a ser do consumidor quando este faz `customerPasswordlessSignIn` na loja com o **mesmo e-mail** do pedido (o vínculo acontece a cada login). Até lá, só é encontrado por `orderByReferenceId` (visão da loja).\n- `displayStatus(language: String!)` exige o idioma (ex.: `\"pt-BR\"`)."},"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":"28c5e6eb-087f-4c0b-8b96-b2147ed250d1","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 CustomerOrderByReferenceId($referenceId: ID!) {\n  customerOrderByReferenceId(referenceId: $referenceId) {\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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      }\n      tookLossOnSale\n      transactionId\n    }\n    shipping {\n      invoice {\n        url\n        status\n      }\n    }\n    recurringOrderId\n    recurringOrderCycleId\n    generatedNewRecurringOrder\n    recurringOrderFrequencyId\n    referenceId\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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  }\n}","variables":"{\n  \"referenceId\": \"Example_ID\"\n}"}},"url":"{{base_url}}","description":"## customerOrderByReferenceId\n\n**Propósito:** Retorna um pedido **do consumidor final autenticado** pelo `referenceId` (o identificador público exibido ao comprador).\n**Quando usar:** Na visão do comprador — página \"detalhe do meu pedido\", confirmação pós-checkout ou um assistente respondendo \"onde está meu pedido X?\" para o próprio comprador. Só retorna o pedido se ele pertencer ao consumidor do `x-customer-token`. Para consultar qualquer pedido da loja, use `orderByReferenceId`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo `x-customer-token` (obtido em `customerPasswordlessSignIn`, após `customerOTPRequest`).\n\n### Argumentos\n\n| Nome          | Tipo  | Obrigatório | Default | Descrição                                                                                       |\n| ------------- | ----- | ----------- | ------- | ----------------------------------------------------------------------------------------------- |\n| `referenceId` | `ID!` | Sim         | —       | O `referenceId` do pedido — o identificador público mostrado ao comprador, não o `_id` interno. |\n\nNote que o argumento aqui se chama `referenceId` (em `orderByReferenceId` ele se chama `id`).\n\n### Retorno\n\nUm `CustomerOrder` — ver \"Campos do objeto `CustomerOrder`\" no folder Orders. É o formato de `Order` sem `shopSales` e `surcharges`; `payments` é `CustomerOrderPayment` — sem os campos de 3DS e com status de pagamento **simplificado** (`PENDING`/`PAID`/`CANCELED`, pode vir `null`).\n\n**Atenção:** apesar de o tipo de retorno ser anulável, esta operação **não** retorna `null` quando o pedido não é encontrado — ela responde com erro (ver Erros).\n\n### Erros\n\n| Código                              | Condição                                                                                                           | O que fazer                                                                                                                         |\n| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `ORDER_NOT_FOUND_ERROR`             | Não existe pedido com esse `referenceId` na loja do seu token **pertencente ao consumidor** do `x-customer-token`. | Confira o `referenceId`. Pedidos de outro consumidor, de outra loja ou ainda não vinculados à conta (ver Notas) não são retornados. |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                 | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                             |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                  |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                     |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Trate `ORDER_NOT_FOUND_ERROR` como ausência esperada.\n- **Isolamento por consumidor:** mesmo conhecendo o `referenceId`, um consumidor não consegue ler o pedido de outro — a busca sempre combina loja (do seu token) + consumidor (do `x-customer-token`).\n- **Pedido de convidado:** um pedido feito sem `x-customer-token` nasce sem vínculo com conta. Ele passa a ser do consumidor quando este faz `customerPasswordlessSignIn` na loja com o **mesmo e-mail** do pedido (o vínculo acontece a cada login). Até lá, só é encontrado por `orderByReferenceId` (visão da loja).\n- `displayStatus(language: String!)` exige o idioma (ex.: `\"pt-BR\"`)."},"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":"73c2896a-4e50-5beb-9598-cdebf490f715"},{"name":"[Query] customerOrders","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 customerOrders data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerOrders\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customerOrders returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.customerOrders;","    ","    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":"c0b64923-079f-534d-a8e5-f4b522ee3b53","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 CustomerOrders($filters: CustomerOrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  customerOrders(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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          }\n          tookLossOnSale\n          transactionId\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        }\n        tookLossOnSale\n        transactionId\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    }\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      \"CANCELED\"\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  },\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=\"customerorders\">customerOrders</h2>\n<p><strong>Propósito:</strong> Retorna uma lista paginada (Relay) dos pedidos <strong>de um consumidor final específico</strong> na sua loja — a visão \"Meus pedidos\" do comprador.\n<strong>Quando usar:</strong> Em experiências em que o próprio comprador está identificado (área logada, assistente conversacional, app) e precisa ver o histórico dele. Para a visão da loja inteira (todos os compradores), use <code>orders</code>. Leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. O <code>shopId</code> é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo <code>x-customer-token</code> (obtido em <code>customerPasswordlessSignIn</code>, após <code>customerOTPRequest</code>).</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>CustomerOrderFilterInput</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtros da listagem. Omitido, retorna todos os pedidos do consumidor na 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: 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: 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>.</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: <code>_id</code>, <code>createdAt</code>, <code>totalAmount</code>, <code>name</code>, <code>referenceId</code>, <code>shippingMethod</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-de-filters-customerorderfilterinput\">Campos de <code>filters</code> (<code>CustomerOrderFilterInput</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>Período de criação; os dois limites são opcionais e combináveis.</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>Status de atendimento/entrega.</td>\n</tr>\n<tr>\n<td><code>paymentStatus</code></td>\n<td><code>[CustomerPaymentStatusEnum]</code> (<code>PENDING</code>, <code>PAID</code>, <code>CANCELED</code>)</td>\n<td>Status de pagamento <strong>simplificado</strong> para o consumidor — ver \"Status de pagamento do consumidor\" no folder Orders.</td>\n</tr>\n<tr>\n<td><code>paymentLinkId</code></td>\n<td><code>ID</code></td>\n<td>Apenas pedidos originados de um link de pagamento específico.</td>\n</tr>\n<tr>\n<td><code>searchField</code></td>\n<td><code>String</code></td>\n<td>Busca textual (mesmos critérios de <code>orders</code>: <code>_id</code> exato, ou correspondência parcial em <code>referenceId</code>, e-mail, CPF/CNPJ, nome e telefone).</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>shippingMethods</code></td>\n<td><code>[String]</code></td>\n<td>Nome do método de envio.</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>Tipo de atendimento.</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td><code>[OrderSourceEnum]</code></td>\n<td>Canal de origem do pedido.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Filtros diferentes se combinam com \"e\"; valores dentro de um mesmo filtro de lista se combinam com \"ou\". Diferente de <code>orders</code>, não há filtros de nota fiscal (<code>invoiceStatus</code>) nem de envio ao ERP (<code>sentToERP</code>).</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>CustomerOrderConnection!</code> — connection Relay. Cada <code>node</code> é um <code>CustomerOrder</code> (ver \"Campos do objeto <code>CustomerOrder</code>\" no folder Orders).</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>[CustomerOrder]</code></td>\n<td>Pedidos da página atual, sem o wrapper de cursor.</td>\n</tr>\n<tr>\n<td><code>edges</code></td>\n<td><code>[CustomerOrderEdge]</code></td>\n<td>Itens com cursor individual (<code>edges[].cursor</code>, <code>edges[].node</code>).</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 pedidos do consumidor que casam com os 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 é específico do consumidor nem da página.</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><em>(sem código)</em></td>\n<td><code>first</code> e <code>last</code> na mesma chamada, ou <code>last</code> com <code>offset</code>.</td>\n<td>Envie uma única combinação de paginação por vez.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sem <code>x-customer-token</code> a operação não funciona.</strong> O seu <code>Authorization</code> de parceiro identifica a loja, não o consumidor; para a visão da loja, use <code>orders</code>.</li>\n<li><strong>Só pedidos vinculados à conta do consumidor aparecem.</strong> Pedidos feitos como convidado (sem <code>x-customer-token</code> no <code>placeOrder</code>/<code>placePaymentLinkOrder</code>) são vinculados à conta quando o consumidor faz <code>customerPasswordlessSignIn</code> na loja com o <strong>mesmo e-mail</strong> do pedido (a cada login). Um pedido de convidado feito depois do último login do consumidor só aparece aqui após o próximo login.</li>\n<li><strong><code>shippingMethods</code> lista os métodos de envio já usados em pedidos da loja inteira</strong>, não só deste consumidor, e ignora filtros e paginação. Não o exiba ao consumidor como \"métodos que você já usou\".</li>\n<li><strong>Status de pagamento simplificado:</strong> <code>payments[].status.status</code> vem como <code>PENDING</code>, <code>PAID</code> ou <code>CANCELED</code> (ver folder Orders), e o filtro <code>paymentStatus</code> usa os mesmos valores.</li>\n<li><strong>Página padrão de 20 itens</strong> quando nem <code>first</code> nem <code>last</code> são enviados.</li>\n<li><code>displayStatus(language: String!)</code> exige o idioma (ex.: <code>\"pt-BR\"</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"dbd28141-9771-41d8-8190-e99e10bac2d8","name":"200 - customerOrders","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 CustomerOrders($filters: CustomerOrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  customerOrders(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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          }\n          tookLossOnSale\n          transactionId\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        }\n        tookLossOnSale\n        transactionId\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    }\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      \"CANCELED\"\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  },\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":"## customerOrders\n\n**Propósito:** Retorna uma lista paginada (Relay) dos pedidos **de um consumidor final específico** na sua loja — a visão \"Meus pedidos\" do comprador.\n**Quando usar:** Em experiências em que o próprio comprador está identificado (área logada, assistente conversacional, app) e precisa ver o histórico dele. Para a visão da loja inteira (todos os compradores), use `orders`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo `x-customer-token` (obtido em `customerPasswordlessSignIn`, após `customerOTPRequest`).\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                        |\n| ----------- | -------------------------- | ----------- | ----------- | ------------------------------------------------------------------------------------------------ |\n| `filters`   | `CustomerOrderFilterInput` | Não         | `null`      | Filtros da listagem. Omitido, retorna todos os pedidos do consumidor na loja. Ver campos abaixo. |\n| `after`     | `String`                   | Não         | —           | Cursor Relay: resultados após este cursor. Use com `first`.                                      |\n| `before`    | `String`                   | Não         | —           | Cursor Relay: 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`.                             |\n| `sortOrder` | `SortOrder` (`asc`/`desc`) | Não         | `desc`      | Direção da ordenação.                                                                            |\n| `sortBy`    | `OrdersSortByField`        | Não         | `createdAt` | Campo de ordenação: `_id`, `createdAt`, `totalAmount`, `name`, `referenceId`, `shippingMethod`.  |\n\n#### Campos de `filters` (`CustomerOrderFilterInput`)\n\n| Nome                | Tipo                                                          | Descrição                                                                                                                                  |\n| ------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `createdAt`         | `DateFilterInput` (`{ gte, lte }`)                            | Período de criação; os dois limites são opcionais e combináveis.                                                                           |\n| `fulfillmentStatus` | `[OrderFulfillmentStatus]` (`new`, `processing`, `completed`) | Status de atendimento/entrega.                                                                                                             |\n| `paymentStatus`     | `[CustomerPaymentStatusEnum]` (`PENDING`, `PAID`, `CANCELED`) | Status de pagamento **simplificado** para o consumidor — ver \"Status de pagamento do consumidor\" no folder Orders.                         |\n| `paymentLinkId`     | `ID`                                                          | Apenas pedidos originados de um link de pagamento específico.                                                                              |\n| `searchField`       | `String`                                                      | Busca textual (mesmos critérios de `orders`: `_id` exato, ou correspondência parcial em `referenceId`, e-mail, CPF/CNPJ, nome e telefone). |\n| `status`            | `[OrderStatusEnum]`                                           | Status geral do pedido.                                                                                                                    |\n| `shippingMethods`   | `[String]`                                                    | Nome do método de envio.                                                                                                                   |\n| `fulfillmentTypes`  | `[FulfillmentType]` (`SHIPPING`, `NONE`)                      | Tipo de atendimento.                                                                                                                       |\n| `source`            | `[OrderSourceEnum]`                                           | Canal de origem do pedido.                                                                                                                 |\n\nFiltros diferentes se combinam com \"e\"; valores dentro de um mesmo filtro de lista se combinam com \"ou\". Diferente de `orders`, não há filtros de nota fiscal (`invoiceStatus`) nem de envio ao ERP (`sentToERP`).\n\n### Retorno\n\n`CustomerOrderConnection!` — connection Relay. Cada `node` é um `CustomerOrder` (ver \"Campos do objeto `CustomerOrder`\" no folder Orders).\n\n| Propriedade       | Tipo                  | Descrição                                                                       |\n| ----------------- | --------------------- | ------------------------------------------------------------------------------- |\n| `nodes`           | `[CustomerOrder]`     | Pedidos da página atual, sem o wrapper de cursor.                               |\n| `edges`           | `[CustomerOrderEdge]` | Itens com cursor individual (`edges[].cursor`, `edges[].node`).                 |\n| `pageInfo`        | `PageInfo!`           | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                   |\n| `totalCount`      | `Int!`                | Total de pedidos do consumidor que casam com os filtros, ignorando a paginação. |\n| `shippingMethods` | `[String]`            | **Não é específico do consumidor nem da página.** Ver Notas.                    |\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | `first` e `last` na mesma chamada, ou `last` com `offset`.                                         | Envie uma única combinação de paginação por vez.                                                                   |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem `x-customer-token` a operação não funciona.** O seu `Authorization` de parceiro identifica a loja, não o consumidor; para a visão da loja, use `orders`.\n- **Só pedidos vinculados à conta do consumidor aparecem.** Pedidos feitos como convidado (sem `x-customer-token` no `placeOrder`/`placePaymentLinkOrder`) são vinculados à conta quando o consumidor faz `customerPasswordlessSignIn` na loja com o **mesmo e-mail** do pedido (a cada login). Um pedido de convidado feito depois do último login do consumidor só aparece aqui após o próximo login.\n- **`shippingMethods` lista os métodos de envio já usados em pedidos da loja inteira**, não só deste consumidor, e ignora filtros e paginação. Não o exiba ao consumidor como \"métodos que você já usou\".\n- **Status de pagamento simplificado:** `payments[].status.status` vem como `PENDING`, `PAID` ou `CANCELED` (ver folder Orders), e o filtro `paymentStatus` usa os mesmos valores.\n- **Página padrão de 20 itens** quando nem `first` nem `last` são enviados.\n- `displayStatus(language: String!)` exige o idioma (ex.: `\"pt-BR\"`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerOrders\": {\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":"19c00f87-138d-4a91-adfa-183cb242bfb7","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 CustomerOrders($filters: CustomerOrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  customerOrders(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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          }\n          tookLossOnSale\n          transactionId\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        }\n        tookLossOnSale\n        transactionId\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    }\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      \"CANCELED\"\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  },\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":"## customerOrders\n\n**Propósito:** Retorna uma lista paginada (Relay) dos pedidos **de um consumidor final específico** na sua loja — a visão \"Meus pedidos\" do comprador.\n**Quando usar:** Em experiências em que o próprio comprador está identificado (área logada, assistente conversacional, app) e precisa ver o histórico dele. Para a visão da loja inteira (todos os compradores), use `orders`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo `x-customer-token` (obtido em `customerPasswordlessSignIn`, após `customerOTPRequest`).\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                        |\n| ----------- | -------------------------- | ----------- | ----------- | ------------------------------------------------------------------------------------------------ |\n| `filters`   | `CustomerOrderFilterInput` | Não         | `null`      | Filtros da listagem. Omitido, retorna todos os pedidos do consumidor na loja. Ver campos abaixo. |\n| `after`     | `String`                   | Não         | —           | Cursor Relay: resultados após este cursor. Use com `first`.                                      |\n| `before`    | `String`                   | Não         | —           | Cursor Relay: 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`.                             |\n| `sortOrder` | `SortOrder` (`asc`/`desc`) | Não         | `desc`      | Direção da ordenação.                                                                            |\n| `sortBy`    | `OrdersSortByField`        | Não         | `createdAt` | Campo de ordenação: `_id`, `createdAt`, `totalAmount`, `name`, `referenceId`, `shippingMethod`.  |\n\n#### Campos de `filters` (`CustomerOrderFilterInput`)\n\n| Nome                | Tipo                                                          | Descrição                                                                                                                                  |\n| ------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `createdAt`         | `DateFilterInput` (`{ gte, lte }`)                            | Período de criação; os dois limites são opcionais e combináveis.                                                                           |\n| `fulfillmentStatus` | `[OrderFulfillmentStatus]` (`new`, `processing`, `completed`) | Status de atendimento/entrega.                                                                                                             |\n| `paymentStatus`     | `[CustomerPaymentStatusEnum]` (`PENDING`, `PAID`, `CANCELED`) | Status de pagamento **simplificado** para o consumidor — ver \"Status de pagamento do consumidor\" no folder Orders.                         |\n| `paymentLinkId`     | `ID`                                                          | Apenas pedidos originados de um link de pagamento específico.                                                                              |\n| `searchField`       | `String`                                                      | Busca textual (mesmos critérios de `orders`: `_id` exato, ou correspondência parcial em `referenceId`, e-mail, CPF/CNPJ, nome e telefone). |\n| `status`            | `[OrderStatusEnum]`                                           | Status geral do pedido.                                                                                                                    |\n| `shippingMethods`   | `[String]`                                                    | Nome do método de envio.                                                                                                                   |\n| `fulfillmentTypes`  | `[FulfillmentType]` (`SHIPPING`, `NONE`)                      | Tipo de atendimento.                                                                                                                       |\n| `source`            | `[OrderSourceEnum]`                                           | Canal de origem do pedido.                                                                                                                 |\n\nFiltros diferentes se combinam com \"e\"; valores dentro de um mesmo filtro de lista se combinam com \"ou\". Diferente de `orders`, não há filtros de nota fiscal (`invoiceStatus`) nem de envio ao ERP (`sentToERP`).\n\n### Retorno\n\n`CustomerOrderConnection!` — connection Relay. Cada `node` é um `CustomerOrder` (ver \"Campos do objeto `CustomerOrder`\" no folder Orders).\n\n| Propriedade       | Tipo                  | Descrição                                                                       |\n| ----------------- | --------------------- | ------------------------------------------------------------------------------- |\n| `nodes`           | `[CustomerOrder]`     | Pedidos da página atual, sem o wrapper de cursor.                               |\n| `edges`           | `[CustomerOrderEdge]` | Itens com cursor individual (`edges[].cursor`, `edges[].node`).                 |\n| `pageInfo`        | `PageInfo!`           | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                   |\n| `totalCount`      | `Int!`                | Total de pedidos do consumidor que casam com os filtros, ignorando a paginação. |\n| `shippingMethods` | `[String]`            | **Não é específico do consumidor nem da página.** Ver Notas.                    |\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | `first` e `last` na mesma chamada, ou `last` com `offset`.                                         | Envie uma única combinação de paginação por vez.                                                                   |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem `x-customer-token` a operação não funciona.** O seu `Authorization` de parceiro identifica a loja, não o consumidor; para a visão da loja, use `orders`.\n- **Só pedidos vinculados à conta do consumidor aparecem.** Pedidos feitos como convidado (sem `x-customer-token` no `placeOrder`/`placePaymentLinkOrder`) são vinculados à conta quando o consumidor faz `customerPasswordlessSignIn` na loja com o **mesmo e-mail** do pedido (a cada login). Um pedido de convidado feito depois do último login do consumidor só aparece aqui após o próximo login.\n- **`shippingMethods` lista os métodos de envio já usados em pedidos da loja inteira**, não só deste consumidor, e ignora filtros e paginação. Não o exiba ao consumidor como \"métodos que você já usou\".\n- **Status de pagamento simplificado:** `payments[].status.status` vem como `PENDING`, `PAID` ou `CANCELED` (ver folder Orders), e o filtro `paymentStatus` usa os mesmos valores.\n- **Página padrão de 20 itens** quando nem `first` nem `last` são enviados.\n- `displayStatus(language: String!)` exige o idioma (ex.: `\"pt-BR\"`)."},"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":"2a0293a6-752c-47b8-b08f-ac869616c2f8","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 CustomerOrders($filters: CustomerOrderFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: OrdersSortByField) {\n  customerOrders(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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          }\n          tookLossOnSale\n          transactionId\n        }\n        shipping {\n          invoice {\n            url\n            status\n          }\n        }\n        recurringOrderId\n        recurringOrderCycleId\n        generatedNewRecurringOrder\n        recurringOrderFrequencyId\n        referenceId\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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      }\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        }\n        tookLossOnSale\n        transactionId\n      }\n      shipping {\n        invoice {\n          url\n          status\n        }\n      }\n      recurringOrderId\n      recurringOrderCycleId\n      generatedNewRecurringOrder\n      recurringOrderFrequencyId\n      referenceId\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    }\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      \"CANCELED\"\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  },\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":"## customerOrders\n\n**Propósito:** Retorna uma lista paginada (Relay) dos pedidos **de um consumidor final específico** na sua loja — a visão \"Meus pedidos\" do comprador.\n**Quando usar:** Em experiências em que o próprio comprador está identificado (área logada, assistente conversacional, app) e precisa ver o histórico dele. Para a visão da loja inteira (todos os compradores), use `orders`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. O `shopId` é derivado do seu token — não envie. O consumidor é identificado exclusivamente pelo `x-customer-token` (obtido em `customerPasswordlessSignIn`, após `customerOTPRequest`).\n\n### Argumentos\n\n| Nome        | Tipo                       | Obrigatório | Default     | Descrição                                                                                        |\n| ----------- | -------------------------- | ----------- | ----------- | ------------------------------------------------------------------------------------------------ |\n| `filters`   | `CustomerOrderFilterInput` | Não         | `null`      | Filtros da listagem. Omitido, retorna todos os pedidos do consumidor na loja. Ver campos abaixo. |\n| `after`     | `String`                   | Não         | —           | Cursor Relay: resultados após este cursor. Use com `first`.                                      |\n| `before`    | `String`                   | Não         | —           | Cursor Relay: 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`.                             |\n| `sortOrder` | `SortOrder` (`asc`/`desc`) | Não         | `desc`      | Direção da ordenação.                                                                            |\n| `sortBy`    | `OrdersSortByField`        | Não         | `createdAt` | Campo de ordenação: `_id`, `createdAt`, `totalAmount`, `name`, `referenceId`, `shippingMethod`.  |\n\n#### Campos de `filters` (`CustomerOrderFilterInput`)\n\n| Nome                | Tipo                                                          | Descrição                                                                                                                                  |\n| ------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `createdAt`         | `DateFilterInput` (`{ gte, lte }`)                            | Período de criação; os dois limites são opcionais e combináveis.                                                                           |\n| `fulfillmentStatus` | `[OrderFulfillmentStatus]` (`new`, `processing`, `completed`) | Status de atendimento/entrega.                                                                                                             |\n| `paymentStatus`     | `[CustomerPaymentStatusEnum]` (`PENDING`, `PAID`, `CANCELED`) | Status de pagamento **simplificado** para o consumidor — ver \"Status de pagamento do consumidor\" no folder Orders.                         |\n| `paymentLinkId`     | `ID`                                                          | Apenas pedidos originados de um link de pagamento específico.                                                                              |\n| `searchField`       | `String`                                                      | Busca textual (mesmos critérios de `orders`: `_id` exato, ou correspondência parcial em `referenceId`, e-mail, CPF/CNPJ, nome e telefone). |\n| `status`            | `[OrderStatusEnum]`                                           | Status geral do pedido.                                                                                                                    |\n| `shippingMethods`   | `[String]`                                                    | Nome do método de envio.                                                                                                                   |\n| `fulfillmentTypes`  | `[FulfillmentType]` (`SHIPPING`, `NONE`)                      | Tipo de atendimento.                                                                                                                       |\n| `source`            | `[OrderSourceEnum]`                                           | Canal de origem do pedido.                                                                                                                 |\n\nFiltros diferentes se combinam com \"e\"; valores dentro de um mesmo filtro de lista se combinam com \"ou\". Diferente de `orders`, não há filtros de nota fiscal (`invoiceStatus`) nem de envio ao ERP (`sentToERP`).\n\n### Retorno\n\n`CustomerOrderConnection!` — connection Relay. Cada `node` é um `CustomerOrder` (ver \"Campos do objeto `CustomerOrder`\" no folder Orders).\n\n| Propriedade       | Tipo                  | Descrição                                                                       |\n| ----------------- | --------------------- | ------------------------------------------------------------------------------- |\n| `nodes`           | `[CustomerOrder]`     | Pedidos da página atual, sem o wrapper de cursor.                               |\n| `edges`           | `[CustomerOrderEdge]` | Itens com cursor individual (`edges[].cursor`, `edges[].node`).                 |\n| `pageInfo`        | `PageInfo!`           | `hasNextPage`, `hasPreviousPage`, `startCursor`, `endCursor`.                   |\n| `totalCount`      | `Int!`                | Total de pedidos do consumidor que casam com os filtros, ignorando a paginação. |\n| `shippingMethods` | `[String]`            | **Não é específico do consumidor nem da página.** Ver Notas.                    |\n\n### Erros\n\n| Código                              | Condição                                                                                           | O que fazer                                                                                                        |\n| ----------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| _(sem código)_                      | `first` e `last` na mesma chamada, ou `last` com `offset`.                                         | Envie uma única combinação de paginação por vez.                                                                   |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem `x-customer-token` a operação não funciona.** O seu `Authorization` de parceiro identifica a loja, não o consumidor; para a visão da loja, use `orders`.\n- **Só pedidos vinculados à conta do consumidor aparecem.** Pedidos feitos como convidado (sem `x-customer-token` no `placeOrder`/`placePaymentLinkOrder`) são vinculados à conta quando o consumidor faz `customerPasswordlessSignIn` na loja com o **mesmo e-mail** do pedido (a cada login). Um pedido de convidado feito depois do último login do consumidor só aparece aqui após o próximo login.\n- **`shippingMethods` lista os métodos de envio já usados em pedidos da loja inteira**, não só deste consumidor, e ignora filtros e paginação. Não o exiba ao consumidor como \"métodos que você já usou\".\n- **Status de pagamento simplificado:** `payments[].status.status` vem como `PENDING`, `PAID` ou `CANCELED` (ver folder Orders), e o filtro `paymentStatus` usa os mesmos valores.\n- **Página padrão de 20 itens** quando nem `first` nem `last` são enviados.\n- `displayStatus(language: String!)` exige o idioma (ex.: `\"pt-BR\"`)."},"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":"c0b64923-079f-534d-a8e5-f4b522ee3b53"},{"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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"828cc924-ad92-4ec9-9f26-b692328cd110","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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"41c11c14-b63f-491f-9c6b-580fb1441299","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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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":"e10b2253-519b-4749-a33b-db0863b86d80","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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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":"578c81e3-0367-4a92-bcd1-e1c2019f7c28","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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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":"bde961dc-73f1-4050-92dc-e71f159c7072","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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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":"dbf85fd5-f4e6-40f4-8d94-257c14264f26","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          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      }\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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":"dd94c416-5724-4717-b7fb-b58a08587ef2","_postman_id":"dd94c416-5724-4717-b7fb-b58a08587ef2","description":""},{"name":"Mutation","item":[{"name":"[Mutation] setupOrder3DSTransaction","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 setupOrder3DSTransaction data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"setupOrder3DSTransaction\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"0b16929a-631b-5a24-970e-4a963c570a83","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 SetupOrder3DSTransaction($input: PlaceOrderInput!) {\n  setupOrder3DSTransaction(input: $input) {\n    shouldApply3DS\n    setup {\n      setupId\n      tokenId\n      setupUrl\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"setuporder3dstransaction\">setupOrder3DSTransaction</h2>\n<p><strong>Propósito:</strong> Verifica se o pagamento com cartão de um pedido de carrinho exige autenticação 3DS e, se exigir, inicia a sessão 3DS devolvendo os dados para a coleta de informações do dispositivo.\n<strong>Quando usar:</strong> Imediatamente <strong>antes</strong> de <code>placeOrder</code>, sempre que o pagamento for com cartão de crédito (<code>unboxpay_credit</code>). Envie <strong>o mesmo <code>input</code></strong> que enviará ao <code>placeOrder</code>. É esta operação que decide se o 3DS se aplica (regras da loja, incluindo valor mínimo) — não tente inferir isso do seu lado. Não cria pedido nem cobra. Fluxo completo em \"Fluxo 3DS\" no folder Orders.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). A loja é derivada do seu token — o <code>shopId</code> não existe em <code>OrderInput</code> e você não o envia. <code>x-customer-token</code> opcional: não altera o 3DS. Envie-o apenas se também for enviá-lo no <code>place*</code>; um token de consumidor que não fez login na sua loja faz esta chamada falhar (<code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code>).</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p><code>input: PlaceOrderInput!</code> — <strong>o mesmo input de <code>placeOrder</code></strong> (ver a página da operação para todos os campos). Os campos efetivamente usados aqui sã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>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.order.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>E-mail do comprador.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].method</code></td>\n<td><code>PaymentMethodName!</code></td>\n<td>Sim</td>\n<td>Só <code>unboxpay_credit</code> pode exigir 3DS; para outros métodos a resposta é sempre <code>shouldApply3DS: false</code>.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].amount</code></td>\n<td><code>Float!</code></td>\n<td>Sim</td>\n<td>Valor do pagamento (decimal) — comparado com o valor mínimo de 3DS da loja. Envie o mesmo valor do <code>placeOrder</code>.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].billingAddress</code></td>\n<td><code>AddressInput</code></td>\n<td>Sim (cartão)</td>\n<td>Endereço de cobrança do titular.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].data</code></td>\n<td><code>AWSJSON</code></td>\n<td>Sim (cartão)</td>\n<td>Dados do cartão, no mesmo formato do <code>placeOrder</code> (<code>paymentType: \"credit\"</code>, <code>cardNumber</code>, <code>cardHolder</code>, <code>expirationMonth</code>, <code>expirationYear</code>, <code>securityCode</code>, <code>installments</code>), <strong>sem</strong> <code>threeDSSetup</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Os demais campos obrigatórios do schema (<code>cartId</code>, <code>currencyCode</code>, <code>fulfillmentGroups</code>) precisam ser enviados para o <code>input</code> ser válido, mas não influenciam o resultado. <code>payments</code> precisa ter pelo menos um item.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>SetupOrder3DSTransactionResponse!</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>shouldApply3DS</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> se o pagamento exige 3DS. <code>false</code> → siga direto para <code>placeOrder</code> sem <code>threeDSSetup</code>.</td>\n</tr>\n<tr>\n<td><code>setup</code></td>\n<td><code>ThreeDSSetupPayload</code></td>\n<td>Presente quando <code>shouldApply3DS</code> é <code>true</code>; <code>null</code> caso contrário.</td>\n</tr>\n<tr>\n<td><code>setup.setupId</code></td>\n<td><code>String!</code></td>\n<td>Identificador da sessão 3DS.</td>\n</tr>\n<tr>\n<td><code>setup.tokenId</code></td>\n<td><code>String!</code></td>\n<td>Token da coleta — enviado no campo <code>JWT</code> do <code>POST</code> para <code>setupUrl</code>.</td>\n</tr>\n<tr>\n<td><code>setup.setupUrl</code></td>\n<td><code>String!</code></td>\n<td>URL de coleta de dados do dispositivo (faça um <code>POST</code> de formulário, em <code>iframe</code> oculto no navegador do comprador, com <code>JWT</code> = <code>tokenId</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Depois da coleta, chame <code>placeOrder</code> com <code>payments[0].data.threeDSSetup</code> = o objeto <code>setup</code> inteiro (<code>{ setupId, tokenId, setupUrl }</code>) e com <code>input.device</code> preenchido.</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>ONLY_CREDIT_CARD_PAYMENTS_ALLOWED_FOR_3DS_SETUPS_ERROR</code></td>\n<td>O 3DS se aplica, mas <code>data.paymentType</code> não é <code>\"credit\"</code>.</td>\n<td>Garanta que <code>method: unboxpay_credit</code> venha com <code>data.paymentType: \"credit\"</code>.</td>\n</tr>\n<tr>\n<td><code>FAILED_TO_START_3DS_SETUP_ERROR</code></td>\n<td>O processador de pagamento não conseguiu iniciar a sessão 3DS (dados do cartão inválidos ou indisponibilidade).</td>\n<td>Revise os dados do cartão; se persistir, tente novamente em instantes ou peça outro cartão ao comprador.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> inválido ou <code>payments</code> vazio.</td>\n<td>Envie o <code>input</code> completo, com um pagamento.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sempre chame antes do <code>placeOrder</code> com cartão.</strong> Se o 3DS se aplica e o <code>placeOrder</code> chega sem <code>threeDSSetup</code>, ele é recusado (<code>THREE_DS_SETUP_REQUIRED_ERROR</code>); se você enviar <code>threeDSSetup</code> sem necessidade, ele é ignorado.</li>\n<li><strong>Não é idempotente</strong> (cada chamada com <code>shouldApply3DS: true</code> abre uma nova sessão 3DS), mas é seguro repetir: não cria pedido nem cobra. Use sempre o setup mais recente. Se o comprador alterar cartão, valor ou parcelas, chame de novo e descarte o setup anterior.</li>\n<li><strong>Efeito colateral:</strong> quando o 3DS se aplica, o cartão é registrado de forma tokenizada junto ao processador de pagamento, associado ao e-mail do comprador, para permitir a autenticação.</li>\n<li><strong>Dados de cartão passam pela sua integração</strong> (escopo PCI DSS) — ver folder Orders.</li>\n<li>Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor ou reenvie sem <code>x-customer-token</code> (e faça o mesmo no <code>placeOrder</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"175059c0-3697-4f04-8190-8fb865e351e9","name":"200 - setupOrder3DSTransaction","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 SetupOrder3DSTransaction($input: PlaceOrderInput!) {\n  setupOrder3DSTransaction(input: $input) {\n    shouldApply3DS\n    setup {\n      setupId\n      tokenId\n      setupUrl\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## setupOrder3DSTransaction\n\n**Propósito:** Verifica se o pagamento com cartão de um pedido de carrinho exige autenticação 3DS e, se exigir, inicia a sessão 3DS devolvendo os dados para a coleta de informações do dispositivo.\n**Quando usar:** Imediatamente **antes** de `placeOrder`, sempre que o pagamento for com cartão de crédito (`unboxpay_credit`). Envie **o mesmo `input`** que enviará ao `placeOrder`. É esta operação que decide se o 3DS se aplica (regras da loja, incluindo valor mínimo) — não tente inferir isso do seu lado. Não cria pedido nem cobra. Fluxo completo em \"Fluxo 3DS\" no folder Orders.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja é derivada do seu token — o `shopId` não existe em `OrderInput` e você não o envia. `x-customer-token` opcional: não altera o 3DS. Envie-o apenas se também for enviá-lo no `place*`; um token de consumidor que não fez login na sua loja faz esta chamada falhar (`CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`).\n\n### Argumentos\n\n`input: PlaceOrderInput!` — **o mesmo input de `placeOrder`** (ver a página da operação para todos os campos). Os campos efetivamente usados aqui são:\n\n| Nome                               | Tipo                 | Obrigatório  | Descrição                                                                                                                                                                                             |\n| ---------------------------------- | -------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.order.email`                | `String!`            | Sim          | E-mail do comprador.                                                                                                                                                                                  |\n| `input.payments[0].method`         | `PaymentMethodName!` | Sim          | Só `unboxpay_credit` pode exigir 3DS; para outros métodos a resposta é sempre `shouldApply3DS: false`.                                                                                                |\n| `input.payments[0].amount`         | `Float!`             | Sim          | Valor do pagamento (decimal) — comparado com o valor mínimo de 3DS da loja. Envie o mesmo valor do `placeOrder`.                                                                                      |\n| `input.payments[0].billingAddress` | `AddressInput`       | Sim (cartão) | Endereço de cobrança do titular.                                                                                                                                                                      |\n| `input.payments[0].data`           | `AWSJSON`            | Sim (cartão) | Dados do cartão, no mesmo formato do `placeOrder` (`paymentType: \"credit\"`, `cardNumber`, `cardHolder`, `expirationMonth`, `expirationYear`, `securityCode`, `installments`), **sem** `threeDSSetup`. |\n\nOs demais campos obrigatórios do schema (`cartId`, `currencyCode`, `fulfillmentGroups`) precisam ser enviados para o `input` ser válido, mas não influenciam o resultado. `payments` precisa ter pelo menos um item.\n\n### Retorno\n\n`SetupOrder3DSTransactionResponse!`\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                  |\n| ---------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `shouldApply3DS` | `Boolean!`            | `true` se o pagamento exige 3DS. `false` → siga direto para `placeOrder` sem `threeDSSetup`.                                               |\n| `setup`          | `ThreeDSSetupPayload` | Presente quando `shouldApply3DS` é `true`; `null` caso contrário.                                                                          |\n| `setup.setupId`  | `String!`             | Identificador da sessão 3DS.                                                                                                               |\n| `setup.tokenId`  | `String!`             | Token da coleta — enviado no campo `JWT` do `POST` para `setupUrl`.                                                                        |\n| `setup.setupUrl` | `String!`             | URL de coleta de dados do dispositivo (faça um `POST` de formulário, em `iframe` oculto no navegador do comprador, com `JWT` = `tokenId`). |\n\nDepois da coleta, chame `placeOrder` com `payments[0].data.threeDSSetup` = o objeto `setup` inteiro (`{ setupId, tokenId, setupUrl }`) e com `input.device` preenchido.\n\n### Erros\n\n| Código                                                   | Condição                                                                                                        | O que fazer                                                                                                        |\n| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `ONLY_CREDIT_CARD_PAYMENTS_ALLOWED_FOR_3DS_SETUPS_ERROR` | O 3DS se aplica, mas `data.paymentType` não é `\"credit\"`.                                                       | Garanta que `method: unboxpay_credit` venha com `data.paymentType: \"credit\"`.                                      |\n| `FAILED_TO_START_3DS_SETUP_ERROR`                        | O processador de pagamento não conseguiu iniciar a sessão 3DS (dados do cartão inválidos ou indisponibilidade). | Revise os dados do cartão; se persistir, tente novamente em instantes ou peça outro cartão ao comprador.           |\n| _(sem código)_                                           | `input` inválido ou `payments` vazio.                                                                           | Envie o `input` completo, com um pagamento.                                                                        |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                  | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                              | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre chame antes do `placeOrder` com cartão.** Se o 3DS se aplica e o `placeOrder` chega sem `threeDSSetup`, ele é recusado (`THREE_DS_SETUP_REQUIRED_ERROR`); se você enviar `threeDSSetup` sem necessidade, ele é ignorado.\n- **Não é idempotente** (cada chamada com `shouldApply3DS: true` abre uma nova sessão 3DS), mas é seguro repetir: não cria pedido nem cobra. Use sempre o setup mais recente. Se o comprador alterar cartão, valor ou parcelas, chame de novo e descarte o setup anterior.\n- **Efeito colateral:** quando o 3DS se aplica, o cartão é registrado de forma tokenizada junto ao processador de pagamento, associado ao e-mail do comprador, para permitir a autenticação.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor ou reenvie sem `x-customer-token` (e faça o mesmo no `placeOrder`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"setupOrder3DSTransaction\": {\n      \"shouldApply3DS\": true,\n      \"setup\": {\n        \"setupId\": \"Example_String\",\n        \"tokenId\": \"Example_String\",\n        \"setupUrl\": \"https://exemplo.com\"\n      }\n    }\n  }\n}"},{"id":"1fe2ea9d-dcee-4985-9cd0-418010d22e8e","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 SetupOrder3DSTransaction($input: PlaceOrderInput!) {\n  setupOrder3DSTransaction(input: $input) {\n    shouldApply3DS\n    setup {\n      setupId\n      tokenId\n      setupUrl\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## setupOrder3DSTransaction\n\n**Propósito:** Verifica se o pagamento com cartão de um pedido de carrinho exige autenticação 3DS e, se exigir, inicia a sessão 3DS devolvendo os dados para a coleta de informações do dispositivo.\n**Quando usar:** Imediatamente **antes** de `placeOrder`, sempre que o pagamento for com cartão de crédito (`unboxpay_credit`). Envie **o mesmo `input`** que enviará ao `placeOrder`. É esta operação que decide se o 3DS se aplica (regras da loja, incluindo valor mínimo) — não tente inferir isso do seu lado. Não cria pedido nem cobra. Fluxo completo em \"Fluxo 3DS\" no folder Orders.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja é derivada do seu token — o `shopId` não existe em `OrderInput` e você não o envia. `x-customer-token` opcional: não altera o 3DS. Envie-o apenas se também for enviá-lo no `place*`; um token de consumidor que não fez login na sua loja faz esta chamada falhar (`CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`).\n\n### Argumentos\n\n`input: PlaceOrderInput!` — **o mesmo input de `placeOrder`** (ver a página da operação para todos os campos). Os campos efetivamente usados aqui são:\n\n| Nome                               | Tipo                 | Obrigatório  | Descrição                                                                                                                                                                                             |\n| ---------------------------------- | -------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.order.email`                | `String!`            | Sim          | E-mail do comprador.                                                                                                                                                                                  |\n| `input.payments[0].method`         | `PaymentMethodName!` | Sim          | Só `unboxpay_credit` pode exigir 3DS; para outros métodos a resposta é sempre `shouldApply3DS: false`.                                                                                                |\n| `input.payments[0].amount`         | `Float!`             | Sim          | Valor do pagamento (decimal) — comparado com o valor mínimo de 3DS da loja. Envie o mesmo valor do `placeOrder`.                                                                                      |\n| `input.payments[0].billingAddress` | `AddressInput`       | Sim (cartão) | Endereço de cobrança do titular.                                                                                                                                                                      |\n| `input.payments[0].data`           | `AWSJSON`            | Sim (cartão) | Dados do cartão, no mesmo formato do `placeOrder` (`paymentType: \"credit\"`, `cardNumber`, `cardHolder`, `expirationMonth`, `expirationYear`, `securityCode`, `installments`), **sem** `threeDSSetup`. |\n\nOs demais campos obrigatórios do schema (`cartId`, `currencyCode`, `fulfillmentGroups`) precisam ser enviados para o `input` ser válido, mas não influenciam o resultado. `payments` precisa ter pelo menos um item.\n\n### Retorno\n\n`SetupOrder3DSTransactionResponse!`\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                  |\n| ---------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `shouldApply3DS` | `Boolean!`            | `true` se o pagamento exige 3DS. `false` → siga direto para `placeOrder` sem `threeDSSetup`.                                               |\n| `setup`          | `ThreeDSSetupPayload` | Presente quando `shouldApply3DS` é `true`; `null` caso contrário.                                                                          |\n| `setup.setupId`  | `String!`             | Identificador da sessão 3DS.                                                                                                               |\n| `setup.tokenId`  | `String!`             | Token da coleta — enviado no campo `JWT` do `POST` para `setupUrl`.                                                                        |\n| `setup.setupUrl` | `String!`             | URL de coleta de dados do dispositivo (faça um `POST` de formulário, em `iframe` oculto no navegador do comprador, com `JWT` = `tokenId`). |\n\nDepois da coleta, chame `placeOrder` com `payments[0].data.threeDSSetup` = o objeto `setup` inteiro (`{ setupId, tokenId, setupUrl }`) e com `input.device` preenchido.\n\n### Erros\n\n| Código                                                   | Condição                                                                                                        | O que fazer                                                                                                        |\n| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `ONLY_CREDIT_CARD_PAYMENTS_ALLOWED_FOR_3DS_SETUPS_ERROR` | O 3DS se aplica, mas `data.paymentType` não é `\"credit\"`.                                                       | Garanta que `method: unboxpay_credit` venha com `data.paymentType: \"credit\"`.                                      |\n| `FAILED_TO_START_3DS_SETUP_ERROR`                        | O processador de pagamento não conseguiu iniciar a sessão 3DS (dados do cartão inválidos ou indisponibilidade). | Revise os dados do cartão; se persistir, tente novamente em instantes ou peça outro cartão ao comprador.           |\n| _(sem código)_                                           | `input` inválido ou `payments` vazio.                                                                           | Envie o `input` completo, com um pagamento.                                                                        |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                  | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                              | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre chame antes do `placeOrder` com cartão.** Se o 3DS se aplica e o `placeOrder` chega sem `threeDSSetup`, ele é recusado (`THREE_DS_SETUP_REQUIRED_ERROR`); se você enviar `threeDSSetup` sem necessidade, ele é ignorado.\n- **Não é idempotente** (cada chamada com `shouldApply3DS: true` abre uma nova sessão 3DS), mas é seguro repetir: não cria pedido nem cobra. Use sempre o setup mais recente. Se o comprador alterar cartão, valor ou parcelas, chame de novo e descarte o setup anterior.\n- **Efeito colateral:** quando o 3DS se aplica, o cartão é registrado de forma tokenizada junto ao processador de pagamento, associado ao e-mail do comprador, para permitir a autenticação.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor ou reenvie sem `x-customer-token` (e faça o mesmo no `placeOrder`)."},"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":"0b16929a-631b-5a24-970e-4a963c570a83"},{"name":"[Mutation] setupPaymentLink3DSTransaction","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 setupPaymentLink3DSTransaction data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"setupPaymentLink3DSTransaction\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"51283cad-dab5-5dd9-b748-42c6e01be1e9","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 SetupPaymentLink3DSTransaction($input: PlacePaymentLinkOrderInput!) {\n  setupPaymentLink3DSTransaction(input: $input) {\n    shouldApply3DS\n    setup {\n      setupId\n      tokenId\n      setupUrl\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"shipping\": {\n      \"address\": {\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"addressName\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"shipmentQuoteId\": \"Example_String\",\n      \"shipmentMethodId\": \"Example_String\"\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"discountCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"setuppaymentlink3dstransaction\">setupPaymentLink3DSTransaction</h2>\n<p><strong>Propósito:</strong> Verifica se o pagamento com cartão de um pedido de link de pagamento exige autenticação 3DS e, se exigir, inicia a sessão 3DS devolvendo os dados para a coleta de informações do dispositivo.\n<strong>Quando usar:</strong> Imediatamente <strong>antes</strong> de <code>placePaymentLinkOrder</code>, sempre que o pagamento for com cartão de crédito (<code>unboxpay_credit</code>). Envie <strong>o mesmo <code>input</code></strong> que enviará ao <code>placePaymentLinkOrder</code>. É esta operação que decide se o 3DS se aplica (regras da loja, incluindo valor mínimo). Não cria pedido nem cobra. Fluxo completo em \"Fluxo 3DS\" no folder Orders.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). A loja é derivada do seu token — o <code>shopId</code> não existe em <code>PlacePaymentLinkOrderInput</code> e você não o envia. <code>x-customer-token</code> opcional: não altera o 3DS. Envie-o apenas se também for enviá-lo no <code>place*</code>; um token de consumidor que não fez login na sua loja faz esta chamada falhar (<code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code>).</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p><code>input: PlacePaymentLinkOrderInput!</code> — <strong>o mesmo input de <code>placePaymentLinkOrder</code></strong> (ver a página da operação para todos os campos). Os campos efetivamente usados aqui sã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>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>input.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>E-mail do comprador.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].method</code></td>\n<td><code>PaymentMethodName!</code></td>\n<td>Sim</td>\n<td>Só <code>unboxpay_credit</code> pode exigir 3DS; para outros métodos a resposta é sempre <code>shouldApply3DS: false</code>.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].amount</code></td>\n<td><code>Float!</code></td>\n<td>Sim</td>\n<td>Valor do pagamento (decimal) — comparado com o valor mínimo de 3DS da loja. Envie o mesmo valor do <code>placePaymentLinkOrder</code>.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].billingAddress</code></td>\n<td><code>AddressInput</code></td>\n<td>Sim (cartão)</td>\n<td>Endereço de cobrança do titular.</td>\n</tr>\n<tr>\n<td><code>input.payments[0].data</code></td>\n<td><code>AWSJSON</code></td>\n<td>Sim (cartão)</td>\n<td>Dados do cartão, no mesmo formato do <code>placePaymentLinkOrder</code> (<code>paymentType: \"credit\"</code>, <code>cardNumber</code>, <code>cardHolder</code>, <code>expirationMonth</code>, <code>expirationYear</code>, <code>securityCode</code>, <code>installments</code>), <strong>sem</strong> <code>threeDSSetup</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Os demais campos obrigatórios do schema (<code>paymentLinkId</code>, <code>shipping</code>) precisam ser enviados para o <code>input</code> ser válido, mas não são validados aqui — um link inválido só é detectado no <code>placePaymentLinkOrder</code>. <code>payments</code> precisa ter pelo menos um item.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>SetupOrder3DSTransactionResponse!</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>shouldApply3DS</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> se o pagamento exige 3DS. <code>false</code> → siga direto para <code>placePaymentLinkOrder</code> sem <code>threeDSSetup</code>.</td>\n</tr>\n<tr>\n<td><code>setup</code></td>\n<td><code>ThreeDSSetupPayload</code></td>\n<td>Presente quando <code>shouldApply3DS</code> é <code>true</code>; <code>null</code> caso contrário.</td>\n</tr>\n<tr>\n<td><code>setup.setupId</code></td>\n<td><code>String!</code></td>\n<td>Identificador da sessão 3DS.</td>\n</tr>\n<tr>\n<td><code>setup.tokenId</code></td>\n<td><code>String!</code></td>\n<td>Token da coleta — enviado no campo <code>JWT</code> do <code>POST</code> para <code>setupUrl</code>.</td>\n</tr>\n<tr>\n<td><code>setup.setupUrl</code></td>\n<td><code>String!</code></td>\n<td>URL de coleta de dados do dispositivo (faça um <code>POST</code> de formulário, em <code>iframe</code> oculto no navegador do comprador, com <code>JWT</code> = <code>tokenId</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Depois da coleta, chame <code>placePaymentLinkOrder</code> com <code>payments[0].data.threeDSSetup</code> = o objeto <code>setup</code> inteiro (<code>{ setupId, tokenId, setupUrl }</code>) e com <code>input.device</code> preenchido.</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>ONLY_CREDIT_CARD_PAYMENTS_ALLOWED_FOR_3DS_SETUPS_ERROR</code></td>\n<td>O 3DS se aplica, mas <code>data.paymentType</code> não é <code>\"credit\"</code>.</td>\n<td>Garanta que <code>method: unboxpay_credit</code> venha com <code>data.paymentType: \"credit\"</code>.</td>\n</tr>\n<tr>\n<td><code>FAILED_TO_START_3DS_SETUP_ERROR</code></td>\n<td>O processador de pagamento não conseguiu iniciar a sessão 3DS (dados do cartão inválidos ou indisponibilidade).</td>\n<td>Revise os dados do cartão; se persistir, tente novamente em instantes ou peça outro cartão ao comprador.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>input</code> inválido ou <code>payments</code> vazio.</td>\n<td>Envie o <code>input</code> completo, com um pagamento.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sempre chame antes do <code>placePaymentLinkOrder</code> com cartão.</strong> Se o 3DS se aplica e o pedido chega sem <code>threeDSSetup</code>, ele é recusado (<code>THREE_DS_SETUP_REQUIRED_ERROR</code>); <code>threeDSSetup</code> enviado sem necessidade é ignorado.</li>\n<li><strong>Não é idempotente</strong> (cada chamada com <code>shouldApply3DS: true</code> abre uma nova sessão 3DS), mas é seguro repetir: não cria pedido nem cobra. Use sempre o setup mais recente. Se o comprador alterar cartão, valor ou parcelas, chame de novo.</li>\n<li><strong>Efeito colateral:</strong> quando o 3DS se aplica, o cartão é registrado de forma tokenizada junto ao processador de pagamento, associado ao e-mail do comprador, para permitir a autenticação.</li>\n<li><strong>Dados de cartão passam pela sua integração</strong> (escopo PCI DSS) — ver folder Orders.</li>\n<li>Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor ou reenvie sem <code>x-customer-token</code> (e faça o mesmo no <code>placePaymentLinkOrder</code>).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"96f7f7a6-6472-4736-9be0-e5c8f5c75040","name":"200 - setupPaymentLink3DSTransaction","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 SetupPaymentLink3DSTransaction($input: PlacePaymentLinkOrderInput!) {\n  setupPaymentLink3DSTransaction(input: $input) {\n    shouldApply3DS\n    setup {\n      setupId\n      tokenId\n      setupUrl\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"shipping\": {\n      \"address\": {\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"addressName\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"shipmentQuoteId\": \"Example_String\",\n      \"shipmentMethodId\": \"Example_String\"\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"discountCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setupPaymentLink3DSTransaction\n\n**Propósito:** Verifica se o pagamento com cartão de um pedido de link de pagamento exige autenticação 3DS e, se exigir, inicia a sessão 3DS devolvendo os dados para a coleta de informações do dispositivo.\n**Quando usar:** Imediatamente **antes** de `placePaymentLinkOrder`, sempre que o pagamento for com cartão de crédito (`unboxpay_credit`). Envie **o mesmo `input`** que enviará ao `placePaymentLinkOrder`. É esta operação que decide se o 3DS se aplica (regras da loja, incluindo valor mínimo). Não cria pedido nem cobra. Fluxo completo em \"Fluxo 3DS\" no folder Orders.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja é derivada do seu token — o `shopId` não existe em `PlacePaymentLinkOrderInput` e você não o envia. `x-customer-token` opcional: não altera o 3DS. Envie-o apenas se também for enviá-lo no `place*`; um token de consumidor que não fez login na sua loja faz esta chamada falhar (`CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`).\n\n### Argumentos\n\n`input: PlacePaymentLinkOrderInput!` — **o mesmo input de `placePaymentLinkOrder`** (ver a página da operação para todos os campos). Os campos efetivamente usados aqui são:\n\n| Nome                               | Tipo                 | Obrigatório  | Descrição                                                                                                                                                                                                        |\n| ---------------------------------- | -------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.email`                      | `String!`            | Sim          | E-mail do comprador.                                                                                                                                                                                             |\n| `input.payments[0].method`         | `PaymentMethodName!` | Sim          | Só `unboxpay_credit` pode exigir 3DS; para outros métodos a resposta é sempre `shouldApply3DS: false`.                                                                                                           |\n| `input.payments[0].amount`         | `Float!`             | Sim          | Valor do pagamento (decimal) — comparado com o valor mínimo de 3DS da loja. Envie o mesmo valor do `placePaymentLinkOrder`.                                                                                      |\n| `input.payments[0].billingAddress` | `AddressInput`       | Sim (cartão) | Endereço de cobrança do titular.                                                                                                                                                                                 |\n| `input.payments[0].data`           | `AWSJSON`            | Sim (cartão) | Dados do cartão, no mesmo formato do `placePaymentLinkOrder` (`paymentType: \"credit\"`, `cardNumber`, `cardHolder`, `expirationMonth`, `expirationYear`, `securityCode`, `installments`), **sem** `threeDSSetup`. |\n\nOs demais campos obrigatórios do schema (`paymentLinkId`, `shipping`) precisam ser enviados para o `input` ser válido, mas não são validados aqui — um link inválido só é detectado no `placePaymentLinkOrder`. `payments` precisa ter pelo menos um item.\n\n### Retorno\n\n`SetupOrder3DSTransactionResponse!`\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                  |\n| ---------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `shouldApply3DS` | `Boolean!`            | `true` se o pagamento exige 3DS. `false` → siga direto para `placePaymentLinkOrder` sem `threeDSSetup`.                                    |\n| `setup`          | `ThreeDSSetupPayload` | Presente quando `shouldApply3DS` é `true`; `null` caso contrário.                                                                          |\n| `setup.setupId`  | `String!`             | Identificador da sessão 3DS.                                                                                                               |\n| `setup.tokenId`  | `String!`             | Token da coleta — enviado no campo `JWT` do `POST` para `setupUrl`.                                                                        |\n| `setup.setupUrl` | `String!`             | URL de coleta de dados do dispositivo (faça um `POST` de formulário, em `iframe` oculto no navegador do comprador, com `JWT` = `tokenId`). |\n\nDepois da coleta, chame `placePaymentLinkOrder` com `payments[0].data.threeDSSetup` = o objeto `setup` inteiro (`{ setupId, tokenId, setupUrl }`) e com `input.device` preenchido.\n\n### Erros\n\n| Código                                                   | Condição                                                                                                        | O que fazer                                                                                                        |\n| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `ONLY_CREDIT_CARD_PAYMENTS_ALLOWED_FOR_3DS_SETUPS_ERROR` | O 3DS se aplica, mas `data.paymentType` não é `\"credit\"`.                                                       | Garanta que `method: unboxpay_credit` venha com `data.paymentType: \"credit\"`.                                      |\n| `FAILED_TO_START_3DS_SETUP_ERROR`                        | O processador de pagamento não conseguiu iniciar a sessão 3DS (dados do cartão inválidos ou indisponibilidade). | Revise os dados do cartão; se persistir, tente novamente em instantes ou peça outro cartão ao comprador.           |\n| _(sem código)_                                           | `input` inválido ou `payments` vazio.                                                                           | Envie o `input` completo, com um pagamento.                                                                        |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                  | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                              | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre chame antes do `placePaymentLinkOrder` com cartão.** Se o 3DS se aplica e o pedido chega sem `threeDSSetup`, ele é recusado (`THREE_DS_SETUP_REQUIRED_ERROR`); `threeDSSetup` enviado sem necessidade é ignorado.\n- **Não é idempotente** (cada chamada com `shouldApply3DS: true` abre uma nova sessão 3DS), mas é seguro repetir: não cria pedido nem cobra. Use sempre o setup mais recente. Se o comprador alterar cartão, valor ou parcelas, chame de novo.\n- **Efeito colateral:** quando o 3DS se aplica, o cartão é registrado de forma tokenizada junto ao processador de pagamento, associado ao e-mail do comprador, para permitir a autenticação.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor ou reenvie sem `x-customer-token` (e faça o mesmo no `placePaymentLinkOrder`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"setupPaymentLink3DSTransaction\": {\n      \"shouldApply3DS\": true,\n      \"setup\": {\n        \"setupId\": \"Example_String\",\n        \"tokenId\": \"Example_String\",\n        \"setupUrl\": \"https://exemplo.com\"\n      }\n    }\n  }\n}"},{"id":"46d0369a-abb2-488c-b01c-fd8a2cbc3edd","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 SetupPaymentLink3DSTransaction($input: PlacePaymentLinkOrderInput!) {\n  setupPaymentLink3DSTransaction(input: $input) {\n    shouldApply3DS\n    setup {\n      setupId\n      tokenId\n      setupUrl\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"shipping\": {\n      \"address\": {\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"addressName\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"shipmentQuoteId\": \"Example_String\",\n      \"shipmentMethodId\": \"Example_String\"\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"discountCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## setupPaymentLink3DSTransaction\n\n**Propósito:** Verifica se o pagamento com cartão de um pedido de link de pagamento exige autenticação 3DS e, se exigir, inicia a sessão 3DS devolvendo os dados para a coleta de informações do dispositivo.\n**Quando usar:** Imediatamente **antes** de `placePaymentLinkOrder`, sempre que o pagamento for com cartão de crédito (`unboxpay_credit`). Envie **o mesmo `input`** que enviará ao `placePaymentLinkOrder`. É esta operação que decide se o 3DS se aplica (regras da loja, incluindo valor mínimo). Não cria pedido nem cobra. Fluxo completo em \"Fluxo 3DS\" no folder Orders.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). A loja é derivada do seu token — o `shopId` não existe em `PlacePaymentLinkOrderInput` e você não o envia. `x-customer-token` opcional: não altera o 3DS. Envie-o apenas se também for enviá-lo no `place*`; um token de consumidor que não fez login na sua loja faz esta chamada falhar (`CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`).\n\n### Argumentos\n\n`input: PlacePaymentLinkOrderInput!` — **o mesmo input de `placePaymentLinkOrder`** (ver a página da operação para todos os campos). Os campos efetivamente usados aqui são:\n\n| Nome                               | Tipo                 | Obrigatório  | Descrição                                                                                                                                                                                                        |\n| ---------------------------------- | -------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.email`                      | `String!`            | Sim          | E-mail do comprador.                                                                                                                                                                                             |\n| `input.payments[0].method`         | `PaymentMethodName!` | Sim          | Só `unboxpay_credit` pode exigir 3DS; para outros métodos a resposta é sempre `shouldApply3DS: false`.                                                                                                           |\n| `input.payments[0].amount`         | `Float!`             | Sim          | Valor do pagamento (decimal) — comparado com o valor mínimo de 3DS da loja. Envie o mesmo valor do `placePaymentLinkOrder`.                                                                                      |\n| `input.payments[0].billingAddress` | `AddressInput`       | Sim (cartão) | Endereço de cobrança do titular.                                                                                                                                                                                 |\n| `input.payments[0].data`           | `AWSJSON`            | Sim (cartão) | Dados do cartão, no mesmo formato do `placePaymentLinkOrder` (`paymentType: \"credit\"`, `cardNumber`, `cardHolder`, `expirationMonth`, `expirationYear`, `securityCode`, `installments`), **sem** `threeDSSetup`. |\n\nOs demais campos obrigatórios do schema (`paymentLinkId`, `shipping`) precisam ser enviados para o `input` ser válido, mas não são validados aqui — um link inválido só é detectado no `placePaymentLinkOrder`. `payments` precisa ter pelo menos um item.\n\n### Retorno\n\n`SetupOrder3DSTransactionResponse!`\n\n| Propriedade      | Tipo                  | Descrição                                                                                                                                  |\n| ---------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `shouldApply3DS` | `Boolean!`            | `true` se o pagamento exige 3DS. `false` → siga direto para `placePaymentLinkOrder` sem `threeDSSetup`.                                    |\n| `setup`          | `ThreeDSSetupPayload` | Presente quando `shouldApply3DS` é `true`; `null` caso contrário.                                                                          |\n| `setup.setupId`  | `String!`             | Identificador da sessão 3DS.                                                                                                               |\n| `setup.tokenId`  | `String!`             | Token da coleta — enviado no campo `JWT` do `POST` para `setupUrl`.                                                                        |\n| `setup.setupUrl` | `String!`             | URL de coleta de dados do dispositivo (faça um `POST` de formulário, em `iframe` oculto no navegador do comprador, com `JWT` = `tokenId`). |\n\nDepois da coleta, chame `placePaymentLinkOrder` com `payments[0].data.threeDSSetup` = o objeto `setup` inteiro (`{ setupId, tokenId, setupUrl }`) e com `input.device` preenchido.\n\n### Erros\n\n| Código                                                   | Condição                                                                                                        | O que fazer                                                                                                        |\n| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `ONLY_CREDIT_CARD_PAYMENTS_ALLOWED_FOR_3DS_SETUPS_ERROR` | O 3DS se aplica, mas `data.paymentType` não é `\"credit\"`.                                                       | Garanta que `method: unboxpay_credit` venha com `data.paymentType: \"credit\"`.                                      |\n| `FAILED_TO_START_3DS_SETUP_ERROR`                        | O processador de pagamento não conseguiu iniciar a sessão 3DS (dados do cartão inválidos ou indisponibilidade). | Revise os dados do cartão; se persistir, tente novamente em instantes ou peça outro cartão ao comprador.           |\n| _(sem código)_                                           | `input` inválido ou `payments` vazio.                                                                           | Envie o `input` completo, com um pagamento.                                                                        |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                  | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                              | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sempre chame antes do `placePaymentLinkOrder` com cartão.** Se o 3DS se aplica e o pedido chega sem `threeDSSetup`, ele é recusado (`THREE_DS_SETUP_REQUIRED_ERROR`); `threeDSSetup` enviado sem necessidade é ignorado.\n- **Não é idempotente** (cada chamada com `shouldApply3DS: true` abre uma nova sessão 3DS), mas é seguro repetir: não cria pedido nem cobra. Use sempre o setup mais recente. Se o comprador alterar cartão, valor ou parcelas, chame de novo.\n- **Efeito colateral:** quando o 3DS se aplica, o cartão é registrado de forma tokenizada junto ao processador de pagamento, associado ao e-mail do comprador, para permitir a autenticação.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders.\n- Se o token do consumidor expirou, a chamada falha: refaça o login do consumidor ou reenvie sem `x-customer-token` (e faça o mesmo no `placePaymentLinkOrder`)."},"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":"51283cad-dab5-5dd9-b748-42c6e01be1e9"},{"name":"[Mutation] placeOrder","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 placeOrder data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"placeOrder\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"3b565748-8626-5402-aa9e-c960bb6d0e50","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 PlaceOrder($input: PlaceOrderInput!) {\n  placeOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"placeorder\">placeOrder</h2>\n<p><strong>Propósito:</strong> Transforma um carrinho em pedido e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n<strong>Quando usar:</strong> Última etapa de um checkout próprio a partir de carrinho — depois de montar o carrinho, definir endereço, escolher o frete e coletar o pagamento (ver \"Checkout próprio: fluxo recomendado\" no folder Orders). Para cartão, chame <code>setupOrder3DSTransaction</code> com o mesmo <code>input</code> <strong>antes</strong>. <strong>Não é idempotente e cobra o comprador</strong> — ver Notas antes de implementar retentativas.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie (exceto <code>fulfillmentGroups[].shopId</code>, ver Notas). <code>x-customer-token</code> <strong>opcional</strong> (<code>accessToken</code> do consumidor, sem <code>Bearer</code>): com ele, o pedido nasce vinculado à conta do consumidor e aparece em <code>customerOrders</code>; sem ele, é um pedido de convidado.</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.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; volta igual no payload.</td>\n</tr>\n<tr>\n<td><code>input.order.cartId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do carrinho que vira pedido. O carrinho precisa existir e não estar bloqueado por um pedido anterior.</td>\n</tr>\n<tr>\n<td><code>input.order.currencyCode</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Envie <code>\"BRL\"</code> (única moeda suportada).</td>\n</tr>\n<tr>\n<td><code>input.order.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>E-mail do comprador, usado nas comunicações do pedido (espaços nas pontas são removidos).</td>\n</tr>\n<tr>\n<td><code>input.order.fulfillmentGroups</code></td>\n<td><code>[OrderFulfillmentGroupInput]!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Envie <strong>exatamente um</strong> grupo, com os campos abaixo.</td>\n</tr>\n<tr>\n<td><code>...fulfillmentGroups[].type</code></td>\n<td><code>FulfillmentType!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>SHIPPING</code> para entrega física.</td>\n</tr>\n<tr>\n<td><code>...fulfillmentGroups[].shopId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>O <code>_id</code> da <strong>sua</strong> loja (o mesmo de <code>cart.shop._id</code>). Ver Notas.</td>\n</tr>\n<tr>\n<td><code>...fulfillmentGroups[].selectedFulfillmentMethodId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>fulfillmentMethod._id</code> da opção de frete escolhida para o carrinho (via <code>updateFulfillmentOptionsForGroup</code> / <code>selectFulfillmentOptionForGroup</code>). Precisa pertencer a uma cotação de frete da sua loja.</td>\n</tr>\n<tr>\n<td><code>...fulfillmentGroups[].data.shippingAddress</code></td>\n<td><code>AddressInput</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td>Endereço de entrega. Exige <code>address1</code> (até 50 caracteres), <code>number</code> (até 6), <code>city</code>, <code>postal</code> (o mesmo CEP usado na cotação de frete); <code>region</code> com 2 letras; <code>address2</code> até 30; <code>fullName</code> até 50.</td>\n</tr>\n<tr>\n<td><code>...fulfillmentGroups[].items</code></td>\n<td><code>[OrderFulfillmentGroupItemInput]!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Os itens do pedido — <strong>devem ser exatamente os itens do carrinho</strong> (ver abaixo).</td>\n</tr>\n<tr>\n<td><code>...fulfillmentGroups[].totalPrice</code></td>\n<td><code>Float</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Total esperado do grupo (decimal). Se enviado e diferente do total calculado pela Unbox, o pedido é recusado — útil como trava contra divergência de preço entre o que você exibiu e o que será cobrado.</td>\n</tr>\n<tr>\n<td><code>input.payments</code></td>\n<td><code>[PaymentInput]</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td><strong>Um</strong> pagamento. Formato de <code>method</code>, <code>amount</code>, <code>billingAddress</code> e <code>data</code> em \"Formato de <code>payments[]</code>\" no folder Orders.</td>\n</tr>\n<tr>\n<td><code>input.device</code></td>\n<td><code>DeviceInformationInput</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Dados do navegador do comprador (<code>userAgent</code>, <code>language</code>, <code>colorDepth</code>, <code>screenHeight</code>, <code>screenWidth</code>, <code>timezoneOffset</code>, <code>javaEnabled</code>, <code>type</code>: <code>BROWSER</code>/<code>API</code>). <strong>Obrigatório quando o 3DS se aplica</strong>; recomendado sempre (antifraude).</td>\n</tr>\n<tr>\n<td><code>input.orderRecurrence.createNewRecurringOrder</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>—</td>\n<td><code>true</code> para criar uma assinatura recorrente a partir dos itens recorrentes do pedido. Só com cartão de crédito.</td>\n</tr>\n<tr>\n<td><code>input.orderRecurrence.recurringItemsFrequencyId</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Frequência da recorrência — obrigatório junto com <code>createNewRecurringOrder: true</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"itens-orderfulfillmentgroupiteminput\">Itens (<code>OrderFulfillmentGroupItemInput</code>)</h4>\n<p>Cada item precisa corresponder a um item do carrinho com mesmo produto/variante, mesma <code>quantity</code> e mesmos <code>isRecurring</code>/<code>isDiscountedBonusItem</code>.</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>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>Um dos dois</td>\n<td><code>{ productId, productVariantId }</code> para item simples.</td>\n</tr>\n<tr>\n<td><code>productKitConfiguration</code></td>\n<td><code>ItemKitConfigurationInput</code></td>\n<td>Um dos dois</td>\n<td><code>{ productKitId, productKitItemsConfigurations: [{ productId, productVariantId, quantity }] }</code> para kit. Envie <strong>um ou outro</strong>, nunca ambos.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td><code>Float!</code></td>\n<td>Sim</td>\n<td>Preço unitário do item, decimal — envie o <code>price.amount</code> do item no carrinho.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td><code>Int</code></td>\n<td>Condicional</td>\n<td>Obrigatório (≥ 1) para item simples; para kit, omita ou envie <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>isRecurring</code></td>\n<td><code>Boolean</code></td>\n<td>Não</td>\n<td>Igual ao item do carrinho.</td>\n</tr>\n<tr>\n<td><code>isDiscountedBonusItem</code> / <code>discountedBonusItemSource</code></td>\n<td><code>Boolean</code> / <code>DiscountedBonusItemSourceInput</code></td>\n<td>Não</td>\n<td>Igual ao item do carrinho (brindes de promoção).</td>\n</tr>\n<tr>\n<td><code>addedAt</code> / <code>thumbnail</code></td>\n<td><code>AWSDateTime</code> / <code>String</code></td>\n<td>Não</td>\n<td>Informativos.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>PlaceOrderPayload!</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>orders</code></td>\n<td><code>[Order]!</code></td>\n<td>Lista com <strong>um</strong> pedido criado (campos em \"Campos do objeto <code>Order</code>\" no folder Orders). Guarde <code>orders[0].referenceId</code>.</td>\n</tr>\n<tr>\n<td><code>orders[0].payments[0].status.status</code></td>\n<td><code>PaymentStatusEnum!</code></td>\n<td>Situação do pagamento logo após o pedido. Boleto/Pix e cartão com desafio 3DS voltam pendentes e são confirmados depois.</td>\n</tr>\n<tr>\n<td><code>orders[0].payments[0].threeDSChallengeRequested</code> / <code>threeDSChallengePayload</code></td>\n<td><code>Boolean</code> / <code>AWSJSON</code></td>\n<td>Se o emissor pediu desafio 3DS, e os dados para exibi-lo (<code>stepUrl</code>, <code>token</code>) — ver \"Fluxo 3DS\" no folder Orders.</td>\n</tr>\n<tr>\n<td><code>token</code></td>\n<td><code>String</code></td>\n<td>Token de acesso anônimo ao pedido, usado pelas páginas da loja (ex.: autenticação de pagamento). Não é um <code>access_token</code> desta API; guarde apenas se precisar dele nessas páginas.</td>\n</tr>\n<tr>\n<td><code>clientMutationId</code></td>\n<td><code>String</code></td>\n<td>Eco de <code>input.clientMutationId</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><em>(sem código)</em></td>\n<td>Carrinho inexistente ou já bloqueado por um pedido anterior (a mensagem desse caso não é um identificador estável).</td>\n<td>Consulte <code>orders</code> (<code>filters.searchField</code> = e-mail do comprador) antes de qualquer retry; se não houver pedido, trate como <code>cartId</code> inválido.</td>\n</tr>\n<tr>\n<td><code>FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>Algum item enviado não corresponde a um item do carrinho; <code>extensions.mismatchedItems</code> lista quais. <code>extensions.code</code> = <code>FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR</code> (grafia literal); <code>message</code> = <code>FULFILLMENT_GROUP_AND_CART_ITEMS_DO_NOT_MATCH_ERROR</code>. Case por <code>extensions.code</code>.</td>\n<td>Reenvie <code>items</code> exatamente como estão no carrinho (produto, variante, quantidade, flags).</td>\n</tr>\n<tr>\n<td><code>QUOTATION_AND_CART_QTY_DO_NOT_MATCH_ERROR</code> / <code>QUOTATION_AND_CART_ITEMS_DO_NOT_MATCH_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>O carrinho mudou depois da cotação de frete (quantidade ou itens diferentes).</td>\n<td>Refaça <code>updateFulfillmentOptionsForGroup</code> e <code>selectFulfillmentOptionForGroup</code> e use o novo <code>selectedFulfillmentMethodId</code>.</td>\n</tr>\n<tr>\n<td><code>INVALID_FULFILLMENT_METHOD_ID_ERROR</code></td>\n<td><code>selectedFulfillmentMethodId</code> não pertence a nenhuma cotação de frete da sua loja.</td>\n<td>Use o <code>fulfillmentMethod._id</code> retornado para este carrinho.</td>\n</tr>\n<tr>\n<td><code>PROVIDED_TOTAL_AND_ACTUAL_TOTAL_UNEQUAL_ERROR</code></td>\n<td>A <code>message</code> <strong>começa com</strong> este identificador (seguido de detalhes): <code>totalPrice</code> difere do total calculado.</td>\n<td>Releia o carrinho, atualize os valores exibidos e reenvie.</td>\n</tr>\n<tr>\n<td><code>PAYMENT_FAILED_ERROR</code></td>\n<td>A soma de <code>payments[].amount</code> não bate com o total do pedido (com juros, no cartão parcelado).</td>\n<td>Recalcule <code>amount</code> a partir do total do carrinho (e de <code>getInstallments</code>, se parcelado).</td>\n</tr>\n<tr>\n<td><code>PAYMENT_METHOD_NOT_ALLOWED_ERROR</code></td>\n<td><code>method</code> não está habilitado na loja.</td>\n<td>Use um método retornado por <code>availablePaymentMethods</code>.</td>\n</tr>\n<tr>\n<td><code>THREE_DS_SETUP_REQUIRED_ERROR</code></td>\n<td>O pagamento exige 3DS e <code>data.threeDSSetup</code> não foi enviado.</td>\n<td>Chame <code>setupOrder3DSTransaction</code>, faça a coleta e reenvie com <code>threeDSSetup</code>.</td>\n</tr>\n<tr>\n<td><code>PLACE_ORDER_FRAUD_SUSPICION</code></td>\n<td>Pagamento bloqueado pela análise antifraude.</td>\n<td>Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.</td>\n</tr>\n<tr>\n<td><code>ITEM_OUT_OF_STOCK_ERROR</code></td>\n<td>Item sem estoque suficiente.</td>\n<td>Atualize o carrinho e informe o comprador.</td>\n</tr>\n<tr>\n<td><code>PLACE_RECURRING_ORDER_NO_CREDIT_CARD_ERROR</code> / <code>PLACE_RECURRING_ORDER_INVALID_INSTALLMENTS_ERROR</code></td>\n<td>Recorrência sem cartão, ou parcelas acima do permitido para a frequência.</td>\n<td>Use cartão de crédito e respeite o limite de parcelas da recorrência.</td>\n</tr>\n<tr>\n<td><code>CART_TEMPLATE_NOT_FOUND_ERROR</code> / <code>CART_TEMPLATE_IS_EXPIRED_ERROR</code> / <code>CART_TEMPLATE_IS_SOLD_OUT_ERROR</code> / <code>CART_TEMPLATE_PAUSED_ERROR</code></td>\n<td>O carrinho veio de um template que não é mais válido (o carrinho é descartado).</td>\n<td>Crie um novo carrinho a partir de um template válido.</td>\n</tr>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td>A loja está inativa.</td>\n<td>Contate seu representante Unbox.</td>\n</tr>\n<tr>\n<td><code>INPUT_VALIDATION_ERROR</code> / <code>INVALID_ADDRESS_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>Campo fora de formato (ex.: <code>quantity</code>, item com <code>productConfiguration</code> e <code>productKitConfiguration</code> juntos, endereço com campo inválido). <code>extensions.code</code> = <code>INVALID_ADDRESS_ERROR</code> quando algum campo de endereço é inválido, senão <code>INPUT_VALIDATION_ERROR</code>; <code>message</code> = <code>INVALID_INPUT_ERROR</code> nos dois casos. Case por <code>extensions.code</code>. <code>extensions.invalidFields</code> / <code>extensions.invalidAddressFields</code> indicam os campos.</td>\n<td>Corrija os campos apontados e reenvie.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>).</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Pagamento recusado pelo processador de pagamento (cartão negado etc.).</td>\n<td>Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não é idempotente — não repita às cegas.</strong> Após um pedido bem-sucedido o carrinho fica bloqueado (uma segunda chamada com o mesmo <code>cartId</code> falha em vez de cobrar de novo), mas <strong>chamadas concorrentes</strong> com o mesmo carrinho não são deduplicadas. Em timeout/erro de rede, consulte antes de repetir: <code>orders</code> com <code>filters.searchField</code> = e-mail do comprador (ou <code>customerOrders</code>, se usou <code>x-customer-token</code>).</li>\n<li><strong>Falha não deixa rastro:</strong> se o pagamento for recusado, nenhum pedido é criado, o carrinho é liberado para nova tentativa e, no cartão, uma autorização já feita é estornada.</li>\n<li><strong>Efeitos colaterais do sucesso:</strong> cobrança/autorização no meio de pagamento, reserva de estoque, registro de uso de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP conforme configuração da loja.</li>\n<li><strong>Boleto/Pix são assíncronos:</strong> o pedido nasce com pagamento pendente; a confirmação chega depois (acompanhe por <code>orderByReferenceId</code> ou webhooks). Os dados para pagar ficam em <code>payments[].data</code> (<code>UnboxPayPaymentData</code> — ex.: <code>qrCode</code> no Pix, <code>redirectUrl</code> no boleto).</li>\n<li><strong><code>fulfillmentGroups[].shopId</code> ainda é pedido pelo schema:</strong> envie sempre o <code>_id</code> da sua própria loja.</li>\n<li><strong>O total cobrado é calculado pela Unbox</strong> a partir do carrinho (itens, frete, descontos). <code>items[].price</code> e <code>totalPrice</code> não alteram o valor cobrado — envie os valores do carrinho.</li>\n<li><strong>Dados de cartão passam pela sua integração</strong> (escopo PCI DSS) — ver folder Orders. Se preferir não tratá-los, use o checkout hospedado (<code>createExternalCheckout</code>).</li>\n<li><strong>Token do consumidor expirado:</strong> se o <code>x-customer-token</code> expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem <code>x-customer-token</code> (pedido de convidado).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8851369f-e4b1-4448-a423-446c9bc2759d","name":"200 - placeOrder","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 PlaceOrder($input: PlaceOrderInput!) {\n  placeOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## placeOrder\n\n**Propósito:** Transforma um carrinho em pedido e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n**Quando usar:** Última etapa de um checkout próprio a partir de carrinho — depois de montar o carrinho, definir endereço, escolher o frete e coletar o pagamento (ver \"Checkout próprio: fluxo recomendado\" no folder Orders). Para cartão, chame `setupOrder3DSTransaction` com o mesmo `input` **antes**. **Não é idempotente e cobra o comprador** — ver Notas antes de implementar retentativas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie (exceto `fulfillmentGroups[].shopId`, ver Notas). `x-customer-token` **opcional** (`accessToken` do consumidor, sem `Bearer`): com ele, o pedido nasce vinculado à conta do consumidor e aparece em `customerOrders`; sem ele, é um pedido de convidado.\n\n### Argumentos\n\n| Nome                                                 | Tipo                                | Obrigatório      | Default | Descrição                                                                                                                                                                                                                                  |\n| ---------------------------------------------------- | ----------------------------------- | ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input.clientMutationId`                             | `String`                            | Não              | `null`  | Identificador livre de correlação; volta igual no payload.                                                                                                                                                                                 |\n| `input.order.cartId`                                 | `String!`                           | Sim              | —       | `_id` do carrinho que vira pedido. O carrinho precisa existir e não estar bloqueado por um pedido anterior.                                                                                                                                |\n| `input.order.currencyCode`                           | `String!`                           | Sim              | —       | Envie `\"BRL\"` (única moeda suportada).                                                                                                                                                                                                     |\n| `input.order.email`                                  | `String!`                           | Sim              | —       | E-mail do comprador, usado nas comunicações do pedido (espaços nas pontas são removidos).                                                                                                                                                  |\n| `input.order.fulfillmentGroups`                      | `[OrderFulfillmentGroupInput]!`     | Sim              | —       | Envie **exatamente um** grupo, com os campos abaixo.                                                                                                                                                                                       |\n| `...fulfillmentGroups[].type`                        | `FulfillmentType!`                  | Sim              | —       | `SHIPPING` para entrega física.                                                                                                                                                                                                            |\n| `...fulfillmentGroups[].shopId`                      | `ID!`                               | Sim              | —       | O `_id` da **sua** loja (o mesmo de `cart.shop._id`). Ver Notas.                                                                                                                                                                           |\n| `...fulfillmentGroups[].selectedFulfillmentMethodId` | `ID!`                               | Sim              | —       | `fulfillmentMethod._id` da opção de frete escolhida para o carrinho (via `updateFulfillmentOptionsForGroup` / `selectFulfillmentOptionForGroup`). Precisa pertencer a uma cotação de frete da sua loja.                                    |\n| `...fulfillmentGroups[].data.shippingAddress`        | `AddressInput`                      | Sim (na prática) | —       | Endereço de entrega. Exige `address1` (até 50 caracteres), `number` (até 6), `city`, `postal` (o mesmo CEP usado na cotação de frete); `region` com 2 letras; `address2` até 30; `fullName` até 50.                                        |\n| `...fulfillmentGroups[].items`                       | `[OrderFulfillmentGroupItemInput]!` | Sim              | —       | Os itens do pedido — **devem ser exatamente os itens do carrinho** (ver abaixo).                                                                                                                                                           |\n| `...fulfillmentGroups[].totalPrice`                  | `Float`                             | Não              | —       | Total esperado do grupo (decimal). Se enviado e diferente do total calculado pela Unbox, o pedido é recusado — útil como trava contra divergência de preço entre o que você exibiu e o que será cobrado.                                   |\n| `input.payments`                                     | `[PaymentInput]`                    | Sim (na prática) | —       | **Um** pagamento. Formato de `method`, `amount`, `billingAddress` e `data` em \"Formato de `payments[]`\" no folder Orders.                                                                                                                  |\n| `input.device`                                       | `DeviceInformationInput`            | Condicional      | —       | Dados do navegador do comprador (`userAgent`, `language`, `colorDepth`, `screenHeight`, `screenWidth`, `timezoneOffset`, `javaEnabled`, `type`: `BROWSER`/`API`). **Obrigatório quando o 3DS se aplica**; recomendado sempre (antifraude). |\n| `input.orderRecurrence.createNewRecurringOrder`      | `Boolean`                           | Não              | —       | `true` para criar uma assinatura recorrente a partir dos itens recorrentes do pedido. Só com cartão de crédito.                                                                                                                            |\n| `input.orderRecurrence.recurringItemsFrequencyId`    | `String`                            | Condicional      | —       | Frequência da recorrência — obrigatório junto com `createNewRecurringOrder: true`.                                                                                                                                                         |\n\n#### Itens (`OrderFulfillmentGroupItemInput`)\n\nCada item precisa corresponder a um item do carrinho com mesmo produto/variante, mesma `quantity` e mesmos `isRecurring`/`isDiscountedBonusItem`.\n\n| Campo                                                 | Tipo                                         | Obrigatório | Descrição                                                                                                                                    |\n| ----------------------------------------------------- | -------------------------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `productConfiguration`                                | `ProductConfigurationInput`                  | Um dos dois | `{ productId, productVariantId }` para item simples.                                                                                         |\n| `productKitConfiguration`                             | `ItemKitConfigurationInput`                  | Um dos dois | `{ productKitId, productKitItemsConfigurations: [{ productId, productVariantId, quantity }] }` para kit. Envie **um ou outro**, nunca ambos. |\n| `price`                                               | `Float!`                                     | Sim         | Preço unitário do item, decimal — envie o `price.amount` do item no carrinho.                                                                |\n| `quantity`                                            | `Int`                                        | Condicional | Obrigatório (≥ 1) para item simples; para kit, omita ou envie `1`.                                                                           |\n| `isRecurring`                                         | `Boolean`                                    | Não         | Igual ao item do carrinho.                                                                                                                   |\n| `isDiscountedBonusItem` / `discountedBonusItemSource` | `Boolean` / `DiscountedBonusItemSourceInput` | Não         | Igual ao item do carrinho (brindes de promoção).                                                                                             |\n| `addedAt` / `thumbnail`                               | `AWSDateTime` / `String`                     | Não         | Informativos.                                                                                                                                |\n\n### Retorno\n\n`PlaceOrderPayload!`\n\n| Propriedade                                                                   | Tipo                  | Descrição                                                                                                                                                                          |\n| ----------------------------------------------------------------------------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `orders`                                                                      | `[Order]!`            | Lista com **um** pedido criado (campos em \"Campos do objeto `Order`\" no folder Orders). Guarde `orders[0].referenceId`.                                                            |\n| `orders[0].payments[0].status.status`                                         | `PaymentStatusEnum!`  | Situação do pagamento logo após o pedido. Boleto/Pix e cartão com desafio 3DS voltam pendentes e são confirmados depois.                                                           |\n| `orders[0].payments[0].threeDSChallengeRequested` / `threeDSChallengePayload` | `Boolean` / `AWSJSON` | Se o emissor pediu desafio 3DS, e os dados para exibi-lo (`stepUrl`, `token`) — ver \"Fluxo 3DS\" no folder Orders.                                                                  |\n| `token`                                                                       | `String`              | Token de acesso anônimo ao pedido, usado pelas páginas da loja (ex.: autenticação de pagamento). Não é um `access_token` desta API; guarde apenas se precisar dele nessas páginas. |\n| `clientMutationId`                                                            | `String`              | Eco de `input.clientMutationId`.                                                                                                                                                   |\n\n### Erros\n\n| Código                                                                                                                                | Condição                                                                                                                                                                                                                                                                                                                                                                                                                         | O que fazer                                                                                                                                  |\n| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_                                                                                                                        | Carrinho inexistente ou já bloqueado por um pedido anterior (a mensagem desse caso não é um identificador estável).                                                                                                                                                                                                                                                                                                              | Consulte `orders` (`filters.searchField` = e-mail do comprador) antes de qualquer retry; se não houver pedido, trate como `cartId` inválido. |\n| `FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR` (em `extensions.code`)                                                           | Algum item enviado não corresponde a um item do carrinho; `extensions.mismatchedItems` lista quais. `extensions.code` = `FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR` (grafia literal); `message` = `FULFILLMENT_GROUP_AND_CART_ITEMS_DO_NOT_MATCH_ERROR`. Case por `extensions.code`.                                                                                                                                    | Reenvie `items` exatamente como estão no carrinho (produto, variante, quantidade, flags).                                                    |\n| `QUOTATION_AND_CART_QTY_DO_NOT_MATCH_ERROR` / `QUOTATION_AND_CART_ITEMS_DO_NOT_MATCH_ERROR` (em `extensions.code`)                    | O carrinho mudou depois da cotação de frete (quantidade ou itens diferentes).                                                                                                                                                                                                                                                                                                                                                    | Refaça `updateFulfillmentOptionsForGroup` e `selectFulfillmentOptionForGroup` e use o novo `selectedFulfillmentMethodId`.                    |\n| `INVALID_FULFILLMENT_METHOD_ID_ERROR`                                                                                                 | `selectedFulfillmentMethodId` não pertence a nenhuma cotação de frete da sua loja.                                                                                                                                                                                                                                                                                                                                               | Use o `fulfillmentMethod._id` retornado para este carrinho.                                                                                  |\n| `PROVIDED_TOTAL_AND_ACTUAL_TOTAL_UNEQUAL_ERROR`                                                                                       | A `message` **começa com** este identificador (seguido de detalhes): `totalPrice` difere do total calculado.                                                                                                                                                                                                                                                                                                                     | Releia o carrinho, atualize os valores exibidos e reenvie.                                                                                   |\n| `PAYMENT_FAILED_ERROR`                                                                                                                | A soma de `payments[].amount` não bate com o total do pedido (com juros, no cartão parcelado).                                                                                                                                                                                                                                                                                                                                   | Recalcule `amount` a partir do total do carrinho (e de `getInstallments`, se parcelado).                                                     |\n| `PAYMENT_METHOD_NOT_ALLOWED_ERROR`                                                                                                    | `method` não está habilitado na loja.                                                                                                                                                                                                                                                                                                                                                                                            | Use um método retornado por `availablePaymentMethods`.                                                                                       |\n| `THREE_DS_SETUP_REQUIRED_ERROR`                                                                                                       | O pagamento exige 3DS e `data.threeDSSetup` não foi enviado.                                                                                                                                                                                                                                                                                                                                                                     | Chame `setupOrder3DSTransaction`, faça a coleta e reenvie com `threeDSSetup`.                                                                |\n| `PLACE_ORDER_FRAUD_SUSPICION`                                                                                                         | Pagamento bloqueado pela análise antifraude.                                                                                                                                                                                                                                                                                                                                                                                     | Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.                                                              |\n| `ITEM_OUT_OF_STOCK_ERROR`                                                                                                             | Item sem estoque suficiente.                                                                                                                                                                                                                                                                                                                                                                                                     | Atualize o carrinho e informe o comprador.                                                                                                   |\n| `PLACE_RECURRING_ORDER_NO_CREDIT_CARD_ERROR` / `PLACE_RECURRING_ORDER_INVALID_INSTALLMENTS_ERROR`                                     | Recorrência sem cartão, ou parcelas acima do permitido para a frequência.                                                                                                                                                                                                                                                                                                                                                        | Use cartão de crédito e respeite o limite de parcelas da recorrência.                                                                        |\n| `CART_TEMPLATE_NOT_FOUND_ERROR` / `CART_TEMPLATE_IS_EXPIRED_ERROR` / `CART_TEMPLATE_IS_SOLD_OUT_ERROR` / `CART_TEMPLATE_PAUSED_ERROR` | O carrinho veio de um template que não é mais válido (o carrinho é descartado).                                                                                                                                                                                                                                                                                                                                                  | Crie um novo carrinho a partir de um template válido.                                                                                        |\n| `FORBIDDEN_ERROR`                                                                                                                     | A loja está inativa.                                                                                                                                                                                                                                                                                                                                                                                                             | Contate seu representante Unbox.                                                                                                             |\n| `INPUT_VALIDATION_ERROR` / `INVALID_ADDRESS_ERROR` (em `extensions.code`)                                                             | Campo fora de formato (ex.: `quantity`, item com `productConfiguration` e `productKitConfiguration` juntos, endereço com campo inválido). `extensions.code` = `INVALID_ADDRESS_ERROR` quando algum campo de endereço é inválido, senão `INPUT_VALIDATION_ERROR`; `message` = `INVALID_INPUT_ERROR` nos dois casos. Case por `extensions.code`. `extensions.invalidFields` / `extensions.invalidAddressFields` indicam os campos. | Corrija os campos apontados e reenvie.                                                                                                       |\n| _(sem código)_                                                                                                                        | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                                                                                                                                                                                                                                                                                                                   | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                           |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                                                                                   | O consumidor do token nunca fez login na sua loja.                                                                                                                                                                                                                                                                                                                                                                               | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                              |\n| _(sem código)_                                                                                                                        | Pagamento recusado pelo processador de pagamento (cartão negado etc.).                                                                                                                                                                                                                                                                                                                                                           | Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.                                                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não é idempotente — não repita às cegas.** Após um pedido bem-sucedido o carrinho fica bloqueado (uma segunda chamada com o mesmo `cartId` falha em vez de cobrar de novo), mas **chamadas concorrentes** com o mesmo carrinho não são deduplicadas. Em timeout/erro de rede, consulte antes de repetir: `orders` com `filters.searchField` = e-mail do comprador (ou `customerOrders`, se usou `x-customer-token`).\n- **Falha não deixa rastro:** se o pagamento for recusado, nenhum pedido é criado, o carrinho é liberado para nova tentativa e, no cartão, uma autorização já feita é estornada.\n- **Efeitos colaterais do sucesso:** cobrança/autorização no meio de pagamento, reserva de estoque, registro de uso de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP conforme configuração da loja.\n- **Boleto/Pix são assíncronos:** o pedido nasce com pagamento pendente; a confirmação chega depois (acompanhe por `orderByReferenceId` ou webhooks). Os dados para pagar ficam em `payments[].data` (`UnboxPayPaymentData` — ex.: `qrCode` no Pix, `redirectUrl` no boleto).\n- **`fulfillmentGroups[].shopId` ainda é pedido pelo schema:** envie sempre o `_id` da sua própria loja.\n- **O total cobrado é calculado pela Unbox** a partir do carrinho (itens, frete, descontos). `items[].price` e `totalPrice` não alteram o valor cobrado — envie os valores do carrinho.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders. Se preferir não tratá-los, use o checkout hospedado (`createExternalCheckout`).\n- **Token do consumidor expirado:** se o `x-customer-token` expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem `x-customer-token` (pedido de convidado)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"placeOrder\": {\n      \"clientMutationId\": \"Example_String\",\n      \"orders\": [\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      \"token\": \"Example_String\"\n    }\n  }\n}"},{"id":"14b53dd8-9dbc-45bc-ba80-8933b2cb7693","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 PlaceOrder($input: PlaceOrderInput!) {\n  placeOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## placeOrder\n\n**Propósito:** Transforma um carrinho em pedido e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n**Quando usar:** Última etapa de um checkout próprio a partir de carrinho — depois de montar o carrinho, definir endereço, escolher o frete e coletar o pagamento (ver \"Checkout próprio: fluxo recomendado\" no folder Orders). Para cartão, chame `setupOrder3DSTransaction` com o mesmo `input` **antes**. **Não é idempotente e cobra o comprador** — ver Notas antes de implementar retentativas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie (exceto `fulfillmentGroups[].shopId`, ver Notas). `x-customer-token` **opcional** (`accessToken` do consumidor, sem `Bearer`): com ele, o pedido nasce vinculado à conta do consumidor e aparece em `customerOrders`; sem ele, é um pedido de convidado.\n\n### Argumentos\n\n| Nome                                                 | Tipo                                | Obrigatório      | Default | Descrição                                                                                                                                                                                                                                  |\n| ---------------------------------------------------- | ----------------------------------- | ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input.clientMutationId`                             | `String`                            | Não              | `null`  | Identificador livre de correlação; volta igual no payload.                                                                                                                                                                                 |\n| `input.order.cartId`                                 | `String!`                           | Sim              | —       | `_id` do carrinho que vira pedido. O carrinho precisa existir e não estar bloqueado por um pedido anterior.                                                                                                                                |\n| `input.order.currencyCode`                           | `String!`                           | Sim              | —       | Envie `\"BRL\"` (única moeda suportada).                                                                                                                                                                                                     |\n| `input.order.email`                                  | `String!`                           | Sim              | —       | E-mail do comprador, usado nas comunicações do pedido (espaços nas pontas são removidos).                                                                                                                                                  |\n| `input.order.fulfillmentGroups`                      | `[OrderFulfillmentGroupInput]!`     | Sim              | —       | Envie **exatamente um** grupo, com os campos abaixo.                                                                                                                                                                                       |\n| `...fulfillmentGroups[].type`                        | `FulfillmentType!`                  | Sim              | —       | `SHIPPING` para entrega física.                                                                                                                                                                                                            |\n| `...fulfillmentGroups[].shopId`                      | `ID!`                               | Sim              | —       | O `_id` da **sua** loja (o mesmo de `cart.shop._id`). Ver Notas.                                                                                                                                                                           |\n| `...fulfillmentGroups[].selectedFulfillmentMethodId` | `ID!`                               | Sim              | —       | `fulfillmentMethod._id` da opção de frete escolhida para o carrinho (via `updateFulfillmentOptionsForGroup` / `selectFulfillmentOptionForGroup`). Precisa pertencer a uma cotação de frete da sua loja.                                    |\n| `...fulfillmentGroups[].data.shippingAddress`        | `AddressInput`                      | Sim (na prática) | —       | Endereço de entrega. Exige `address1` (até 50 caracteres), `number` (até 6), `city`, `postal` (o mesmo CEP usado na cotação de frete); `region` com 2 letras; `address2` até 30; `fullName` até 50.                                        |\n| `...fulfillmentGroups[].items`                       | `[OrderFulfillmentGroupItemInput]!` | Sim              | —       | Os itens do pedido — **devem ser exatamente os itens do carrinho** (ver abaixo).                                                                                                                                                           |\n| `...fulfillmentGroups[].totalPrice`                  | `Float`                             | Não              | —       | Total esperado do grupo (decimal). Se enviado e diferente do total calculado pela Unbox, o pedido é recusado — útil como trava contra divergência de preço entre o que você exibiu e o que será cobrado.                                   |\n| `input.payments`                                     | `[PaymentInput]`                    | Sim (na prática) | —       | **Um** pagamento. Formato de `method`, `amount`, `billingAddress` e `data` em \"Formato de `payments[]`\" no folder Orders.                                                                                                                  |\n| `input.device`                                       | `DeviceInformationInput`            | Condicional      | —       | Dados do navegador do comprador (`userAgent`, `language`, `colorDepth`, `screenHeight`, `screenWidth`, `timezoneOffset`, `javaEnabled`, `type`: `BROWSER`/`API`). **Obrigatório quando o 3DS se aplica**; recomendado sempre (antifraude). |\n| `input.orderRecurrence.createNewRecurringOrder`      | `Boolean`                           | Não              | —       | `true` para criar uma assinatura recorrente a partir dos itens recorrentes do pedido. Só com cartão de crédito.                                                                                                                            |\n| `input.orderRecurrence.recurringItemsFrequencyId`    | `String`                            | Condicional      | —       | Frequência da recorrência — obrigatório junto com `createNewRecurringOrder: true`.                                                                                                                                                         |\n\n#### Itens (`OrderFulfillmentGroupItemInput`)\n\nCada item precisa corresponder a um item do carrinho com mesmo produto/variante, mesma `quantity` e mesmos `isRecurring`/`isDiscountedBonusItem`.\n\n| Campo                                                 | Tipo                                         | Obrigatório | Descrição                                                                                                                                    |\n| ----------------------------------------------------- | -------------------------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `productConfiguration`                                | `ProductConfigurationInput`                  | Um dos dois | `{ productId, productVariantId }` para item simples.                                                                                         |\n| `productKitConfiguration`                             | `ItemKitConfigurationInput`                  | Um dos dois | `{ productKitId, productKitItemsConfigurations: [{ productId, productVariantId, quantity }] }` para kit. Envie **um ou outro**, nunca ambos. |\n| `price`                                               | `Float!`                                     | Sim         | Preço unitário do item, decimal — envie o `price.amount` do item no carrinho.                                                                |\n| `quantity`                                            | `Int`                                        | Condicional | Obrigatório (≥ 1) para item simples; para kit, omita ou envie `1`.                                                                           |\n| `isRecurring`                                         | `Boolean`                                    | Não         | Igual ao item do carrinho.                                                                                                                   |\n| `isDiscountedBonusItem` / `discountedBonusItemSource` | `Boolean` / `DiscountedBonusItemSourceInput` | Não         | Igual ao item do carrinho (brindes de promoção).                                                                                             |\n| `addedAt` / `thumbnail`                               | `AWSDateTime` / `String`                     | Não         | Informativos.                                                                                                                                |\n\n### Retorno\n\n`PlaceOrderPayload!`\n\n| Propriedade                                                                   | Tipo                  | Descrição                                                                                                                                                                          |\n| ----------------------------------------------------------------------------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `orders`                                                                      | `[Order]!`            | Lista com **um** pedido criado (campos em \"Campos do objeto `Order`\" no folder Orders). Guarde `orders[0].referenceId`.                                                            |\n| `orders[0].payments[0].status.status`                                         | `PaymentStatusEnum!`  | Situação do pagamento logo após o pedido. Boleto/Pix e cartão com desafio 3DS voltam pendentes e são confirmados depois.                                                           |\n| `orders[0].payments[0].threeDSChallengeRequested` / `threeDSChallengePayload` | `Boolean` / `AWSJSON` | Se o emissor pediu desafio 3DS, e os dados para exibi-lo (`stepUrl`, `token`) — ver \"Fluxo 3DS\" no folder Orders.                                                                  |\n| `token`                                                                       | `String`              | Token de acesso anônimo ao pedido, usado pelas páginas da loja (ex.: autenticação de pagamento). Não é um `access_token` desta API; guarde apenas se precisar dele nessas páginas. |\n| `clientMutationId`                                                            | `String`              | Eco de `input.clientMutationId`.                                                                                                                                                   |\n\n### Erros\n\n| Código                                                                                                                                | Condição                                                                                                                                                                                                                                                                                                                                                                                                                         | O que fazer                                                                                                                                  |\n| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_                                                                                                                        | Carrinho inexistente ou já bloqueado por um pedido anterior (a mensagem desse caso não é um identificador estável).                                                                                                                                                                                                                                                                                                              | Consulte `orders` (`filters.searchField` = e-mail do comprador) antes de qualquer retry; se não houver pedido, trate como `cartId` inválido. |\n| `FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR` (em `extensions.code`)                                                           | Algum item enviado não corresponde a um item do carrinho; `extensions.mismatchedItems` lista quais. `extensions.code` = `FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR` (grafia literal); `message` = `FULFILLMENT_GROUP_AND_CART_ITEMS_DO_NOT_MATCH_ERROR`. Case por `extensions.code`.                                                                                                                                    | Reenvie `items` exatamente como estão no carrinho (produto, variante, quantidade, flags).                                                    |\n| `QUOTATION_AND_CART_QTY_DO_NOT_MATCH_ERROR` / `QUOTATION_AND_CART_ITEMS_DO_NOT_MATCH_ERROR` (em `extensions.code`)                    | O carrinho mudou depois da cotação de frete (quantidade ou itens diferentes).                                                                                                                                                                                                                                                                                                                                                    | Refaça `updateFulfillmentOptionsForGroup` e `selectFulfillmentOptionForGroup` e use o novo `selectedFulfillmentMethodId`.                    |\n| `INVALID_FULFILLMENT_METHOD_ID_ERROR`                                                                                                 | `selectedFulfillmentMethodId` não pertence a nenhuma cotação de frete da sua loja.                                                                                                                                                                                                                                                                                                                                               | Use o `fulfillmentMethod._id` retornado para este carrinho.                                                                                  |\n| `PROVIDED_TOTAL_AND_ACTUAL_TOTAL_UNEQUAL_ERROR`                                                                                       | A `message` **começa com** este identificador (seguido de detalhes): `totalPrice` difere do total calculado.                                                                                                                                                                                                                                                                                                                     | Releia o carrinho, atualize os valores exibidos e reenvie.                                                                                   |\n| `PAYMENT_FAILED_ERROR`                                                                                                                | A soma de `payments[].amount` não bate com o total do pedido (com juros, no cartão parcelado).                                                                                                                                                                                                                                                                                                                                   | Recalcule `amount` a partir do total do carrinho (e de `getInstallments`, se parcelado).                                                     |\n| `PAYMENT_METHOD_NOT_ALLOWED_ERROR`                                                                                                    | `method` não está habilitado na loja.                                                                                                                                                                                                                                                                                                                                                                                            | Use um método retornado por `availablePaymentMethods`.                                                                                       |\n| `THREE_DS_SETUP_REQUIRED_ERROR`                                                                                                       | O pagamento exige 3DS e `data.threeDSSetup` não foi enviado.                                                                                                                                                                                                                                                                                                                                                                     | Chame `setupOrder3DSTransaction`, faça a coleta e reenvie com `threeDSSetup`.                                                                |\n| `PLACE_ORDER_FRAUD_SUSPICION`                                                                                                         | Pagamento bloqueado pela análise antifraude.                                                                                                                                                                                                                                                                                                                                                                                     | Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.                                                              |\n| `ITEM_OUT_OF_STOCK_ERROR`                                                                                                             | Item sem estoque suficiente.                                                                                                                                                                                                                                                                                                                                                                                                     | Atualize o carrinho e informe o comprador.                                                                                                   |\n| `PLACE_RECURRING_ORDER_NO_CREDIT_CARD_ERROR` / `PLACE_RECURRING_ORDER_INVALID_INSTALLMENTS_ERROR`                                     | Recorrência sem cartão, ou parcelas acima do permitido para a frequência.                                                                                                                                                                                                                                                                                                                                                        | Use cartão de crédito e respeite o limite de parcelas da recorrência.                                                                        |\n| `CART_TEMPLATE_NOT_FOUND_ERROR` / `CART_TEMPLATE_IS_EXPIRED_ERROR` / `CART_TEMPLATE_IS_SOLD_OUT_ERROR` / `CART_TEMPLATE_PAUSED_ERROR` | O carrinho veio de um template que não é mais válido (o carrinho é descartado).                                                                                                                                                                                                                                                                                                                                                  | Crie um novo carrinho a partir de um template válido.                                                                                        |\n| `FORBIDDEN_ERROR`                                                                                                                     | A loja está inativa.                                                                                                                                                                                                                                                                                                                                                                                                             | Contate seu representante Unbox.                                                                                                             |\n| `INPUT_VALIDATION_ERROR` / `INVALID_ADDRESS_ERROR` (em `extensions.code`)                                                             | Campo fora de formato (ex.: `quantity`, item com `productConfiguration` e `productKitConfiguration` juntos, endereço com campo inválido). `extensions.code` = `INVALID_ADDRESS_ERROR` quando algum campo de endereço é inválido, senão `INPUT_VALIDATION_ERROR`; `message` = `INVALID_INPUT_ERROR` nos dois casos. Case por `extensions.code`. `extensions.invalidFields` / `extensions.invalidAddressFields` indicam os campos. | Corrija os campos apontados e reenvie.                                                                                                       |\n| _(sem código)_                                                                                                                        | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                                                                                                                                                                                                                                                                                                                   | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                           |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                                                                                   | O consumidor do token nunca fez login na sua loja.                                                                                                                                                                                                                                                                                                                                                                               | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                              |\n| _(sem código)_                                                                                                                        | Pagamento recusado pelo processador de pagamento (cartão negado etc.).                                                                                                                                                                                                                                                                                                                                                           | Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.                                                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não é idempotente — não repita às cegas.** Após um pedido bem-sucedido o carrinho fica bloqueado (uma segunda chamada com o mesmo `cartId` falha em vez de cobrar de novo), mas **chamadas concorrentes** com o mesmo carrinho não são deduplicadas. Em timeout/erro de rede, consulte antes de repetir: `orders` com `filters.searchField` = e-mail do comprador (ou `customerOrders`, se usou `x-customer-token`).\n- **Falha não deixa rastro:** se o pagamento for recusado, nenhum pedido é criado, o carrinho é liberado para nova tentativa e, no cartão, uma autorização já feita é estornada.\n- **Efeitos colaterais do sucesso:** cobrança/autorização no meio de pagamento, reserva de estoque, registro de uso de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP conforme configuração da loja.\n- **Boleto/Pix são assíncronos:** o pedido nasce com pagamento pendente; a confirmação chega depois (acompanhe por `orderByReferenceId` ou webhooks). Os dados para pagar ficam em `payments[].data` (`UnboxPayPaymentData` — ex.: `qrCode` no Pix, `redirectUrl` no boleto).\n- **`fulfillmentGroups[].shopId` ainda é pedido pelo schema:** envie sempre o `_id` da sua própria loja.\n- **O total cobrado é calculado pela Unbox** a partir do carrinho (itens, frete, descontos). `items[].price` e `totalPrice` não alteram o valor cobrado — envie os valores do carrinho.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders. Se preferir não tratá-los, use o checkout hospedado (`createExternalCheckout`).\n- **Token do consumidor expirado:** se o `x-customer-token` expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem `x-customer-token` (pedido de convidado)."},"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":"79ccd997-5e45-474b-b466-7eddd56b5801","name":"Erro - BUILD_ORDER_FULFILLMENT_GROUP_AND_TOTALS_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 PlaceOrder($input: PlaceOrderInput!) {\n  placeOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"clientMutationId\": \"Example_String\",\n    \"order\": {\n      \"cartId\": \"{{cartId}}\",\n      \"currencyCode\": \"BRL\",\n      \"fulfillmentGroups\": [\n        {\n          \"data\": {\n            \"shippingAddress\": {\n              \"address1\": \"Example_String\",\n              \"address2\": \"Example_String\",\n              \"addressName\": \"Example_String\",\n              \"city\": \"Example_String\",\n              \"cityCode\": \"Example_String\",\n              \"company\": \"Example_String\",\n              \"country\": \"BR\",\n              \"firstName\": \"Example_String\",\n              \"fullName\": \"Example_String\",\n              \"isBillingDefault\": true,\n              \"isCommercial\": true,\n              \"isShippingDefault\": true,\n              \"lastName\": \"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              \"neighborhood\": \"Example_String\",\n              \"number\": \"Example_String\",\n              \"phone\": \"+5511999999999\",\n              \"region\": \"Example_String\",\n              \"reference\": \"Example_String\",\n              \"mobile\": \"Example_String\",\n              \"trackByMobile\": true\n            }\n          },\n          \"items\": [\n            {\n              \"addedAt\": \"2025-01-15T10:00:00Z\",\n              \"price\": 99.99,\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              \"isDiscountedBonusItem\": true,\n              \"discountedBonusItemSource\": {\n                \"discountMethod\": \"CODE\",\n                \"discountCalculationMethod\": \"DISCOUNT\"\n              },\n              \"thumbnail\": \"Example_String\"\n            }\n          ],\n          \"selectedFulfillmentMethodId\": \"Example_ID\",\n          \"shopId\": \"{{shopId}}\",\n          \"totalPrice\": 99.99,\n          \"type\": \"SHIPPING\"\n        }\n      ]\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"orderRecurrence\": {\n      \"createNewRecurringOrder\": true,\n      \"recurringItemsFrequencyId\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## placeOrder\n\n**Propósito:** Transforma um carrinho em pedido e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n**Quando usar:** Última etapa de um checkout próprio a partir de carrinho — depois de montar o carrinho, definir endereço, escolher o frete e coletar o pagamento (ver \"Checkout próprio: fluxo recomendado\" no folder Orders). Para cartão, chame `setupOrder3DSTransaction` com o mesmo `input` **antes**. **Não é idempotente e cobra o comprador** — ver Notas antes de implementar retentativas.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie (exceto `fulfillmentGroups[].shopId`, ver Notas). `x-customer-token` **opcional** (`accessToken` do consumidor, sem `Bearer`): com ele, o pedido nasce vinculado à conta do consumidor e aparece em `customerOrders`; sem ele, é um pedido de convidado.\n\n### Argumentos\n\n| Nome                                                 | Tipo                                | Obrigatório      | Default | Descrição                                                                                                                                                                                                                                  |\n| ---------------------------------------------------- | ----------------------------------- | ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `input.clientMutationId`                             | `String`                            | Não              | `null`  | Identificador livre de correlação; volta igual no payload.                                                                                                                                                                                 |\n| `input.order.cartId`                                 | `String!`                           | Sim              | —       | `_id` do carrinho que vira pedido. O carrinho precisa existir e não estar bloqueado por um pedido anterior.                                                                                                                                |\n| `input.order.currencyCode`                           | `String!`                           | Sim              | —       | Envie `\"BRL\"` (única moeda suportada).                                                                                                                                                                                                     |\n| `input.order.email`                                  | `String!`                           | Sim              | —       | E-mail do comprador, usado nas comunicações do pedido (espaços nas pontas são removidos).                                                                                                                                                  |\n| `input.order.fulfillmentGroups`                      | `[OrderFulfillmentGroupInput]!`     | Sim              | —       | Envie **exatamente um** grupo, com os campos abaixo.                                                                                                                                                                                       |\n| `...fulfillmentGroups[].type`                        | `FulfillmentType!`                  | Sim              | —       | `SHIPPING` para entrega física.                                                                                                                                                                                                            |\n| `...fulfillmentGroups[].shopId`                      | `ID!`                               | Sim              | —       | O `_id` da **sua** loja (o mesmo de `cart.shop._id`). Ver Notas.                                                                                                                                                                           |\n| `...fulfillmentGroups[].selectedFulfillmentMethodId` | `ID!`                               | Sim              | —       | `fulfillmentMethod._id` da opção de frete escolhida para o carrinho (via `updateFulfillmentOptionsForGroup` / `selectFulfillmentOptionForGroup`). Precisa pertencer a uma cotação de frete da sua loja.                                    |\n| `...fulfillmentGroups[].data.shippingAddress`        | `AddressInput`                      | Sim (na prática) | —       | Endereço de entrega. Exige `address1` (até 50 caracteres), `number` (até 6), `city`, `postal` (o mesmo CEP usado na cotação de frete); `region` com 2 letras; `address2` até 30; `fullName` até 50.                                        |\n| `...fulfillmentGroups[].items`                       | `[OrderFulfillmentGroupItemInput]!` | Sim              | —       | Os itens do pedido — **devem ser exatamente os itens do carrinho** (ver abaixo).                                                                                                                                                           |\n| `...fulfillmentGroups[].totalPrice`                  | `Float`                             | Não              | —       | Total esperado do grupo (decimal). Se enviado e diferente do total calculado pela Unbox, o pedido é recusado — útil como trava contra divergência de preço entre o que você exibiu e o que será cobrado.                                   |\n| `input.payments`                                     | `[PaymentInput]`                    | Sim (na prática) | —       | **Um** pagamento. Formato de `method`, `amount`, `billingAddress` e `data` em \"Formato de `payments[]`\" no folder Orders.                                                                                                                  |\n| `input.device`                                       | `DeviceInformationInput`            | Condicional      | —       | Dados do navegador do comprador (`userAgent`, `language`, `colorDepth`, `screenHeight`, `screenWidth`, `timezoneOffset`, `javaEnabled`, `type`: `BROWSER`/`API`). **Obrigatório quando o 3DS se aplica**; recomendado sempre (antifraude). |\n| `input.orderRecurrence.createNewRecurringOrder`      | `Boolean`                           | Não              | —       | `true` para criar uma assinatura recorrente a partir dos itens recorrentes do pedido. Só com cartão de crédito.                                                                                                                            |\n| `input.orderRecurrence.recurringItemsFrequencyId`    | `String`                            | Condicional      | —       | Frequência da recorrência — obrigatório junto com `createNewRecurringOrder: true`.                                                                                                                                                         |\n\n#### Itens (`OrderFulfillmentGroupItemInput`)\n\nCada item precisa corresponder a um item do carrinho com mesmo produto/variante, mesma `quantity` e mesmos `isRecurring`/`isDiscountedBonusItem`.\n\n| Campo                                                 | Tipo                                         | Obrigatório | Descrição                                                                                                                                    |\n| ----------------------------------------------------- | -------------------------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `productConfiguration`                                | `ProductConfigurationInput`                  | Um dos dois | `{ productId, productVariantId }` para item simples.                                                                                         |\n| `productKitConfiguration`                             | `ItemKitConfigurationInput`                  | Um dos dois | `{ productKitId, productKitItemsConfigurations: [{ productId, productVariantId, quantity }] }` para kit. Envie **um ou outro**, nunca ambos. |\n| `price`                                               | `Float!`                                     | Sim         | Preço unitário do item, decimal — envie o `price.amount` do item no carrinho.                                                                |\n| `quantity`                                            | `Int`                                        | Condicional | Obrigatório (≥ 1) para item simples; para kit, omita ou envie `1`.                                                                           |\n| `isRecurring`                                         | `Boolean`                                    | Não         | Igual ao item do carrinho.                                                                                                                   |\n| `isDiscountedBonusItem` / `discountedBonusItemSource` | `Boolean` / `DiscountedBonusItemSourceInput` | Não         | Igual ao item do carrinho (brindes de promoção).                                                                                             |\n| `addedAt` / `thumbnail`                               | `AWSDateTime` / `String`                     | Não         | Informativos.                                                                                                                                |\n\n### Retorno\n\n`PlaceOrderPayload!`\n\n| Propriedade                                                                   | Tipo                  | Descrição                                                                                                                                                                          |\n| ----------------------------------------------------------------------------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `orders`                                                                      | `[Order]!`            | Lista com **um** pedido criado (campos em \"Campos do objeto `Order`\" no folder Orders). Guarde `orders[0].referenceId`.                                                            |\n| `orders[0].payments[0].status.status`                                         | `PaymentStatusEnum!`  | Situação do pagamento logo após o pedido. Boleto/Pix e cartão com desafio 3DS voltam pendentes e são confirmados depois.                                                           |\n| `orders[0].payments[0].threeDSChallengeRequested` / `threeDSChallengePayload` | `Boolean` / `AWSJSON` | Se o emissor pediu desafio 3DS, e os dados para exibi-lo (`stepUrl`, `token`) — ver \"Fluxo 3DS\" no folder Orders.                                                                  |\n| `token`                                                                       | `String`              | Token de acesso anônimo ao pedido, usado pelas páginas da loja (ex.: autenticação de pagamento). Não é um `access_token` desta API; guarde apenas se precisar dele nessas páginas. |\n| `clientMutationId`                                                            | `String`              | Eco de `input.clientMutationId`.                                                                                                                                                   |\n\n### Erros\n\n| Código                                                                                                                                | Condição                                                                                                                                                                                                                                                                                                                                                                                                                         | O que fazer                                                                                                                                  |\n| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| _(sem código)_                                                                                                                        | Carrinho inexistente ou já bloqueado por um pedido anterior (a mensagem desse caso não é um identificador estável).                                                                                                                                                                                                                                                                                                              | Consulte `orders` (`filters.searchField` = e-mail do comprador) antes de qualquer retry; se não houver pedido, trate como `cartId` inválido. |\n| `FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR` (em `extensions.code`)                                                           | Algum item enviado não corresponde a um item do carrinho; `extensions.mismatchedItems` lista quais. `extensions.code` = `FULFILLMENT_GROUP_ND_CART_ITEMS_DO_NOT_MATCH_ERROR` (grafia literal); `message` = `FULFILLMENT_GROUP_AND_CART_ITEMS_DO_NOT_MATCH_ERROR`. Case por `extensions.code`.                                                                                                                                    | Reenvie `items` exatamente como estão no carrinho (produto, variante, quantidade, flags).                                                    |\n| `QUOTATION_AND_CART_QTY_DO_NOT_MATCH_ERROR` / `QUOTATION_AND_CART_ITEMS_DO_NOT_MATCH_ERROR` (em `extensions.code`)                    | O carrinho mudou depois da cotação de frete (quantidade ou itens diferentes).                                                                                                                                                                                                                                                                                                                                                    | Refaça `updateFulfillmentOptionsForGroup` e `selectFulfillmentOptionForGroup` e use o novo `selectedFulfillmentMethodId`.                    |\n| `INVALID_FULFILLMENT_METHOD_ID_ERROR`                                                                                                 | `selectedFulfillmentMethodId` não pertence a nenhuma cotação de frete da sua loja.                                                                                                                                                                                                                                                                                                                                               | Use o `fulfillmentMethod._id` retornado para este carrinho.                                                                                  |\n| `PROVIDED_TOTAL_AND_ACTUAL_TOTAL_UNEQUAL_ERROR`                                                                                       | A `message` **começa com** este identificador (seguido de detalhes): `totalPrice` difere do total calculado.                                                                                                                                                                                                                                                                                                                     | Releia o carrinho, atualize os valores exibidos e reenvie.                                                                                   |\n| `PAYMENT_FAILED_ERROR`                                                                                                                | A soma de `payments[].amount` não bate com o total do pedido (com juros, no cartão parcelado).                                                                                                                                                                                                                                                                                                                                   | Recalcule `amount` a partir do total do carrinho (e de `getInstallments`, se parcelado).                                                     |\n| `PAYMENT_METHOD_NOT_ALLOWED_ERROR`                                                                                                    | `method` não está habilitado na loja.                                                                                                                                                                                                                                                                                                                                                                                            | Use um método retornado por `availablePaymentMethods`.                                                                                       |\n| `THREE_DS_SETUP_REQUIRED_ERROR`                                                                                                       | O pagamento exige 3DS e `data.threeDSSetup` não foi enviado.                                                                                                                                                                                                                                                                                                                                                                     | Chame `setupOrder3DSTransaction`, faça a coleta e reenvie com `threeDSSetup`.                                                                |\n| `PLACE_ORDER_FRAUD_SUSPICION`                                                                                                         | Pagamento bloqueado pela análise antifraude.                                                                                                                                                                                                                                                                                                                                                                                     | Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.                                                              |\n| `ITEM_OUT_OF_STOCK_ERROR`                                                                                                             | Item sem estoque suficiente.                                                                                                                                                                                                                                                                                                                                                                                                     | Atualize o carrinho e informe o comprador.                                                                                                   |\n| `PLACE_RECURRING_ORDER_NO_CREDIT_CARD_ERROR` / `PLACE_RECURRING_ORDER_INVALID_INSTALLMENTS_ERROR`                                     | Recorrência sem cartão, ou parcelas acima do permitido para a frequência.                                                                                                                                                                                                                                                                                                                                                        | Use cartão de crédito e respeite o limite de parcelas da recorrência.                                                                        |\n| `CART_TEMPLATE_NOT_FOUND_ERROR` / `CART_TEMPLATE_IS_EXPIRED_ERROR` / `CART_TEMPLATE_IS_SOLD_OUT_ERROR` / `CART_TEMPLATE_PAUSED_ERROR` | O carrinho veio de um template que não é mais válido (o carrinho é descartado).                                                                                                                                                                                                                                                                                                                                                  | Crie um novo carrinho a partir de um template válido.                                                                                        |\n| `FORBIDDEN_ERROR`                                                                                                                     | A loja está inativa.                                                                                                                                                                                                                                                                                                                                                                                                             | Contate seu representante Unbox.                                                                                                             |\n| `INPUT_VALIDATION_ERROR` / `INVALID_ADDRESS_ERROR` (em `extensions.code`)                                                             | Campo fora de formato (ex.: `quantity`, item com `productConfiguration` e `productKitConfiguration` juntos, endereço com campo inválido). `extensions.code` = `INVALID_ADDRESS_ERROR` quando algum campo de endereço é inválido, senão `INPUT_VALIDATION_ERROR`; `message` = `INVALID_INPUT_ERROR` nos dois casos. Case por `extensions.code`. `extensions.invalidFields` / `extensions.invalidAddressFields` indicam os campos. | Corrija os campos apontados e reenvie.                                                                                                       |\n| _(sem código)_                                                                                                                        | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                                                                                                                                                                                                                                                                                                                   | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                           |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                                                                                   | O consumidor do token nunca fez login na sua loja.                                                                                                                                                                                                                                                                                                                                                                               | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                              |\n| _(sem código)_                                                                                                                        | Pagamento recusado pelo processador de pagamento (cartão negado etc.).                                                                                                                                                                                                                                                                                                                                                           | Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.                                                   |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não é idempotente — não repita às cegas.** Após um pedido bem-sucedido o carrinho fica bloqueado (uma segunda chamada com o mesmo `cartId` falha em vez de cobrar de novo), mas **chamadas concorrentes** com o mesmo carrinho não são deduplicadas. Em timeout/erro de rede, consulte antes de repetir: `orders` com `filters.searchField` = e-mail do comprador (ou `customerOrders`, se usou `x-customer-token`).\n- **Falha não deixa rastro:** se o pagamento for recusado, nenhum pedido é criado, o carrinho é liberado para nova tentativa e, no cartão, uma autorização já feita é estornada.\n- **Efeitos colaterais do sucesso:** cobrança/autorização no meio de pagamento, reserva de estoque, registro de uso de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP conforme configuração da loja.\n- **Boleto/Pix são assíncronos:** o pedido nasce com pagamento pendente; a confirmação chega depois (acompanhe por `orderByReferenceId` ou webhooks). Os dados para pagar ficam em `payments[].data` (`UnboxPayPaymentData` — ex.: `qrCode` no Pix, `redirectUrl` no boleto).\n- **`fulfillmentGroups[].shopId` ainda é pedido pelo schema:** envie sempre o `_id` da sua própria loja.\n- **O total cobrado é calculado pela Unbox** a partir do carrinho (itens, frete, descontos). `items[].price` e `totalPrice` não alteram o valor cobrado — envie os valores do carrinho.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders. Se preferir não tratá-los, use o checkout hospedado (`createExternalCheckout`).\n- **Token do consumidor expirado:** se o `x-customer-token` expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem `x-customer-token` (pedido de convidado)."},"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\": \"Build order fulfillment group and totals error\",\n      \"extensions\": {\n        \"code\": \"BUILD_ORDER_FULFILLMENT_GROUP_AND_TOTALS_ERROR\"\n      }\n    }\n  ]\n}"}],"_postman_id":"3b565748-8626-5402-aa9e-c960bb6d0e50"},{"name":"[Mutation] placePaymentLinkOrder","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 placePaymentLinkOrder data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"placePaymentLinkOrder\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"551c66ea-2d40-5815-b73a-33899fb6f884","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 PlacePaymentLinkOrder($input: PlacePaymentLinkOrderInput!) {\n  placePaymentLinkOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"shipping\": {\n      \"address\": {\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"addressName\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"shipmentQuoteId\": \"Example_String\",\n      \"shipmentMethodId\": \"Example_String\"\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"discountCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"placepaymentlinkorder\">placePaymentLinkOrder</h2>\n<p><strong>Propósito:</strong> Cria um pedido a partir de um link de pagamento da sua loja e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n<strong>Quando usar:</strong> Quando você renderiza o checkout de um link de pagamento na sua própria interface, em vez de redirecionar o comprador para a URL hospedada do link. Obtenha o link (<code>paymentLink</code> / <code>publicPaymentLink</code>), colete endereço e pagamento e, para cartão, chame <code>setupPaymentLink3DSTransaction</code> com o mesmo <code>input</code> <strong>antes</strong>. <strong>Não é idempotente e cobra o comprador</strong> — cada chamada bem-sucedida gera um novo pedido (ver Notas).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. <code>x-customer-token</code> <strong>opcional</strong> (<code>accessToken</code> do consumidor, sem <code>Bearer</code>): com ele, o pedido nasce vinculado à conta do consumidor; sem ele, é um pedido de convidado.</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.paymentLinkId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> do link de pagamento. Precisa ser um link da sua loja, não excluído, ativo, não expirado e dentro do limite de uso.</td>\n</tr>\n<tr>\n<td><code>input.email</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>E-mail do comprador, usado nas comunicações do pedido.</td>\n</tr>\n<tr>\n<td><code>input.shipping.address</code></td>\n<td><code>AddressInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Endereço de entrega do comprador. Exige <code>address1</code> (até 50 caracteres), <code>number</code> (até 6), <code>city</code> e <code>postal</code>; <code>region</code> com 2 letras. <code>isCommercial: true</code> (com CNPJ em <code>taxPayerId</code>) indica comprador pessoa jurídica — ver Notas.</td>\n</tr>\n<tr>\n<td><code>input.shipping.shipmentQuoteId</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>ID da cotação de frete do link. Obrigatório quando o link tem entrega física (<code>shipping.fulfillmentType: SHIPPING</code>) — ver Notas.</td>\n</tr>\n<tr>\n<td><code>input.shipping.shipmentMethodId</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>ID do método de envio escolhido dentro dessa cotação. Mesma regra de <code>shipmentQuoteId</code>.</td>\n</tr>\n<tr>\n<td><code>input.payments</code></td>\n<td><code>[PaymentInput]</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td><strong>Um</strong> pagamento. Formato de <code>method</code>, <code>amount</code>, <code>billingAddress</code> e <code>data</code> em \"Formato de <code>payments[]</code>\" no folder Orders.</td>\n</tr>\n<tr>\n<td><code>input.device</code></td>\n<td><code>DeviceInformationInput</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Dados do navegador do comprador. <strong>Obrigatório quando o 3DS se aplica</strong>; recomendado sempre (antifraude).</td>\n</tr>\n<tr>\n<td><code>input.discountCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Código de cupom a aplicar sobre o link, se elegível (o desconto entra no total que <code>payments[].amount</code> precisa cobrir).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>PlaceOrderPayload!</code> — mesmo formato de <code>placeOrder</code>: <code>orders</code> (lista com <strong>um</strong> <code>Order</code>), <code>token</code> (token de acesso anônimo ao pedido, usado pelas páginas da loja) e <code>clientMutationId</code> (sempre <code>null</code> aqui — este input não tem <code>clientMutationId</code>). Veja em <code>placeOrder</code> como ler o status do pagamento e os campos de desafio 3DS.</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>PAYMENT_LINK_NOT_FOUND_ERROR</code></td>\n<td>O link não existe na sua loja (ou não é um link de pagamento).</td>\n<td>Confira <code>paymentLinkId</code> com <code>paymentLinks</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Link inexistente, expirado, esgotado (<code>usageLimit</code> atingido) ou pausado. Hoje a mensagem desses casos não é um identificador estável.</td>\n<td>Verifique o link com <code>paymentLink</code> (<code>status</code>, <code>isExpired</code>, <code>isSoldOut</code>) antes de chamar; gere um novo link se necessário.</td>\n</tr>\n<tr>\n<td><code>INVALID_CHECKOUT_TEMPLATE_BUYER_TYPE_ERROR</code></td>\n<td>O tipo de comprador do endereço (PF/PJ via <code>isCommercial</code>) não é aceito por <code>constraints.buyerTypes</code> do link.</td>\n<td>Ajuste <code>isCommercial</code>/<code>taxPayerId</code> ou use um link que aceite esse tipo de comprador.</td>\n</tr>\n<tr>\n<td><code>PLACE_PAYMENT_LINK_ORDER_INVALID_PAYMENT_METHOD_ERROR</code></td>\n<td>O link bloqueia a troca de forma de pagamento e <code>method</code> é diferente de <code>paymentLink.paymentMethod</code>.</td>\n<td>Use o método definido no link.</td>\n</tr>\n<tr>\n<td><code>SHIPMENT_QUOTATION_NOT_FOUND_ERROR</code> / <code>SHIPMENT_METHOD_NOT_FOUND_ERROR</code></td>\n<td>Cotação ou método de envio inválidos para um link com entrega.</td>\n<td>Envie <code>shipmentQuoteId</code>/<code>shipmentMethodId</code> válidos da cotação do link.</td>\n</tr>\n<tr>\n<td><code>PAYMENT_FAILED_ERROR</code></td>\n<td><code>payments[].amount</code> não bate com o total (link + frete − descontos, com juros no cartão parcelado).</td>\n<td>Recalcule <code>amount</code>; no cartão parcelado, use o total com juros de <code>getInstallments</code>.</td>\n</tr>\n<tr>\n<td><code>PAYMENT_METHOD_NOT_ALLOWED_ERROR</code></td>\n<td><code>method</code> não está habilitado na loja.</td>\n<td>Use um método de <code>availablePaymentMethods</code>.</td>\n</tr>\n<tr>\n<td><code>THREE_DS_SETUP_REQUIRED_ERROR</code></td>\n<td>O pagamento exige 3DS e <code>data.threeDSSetup</code> não foi enviado.</td>\n<td>Chame <code>setupPaymentLink3DSTransaction</code>, faça a coleta e reenvie com <code>threeDSSetup</code>.</td>\n</tr>\n<tr>\n<td><code>PLACE_ORDER_FRAUD_SUSPICION</code></td>\n<td>Pagamento bloqueado pela análise antifraude.</td>\n<td>Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.</td>\n</tr>\n<tr>\n<td><code>FORBIDDEN_ERROR</code></td>\n<td>A loja está inativa.</td>\n<td>Contate seu representante Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Campo fora de formato (erro de validação com mensagem descritiva).</td>\n<td>Corrija o <code>input</code> conforme a mensagem.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>).</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Pagamento recusado pelo processador de pagamento (cartão negado etc.).</td>\n<td>Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>GraphQL responde HTTP 200 com <code>errors[]</code> em caso de falha. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não é idempotente.</strong> Um link de pagamento pode gerar vários pedidos (até <code>constraints.usageLimit</code>, se houver): <strong>cada chamada bem-sucedida cria um novo pedido e uma nova cobrança</strong>. Em timeout/erro de rede, consulte antes de repetir — <code>orders</code> com <code>filters.paymentLinkId</code> = o link (e <code>filters.searchField</code> = e-mail do comprador).</li>\n<li><strong>Falha não deixa rastro:</strong> se o pagamento for recusado, nenhum pedido é criado e, no cartão, uma autorização já feita é estornada.</li>\n<li><strong>Efeitos colaterais do sucesso:</strong> cobrança/autorização, registro de uso do link e de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP/plataformas conforme a configuração da loja. Pedidos de link de pagamento <strong>não</strong> movimentam o estoque.</li>\n<li><strong>Links com entrega física exigem cotação de frete</strong> (<code>shipmentQuoteId</code> + <code>shipmentMethodId</code>), e esta API <strong>não expõe</strong> hoje uma operação para gerar a cotação de um link. Na prática, use <code>placePaymentLinkOrder</code> para links sem entrega física (<code>shipping.fulfillmentType: NONE</code>); para links com entrega, direcione o comprador à URL hospedada do link.</li>\n<li><strong>Tipo de comprador:</strong> <code>shipping.address.isCommercial: true</code> identifica pessoa jurídica (CNPJ em <code>taxPayerId</code>); ausente/<code>false</code>, pessoa física (CPF). O link precisa aceitar o tipo correspondente em <code>constraints.buyerTypes</code>.</li>\n<li><strong>O valor cobrado é calculado pela Unbox</strong> a partir do link (itens, frete da cotação, descontos elegíveis e cupom). <code>amount</code> precisa bater com esse total — não é possível cobrar um valor diferente do link.</li>\n<li><strong>Dados de cartão passam pela sua integração</strong> (escopo PCI DSS) — ver folder Orders.</li>\n<li><strong>Token do consumidor expirado:</strong> se o <code>x-customer-token</code> expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem <code>x-customer-token</code> (pedido de convidado).</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bba3cf1e-8a39-4bac-922e-ed644f1cddd5","name":"200 - placePaymentLinkOrder","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 PlacePaymentLinkOrder($input: PlacePaymentLinkOrderInput!) {\n  placePaymentLinkOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"shipping\": {\n      \"address\": {\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"addressName\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"shipmentQuoteId\": \"Example_String\",\n      \"shipmentMethodId\": \"Example_String\"\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"discountCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## placePaymentLinkOrder\n\n**Propósito:** Cria um pedido a partir de um link de pagamento da sua loja e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n**Quando usar:** Quando você renderiza o checkout de um link de pagamento na sua própria interface, em vez de redirecionar o comprador para a URL hospedada do link. Obtenha o link (`paymentLink` / `publicPaymentLink`), colete endereço e pagamento e, para cartão, chame `setupPaymentLink3DSTransaction` com o mesmo `input` **antes**. **Não é idempotente e cobra o comprador** — cada chamada bem-sucedida gera um novo pedido (ver Notas).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. `x-customer-token` **opcional** (`accessToken` do consumidor, sem `Bearer`): com ele, o pedido nasce vinculado à conta do consumidor; sem ele, é um pedido de convidado.\n\n### Argumentos\n\n| Nome                              | Tipo                     | Obrigatório      | Default | Descrição                                                                                                                                                                                                                         |\n| --------------------------------- | ------------------------ | ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.paymentLinkId`             | `String!`                | Sim              | —       | `_id` do link de pagamento. Precisa ser um link da sua loja, não excluído, ativo, não expirado e dentro do limite de uso.                                                                                                         |\n| `input.email`                     | `String!`                | Sim              | —       | E-mail do comprador, usado nas comunicações do pedido.                                                                                                                                                                            |\n| `input.shipping.address`          | `AddressInput!`          | Sim              | —       | Endereço de entrega do comprador. Exige `address1` (até 50 caracteres), `number` (até 6), `city` e `postal`; `region` com 2 letras. `isCommercial: true` (com CNPJ em `taxPayerId`) indica comprador pessoa jurídica — ver Notas. |\n| `input.shipping.shipmentQuoteId`  | `String`                 | Condicional      | —       | ID da cotação de frete do link. Obrigatório quando o link tem entrega física (`shipping.fulfillmentType: SHIPPING`) — ver Notas.                                                                                                  |\n| `input.shipping.shipmentMethodId` | `String`                 | Condicional      | —       | ID do método de envio escolhido dentro dessa cotação. Mesma regra de `shipmentQuoteId`.                                                                                                                                           |\n| `input.payments`                  | `[PaymentInput]`         | Sim (na prática) | —       | **Um** pagamento. Formato de `method`, `amount`, `billingAddress` e `data` em \"Formato de `payments[]`\" no folder Orders.                                                                                                         |\n| `input.device`                    | `DeviceInformationInput` | Condicional      | —       | Dados do navegador do comprador. **Obrigatório quando o 3DS se aplica**; recomendado sempre (antifraude).                                                                                                                         |\n| `input.discountCode`              | `String`                 | Não              | —       | Código de cupom a aplicar sobre o link, se elegível (o desconto entra no total que `payments[].amount` precisa cobrir).                                                                                                           |\n\n### Retorno\n\n`PlaceOrderPayload!` — mesmo formato de `placeOrder`: `orders` (lista com **um** `Order`), `token` (token de acesso anônimo ao pedido, usado pelas páginas da loja) e `clientMutationId` (sempre `null` aqui — este input não tem `clientMutationId`). Veja em `placeOrder` como ler o status do pagamento e os campos de desafio 3DS.\n\n### Erros\n\n| Código                                                                   | Condição                                                                                                                              | O que fazer                                                                                                               |\n| ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `PAYMENT_LINK_NOT_FOUND_ERROR`                                           | O link não existe na sua loja (ou não é um link de pagamento).                                                                        | Confira `paymentLinkId` com `paymentLinks`.                                                                               |\n| _(sem código)_                                                           | Link inexistente, expirado, esgotado (`usageLimit` atingido) ou pausado. Hoje a mensagem desses casos não é um identificador estável. | Verifique o link com `paymentLink` (`status`, `isExpired`, `isSoldOut`) antes de chamar; gere um novo link se necessário. |\n| `INVALID_CHECKOUT_TEMPLATE_BUYER_TYPE_ERROR`                             | O tipo de comprador do endereço (PF/PJ via `isCommercial`) não é aceito por `constraints.buyerTypes` do link.                         | Ajuste `isCommercial`/`taxPayerId` ou use um link que aceite esse tipo de comprador.                                      |\n| `PLACE_PAYMENT_LINK_ORDER_INVALID_PAYMENT_METHOD_ERROR`                  | O link bloqueia a troca de forma de pagamento e `method` é diferente de `paymentLink.paymentMethod`.                                  | Use o método definido no link.                                                                                            |\n| `SHIPMENT_QUOTATION_NOT_FOUND_ERROR` / `SHIPMENT_METHOD_NOT_FOUND_ERROR` | Cotação ou método de envio inválidos para um link com entrega.                                                                        | Envie `shipmentQuoteId`/`shipmentMethodId` válidos da cotação do link.                                                    |\n| `PAYMENT_FAILED_ERROR`                                                   | `payments[].amount` não bate com o total (link + frete − descontos, com juros no cartão parcelado).                                   | Recalcule `amount`; no cartão parcelado, use o total com juros de `getInstallments`.                                      |\n| `PAYMENT_METHOD_NOT_ALLOWED_ERROR`                                       | `method` não está habilitado na loja.                                                                                                 | Use um método de `availablePaymentMethods`.                                                                               |\n| `THREE_DS_SETUP_REQUIRED_ERROR`                                          | O pagamento exige 3DS e `data.threeDSSetup` não foi enviado.                                                                          | Chame `setupPaymentLink3DSTransaction`, faça a coleta e reenvie com `threeDSSetup`.                                       |\n| `PLACE_ORDER_FRAUD_SUSPICION`                                            | Pagamento bloqueado pela análise antifraude.                                                                                          | Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.                                           |\n| `FORBIDDEN_ERROR`                                                        | A loja está inativa.                                                                                                                  | Contate seu representante Unbox.                                                                                          |\n| _(sem código)_                                                           | Campo fora de formato (erro de validação com mensagem descritiva).                                                                    | Corrija o `input` conforme a mensagem.                                                                                    |\n| _(sem código)_                                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                        | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.        |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                      | O consumidor do token nunca fez login na sua loja.                                                                                    | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                           |\n| _(sem código)_                                                           | Pagamento recusado pelo processador de pagamento (cartão negado etc.).                                                                | Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.                                |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não é idempotente.** Um link de pagamento pode gerar vários pedidos (até `constraints.usageLimit`, se houver): **cada chamada bem-sucedida cria um novo pedido e uma nova cobrança**. Em timeout/erro de rede, consulte antes de repetir — `orders` com `filters.paymentLinkId` = o link (e `filters.searchField` = e-mail do comprador).\n- **Falha não deixa rastro:** se o pagamento for recusado, nenhum pedido é criado e, no cartão, uma autorização já feita é estornada.\n- **Efeitos colaterais do sucesso:** cobrança/autorização, registro de uso do link e de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP/plataformas conforme a configuração da loja. Pedidos de link de pagamento **não** movimentam o estoque.\n- **Links com entrega física exigem cotação de frete** (`shipmentQuoteId` + `shipmentMethodId`), e esta API **não expõe** hoje uma operação para gerar a cotação de um link. Na prática, use `placePaymentLinkOrder` para links sem entrega física (`shipping.fulfillmentType: NONE`); para links com entrega, direcione o comprador à URL hospedada do link.\n- **Tipo de comprador:** `shipping.address.isCommercial: true` identifica pessoa jurídica (CNPJ em `taxPayerId`); ausente/`false`, pessoa física (CPF). O link precisa aceitar o tipo correspondente em `constraints.buyerTypes`.\n- **O valor cobrado é calculado pela Unbox** a partir do link (itens, frete da cotação, descontos elegíveis e cupom). `amount` precisa bater com esse total — não é possível cobrar um valor diferente do link.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders.\n- **Token do consumidor expirado:** se o `x-customer-token` expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem `x-customer-token` (pedido de convidado)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"placePaymentLinkOrder\": {\n      \"clientMutationId\": \"Example_String\",\n      \"orders\": [\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      \"token\": \"Example_String\"\n    }\n  }\n}"},{"id":"62cb5e3c-0f51-47b6-a5b1-6d309f6a0a07","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 PlacePaymentLinkOrder($input: PlacePaymentLinkOrderInput!) {\n  placePaymentLinkOrder(input: $input) {\n    clientMutationId\n    orders {\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            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        }\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              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        }\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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    token\n  }\n}","variables":"{\n  \"input\": {\n    \"paymentLinkId\": \"https://exemplo.com\",\n    \"payments\": [\n      {\n        \"amount\": 99.99,\n        \"billingAddress\": {\n          \"address1\": \"Example_String\",\n          \"address2\": \"Example_String\",\n          \"addressName\": \"Example_String\",\n          \"city\": \"Example_String\",\n          \"cityCode\": \"Example_String\",\n          \"company\": \"Example_String\",\n          \"country\": \"BR\",\n          \"firstName\": \"Example_String\",\n          \"fullName\": \"Example_String\",\n          \"isBillingDefault\": true,\n          \"isCommercial\": true,\n          \"isShippingDefault\": true,\n          \"lastName\": \"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          \"neighborhood\": \"Example_String\",\n          \"number\": \"Example_String\",\n          \"phone\": \"+5511999999999\",\n          \"region\": \"Example_String\",\n          \"reference\": \"Example_String\",\n          \"mobile\": \"Example_String\",\n          \"trackByMobile\": true\n        },\n        \"data\": {},\n        \"method\": \"none\"\n      }\n    ],\n    \"shipping\": {\n      \"address\": {\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"addressName\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"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        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"shipmentQuoteId\": \"Example_String\",\n      \"shipmentMethodId\": \"Example_String\"\n    },\n    \"device\": {\n      \"colorDepth\": 10,\n      \"type\": \"BROWSER\",\n      \"javaEnabled\": true,\n      \"userAgent\": \"Example_String\",\n      \"language\": \"Example_String\",\n      \"screenHeight\": 10,\n      \"screenWidth\": 10,\n      \"timezoneOffset\": 10\n    },\n    \"discountCode\": \"Example_String\"\n  }\n}"}},"url":"{{base_url}}","description":"## placePaymentLinkOrder\n\n**Propósito:** Cria um pedido a partir de um link de pagamento da sua loja e processa o pagamento (cartão de crédito, boleto ou Pix). O pedido só é criado se a autorização do pagamento for aceita.\n**Quando usar:** Quando você renderiza o checkout de um link de pagamento na sua própria interface, em vez de redirecionar o comprador para a URL hospedada do link. Obtenha o link (`paymentLink` / `publicPaymentLink`), colete endereço e pagamento e, para cartão, chame `setupPaymentLink3DSTransaction` com o mesmo `input` **antes**. **Não é idempotente e cobra o comprador** — cada chamada bem-sucedida gera um novo pedido (ver Notas).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. `x-customer-token` **opcional** (`accessToken` do consumidor, sem `Bearer`): com ele, o pedido nasce vinculado à conta do consumidor; sem ele, é um pedido de convidado.\n\n### Argumentos\n\n| Nome                              | Tipo                     | Obrigatório      | Default | Descrição                                                                                                                                                                                                                         |\n| --------------------------------- | ------------------------ | ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input.paymentLinkId`             | `String!`                | Sim              | —       | `_id` do link de pagamento. Precisa ser um link da sua loja, não excluído, ativo, não expirado e dentro do limite de uso.                                                                                                         |\n| `input.email`                     | `String!`                | Sim              | —       | E-mail do comprador, usado nas comunicações do pedido.                                                                                                                                                                            |\n| `input.shipping.address`          | `AddressInput!`          | Sim              | —       | Endereço de entrega do comprador. Exige `address1` (até 50 caracteres), `number` (até 6), `city` e `postal`; `region` com 2 letras. `isCommercial: true` (com CNPJ em `taxPayerId`) indica comprador pessoa jurídica — ver Notas. |\n| `input.shipping.shipmentQuoteId`  | `String`                 | Condicional      | —       | ID da cotação de frete do link. Obrigatório quando o link tem entrega física (`shipping.fulfillmentType: SHIPPING`) — ver Notas.                                                                                                  |\n| `input.shipping.shipmentMethodId` | `String`                 | Condicional      | —       | ID do método de envio escolhido dentro dessa cotação. Mesma regra de `shipmentQuoteId`.                                                                                                                                           |\n| `input.payments`                  | `[PaymentInput]`         | Sim (na prática) | —       | **Um** pagamento. Formato de `method`, `amount`, `billingAddress` e `data` em \"Formato de `payments[]`\" no folder Orders.                                                                                                         |\n| `input.device`                    | `DeviceInformationInput` | Condicional      | —       | Dados do navegador do comprador. **Obrigatório quando o 3DS se aplica**; recomendado sempre (antifraude).                                                                                                                         |\n| `input.discountCode`              | `String`                 | Não              | —       | Código de cupom a aplicar sobre o link, se elegível (o desconto entra no total que `payments[].amount` precisa cobrir).                                                                                                           |\n\n### Retorno\n\n`PlaceOrderPayload!` — mesmo formato de `placeOrder`: `orders` (lista com **um** `Order`), `token` (token de acesso anônimo ao pedido, usado pelas páginas da loja) e `clientMutationId` (sempre `null` aqui — este input não tem `clientMutationId`). Veja em `placeOrder` como ler o status do pagamento e os campos de desafio 3DS.\n\n### Erros\n\n| Código                                                                   | Condição                                                                                                                              | O que fazer                                                                                                               |\n| ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |\n| `PAYMENT_LINK_NOT_FOUND_ERROR`                                           | O link não existe na sua loja (ou não é um link de pagamento).                                                                        | Confira `paymentLinkId` com `paymentLinks`.                                                                               |\n| _(sem código)_                                                           | Link inexistente, expirado, esgotado (`usageLimit` atingido) ou pausado. Hoje a mensagem desses casos não é um identificador estável. | Verifique o link com `paymentLink` (`status`, `isExpired`, `isSoldOut`) antes de chamar; gere um novo link se necessário. |\n| `INVALID_CHECKOUT_TEMPLATE_BUYER_TYPE_ERROR`                             | O tipo de comprador do endereço (PF/PJ via `isCommercial`) não é aceito por `constraints.buyerTypes` do link.                         | Ajuste `isCommercial`/`taxPayerId` ou use um link que aceite esse tipo de comprador.                                      |\n| `PLACE_PAYMENT_LINK_ORDER_INVALID_PAYMENT_METHOD_ERROR`                  | O link bloqueia a troca de forma de pagamento e `method` é diferente de `paymentLink.paymentMethod`.                                  | Use o método definido no link.                                                                                            |\n| `SHIPMENT_QUOTATION_NOT_FOUND_ERROR` / `SHIPMENT_METHOD_NOT_FOUND_ERROR` | Cotação ou método de envio inválidos para um link com entrega.                                                                        | Envie `shipmentQuoteId`/`shipmentMethodId` válidos da cotação do link.                                                    |\n| `PAYMENT_FAILED_ERROR`                                                   | `payments[].amount` não bate com o total (link + frete − descontos, com juros no cartão parcelado).                                   | Recalcule `amount`; no cartão parcelado, use o total com juros de `getInstallments`.                                      |\n| `PAYMENT_METHOD_NOT_ALLOWED_ERROR`                                       | `method` não está habilitado na loja.                                                                                                 | Use um método de `availablePaymentMethods`.                                                                               |\n| `THREE_DS_SETUP_REQUIRED_ERROR`                                          | O pagamento exige 3DS e `data.threeDSSetup` não foi enviado.                                                                          | Chame `setupPaymentLink3DSTransaction`, faça a coleta e reenvie com `threeDSSetup`.                                       |\n| `PLACE_ORDER_FRAUD_SUSPICION`                                            | Pagamento bloqueado pela análise antifraude.                                                                                          | Não repita automaticamente; oriente o comprador a usar outro meio de pagamento.                                           |\n| `FORBIDDEN_ERROR`                                                        | A loja está inativa.                                                                                                                  | Contate seu representante Unbox.                                                                                          |\n| _(sem código)_                                                           | Campo fora de formato (erro de validação com mensagem descritiva).                                                                    | Corrija o `input` conforme a mensagem.                                                                                    |\n| _(sem código)_                                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                        | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.        |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                      | O consumidor do token nunca fez login na sua loja.                                                                                    | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                           |\n| _(sem código)_                                                           | Pagamento recusado pelo processador de pagamento (cartão negado etc.).                                                                | Informe o comprador e ofereça outro cartão ou meio de pagamento; nenhum pedido foi criado.                                |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não é idempotente.** Um link de pagamento pode gerar vários pedidos (até `constraints.usageLimit`, se houver): **cada chamada bem-sucedida cria um novo pedido e uma nova cobrança**. Em timeout/erro de rede, consulte antes de repetir — `orders` com `filters.paymentLinkId` = o link (e `filters.searchField` = e-mail do comprador).\n- **Falha não deixa rastro:** se o pagamento for recusado, nenhum pedido é criado e, no cartão, uma autorização já feita é estornada.\n- **Efeitos colaterais do sucesso:** cobrança/autorização, registro de uso do link e de cupons, e-mails para a loja e o comprador, webhooks de pedido e envio ao ERP/plataformas conforme a configuração da loja. Pedidos de link de pagamento **não** movimentam o estoque.\n- **Links com entrega física exigem cotação de frete** (`shipmentQuoteId` + `shipmentMethodId`), e esta API **não expõe** hoje uma operação para gerar a cotação de um link. Na prática, use `placePaymentLinkOrder` para links sem entrega física (`shipping.fulfillmentType: NONE`); para links com entrega, direcione o comprador à URL hospedada do link.\n- **Tipo de comprador:** `shipping.address.isCommercial: true` identifica pessoa jurídica (CNPJ em `taxPayerId`); ausente/`false`, pessoa física (CPF). O link precisa aceitar o tipo correspondente em `constraints.buyerTypes`.\n- **O valor cobrado é calculado pela Unbox** a partir do link (itens, frete da cotação, descontos elegíveis e cupom). `amount` precisa bater com esse total — não é possível cobrar um valor diferente do link.\n- **Dados de cartão passam pela sua integração** (escopo PCI DSS) — ver folder Orders.\n- **Token do consumidor expirado:** se o `x-customer-token` expirou, a chamada falha. Refaça o login do consumidor ou reenvie sem `x-customer-token` (pedido de convidado)."},"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":"551c66ea-2d40-5815-b73a-33899fb6f884"}],"id":"5b72163c-390c-46a5-b1dc-340587b9ef73","_postman_id":"5b72163c-390c-46a5-b1dc-340587b9ef73","description":""}],"id":"ca7dd782-63ee-4307-b2a6-a8b60f5003a6","description":"<h1 id=\"orders\">Orders</h1>\n<p>Criação e consulta de pedidos da sua loja, em três frentes:</p>\n<ul>\n<li><strong>Visão da loja (pós-compra):</strong> <code>orderByReferenceId</code> (por <code>referenceId</code> público) e <code>orders</code> (lista paginada e filtrável). Use 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.</li>\n<li><strong>Visão do consumidor final:</strong> <code>customerOrderByReferenceId</code> e <code>customerOrders</code> — os pedidos <strong>do comprador autenticado</strong> (exigem o header <code>x-customer-token</code>, ver \"Identidade do consumidor\" abaixo).</li>\n<li><strong>Checkout próprio (criar pedido e pagar):</strong> <code>placeOrder</code> (a partir de um carrinho) e <code>placePaymentLinkOrder</code> (a partir de um link de pagamento), precedidos de <code>setupOrder3DSTransaction</code> / <code>setupPaymentLink3DSTransaction</code> quando o pagamento é com cartão. Use quando você renderiza o checkout na sua própria interface em vez de redirecionar o comprador para a página hospedada (<code>createExternalCheckout</code> / URL do link).</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>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><h3 id=\"campos-do-objeto-customerorder\">Campos do objeto <code>CustomerOrder</code></h3>\n<p>Retornado por <code>customerOrderByReferenceId</code> e por <code>customerOrders</code>. Tem os mesmos campos de <code>Order</code> acima, com duas diferenças:</p>\n<ul>\n<li><strong>Não expõe <code>shopSales</code>.</strong></li>\n<li><strong><code>payments</code> é <code>[CustomerOrderPayment]</code></strong>, cujo <code>status</code> (<code>CustomerPaymentWorkflow</code>) traz apenas <code>status</code>, <code>createdAt</code> e <code>createdBy</code> (sem <code>history</code>) e usa o status <strong>simplificado</strong> abaixo. Os campos de desafio 3DS (<code>threeDSChallengeRequested</code>/<code>threeDSChallengePayload</code>) também não estão disponíveis em <code>CustomerOrderPayment</code> — para eles, use <code>placeOrder</code>/<code>orderByReferenceId</code>.</li>\n</ul>\n<h4 id=\"status-de-pagamento-do-consumidor-customerpaymentstatusenum\">Status de pagamento do consumidor (<code>CustomerPaymentStatusEnum</code>)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Valor</th>\n<th>Agrupa os status de <code>PaymentStatusEnum</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PENDING</code></td>\n<td><code>CREATED</code>, <code>AUTHORIZED</code>, <code>PENDING</code></td>\n</tr>\n<tr>\n<td><code>PAID</code></td>\n<td><code>CAPTURED</code>, <code>PAID</code></td>\n</tr>\n<tr>\n<td><code>CANCELED</code></td>\n<td><code>CANCELED</code>, <code>CHARGED_BACK</code>, <code>EXPIRED</code>, <code>REFUNDED</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>O filtro <code>paymentStatus</code> de <code>customerOrders</code> aceita esses três valores e expande cada um para o grupo correspondente.</p>\n<h2 id=\"paginação-relay-orders-customerorders\">Paginação Relay (<code>orders</code>, <code>customerOrders</code>)</h2>\n<p><code>orders</code> e <code>customerOrders</code> retornam 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=\"identidade-do-consumidor-x-customer-token\">Identidade do consumidor (<code>x-customer-token</code>)</h2>\n<p>Login do consumidor, formato do header e a lista completa de quem o aceita: ver \"Consumidor final (<code>x-customer-token</code>)\" no Overview da collection. Neste folder, quando a operação precisa saber <strong>qual comprador</strong> está agindo, envie também o header <code>x-customer-token</code> (obrigatório ou opcional conforme a tabela):</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operação</th>\n<th><code>x-customer-token</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customerOrders</code>, <code>customerOrderByReferenceId</code></td>\n<td><strong>Obrigatório</strong> — sem ele a chamada falha.</td>\n</tr>\n<tr>\n<td><code>placeOrder</code>, <code>placePaymentLinkOrder</code></td>\n<td>Opcional — com ele, o pedido nasce vinculado à conta do consumidor; sem ele, é um pedido de convidado.</td>\n</tr>\n<tr>\n<td><code>setupOrder3DSTransaction</code>, <code>setupPaymentLink3DSTransaction</code></td>\n<td>Opcional — não altera o 3DS; envie-o apenas se também for enviá-lo no <code>place*</code> correspondente.</td>\n</tr>\n<tr>\n<td><code>orders</code>, <code>orderByReferenceId</code></td>\n<td>Não envie — são a visão da loja. Um token de consumidor enviado aqui pode fazer a chamada falhar (token expirado ou <code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Pedidos de convidado são vinculados à conta do consumidor automaticamente quando ele faz <code>customerPasswordlessSignIn</code> na loja com o mesmo e-mail do pedido. Um token de consumidor que não fez login na sua loja é recusado com <code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code>.</p>\n<h2 id=\"checkout-próprio-fluxo-recomendado\">Checkout próprio: fluxo recomendado</h2>\n<p>Esta é a sequência canônica do checkout nativo (carrinho → <code>placeOrder</code>). Os demais folders e o Overview apenas a resumem.</p>\n<p><strong>Carrinho → <code>placeOrder</code>:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>#</th>\n<th>Operação</th>\n<th>Obrigatório?</th>\n<th>O que faz / observações</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td><code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code></td>\n<td>Opcional</td>\n<td>Login do consumidor <strong>antes</strong> do checkout, se quiser o pedido vinculado à conta dele. Guarde o <code>accessToken</code> para enviar em <code>x-customer-token</code> em <code>applyDiscountCodeToCart</code>, <code>setupOrder3DSTransaction</code> e <code>placeOrder</code>.</td>\n</tr>\n<tr>\n<td>1</td>\n<td><code>createCart</code></td>\n<td>Sim</td>\n<td>Cria o carrinho com os primeiros itens. Guarde <code>cart._id</code> (<code>cartId</code>) e <code>token</code> (<code>cartToken</code>) — o token só é devolvido aqui.</td>\n</tr>\n<tr>\n<td>2</td>\n<td><code>addCartItems</code> (e <code>updateCartItemsQuantity</code> / <code>removeCartItems</code>)</td>\n<td>Conforme necessário</td>\n<td>Ajusta os itens.</td>\n</tr>\n<tr>\n<td>3</td>\n<td><code>setEmailOnAnonymousCart</code></td>\n<td><strong>Opcional</strong></td>\n<td>O <code>placeOrder</code> usa <code>input.order.email</code>, não o e-mail do carrinho. Gravar o e-mail no carrinho serve à recuperação de carrinho abandonado (<code>abandonedCarts</code>).</td>\n</tr>\n<tr>\n<td>4</td>\n<td><code>getAddressByPostalCode</code> → <code>setShippingAddressOnCart</code></td>\n<td><code>setShippingAddressOnCart</code>: Sim; CEP: opcional</td>\n<td>Endereço de entrega (o CEP autocompleta o formulário). É a base da cotação de frete.</td>\n</tr>\n<tr>\n<td>5</td>\n<td><code>updateFulfillmentOptionsForGroup</code></td>\n<td>Sim</td>\n<td>Cota o frete do grupo (<code>cart.checkout.fulfillmentGroups[]._id</code>).</td>\n</tr>\n<tr>\n<td>6</td>\n<td><code>selectFulfillmentOptionForGroup</code></td>\n<td>Sim</td>\n<td>Escolhe o frete. O <code>fulfillmentMethod._id</code> escolhido é o <code>selectedFulfillmentMethodId</code> do <code>placeOrder</code>.</td>\n</tr>\n<tr>\n<td>7</td>\n<td><code>applyDiscountCodeToCart</code></td>\n<td>Opcional</td>\n<td>Cupom. Aplique depois dos itens (as condições são avaliadas sobre o carrinho).</td>\n</tr>\n<tr>\n<td>8</td>\n<td><code>availablePaymentMethods</code> / <code>getInstallments</code></td>\n<td>Sim (para montar o pagamento)</td>\n<td>Métodos habilitados e, para cartão, parcelas e total com juros (é o <code>payments[].amount</code>).</td>\n</tr>\n<tr>\n<td>8a</td>\n<td><code>updateCart</code></td>\n<td><strong>Opcional</strong></td>\n<td>O <code>placeOrder</code> cobra a partir de <code>payments[]</code>, não da forma de pagamento gravada no carrinho. Use <code>updateCart</code> (<code>paymentMethod</code>, <code>numberOfInstallments</code>) quando a loja tiver promoções condicionadas à forma de pagamento — elas são avaliadas sobre o que está gravado no carrinho — ou para o resumo do carrinho já refletir os juros.</td>\n</tr>\n<tr>\n<td>9</td>\n<td><code>setupOrder3DSTransaction</code></td>\n<td>Sim, para cartão</td>\n<td>Com o mesmo <code>input</code> que você enviará ao <code>placeOrder</code> (ver \"Fluxo 3DS\").</td>\n</tr>\n<tr>\n<td>10</td>\n<td><code>placeOrder</code></td>\n<td>Sim</td>\n<td>Cria o pedido e cobra. Não é idempotente (ver Regras de negócio).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Depois: acompanhe o pagamento com <code>orderByReferenceId</code> (ou <code>customerOrderByReferenceId</code>) — boleto, Pix e cartão com desafio 3DS são confirmados de forma assíncrona.</p>\n<p>Use <code>anonymousCartByCartId</code> para ler o carrinho a qualquer momento. <strong>Sempre que itens ou endereço mudarem, repita os passos 5 e 6</strong> — as cotações não se atualizam sozinhas e o <code>placeOrder</code> falha se o carrinho ou o preço do frete escolhido tiverem mudado. Depois do <code>placeOrder</code> o carrinho fica travado e deixa de ser encontrado pelas operações de carrinho.</p>\n<p><strong>Link de pagamento → <code>placePaymentLinkOrder</code>:</strong> obtenha o link (<code>paymentLink</code>/<code>publicPaymentLink</code>), colete endereço e pagamento, chame <code>setupPaymentLink3DSTransaction</code> (cartão) e depois <code>placePaymentLinkOrder</code>.</p>\n<h2 id=\"formato-de-payments\">Formato de <code>payments[]</code></h2>\n<p><code>placeOrder</code>, <code>placePaymentLinkOrder</code> e as duas <code>setup*3DSTransaction</code> recebem <code>payments: [PaymentInput]</code>. Na prática, envie <strong>exatamente um</strong> pagamento.</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>method</code></td>\n<td><code>PaymentMethodName!</code></td>\n<td><code>unboxpay_credit</code>, <code>unboxpay_boleto</code> ou <code>unboxpay_pix</code> — precisa estar em <code>availablePaymentMethods</code>.</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td><code>Float!</code></td>\n<td>Valor a cobrar, <strong>em unidades decimais</strong> (ex.: <code>149.90</code>, não centavos). Precisa bater com o total do pedido calculado pela Unbox; no cartão com juros, é o total <strong>com juros</strong> para o número de parcelas escolhido (o <code>installments[].total</code> de <code>getInstallments</code> para esse total).</td>\n</tr>\n<tr>\n<td><code>billingAddress</code></td>\n<td><code>AddressInput</code></td>\n<td>Endereço de cobrança. <strong>Obrigatório na prática para cartão</strong> (usado na autorização e na análise antifraude) — exige <code>fullName</code>, <code>phone</code>, <code>city</code>, <code>region</code>, <code>country</code>, <code>neighborhood</code>, <code>postal</code>, <code>address1</code>, <code>number</code> e, idealmente, <code>taxPayerId</code> (CPF, ou CNPJ com <code>isCommercial: true</code>).</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td><code>AWSJSON</code></td>\n<td>Dados específicos do método — objeto JSON conforme a tabela abaixo. O campo <code>paymentType</code> é obrigatório e deve ser coerente com <code>method</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>method</code></th>\n<th><code>data</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>unboxpay_credit</code></td>\n<td><code>{ \"paymentType\": \"credit\", \"cardNumber\": \"&lt;só dígitos&gt;\", \"cardHolder\": \"&lt;nome impresso&gt;\", \"expirationMonth\": \"MM\", \"expirationYear\": \"AAAA\", \"securityCode\": \"&lt;CVV&gt;\", \"installments\": &lt;Int, 1 a N&gt;, \"threeDSSetup\": { \"setupId\", \"tokenId\", \"setupUrl\" } }</code> — <code>threeDSSetup</code> só quando o setup 3DS o retornou (ver \"Fluxo 3DS\").</td>\n</tr>\n<tr>\n<td><code>unboxpay_boleto</code></td>\n<td><code>{ \"paymentType\": \"boleto\", \"expirationDate\": \"AAAA-MM-DD\" }</code></td>\n</tr>\n<tr>\n<td><code>unboxpay_pix</code></td>\n<td><code>{ \"paymentType\": \"pix\" }</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Dados de cartão trafegam pela sua integração.</strong> Ao usar checkout próprio com cartão, número, validade e CVV passam pelos seus sistemas — isso coloca a sua integração no escopo de conformidade PCI DSS. Nunca registre esses dados em logs. Se isso não for desejável, use o checkout hospedado (<code>createExternalCheckout</code> ou a URL do link de pagamento).</p>\n</blockquote>\n<h2 id=\"fluxo-3ds-cartão-de-crédito\">Fluxo 3DS (cartão de crédito)</h2>\n<p>A loja pode exigir autenticação 3DS para pagamentos com cartão (a partir de um valor mínimo configurado). O fluxo é:</p>\n<ol>\n<li><strong>Setup (antes do pedido):</strong> chame <code>setupOrder3DSTransaction</code> (carrinho) ou <code>setupPaymentLink3DSTransaction</code> (link) com <strong>o mesmo <code>input</code></strong> que enviará ao <code>place*</code>. A resposta diz se o 3DS se aplica (<code>shouldApply3DS</code>) e, se sim, devolve <code>setup</code> (<code>setupId</code>, <code>tokenId</code>, <code>setupUrl</code>).</li>\n<li><strong>Coleta de dados do dispositivo:</strong> no navegador do comprador, faça um <code>POST</code> (formulário em um <code>iframe</code> oculto) para <code>setup.setupUrl</code> com o campo <code>JWT</code> = <code>setup.tokenId</code>. Dispare essa coleta antes de chamar o <code>place*</code>.</li>\n<li><strong>Pedido:</strong> chame <code>placeOrder</code>/<code>placePaymentLinkOrder</code> com <code>payments[0].data.threeDSSetup</code> = o objeto <code>setup</code> recebido e com <code>device</code> preenchido (dados do navegador do comprador — obrigatório quando há 3DS).</li>\n<li><strong>Desafio (se o emissor pedir):</strong> no pedido retornado, se <code>payments[0].threeDSChallengeRequested</code> for <code>true</code> e <code>payments[0].status.status</code> for <code>PENDING</code>, exiba o desafio ao comprador: <code>POST</code> (formulário em <code>iframe</code>/modal) para <code>threeDSChallengePayload.stepUrl</code> com o campo <code>JWT</code> = <code>threeDSChallengePayload.token</code>. Ao concluir, o navegador é redirecionado para a página de autenticação de pagamento <strong>da loja</strong> — não é uma URL configurável por você.</li>\n<li><strong>Confirmação:</strong> o resultado do desafio chega de forma assíncrona. Consulte o pedido (<code>orderByReferenceId</code>) até <code>payments[0].status.status</code> sair de <code>PENDING</code>.</li>\n</ol>\n<p>Regras:</p>\n<ul>\n<li>Se o 3DS se aplica e você chama <code>place*</code> <strong>sem</strong> <code>threeDSSetup</code>, o pedido é recusado com <code>THREE_DS_SETUP_REQUIRED_ERROR</code>.</li>\n<li>Se você envia <code>threeDSSetup</code> e o 3DS <strong>não</strong> se aplica, ele é simplesmente ignorado.</li>\n<li>Por isso, para cartão, <strong>sempre</strong> chame o <code>setup*</code> antes — é ele quem decide.</li>\n</ul>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ul>\n<li><strong><code>shopId</code> injetado na borda.</strong> Nas operações de consulta (<code>orderByReferenceId</code>, <code>customerOrderByReferenceId</code>, <code>customerOrders</code>) e de checkout (<code>placeOrder</code>, <code>placePaymentLinkOrder</code>) a loja é derivada do seu token — você não envia <code>shopId</code> no nível do pedido. <code>orders</code> nunca teve argumento de loja: já é restrita à loja da sua conta autenticada. <strong>Exceção:</strong> <code>placeOrder</code> ainda pede <code>shopId</code> em cada item de <code>input.order.fulfillmentGroups[]</code> — ver a página da operação.</li>\n<li><strong>Pedido não encontrado é um erro, não um retorno vazio.</strong> <code>orderByReferenceId</code> e <code>customerOrderByReferenceId</code> respondem com erro quando não há pedido correspondente — ver Erros na página de cada operação.</li>\n<li><strong><code>place*</code> não é idempotente.</strong> Cada chamada bem-sucedida de <code>placePaymentLinkOrder</code> cria um novo pedido e uma nova cobrança; em <code>placeOrder</code>, o carrinho fica bloqueado após o pedido, mas chamadas concorrentes com o mesmo carrinho não são deduplicadas. Em caso de timeout ou erro de rede, <strong>consulte o pedido antes de repetir</strong> (<code>orders</code> com <code>filters.searchField</code> = e-mail do comprador, ou <code>customerOrders</code>) — nunca repita às cegas.</li>\n<li><strong>Falha é \"tudo ou nada\".</strong> Se a autorização do pagamento falhar em <code>place*</code>, nenhum pedido fica registrado, o carrinho é liberado para nova tentativa e, no cartão, uma autorização já feita é estornada automaticamente.</li>\n<li><strong>Efeitos colaterais de um <code>place*</code> bem-sucedido:</strong> reserva de estoque dos itens (apenas em <code>placeOrder</code>; pedidos de link de pagamento não movimentam o estoque), registro de uso de cupons/promoções, e-mails de pedido para a loja e para o comprador, disparo dos webhooks de pedido e envio ao ERP/plataformas conforme a configuração da loja.</li>\n<li><strong><code>displayStatus</code> exige o argumento <code>language</code></strong> em todas as operações que retornam pedido. Sem rótulos customizados configurados na loja, ele simplesmente devolve o valor bruto de <code>status</code>.</li>\n</ul>\n","_postman_id":"ca7dd782-63ee-4307-b2a6-a8b60f5003a6"},{"name":"Payments","item":[{"name":"Query","item":[{"name":"[Query] availablePaymentMethods","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 availablePaymentMethods data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"availablePaymentMethods\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"availablePaymentMethods returns valid array structure\", function() {","    const json = pm.response.json();","    const data = json.data.availablePaymentMethods;","    ","    if (data !== null && Array.isArray(data) && data.length > 0) {","        const item = data[0];","        pm.expect(data).to.have.property(\"canRefund\");","        if (data.canRefund !== undefined && data.canRefund !== null) {","            pm.expect(typeof data.canRefund).to.equal(\"boolean\");","        }","        if (data.data !== undefined && data.data !== null) {","            pm.expect(data.data).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"displayName\");","        if (data.displayName !== undefined && data.displayName !== null) {","            pm.expect(typeof data.displayName).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"isEnabled\");","        if (data.isEnabled !== undefined && data.isEnabled !== null) {","            pm.expect(typeof data.isEnabled).to.equal(\"boolean\");","        }","        pm.expect(data).to.have.property(\"name\");","        if (data.name !== undefined && data.name !== null) {","            pm.expect(typeof data.name).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"pluginName\");","        if (data.pluginName !== undefined && data.pluginName !== null) {","            pm.expect(typeof data.pluginName).to.equal(\"string\");","        }","    }","});"]}}],"id":"3761eab3-383d-5d9d-af61-8257186f4b42","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 AvailablePaymentMethods {\n  availablePaymentMethods {\n    canRefund\n    displayName\n    isEnabled\n    name\n    pluginName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"<h2 id=\"availablepaymentmethods\">availablePaymentMethods</h2>\n<p><strong>Propósito:</strong> Lista as formas de pagamento habilitadas na sua loja (cartão de crédito, boleto, Pix).\n<strong>Quando usar:</strong> Na montagem da etapa de pagamento de um checkout próprio, antes de <code>placeOrder</code>/<code>placePaymentLinkOrder</code> — exiba ao comprador apenas os métodos retornados aqui e use o <code>name</code> escolhido em <code>payments[].method</code>. Leitura pura, sem efeitos colaterais; pode ser chamada quantas vezes precisar (o resultado muda apenas quando a configuração da loja muda, então pode ser cacheado).\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Não envie <code>x-customer-token</code>.</p>\n<h3 id=\"argumentos\">Argumentos</h3>\n<p>Nenhum.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>[PaymentMethod]!</code> — uma entrada por método habilitado na loja. Lista vazia (<code>[]</code>) quando a loja não tem nenhum método 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>name</code></td>\n<td><code>PaymentMethodName!</code></td>\n<td>Identificador do método: <code>unboxpay_credit</code> (cartão de crédito), <code>unboxpay_boleto</code> (boleto) ou <code>unboxpay_pix</code> (Pix). Envie este valor em <code>payments[].method</code>.</td>\n</tr>\n<tr>\n<td><code>displayName</code></td>\n<td><code>String!</code></td>\n<td>Nome legível do método. É um rótulo fixo (não traduzido nem customizado pela loja) — prefira montar seus próprios rótulos a partir de <code>name</code>.</td>\n</tr>\n<tr>\n<td><code>isEnabled</code></td>\n<td><code>Boolean!</code></td>\n<td>Sempre <code>true</code> nesta operação (só métodos habilitados são retornados).</td>\n</tr>\n<tr>\n<td><code>canRefund</code></td>\n<td><code>Boolean!</code></td>\n<td>Se o método suporta estorno.</td>\n</tr>\n<tr>\n<td><code>data</code></td>\n<td><code>PaymentMethodData</code></td>\n<td>Reservado — hoje sempre <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>pluginName</code></td>\n<td><code>String!</code></td>\n<td>Identificador técnico do método. Não use em lógica de negócio; baseie-se sempre em <code>name</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>NOT_FOUND</code></td>\n<td>A loja derivada do seu token não foi encontrada.</td>\n<td>Refaça <code>signIn</code>; se persistir, contate seu representante Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente ou inválido, impedindo a derivação da loja.</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><code>none</code> nunca é retornado</strong>, embora exista no enum <code>PaymentMethodName</code>.</li>\n<li><strong>Estar na lista é pré-requisito para pagar.</strong> <code>placeOrder</code>/<code>placePaymentLinkOrder</code> recusam um <code>payments[].method</code> que não esteja habilitado na loja (<code>PAYMENT_METHOD_NOT_ALLOWED_ERROR</code>).</li>\n<li>Para as opções de parcelamento do cartão (<code>unboxpay_credit</code>), use <code>getInstallments</code>.</li>\n<li>Links de pagamento podem restringir o método aceito (ver <code>PaymentLink.paymentMethod</code> / <code>blockPaymentMethodChange</code>): mesmo que a loja aceite vários métodos, um link com método bloqueado só aceita aquele.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"850f281a-9b8e-462c-9578-caeabc20f539","name":"200 - availablePaymentMethods","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 AvailablePaymentMethods {\n  availablePaymentMethods {\n    canRefund\n    displayName\n    isEnabled\n    name\n    pluginName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## availablePaymentMethods\n\n**Propósito:** Lista as formas de pagamento habilitadas na sua loja (cartão de crédito, boleto, Pix).\n**Quando usar:** Na montagem da etapa de pagamento de um checkout próprio, antes de `placeOrder`/`placePaymentLinkOrder` — exiba ao comprador apenas os métodos retornados aqui e use o `name` escolhido em `payments[].method`. Leitura pura, sem efeitos colaterais; pode ser chamada quantas vezes precisar (o resultado muda apenas quando a configuração da loja muda, então pode ser cacheado).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`[PaymentMethod]!` — uma entrada por método habilitado na loja. Lista vazia (`[]`) quando a loja não tem nenhum método configurado.\n\n| Propriedade   | Tipo                 | Descrição                                                                                                                                                    |\n| ------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `name`        | `PaymentMethodName!` | Identificador do método: `unboxpay_credit` (cartão de crédito), `unboxpay_boleto` (boleto) ou `unboxpay_pix` (Pix). Envie este valor em `payments[].method`. |\n| `displayName` | `String!`            | Nome legível do método. É um rótulo fixo (não traduzido nem customizado pela loja) — prefira montar seus próprios rótulos a partir de `name`.                |\n| `isEnabled`   | `Boolean!`           | Sempre `true` nesta operação (só métodos habilitados são retornados).                                                                                        |\n| `canRefund`   | `Boolean!`           | Se o método suporta estorno.                                                                                                                                 |\n| `data`        | `PaymentMethodData`  | Reservado — hoje sempre `null`.                                                                                                                              |\n| `pluginName`  | `String!`            | Identificador técnico do método. Não use em lógica de negócio; baseie-se sempre em `name`.                                                                   |\n\n### Erros\n\n| Código         | Condição                                                            | O que fazer                                                        |\n| -------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `NOT_FOUND`    | A loja derivada do seu token não foi encontrada.                    | Refaça `signIn`; se persistir, contate seu representante Unbox.    |\n| _(sem código)_ | `Authorization` ausente ou inválido, impedindo a derivação da loja. | 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- **`none` nunca é retornado**, embora exista no enum `PaymentMethodName`.\n- **Estar na lista é pré-requisito para pagar.** `placeOrder`/`placePaymentLinkOrder` recusam um `payments[].method` que não esteja habilitado na loja (`PAYMENT_METHOD_NOT_ALLOWED_ERROR`).\n- Para as opções de parcelamento do cartão (`unboxpay_credit`), use `getInstallments`.\n- Links de pagamento podem restringir o método aceito (ver `PaymentLink.paymentMethod` / `blockPaymentMethodChange`): mesmo que a loja aceite vários métodos, um link com método bloqueado só aceita aquele."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"availablePaymentMethods\": [\n      {\n        \"canRefund\": true,\n        \"displayName\": \"Example_String\",\n        \"isEnabled\": true,\n        \"name\": {},\n        \"pluginName\": \"Example_String\"\n      }\n    ]\n  }\n}"},{"id":"cd2ecca6-d414-4a5e-ae43-fdc322b5be67","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 AvailablePaymentMethods {\n  availablePaymentMethods {\n    canRefund\n    displayName\n    isEnabled\n    name\n    pluginName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## availablePaymentMethods\n\n**Propósito:** Lista as formas de pagamento habilitadas na sua loja (cartão de crédito, boleto, Pix).\n**Quando usar:** Na montagem da etapa de pagamento de um checkout próprio, antes de `placeOrder`/`placePaymentLinkOrder` — exiba ao comprador apenas os métodos retornados aqui e use o `name` escolhido em `payments[].method`. Leitura pura, sem efeitos colaterais; pode ser chamada quantas vezes precisar (o resultado muda apenas quando a configuração da loja muda, então pode ser cacheado).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`[PaymentMethod]!` — uma entrada por método habilitado na loja. Lista vazia (`[]`) quando a loja não tem nenhum método configurado.\n\n| Propriedade   | Tipo                 | Descrição                                                                                                                                                    |\n| ------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `name`        | `PaymentMethodName!` | Identificador do método: `unboxpay_credit` (cartão de crédito), `unboxpay_boleto` (boleto) ou `unboxpay_pix` (Pix). Envie este valor em `payments[].method`. |\n| `displayName` | `String!`            | Nome legível do método. É um rótulo fixo (não traduzido nem customizado pela loja) — prefira montar seus próprios rótulos a partir de `name`.                |\n| `isEnabled`   | `Boolean!`           | Sempre `true` nesta operação (só métodos habilitados são retornados).                                                                                        |\n| `canRefund`   | `Boolean!`           | Se o método suporta estorno.                                                                                                                                 |\n| `data`        | `PaymentMethodData`  | Reservado — hoje sempre `null`.                                                                                                                              |\n| `pluginName`  | `String!`            | Identificador técnico do método. Não use em lógica de negócio; baseie-se sempre em `name`.                                                                   |\n\n### Erros\n\n| Código         | Condição                                                            | O que fazer                                                        |\n| -------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `NOT_FOUND`    | A loja derivada do seu token não foi encontrada.                    | Refaça `signIn`; se persistir, contate seu representante Unbox.    |\n| _(sem código)_ | `Authorization` ausente ou inválido, impedindo a derivação da loja. | 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- **`none` nunca é retornado**, embora exista no enum `PaymentMethodName`.\n- **Estar na lista é pré-requisito para pagar.** `placeOrder`/`placePaymentLinkOrder` recusam um `payments[].method` que não esteja habilitado na loja (`PAYMENT_METHOD_NOT_ALLOWED_ERROR`).\n- Para as opções de parcelamento do cartão (`unboxpay_credit`), use `getInstallments`.\n- Links de pagamento podem restringir o método aceito (ver `PaymentLink.paymentMethod` / `blockPaymentMethodChange`): mesmo que a loja aceite vários métodos, um link com método bloqueado só aceita aquele."},"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":"bbee670e-6f79-420a-9577-5600a054b453","name":"Erro - NOT_FOUND","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 AvailablePaymentMethods {\n  availablePaymentMethods {\n    canRefund\n    displayName\n    isEnabled\n    name\n    pluginName\n  }\n}","variables":"{}"}},"url":"{{base_url}}","description":"## availablePaymentMethods\n\n**Propósito:** Lista as formas de pagamento habilitadas na sua loja (cartão de crédito, boleto, Pix).\n**Quando usar:** Na montagem da etapa de pagamento de um checkout próprio, antes de `placeOrder`/`placePaymentLinkOrder` — exiba ao comprador apenas os métodos retornados aqui e use o `name` escolhido em `payments[].method`. Leitura pura, sem efeitos colaterais; pode ser chamada quantas vezes precisar (o resultado muda apenas quando a configuração da loja muda, então pode ser cacheado).\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\nNenhum.\n\n### Retorno\n\n`[PaymentMethod]!` — uma entrada por método habilitado na loja. Lista vazia (`[]`) quando a loja não tem nenhum método configurado.\n\n| Propriedade   | Tipo                 | Descrição                                                                                                                                                    |\n| ------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `name`        | `PaymentMethodName!` | Identificador do método: `unboxpay_credit` (cartão de crédito), `unboxpay_boleto` (boleto) ou `unboxpay_pix` (Pix). Envie este valor em `payments[].method`. |\n| `displayName` | `String!`            | Nome legível do método. É um rótulo fixo (não traduzido nem customizado pela loja) — prefira montar seus próprios rótulos a partir de `name`.                |\n| `isEnabled`   | `Boolean!`           | Sempre `true` nesta operação (só métodos habilitados são retornados).                                                                                        |\n| `canRefund`   | `Boolean!`           | Se o método suporta estorno.                                                                                                                                 |\n| `data`        | `PaymentMethodData`  | Reservado — hoje sempre `null`.                                                                                                                              |\n| `pluginName`  | `String!`            | Identificador técnico do método. Não use em lógica de negócio; baseie-se sempre em `name`.                                                                   |\n\n### Erros\n\n| Código         | Condição                                                            | O que fazer                                                        |\n| -------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| `NOT_FOUND`    | A loja derivada do seu token não foi encontrada.                    | Refaça `signIn`; se persistir, contate seu representante Unbox.    |\n| _(sem código)_ | `Authorization` ausente ou inválido, impedindo a derivação da loja. | 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- **`none` nunca é retornado**, embora exista no enum `PaymentMethodName`.\n- **Estar na lista é pré-requisito para pagar.** `placeOrder`/`placePaymentLinkOrder` recusam um `payments[].method` que não esteja habilitado na loja (`PAYMENT_METHOD_NOT_ALLOWED_ERROR`).\n- Para as opções de parcelamento do cartão (`unboxpay_credit`), use `getInstallments`.\n- Links de pagamento podem restringir o método aceito (ver `PaymentLink.paymentMethod` / `blockPaymentMethodChange`): mesmo que a loja aceite vários métodos, um link com método bloqueado só aceita aquele."},"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\": \"Not found\",\n      \"extensions\": {\n        \"code\": \"NOT_FOUND\"\n      }\n    }\n  ]\n}"}],"_postman_id":"3761eab3-383d-5d9d-af61-8257186f4b42"}],"id":"4e21f4cf-8bc0-4852-97f1-642b3b7d4a03","_postman_id":"4e21f4cf-8bc0-4852-97f1-642b3b7d4a03","description":""}],"id":"001ad286-8c49-4fe2-9afe-ef1cb446cb94","description":"<h1 id=\"payments\">Payments</h1>\n<p>Descoberta das formas de pagamento habilitadas na sua loja. Use antes de montar a etapa de pagamento de um checkout próprio (<code>placeOrder</code> / <code>placePaymentLinkOrder</code>, folder Orders) para exibir ao comprador apenas os métodos que a loja aceita — e, junto com <code>getInstallments</code> (folder Unbox Pay), as opções de parcelamento no cartão.</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>PaymentMethodName</code></td>\n<td><code>unboxpay_credit</code>, <code>unboxpay_boleto</code>, <code>unboxpay_pix</code>, <code>none</code></td>\n<td>Identificador de um método de pagamento. É o valor que vai em <code>payments[].method</code> de <code>placeOrder</code>/<code>placePaymentLinkOrder</code>.</td>\n</tr>\n<tr>\n<td><code>PaymentMethod</code></td>\n<td><code>name</code>, <code>displayName</code>, <code>isEnabled</code>, <code>canRefund</code>, <code>data</code>, <code>pluginName</code></td>\n<td>Um método de pagamento disponível na loja — ver a operação <code>availablePaymentMethods</code> para o significado de cada campo.</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>Os métodos disponíveis são configuração da loja</strong>, não argumento da chamada. Para habilitar/desabilitar um método, fale com seu contato Unbox.</li>\n<li><strong><code>availablePaymentMethods</code> é a fonte da verdade para o checkout.</strong> Um <code>placeOrder</code>/<code>placePaymentLinkOrder</code> com um <code>payments[].method</code> que não esteja nesta lista é recusado.</li>\n<li><strong><code>none</code> nunca aparece na lista</strong> — ele existe no enum, mas não é um método de pagamento que a loja possa habilitar.</li>\n<li><strong><code>shopId</code> injetado na borda.</strong> A loja é derivada do seu <code>access_token</code>; não há argumento de loja.</li>\n</ul>\n","_postman_id":"001ad286-8c49-4fe2-9afe-ef1cb446cb94"},{"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    titleLabel\n    highlightLabel\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      titleLabel\n      highlightLabel\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":"50d7653b-3d90-4401-bcc8-38ca739940ff","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    titleLabel\n    highlightLabel\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      titleLabel\n      highlightLabel\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      \"titleLabel\": \"Example_String\",\n      \"highlightLabel\": \"Example_String\",\n      \"type\": \"SIMPLE\",\n      \"publishedAt\": \"2025-01-15T10:00:00Z\",\n      \"publishedProductHash\": \"Example_String\",\n      \"shop\": {\n        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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          \"titleLabel\": \"Example_String\",\n          \"highlightLabel\": \"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":"1067f65a-341a-42cc-81d8-366dbe4a01b7","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    titleLabel\n    highlightLabel\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      titleLabel\n      highlightLabel\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":"eb49bc09-fd7b-4857-8b33-d595464001d6","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    titleLabel\n    highlightLabel\n    type\n    publishedAt\n    publishedProductHash\n    shop {\n      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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      titleLabel\n      highlightLabel\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        titleLabel\n        highlightLabel\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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      titleLabel\n      highlightLabel\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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":"db49d0da-ce21-4168-b1fb-403cecb17b7e","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        titleLabel\n        highlightLabel\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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      titleLabel\n      highlightLabel\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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          \"titleLabel\": \"Example_String\",\n          \"highlightLabel\": \"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":"aed715a8-eb22-45cc-a1cf-69fc8e721d55","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        titleLabel\n        highlightLabel\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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      titleLabel\n      highlightLabel\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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":"75dc0c7a-7288-461b-b6d4-33e35c7154ac","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        titleLabel\n        highlightLabel\n        type\n        publishedAt\n        publishedProductHash\n        shop {\n          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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      titleLabel\n      highlightLabel\n      type\n      publishedAt\n      publishedProductHash\n      shop {\n        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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        titleLabel\n        highlightLabel\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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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":"69278772-10a4-4ef9-b87a-ba48b6f2aebb","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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":"32704df6-0897-440c-8efe-94fb58b81faa","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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":"5838ec23-b8c9-40b1-bb67-cf6003fbc91f","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\n        startCursor\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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":"d43cc14d-3919-45de-9356-5e603619e089","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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":"b5423769-f997-4e54-81e3-e6f3e607cd9f","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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":"5b8dada7-eb6b-4ce7-9ced-eb40be1d9759","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\n          startCursor\n          endCursor\n        }\n        totalCount\n        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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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":"e2c81299-524b-429f-91c8-a34d1fa0275f","_postman_id":"e2c81299-524b-429f-91c8-a34d1fa0275f","description":""}],"id":"4d59d1e9-8937-49f1-b835-06c416ff4eeb","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":"4d59d1e9-8937-49f1-b835-06c416ff4eeb"},{"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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"searchField\": \"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=\"shoprecurringorders\">shopRecurringOrders</h2>\n<p><strong>Propósito:</strong> Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status, por período de criação e por busca de texto (código, e-mail ou nome do cliente).\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>filters.searchField</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Busca por texto: casa o <code>_id</code> exato ou trecho do <code>referenceId</code> e, com 3 caracteres ou mais, trecho do e-mail do cliente ou do nome do destinatário da entrega. Sem diferenciar maiúsculas; combina com os demais filtros.</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[].customer</code></td>\n<td><code>RecurringOrderCustomer!</code></td>\n<td>Cliente da assinatura: <code>email</code> (e-mail da conta; <code>null</code> se a conta foi excluída) e <code>name</code> (nome do destinatário do endereço de entrega).</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":"f27a7932-7ab5-4e69-9377-5a8e3b8bb81e","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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"searchField\": \"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":"## shopRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status, por período de criação e por busca de texto (código, e-mail ou nome do cliente).\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| `filters.searchField` | `String`                         | Não         | —           | Busca por texto: casa o `_id` exato ou trecho do `referenceId` e, com 3 caracteres ou mais, trecho do e-mail do cliente ou do nome do destinatário da entrega. Sem diferenciar maiúsculas; combina com os demais filtros. |\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[].customer`                        | `RecurringOrderCustomer!`      | Cliente da assinatura: `email` (e-mail da conta; `null` se a conta foi excluída) e `name` (nome do destinatário do endereço de entrega).                                                                                                                                                                                                                                                   |\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          \"numberOfInstallments\": 10\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"c58732d9-a0df-4f29-821d-130ed166f7a0","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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"searchField\": \"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":"## shopRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status, por período de criação e por busca de texto (código, e-mail ou nome do cliente).\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| `filters.searchField` | `String`                         | Não         | —           | Busca por texto: casa o `_id` exato ou trecho do `referenceId` e, com 3 caracteres ou mais, trecho do e-mail do cliente ou do nome do destinatário da entrega. Sem diferenciar maiúsculas; combina com os demais filtros. |\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[].customer`                        | `RecurringOrderCustomer!`      | Cliente da assinatura: `email` (e-mail da conta; `null` se a conta foi excluída) e `name` (nome do destinatário do endereço de entrega).                                                                                                                                                                                                                                                   |\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":"b013cf7e-b0e6-4649-9414-9efa4f40599f","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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"searchField\": \"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":"## shopRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) da loja autenticada, com filtros por status, por período de criação e por busca de texto (código, e-mail ou nome do cliente).\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| `filters.searchField` | `String`                         | Não         | —           | Busca por texto: casa o `_id` exato ou trecho do `referenceId` e, com 3 caracteres ou mais, trecho do e-mail do cliente ou do nome do destinatário da entrega. Sem diferenciar maiúsculas; combina com os demais filtros. |\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[].customer`                        | `RecurringOrderCustomer!`      | Cliente da assinatura: `email` (e-mail da conta; `null` se a conta foi excluída) e `name` (nome do destinatário do endereço de entrega).                                                                                                                                                                                                                                                   |\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] customerRecurringOrders","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 customerRecurringOrders data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerRecurringOrders\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customerRecurringOrders returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.customerRecurringOrders;","    ","    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":"742cc8f6-7719-5230-86a2-d9531495ded1","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 CustomerRecurringOrders($filters: CustomerRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  customerRecurringOrders(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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"shopIds\": [\n      \"Example_String\"\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=\"customerrecurringorders\">customerRecurringOrders</h2>\n<p><strong>Propósito:</strong> Lista as assinaturas (recurring orders) do consumidor autenticado, com filtros por status e período de criação.\n<strong>Quando usar:</strong> Na área \"Minhas assinaturas\" do seu canal, para mostrar ao consumidor as assinaturas dele e obter o <code>_id</code> necessário para as mutations <code>customer*</code> (pausar, pular ciclo, trocar itens, cartão, endereço, frequência, cancelar). Para a visão de todas as assinaturas da loja, use <code>shopRecurringOrders</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. A conta do consumidor é resolvida pelo token; não há argumento de conta.</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>CustomerRecurringOrdersFilterInput</code></td>\n<td>Não</td>\n<td><code>null</code></td>\n<td>Filtros da listagem.</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\".</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>filters.shopIds</code></td>\n<td><code>[String]</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td>Envie sempre <code>[&lt;_id da sua loja&gt;]</code> (disponível em <code>shopBySlug</code> → <code>_id</code>).</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 (1–50). 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 (1–50). 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>, com a mesma estrutura descrita em <code>shopRecurringOrders</code>. Campos mais usados na visão do consumidor:</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 — é o <code>recurringOrderId</code> das mutations <code>customer*</code> e de <code>customerRecurringOrderCycles</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].referenceId</code></td>\n<td><code>String!</code></td>\n<td>Identificador amigável, para exibir ao consumidor e usar em <code>customerRecurringOrderByReferenceId</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].shopId</code></td>\n<td><code>String!</code></td>\n<td>Loja da assinatura.</td>\n</tr>\n<tr>\n<td><code>nodes[].status.value</code></td>\n<td><code>RecurringOrderStatusEnum!</code></td>\n<td>Status atual.</td>\n</tr>\n<tr>\n<td><code>nodes[].frequency</code></td>\n<td><code>RecurringOrderFrequency!</code></td>\n<td>Frequência vigente.</td>\n</tr>\n<tr>\n<td><code>nodes[].cyclesInformation.nextCycleDate</code> / <code>lastCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Próxima e última data de ciclo.</td>\n</tr>\n<tr>\n<td><code>nodes[].items[]</code></td>\n<td><code>[RecurringOrderItem]!</code></td>\n<td>Itens que compõem os próximos ciclos.</td>\n</tr>\n<tr>\n<td><code>nodes[].unboxPayCustomerCreditCard</code></td>\n<td><code>RecurringOrderCreditCard!</code></td>\n<td>Cartão da cobrança (<code>last4Digits</code>, validade, titular) — nunca o número completo.</td>\n</tr>\n<tr>\n<td><code>nodes[].shippingAddressBook</code></td>\n<td><code>Address</code></td>\n<td>Endereço de entrega. <code>null</code> se não houver.</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 (aproximada — ver <code>shopRecurringOrders</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<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>/<code>last</code> fora do intervalo de 1 a 50, ou outro argumento fora do formato esperado.</td>\n<td>Corrija o valor conforme a tabela de argumentos; verifique <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Envie sempre <code>filters.shopIds</code> com o <code>_id</code> da sua loja.</strong></li>\n<li><strong>Sem <code>filters.status</code>, a chamada retorna assinaturas em qualquer status</strong>, inclusive <code>CANCELED</code>. Para a lista de \"assinaturas vigentes\", envie <code>status: [ACTIVE, PAUSED, ERROR]</code>.</li>\n<li><strong>Ordenação hoje é fixa por <code>createdAt</code>.</strong></li>\n<li>Para o histórico de cobranças de uma assinatura, use <code>customerRecurringOrderCycles</code> com o <code>_id</code> dela.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"98c3fdf3-35f0-4a27-b46b-4d155e036e61","name":"200 - customerRecurringOrders","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 CustomerRecurringOrders($filters: CustomerRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  customerRecurringOrders(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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"shopIds\": [\n      \"Example_String\"\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":"## customerRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) do consumidor autenticado, com filtros por status e período de criação.\n**Quando usar:** Na área \"Minhas assinaturas\" do seu canal, para mostrar ao consumidor as assinaturas dele e obter o `_id` necessário para as mutations `customer*` (pausar, pular ciclo, trocar itens, cartão, endereço, frequência, cancelar). Para a visão de todas as assinaturas da loja, use `shopRecurringOrders`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A conta do consumidor é resolvida pelo token; não há argumento de conta.\n\n### Argumentos\n\n| Nome                | Tipo                                 | Obrigatório      | Default     | Descrição                                                                                               |\n| ------------------- | ------------------------------------ | ---------------- | ----------- | ------------------------------------------------------------------------------------------------------- |\n| `filters`           | `CustomerRecurringOrdersFilterInput` | Não              | `null`      | Filtros da listagem.                                                                                    |\n| `filters.status`    | `[RecurringOrderStatusEnum]`         | Não              | —           | Filtra por uma lista de status (`ACTIVE`, `CANCELED`, `PAUSED`, `ERROR`) — combina com \"ou\".            |\n| `filters.createdAt` | `DateFilterInput`                    | Não              | —           | Filtra por período de criação: `{ gte: AWSDateTime, lte: AWSDateTime }`, ambos opcionais e combináveis. |\n| `filters.shopIds`   | `[String]`                           | Sim (na prática) | —           | Envie sempre `[<_id da sua loja>]` (disponível em `shopBySlug` → `_id`).                                |\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 (1–50). Usado com `after` ou `offset`.                                  |\n| `last`              | `Int`                                | Não              | —           | Quantidade máxima de resultados (1–50). 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`, com a mesma estrutura descrita em `shopRecurringOrders`. Campos mais usados na visão do consumidor:\n\n| Propriedade                                                 | Tipo                        | Descrição                                                                                                           |\n| ----------------------------------------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| `nodes[]._id`                                               | `ID!`                       | Identificador da assinatura — é o `recurringOrderId` das mutations `customer*` e de `customerRecurringOrderCycles`. |\n| `nodes[].referenceId`                                       | `String!`                   | Identificador amigável, para exibir ao consumidor e usar em `customerRecurringOrderByReferenceId`.                  |\n| `nodes[].shopId`                                            | `String!`                   | Loja da assinatura.                                                                                                 |\n| `nodes[].status.value`                                      | `RecurringOrderStatusEnum!` | Status atual.                                                                                                       |\n| `nodes[].frequency`                                         | `RecurringOrderFrequency!`  | Frequência vigente.                                                                                                 |\n| `nodes[].cyclesInformation.nextCycleDate` / `lastCycleDate` | `AWSDateTime`               | Próxima e última data de ciclo.                                                                                     |\n| `nodes[].items[]`                                           | `[RecurringOrderItem]!`     | Itens que compõem os próximos ciclos.                                                                               |\n| `nodes[].unboxPayCustomerCreditCard`                        | `RecurringOrderCreditCard!` | Cartão da cobrança (`last4Digits`, validade, titular) — nunca o número completo.                                    |\n| `nodes[].shippingAddressBook`                               | `Address`                   | Endereço de entrega. `null` se não houver.                                                                          |\n| `nodes[].totalAmount`                                       | `Money!`                    | Estimativa do valor do próximo ciclo (aproximada — ver `shopRecurringOrders`).                                      |\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| _(sem código)_                      | `first`/`last` fora do intervalo de 1 a 50, ou outro argumento fora do formato esperado.           | Corrija o valor conforme a tabela de argumentos; verifique `message`.                                              |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Envie sempre `filters.shopIds` com o `_id` da sua loja.**\n- **Sem `filters.status`, a chamada retorna assinaturas em qualquer status**, inclusive `CANCELED`. Para a lista de \"assinaturas vigentes\", envie `status: [ACTIVE, PAUSED, ERROR]`.\n- **Ordenação hoje é fixa por `createdAt`.**\n- Para o histórico de cobranças de uma assinatura, use `customerRecurringOrderCycles` com o `_id` dela."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerRecurringOrders\": {\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          \"numberOfInstallments\": 10\n        }\n      ],\n      \"pageInfo\": {\n        \"hasNextPage\": false,\n        \"endCursor\": null\n      },\n      \"totalCount\": 10\n    }\n  }\n}"},{"id":"a2efdc27-2493-45d4-9531-81763253c33f","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 CustomerRecurringOrders($filters: CustomerRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  customerRecurringOrders(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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"shopIds\": [\n      \"Example_String\"\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":"## customerRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) do consumidor autenticado, com filtros por status e período de criação.\n**Quando usar:** Na área \"Minhas assinaturas\" do seu canal, para mostrar ao consumidor as assinaturas dele e obter o `_id` necessário para as mutations `customer*` (pausar, pular ciclo, trocar itens, cartão, endereço, frequência, cancelar). Para a visão de todas as assinaturas da loja, use `shopRecurringOrders`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A conta do consumidor é resolvida pelo token; não há argumento de conta.\n\n### Argumentos\n\n| Nome                | Tipo                                 | Obrigatório      | Default     | Descrição                                                                                               |\n| ------------------- | ------------------------------------ | ---------------- | ----------- | ------------------------------------------------------------------------------------------------------- |\n| `filters`           | `CustomerRecurringOrdersFilterInput` | Não              | `null`      | Filtros da listagem.                                                                                    |\n| `filters.status`    | `[RecurringOrderStatusEnum]`         | Não              | —           | Filtra por uma lista de status (`ACTIVE`, `CANCELED`, `PAUSED`, `ERROR`) — combina com \"ou\".            |\n| `filters.createdAt` | `DateFilterInput`                    | Não              | —           | Filtra por período de criação: `{ gte: AWSDateTime, lte: AWSDateTime }`, ambos opcionais e combináveis. |\n| `filters.shopIds`   | `[String]`                           | Sim (na prática) | —           | Envie sempre `[<_id da sua loja>]` (disponível em `shopBySlug` → `_id`).                                |\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 (1–50). Usado com `after` ou `offset`.                                  |\n| `last`              | `Int`                                | Não              | —           | Quantidade máxima de resultados (1–50). 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`, com a mesma estrutura descrita em `shopRecurringOrders`. Campos mais usados na visão do consumidor:\n\n| Propriedade                                                 | Tipo                        | Descrição                                                                                                           |\n| ----------------------------------------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| `nodes[]._id`                                               | `ID!`                       | Identificador da assinatura — é o `recurringOrderId` das mutations `customer*` e de `customerRecurringOrderCycles`. |\n| `nodes[].referenceId`                                       | `String!`                   | Identificador amigável, para exibir ao consumidor e usar em `customerRecurringOrderByReferenceId`.                  |\n| `nodes[].shopId`                                            | `String!`                   | Loja da assinatura.                                                                                                 |\n| `nodes[].status.value`                                      | `RecurringOrderStatusEnum!` | Status atual.                                                                                                       |\n| `nodes[].frequency`                                         | `RecurringOrderFrequency!`  | Frequência vigente.                                                                                                 |\n| `nodes[].cyclesInformation.nextCycleDate` / `lastCycleDate` | `AWSDateTime`               | Próxima e última data de ciclo.                                                                                     |\n| `nodes[].items[]`                                           | `[RecurringOrderItem]!`     | Itens que compõem os próximos ciclos.                                                                               |\n| `nodes[].unboxPayCustomerCreditCard`                        | `RecurringOrderCreditCard!` | Cartão da cobrança (`last4Digits`, validade, titular) — nunca o número completo.                                    |\n| `nodes[].shippingAddressBook`                               | `Address`                   | Endereço de entrega. `null` se não houver.                                                                          |\n| `nodes[].totalAmount`                                       | `Money!`                    | Estimativa do valor do próximo ciclo (aproximada — ver `shopRecurringOrders`).                                      |\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| _(sem código)_                      | `first`/`last` fora do intervalo de 1 a 50, ou outro argumento fora do formato esperado.           | Corrija o valor conforme a tabela de argumentos; verifique `message`.                                              |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Envie sempre `filters.shopIds` com o `_id` da sua loja.**\n- **Sem `filters.status`, a chamada retorna assinaturas em qualquer status**, inclusive `CANCELED`. Para a lista de \"assinaturas vigentes\", envie `status: [ACTIVE, PAUSED, ERROR]`.\n- **Ordenação hoje é fixa por `createdAt`.**\n- Para o histórico de cobranças de uma assinatura, use `customerRecurringOrderCycles` com o `_id` dela."},"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":"b3949558-3224-4870-af1c-0a4e0e1933ae","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 CustomerRecurringOrders($filters: CustomerRecurringOrdersFilterInput, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrdersSortByField) {\n  customerRecurringOrders(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        customer {\n          email\n          name\n        }\n        discount {\n          discountId\n          code\n        }\n        unboxPayCustomerId\n        referenceId\n        frequency {\n          _id\n          title\n          periodicity\n          interval\n          maxInstallments\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              maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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        numberOfInstallments\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      customer {\n        email\n        name\n      }\n      discount {\n        discountId\n        code\n      }\n      unboxPayCustomerId\n      referenceId\n      frequency {\n        _id\n        title\n        periodicity\n        interval\n        maxInstallments\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            maxInstallments\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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      numberOfInstallments\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    \"shopIds\": [\n      \"Example_String\"\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":"## customerRecurringOrders\n\n**Propósito:** Lista as assinaturas (recurring orders) do consumidor autenticado, com filtros por status e período de criação.\n**Quando usar:** Na área \"Minhas assinaturas\" do seu canal, para mostrar ao consumidor as assinaturas dele e obter o `_id` necessário para as mutations `customer*` (pausar, pular ciclo, trocar itens, cartão, endereço, frequência, cancelar). Para a visão de todas as assinaturas da loja, use `shopRecurringOrders`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A conta do consumidor é resolvida pelo token; não há argumento de conta.\n\n### Argumentos\n\n| Nome                | Tipo                                 | Obrigatório      | Default     | Descrição                                                                                               |\n| ------------------- | ------------------------------------ | ---------------- | ----------- | ------------------------------------------------------------------------------------------------------- |\n| `filters`           | `CustomerRecurringOrdersFilterInput` | Não              | `null`      | Filtros da listagem.                                                                                    |\n| `filters.status`    | `[RecurringOrderStatusEnum]`         | Não              | —           | Filtra por uma lista de status (`ACTIVE`, `CANCELED`, `PAUSED`, `ERROR`) — combina com \"ou\".            |\n| `filters.createdAt` | `DateFilterInput`                    | Não              | —           | Filtra por período de criação: `{ gte: AWSDateTime, lte: AWSDateTime }`, ambos opcionais e combináveis. |\n| `filters.shopIds`   | `[String]`                           | Sim (na prática) | —           | Envie sempre `[<_id da sua loja>]` (disponível em `shopBySlug` → `_id`).                                |\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 (1–50). Usado com `after` ou `offset`.                                  |\n| `last`              | `Int`                                | Não              | —           | Quantidade máxima de resultados (1–50). 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`, com a mesma estrutura descrita em `shopRecurringOrders`. Campos mais usados na visão do consumidor:\n\n| Propriedade                                                 | Tipo                        | Descrição                                                                                                           |\n| ----------------------------------------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| `nodes[]._id`                                               | `ID!`                       | Identificador da assinatura — é o `recurringOrderId` das mutations `customer*` e de `customerRecurringOrderCycles`. |\n| `nodes[].referenceId`                                       | `String!`                   | Identificador amigável, para exibir ao consumidor e usar em `customerRecurringOrderByReferenceId`.                  |\n| `nodes[].shopId`                                            | `String!`                   | Loja da assinatura.                                                                                                 |\n| `nodes[].status.value`                                      | `RecurringOrderStatusEnum!` | Status atual.                                                                                                       |\n| `nodes[].frequency`                                         | `RecurringOrderFrequency!`  | Frequência vigente.                                                                                                 |\n| `nodes[].cyclesInformation.nextCycleDate` / `lastCycleDate` | `AWSDateTime`               | Próxima e última data de ciclo.                                                                                     |\n| `nodes[].items[]`                                           | `[RecurringOrderItem]!`     | Itens que compõem os próximos ciclos.                                                                               |\n| `nodes[].unboxPayCustomerCreditCard`                        | `RecurringOrderCreditCard!` | Cartão da cobrança (`last4Digits`, validade, titular) — nunca o número completo.                                    |\n| `nodes[].shippingAddressBook`                               | `Address`                   | Endereço de entrega. `null` se não houver.                                                                          |\n| `nodes[].totalAmount`                                       | `Money!`                    | Estimativa do valor do próximo ciclo (aproximada — ver `shopRecurringOrders`).                                      |\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| _(sem código)_                      | `first`/`last` fora do intervalo de 1 a 50, ou outro argumento fora do formato esperado.           | Corrija o valor conforme a tabela de argumentos; verifique `message`.                                              |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Envie sempre `filters.shopIds` com o `_id` da sua loja.**\n- **Sem `filters.status`, a chamada retorna assinaturas em qualquer status**, inclusive `CANCELED`. Para a lista de \"assinaturas vigentes\", envie `status: [ACTIVE, PAUSED, ERROR]`.\n- **Ordenação hoje é fixa por `createdAt`.**\n- Para o histórico de cobranças de uma assinatura, use `customerRecurringOrderCycles` com o `_id` dela."},"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":"742cc8f6-7719-5230-86a2-d9531495ded1"},{"name":"[Query] customerRecurringOrderByReferenceId","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 customerRecurringOrderByReferenceId data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerRecurringOrderByReferenceId\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customerRecurringOrderByReferenceId returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.customerRecurringOrderByReferenceId;","    ","    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(\"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\");","        }","        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\");","        }","        pm.expect(data).to.have.property(\"customerAccountId\");","        if (data.customerAccountId !== undefined && data.customerAccountId !== null) {","            pm.expect(typeof data.customerAccountId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"customer\");","        if (data.customer !== undefined && data.customer !== null) {","            pm.expect(data.customer).to.be.an(\"object\");","        }","        if (data.discount !== undefined && data.discount !== null) {","            pm.expect(data.discount).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"unboxPayCustomerId\");","        if (data.unboxPayCustomerId !== undefined && data.unboxPayCustomerId !== null) {","            pm.expect(typeof data.unboxPayCustomerId).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(\"frequency\");","        if (data.frequency !== undefined && data.frequency !== null) {","            pm.expect(data.frequency).to.be.an(\"object\");","        }","    }","});"]}}],"id":"907fc4db-c784-5f48-84ff-6d7cfb540df4","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 CustomerRecurringOrderByReferenceId($referenceId: String!) {\n  customerRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerrecurringorderbyreferenceid\">customerRecurringOrderByReferenceId</h2>\n<p><strong>Propósito:</strong> Retorna uma assinatura (recurring order) do consumidor autenticado a partir do seu <code>referenceId</code> (o identificador amigável).\n<strong>Quando usar:</strong> Quando você tem apenas o identificador exibido ao consumidor (ex.: em um e-mail ou na tela de detalhe) e precisa carregar a assinatura completa — inclusive o <code>_id</code> exigido pelas mutations <code>customer*</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. A busca é restrita às assinaturas do consumidor do token.</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>referenceId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>referenceId</code> da assinatura (campo <code>referenceId</code> retornado por <code>customerRecurringOrders</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura, com a mesma estrutura descrita em <code>shopRecurringOrders</code> (<code>_id</code>, <code>referenceId</code>, <code>shopId</code>, <code>status</code>, <code>frequency</code>, <code>pricingPolicy</code>, <code>cyclesInformation</code>, <code>items</code>, <code>unboxPayCustomerCreditCard</code>, <code>shippingAddressBook</code>, <code>numberOfInstallments</code>, <code>totalAmount</code>, etc.). Nunca retorna <code>null</code>: se não encontrada, a operação falha (ver Erros).</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>Não existe assinatura com esse <code>referenceId</code> pertencente ao consumidor do token.</td>\n<td>Confirme o <code>referenceId</code> com <code>customerRecurringOrders</code>; verifique se o <code>x-customer-token</code> é do consumidor certo.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li>O campo <code>shopId</code> identifica a loja da assinatura.</li>\n<li>A busca é por <code>referenceId</code>, <strong>não</strong> por <code>_id</code>. Para as mutations, use o <code>_id</code> retornado aqui.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0afc683f-e330-4d79-9452-f48e60dac0cd","name":"200 - customerRecurringOrderByReferenceId","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 CustomerRecurringOrderByReferenceId($referenceId: String!) {\n  customerRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerRecurringOrderByReferenceId\n\n**Propósito:** Retorna uma assinatura (recurring order) do consumidor autenticado a partir do seu `referenceId` (o identificador amigável).\n**Quando usar:** Quando você tem apenas o identificador exibido ao consumidor (ex.: em um e-mail ou na tela de detalhe) e precisa carregar a assinatura completa — inclusive o `_id` exigido pelas mutations `customer*`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A busca é restrita às assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome          | Tipo      | Obrigatório | Default | Descrição                                                                                  |\n| ------------- | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------ |\n| `referenceId` | `String!` | Sim         | —       | `referenceId` da assinatura (campo `referenceId` retornado por `customerRecurringOrders`). |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `shopId`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `unboxPayCustomerCreditCard`, `shippingAddressBook`, `numberOfInstallments`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `referenceId` pertencente ao consumidor do token.                   | Confirme o `referenceId` com `customerRecurringOrders`; verifique se o `x-customer-token` é do consumidor certo.   |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- O campo `shopId` identifica a loja da assinatura.\n- A busca é por `referenceId`, **não** por `_id`. Para as mutations, use o `_id` retornado aqui."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerRecurringOrderByReferenceId\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"d38d38a8-0a0d-457a-a80c-ee2f3f1e55d5","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 CustomerRecurringOrderByReferenceId($referenceId: String!) {\n  customerRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerRecurringOrderByReferenceId\n\n**Propósito:** Retorna uma assinatura (recurring order) do consumidor autenticado a partir do seu `referenceId` (o identificador amigável).\n**Quando usar:** Quando você tem apenas o identificador exibido ao consumidor (ex.: em um e-mail ou na tela de detalhe) e precisa carregar a assinatura completa — inclusive o `_id` exigido pelas mutations `customer*`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A busca é restrita às assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome          | Tipo      | Obrigatório | Default | Descrição                                                                                  |\n| ------------- | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------ |\n| `referenceId` | `String!` | Sim         | —       | `referenceId` da assinatura (campo `referenceId` retornado por `customerRecurringOrders`). |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `shopId`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `unboxPayCustomerCreditCard`, `shippingAddressBook`, `numberOfInstallments`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `referenceId` pertencente ao consumidor do token.                   | Confirme o `referenceId` com `customerRecurringOrders`; verifique se o `x-customer-token` é do consumidor certo.   |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- O campo `shopId` identifica a loja da assinatura.\n- A busca é por `referenceId`, **não** por `_id`. Para as mutations, use o `_id` retornado aqui."},"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":"828cfde0-c563-4007-a3aa-99392f1829fa","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 CustomerRecurringOrderByReferenceId($referenceId: String!) {\n  customerRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerRecurringOrderByReferenceId\n\n**Propósito:** Retorna uma assinatura (recurring order) do consumidor autenticado a partir do seu `referenceId` (o identificador amigável).\n**Quando usar:** Quando você tem apenas o identificador exibido ao consumidor (ex.: em um e-mail ou na tela de detalhe) e precisa carregar a assinatura completa — inclusive o `_id` exigido pelas mutations `customer*`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A busca é restrita às assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome          | Tipo      | Obrigatório | Default | Descrição                                                                                  |\n| ------------- | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------ |\n| `referenceId` | `String!` | Sim         | —       | `referenceId` da assinatura (campo `referenceId` retornado por `customerRecurringOrders`). |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `shopId`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `unboxPayCustomerCreditCard`, `shippingAddressBook`, `numberOfInstallments`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `referenceId` pertencente ao consumidor do token.                   | Confirme o `referenceId` com `customerRecurringOrders`; verifique se o `x-customer-token` é do consumidor certo.   |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- O campo `shopId` identifica a loja da assinatura.\n- A busca é por `referenceId`, **não** por `_id`. Para as mutations, use o `_id` retornado aqui."},"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":"907fc4db-c784-5f48-84ff-6d7cfb540df4"},{"name":"[Query] shopRecurringOrderById","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 shopRecurringOrderById data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"shopRecurringOrderById\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"shopRecurringOrderById returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.shopRecurringOrderById;","    ","    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(\"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\");","        }","        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\");","        }","        pm.expect(data).to.have.property(\"customerAccountId\");","        if (data.customerAccountId !== undefined && data.customerAccountId !== null) {","            pm.expect(typeof data.customerAccountId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"customer\");","        if (data.customer !== undefined && data.customer !== null) {","            pm.expect(data.customer).to.be.an(\"object\");","        }","        if (data.discount !== undefined && data.discount !== null) {","            pm.expect(data.discount).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"unboxPayCustomerId\");","        if (data.unboxPayCustomerId !== undefined && data.unboxPayCustomerId !== null) {","            pm.expect(typeof data.unboxPayCustomerId).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(\"frequency\");","        if (data.frequency !== undefined && data.frequency !== null) {","            pm.expect(data.frequency).to.be.an(\"object\");","        }","    }","});"]}}],"id":"95fe0b58-17ab-56b3-8cb8-cee47f6ce00a","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 ShopRecurringOrderById($recurringOrderId: String!) {\n  shopRecurringOrderById(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"shoprecurringorderbyid\">shopRecurringOrderById</h2>\n<p><strong>Propósito:</strong> Retorna uma assinatura (recurring order) da loja autenticada a partir do seu <code>_id</code>.\n<strong>Quando usar:</strong> Quando você já tem o <code>_id</code> da assinatura — por exemplo, o campo <code>recurringOrderId</code> de um pedido gerado por um ciclo, ou o <code>_id</code> retornado por <code>shopRecurringOrders</code> — e precisa carregar a assinatura completa sem paginar a listagem.\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>recurringOrderId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> da assinatura (o mesmo valor de <code>recurringOrderId</code> nos pedidos gerados pela assinatura). Não pode ser vazio.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura, com a mesma estrutura descrita em <code>shopRecurringOrders</code> (<code>_id</code>, <code>referenceId</code>, <code>customerAccountId</code>, <code>customer</code>, <code>status</code>, <code>frequency</code>, <code>pricingPolicy</code>, <code>cyclesInformation</code>, <code>items</code>, <code>shippingAddressBook</code>, <code>totalAmount</code>, etc.). Nunca retorna <code>null</code>: se não encontrada, a operação falha (ver Erros).</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>Não existe assinatura com esse <code>_id</code> na sua loja (inclui <code>_id</code> de assinatura de outra loja).</td>\n<td>Confirme o <code>_id</code> com <code>shopRecurringOrders</code>; se você só tem o código amigável, use <code>shopRecurringOrderByReferenceId</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>recurringOrderId</code> vazio: <code>message</code> indica que o campo não pode ser vazio.</td>\n<td>Envie um <code>_id</code> não vazio.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o <code>signIn</code>; se persistir, peça à Unbox para revisar as permissões da sua conta.</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>A busca é por <code>_id</code>, <strong>não</strong> por <code>referenceId</code>. Para o identificador amigável, use <code>shopRecurringOrderByReferenceId</code>.</li>\n<li>Para o histórico de cobranças da assinatura, use <code>shopRecurringOrderCycles</code> com o mesmo <code>_id</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d9df4e39-456b-497c-8f9b-b2535bd20e90","name":"200 - shopRecurringOrderById","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 ShopRecurringOrderById($recurringOrderId: String!) {\n  shopRecurringOrderById(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderById\n\n**Propósito:** Retorna uma assinatura (recurring order) da loja autenticada a partir do seu `_id`.\n**Quando usar:** Quando você já tem o `_id` da assinatura — por exemplo, o campo `recurringOrderId` de um pedido gerado por um ciclo, ou o `_id` retornado por `shopRecurringOrders` — e precisa carregar a assinatura completa sem paginar a listagem.\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| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (o mesmo valor de `recurringOrderId` nos pedidos gerados pela assinatura). Não pode ser vazio. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `customerAccountId`, `customer`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `shippingAddressBook`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                                             | O que fazer                                                                                                          |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `_id` na sua loja (inclui `_id` de assinatura de outra loja).                         | Confirme o `_id` com `shopRecurringOrders`; se você só tem o código amigável, use `shopRecurringOrderByReferenceId`. |\n| _(sem código)_                                           | `recurringOrderId` vazio: `message` indica que o campo não pode ser vazio.                                           | Envie um `_id` não vazio.                                                                                            |\n| _(sem código)_                                           | Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a `message` indica não autorizado). | Refaça o `signIn`; se persistir, peça à Unbox para revisar as permissões da sua conta.                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- A busca é por `_id`, **não** por `referenceId`. Para o identificador amigável, use `shopRecurringOrderByReferenceId`.\n- Para o histórico de cobranças da assinatura, use `shopRecurringOrderCycles` com o mesmo `_id`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"shopRecurringOrderById\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"4687f1d4-c1de-4927-b253-1c00305cf5c5","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 ShopRecurringOrderById($recurringOrderId: String!) {\n  shopRecurringOrderById(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderById\n\n**Propósito:** Retorna uma assinatura (recurring order) da loja autenticada a partir do seu `_id`.\n**Quando usar:** Quando você já tem o `_id` da assinatura — por exemplo, o campo `recurringOrderId` de um pedido gerado por um ciclo, ou o `_id` retornado por `shopRecurringOrders` — e precisa carregar a assinatura completa sem paginar a listagem.\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| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (o mesmo valor de `recurringOrderId` nos pedidos gerados pela assinatura). Não pode ser vazio. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `customerAccountId`, `customer`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `shippingAddressBook`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                                             | O que fazer                                                                                                          |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `_id` na sua loja (inclui `_id` de assinatura de outra loja).                         | Confirme o `_id` com `shopRecurringOrders`; se você só tem o código amigável, use `shopRecurringOrderByReferenceId`. |\n| _(sem código)_                                           | `recurringOrderId` vazio: `message` indica que o campo não pode ser vazio.                                           | Envie um `_id` não vazio.                                                                                            |\n| _(sem código)_                                           | Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a `message` indica não autorizado). | Refaça o `signIn`; se persistir, peça à Unbox para revisar as permissões da sua conta.                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- A busca é por `_id`, **não** por `referenceId`. Para o identificador amigável, use `shopRecurringOrderByReferenceId`.\n- Para o histórico de cobranças da assinatura, use `shopRecurringOrderCycles` com o mesmo `_id`."},"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":"b1acf660-55c3-4e71-a024-d479f1bb8c22","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 ShopRecurringOrderById($recurringOrderId: String!) {\n  shopRecurringOrderById(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderById\n\n**Propósito:** Retorna uma assinatura (recurring order) da loja autenticada a partir do seu `_id`.\n**Quando usar:** Quando você já tem o `_id` da assinatura — por exemplo, o campo `recurringOrderId` de um pedido gerado por um ciclo, ou o `_id` retornado por `shopRecurringOrders` — e precisa carregar a assinatura completa sem paginar a listagem.\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| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (o mesmo valor de `recurringOrderId` nos pedidos gerados pela assinatura). Não pode ser vazio. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `customerAccountId`, `customer`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `shippingAddressBook`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                                             | O que fazer                                                                                                          |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `_id` na sua loja (inclui `_id` de assinatura de outra loja).                         | Confirme o `_id` com `shopRecurringOrders`; se você só tem o código amigável, use `shopRecurringOrderByReferenceId`. |\n| _(sem código)_                                           | `recurringOrderId` vazio: `message` indica que o campo não pode ser vazio.                                           | Envie um `_id` não vazio.                                                                                            |\n| _(sem código)_                                           | Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a `message` indica não autorizado). | Refaça o `signIn`; se persistir, peça à Unbox para revisar as permissões da sua conta.                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- A busca é por `_id`, **não** por `referenceId`. Para o identificador amigável, use `shopRecurringOrderByReferenceId`.\n- Para o histórico de cobranças da assinatura, use `shopRecurringOrderCycles` com o mesmo `_id`."},"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":"95fe0b58-17ab-56b3-8cb8-cee47f6ce00a"},{"name":"[Query] shopRecurringOrderByReferenceId","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 shopRecurringOrderByReferenceId data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"shopRecurringOrderByReferenceId\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"shopRecurringOrderByReferenceId returns valid structure\", function() {","    const json = pm.response.json();","    const data = json.data.shopRecurringOrderByReferenceId;","    ","    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(\"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\");","        }","        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\");","        }","        pm.expect(data).to.have.property(\"customerAccountId\");","        if (data.customerAccountId !== undefined && data.customerAccountId !== null) {","            pm.expect(typeof data.customerAccountId).to.equal(\"string\");","        }","        pm.expect(data).to.have.property(\"customer\");","        if (data.customer !== undefined && data.customer !== null) {","            pm.expect(data.customer).to.be.an(\"object\");","        }","        if (data.discount !== undefined && data.discount !== null) {","            pm.expect(data.discount).to.be.an(\"object\");","        }","        pm.expect(data).to.have.property(\"unboxPayCustomerId\");","        if (data.unboxPayCustomerId !== undefined && data.unboxPayCustomerId !== null) {","            pm.expect(typeof data.unboxPayCustomerId).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(\"frequency\");","        if (data.frequency !== undefined && data.frequency !== null) {","            pm.expect(data.frequency).to.be.an(\"object\");","        }","    }","});"]}}],"id":"19360d42-2ac5-5e5c-b7cd-35feb24af5d6","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 ShopRecurringOrderByReferenceId($referenceId: String!) {\n  shopRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"shoprecurringorderbyreferenceid\">shopRecurringOrderByReferenceId</h2>\n<p><strong>Propósito:</strong> Retorna uma assinatura (recurring order) da loja autenticada a partir do seu <code>referenceId</code> (o identificador amigável).\n<strong>Quando usar:</strong> Quando você tem apenas o código exibido ao lojista ou ao consumidor (ex.: em um e-mail, no atendimento ou no painel) e precisa carregar a assinatura completa — inclusive o <code>_id</code> usado por <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>referenceId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>referenceId</code> da assinatura (campo <code>referenceId</code> retornado por <code>shopRecurringOrders</code>). Busca exata; não pode ser vazio.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura, com a mesma estrutura descrita em <code>shopRecurringOrders</code> (<code>_id</code>, <code>referenceId</code>, <code>customerAccountId</code>, <code>customer</code>, <code>status</code>, <code>frequency</code>, <code>pricingPolicy</code>, <code>cyclesInformation</code>, <code>items</code>, <code>shippingAddressBook</code>, <code>totalAmount</code>, etc.). Nunca retorna <code>null</code>: se não encontrada, a operação falha (ver Erros).</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>Não existe assinatura com esse <code>referenceId</code> na sua loja (inclui código de assinatura de outra loja).</td>\n<td>Confirme o código; para busca parcial, use <code>shopRecurringOrders</code> com <code>filters.searchField</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>referenceId</code> vazio: <code>message</code> indica que o campo não pode ser vazio.</td>\n<td>Envie um <code>referenceId</code> não vazio.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o <code>signIn</code>; se persistir, peça à Unbox para revisar as permissões da sua conta.</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>A busca é por <code>referenceId</code> exato, <strong>não</strong> por <code>_id</code>. Para o <code>_id</code>, use <code>shopRecurringOrderById</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d1d337d1-2ef3-485e-a0af-c2ef43cf47d9","name":"200 - shopRecurringOrderByReferenceId","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 ShopRecurringOrderByReferenceId($referenceId: String!) {\n  shopRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderByReferenceId\n\n**Propósito:** Retorna uma assinatura (recurring order) da loja autenticada a partir do seu `referenceId` (o identificador amigável).\n**Quando usar:** Quando você tem apenas o código exibido ao lojista ou ao consumidor (ex.: em um e-mail, no atendimento ou no painel) e precisa carregar a assinatura completa — inclusive o `_id` usado por `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| `referenceId` | `String!` | Sim         | —       | `referenceId` da assinatura (campo `referenceId` retornado por `shopRecurringOrders`). Busca exata; não pode ser vazio. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `customerAccountId`, `customer`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `shippingAddressBook`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                                             | O que fazer                                                                                 |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `referenceId` na sua loja (inclui código de assinatura de outra loja).                | Confirme o código; para busca parcial, use `shopRecurringOrders` com `filters.searchField`. |\n| _(sem código)_                                           | `referenceId` vazio: `message` indica que o campo não pode ser vazio.                                                | Envie um `referenceId` não vazio.                                                           |\n| _(sem código)_                                           | Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a `message` indica não autorizado). | Refaça o `signIn`; se persistir, peça à Unbox para revisar as permissões da sua conta.      |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- A busca é por `referenceId` exato, **não** por `_id`. Para o `_id`, use `shopRecurringOrderById`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"shopRecurringOrderByReferenceId\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"2f1c3eee-49ef-42e2-acf2-34a3895373e2","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 ShopRecurringOrderByReferenceId($referenceId: String!) {\n  shopRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderByReferenceId\n\n**Propósito:** Retorna uma assinatura (recurring order) da loja autenticada a partir do seu `referenceId` (o identificador amigável).\n**Quando usar:** Quando você tem apenas o código exibido ao lojista ou ao consumidor (ex.: em um e-mail, no atendimento ou no painel) e precisa carregar a assinatura completa — inclusive o `_id` usado por `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| `referenceId` | `String!` | Sim         | —       | `referenceId` da assinatura (campo `referenceId` retornado por `shopRecurringOrders`). Busca exata; não pode ser vazio. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `customerAccountId`, `customer`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `shippingAddressBook`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                                             | O que fazer                                                                                 |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `referenceId` na sua loja (inclui código de assinatura de outra loja).                | Confirme o código; para busca parcial, use `shopRecurringOrders` com `filters.searchField`. |\n| _(sem código)_                                           | `referenceId` vazio: `message` indica que o campo não pode ser vazio.                                                | Envie um `referenceId` não vazio.                                                           |\n| _(sem código)_                                           | Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a `message` indica não autorizado). | Refaça o `signIn`; se persistir, peça à Unbox para revisar as permissões da sua conta.      |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- A busca é por `referenceId` exato, **não** por `_id`. Para o `_id`, use `shopRecurringOrderById`."},"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":"da701275-049e-4b8f-88f1-d3327295ccb7","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 ShopRecurringOrderByReferenceId($referenceId: String!) {\n  shopRecurringOrderByReferenceId(referenceId: $referenceId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"referenceId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## shopRecurringOrderByReferenceId\n\n**Propósito:** Retorna uma assinatura (recurring order) da loja autenticada a partir do seu `referenceId` (o identificador amigável).\n**Quando usar:** Quando você tem apenas o código exibido ao lojista ou ao consumidor (ex.: em um e-mail, no atendimento ou no painel) e precisa carregar a assinatura completa — inclusive o `_id` usado por `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| `referenceId` | `String!` | Sim         | —       | `referenceId` da assinatura (campo `referenceId` retornado por `shopRecurringOrders`). Busca exata; não pode ser vazio. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura, com a mesma estrutura descrita em `shopRecurringOrders` (`_id`, `referenceId`, `customerAccountId`, `customer`, `status`, `frequency`, `pricingPolicy`, `cyclesInformation`, `items`, `shippingAddressBook`, `totalAmount`, etc.). Nunca retorna `null`: se não encontrada, a operação falha (ver Erros).\n\n### Erros\n\n| Código                                                   | Condição                                                                                                             | O que fazer                                                                                 |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | Não existe assinatura com esse `referenceId` na sua loja (inclui código de assinatura de outra loja).                | Confirme o código; para busca parcial, use `shopRecurringOrders` com `filters.searchField`. |\n| _(sem código)_                                           | `referenceId` vazio: `message` indica que o campo não pode ser vazio.                                                | Envie um `referenceId` não vazio.                                                           |\n| _(sem código)_                                           | Token do parceiro inválido, expirado ou sem permissão de leitura de assinaturas (a `message` indica não autorizado). | Refaça o `signIn`; se persistir, peça à Unbox para revisar as permissões da sua conta.      |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha.\n\n### Notas\n\n- A busca é por `referenceId` exato, **não** por `_id`. Para o `_id`, use `shopRecurringOrderById`."},"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":"19360d42-2ac5-5e5c-b7cd-35feb24af5d6"},{"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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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":"721d2d18-dd4d-4257-b066-6553bf0c4929","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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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":"13f97107-48ed-4bf2-ba13-a8214393e29a","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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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":"7caddeed-3ac4-497d-8306-ef3fe61ef81d","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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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"},{"name":"[Query] customerRecurringOrderCycles","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 customerRecurringOrderCycles data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerRecurringOrderCycles\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});","","pm.test(\"customerRecurringOrderCycles returns valid Connection structure\", function() {","    const json = pm.response.json();","    const data = json.data.customerRecurringOrderCycles;","    ","    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":"4a5e1dd0-c11c-5772-b69e-e03a4af71ac6","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 CustomerRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  customerRecurringOrderCycles(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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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=\"customerrecurringordercycles\">customerRecurringOrderCycles</h2>\n<p><strong>Propósito:</strong> Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) do consumidor autenticado.\n<strong>Quando usar:</strong> Para mostrar ao consumidor o histórico de cobranças e entregas de uma assinatura: o que foi cobrado em cada ciclo, quais foram pulados, quais falharam e por quê, e o pedido (<code>order</code>) gerado por cada ciclo bem-sucedido. Obtenha o <code>_id</code> da assinatura com <code>customerRecurringOrders</code> ou <code>customerRecurringOrderByReferenceId</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. A Unbox confirma que a assinatura pertence ao consumidor do token antes de retornar qualquer ciclo.</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 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 (1–50). 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 (1–50). 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>, com a mesma estrutura descrita em <code>shopRecurringOrderCycles</code>. Campos mais usados na visão do consumidor:</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> / <code>cycleIndex</code></td>\n<td><code>ID!</code> / <code>Int!</code></td>\n<td>Identificador do ciclo e sua posição na sequência (1-based).</td>\n</tr>\n<tr>\n<td><code>nodes[].status.value</code></td>\n<td><code>RecurringOrderCycleStatusEnum!</code></td>\n<td><code>PENDING</code>, <code>SUCCESS</code>, <code>ERROR</code> ou <code>REVIEW_REQUIRED</code>.</td>\n</tr>\n<tr>\n<td><code>nodes[].skipped</code></td>\n<td><code>Boolean!</code></td>\n<td><code>true</code> quando o ciclo foi pulado (ex.: via <code>customerSkipNextRecurringOrderCycle</code>) — sem cobrança nem pedido.</td>\n</tr>\n<tr>\n<td><code>nodes[].error</code></td>\n<td><code>RecurringOrderErrors</code></td>\n<td>Motivo da falha (<code>error.value.type</code>, <code>error.value.message</code>). <code>null</code> em ciclos sem problema.</td>\n</tr>\n<tr>\n<td><code>nodes[].retryAttempt</code></td>\n<td><code>RetryAttempt</code></td>\n<td>Próxima retentativa automática agendada (<code>nextRetryDate</code>) e tentativas já feitas.</td>\n</tr>\n<tr>\n<td><code>nodes[].order</code></td>\n<td><code>Order</code></td>\n<td>Pedido gerado pelo ciclo. <code>null</code> até o ciclo ser concluído com sucesso (e sempre <code>null</code> em ciclos pulados).</td>\n</tr>\n<tr>\n<td><code>nodes[].items[]</code></td>\n<td><code>[RecurringOrderCycleItem]!</code></td>\n<td>Itens do ciclo, com <code>status</code> de disponibilidade (<code>CycleItemStatusEnum</code>), <code>originalPrice</code> e <code>cyclePrice</code>.</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.</td>\n</tr>\n<tr>\n<td><code>nodes[].completedAt</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data de conclusão. <code>null</code> enquanto pendente.</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> (em <code>extensions.code</code>)</td>\n<td><code>filters.recurringOrderId</code> não corresponde a nenhuma assinatura do consumidor do token.</td>\n<td>Confirme o <code>_id</code> com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>filters</code>/<code>filters.recurringOrderId</code> ausente, ou <code>first</code>/<code>last</code> fora de 1 a 50.</td>\n<td>Corrija a chamada conforme a tabela de argumentos; verifique <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Não há filtro por status de ciclo.</strong> Pagine o histórico (<code>first</code>/<code>after</code>) e filtre por <code>nodes[].status.value</code> / <code>nodes[].skipped</code> no seu lado.</li>\n<li><strong><code>pricingPolicy</code>, <code>frequency</code>, <code>items</code> e <code>discount</code> de cada ciclo refletem o que valeu <em>naquele ciclo</em></strong>, não necessariamente a configuração atual da assinatura.</li>\n<li><strong>Ordenação hoje é fixa por <code>createdAt</code>.</strong></li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"15ac6d0c-6df5-4203-9476-1deb3d8c5f66","name":"200 - customerRecurringOrderCycles","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 CustomerRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  customerRecurringOrderCycles(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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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":"## customerRecurringOrderCycles\n\n**Propósito:** Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) do consumidor autenticado.\n**Quando usar:** Para mostrar ao consumidor o histórico de cobranças e entregas de uma assinatura: o que foi cobrado em cada ciclo, quais foram pulados, quais falharam e por quê, e o pedido (`order`) gerado por cada ciclo bem-sucedido. Obtenha o `_id` da assinatura com `customerRecurringOrders` ou `customerRecurringOrderByReferenceId`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A Unbox confirma que a assinatura pertence ao consumidor do token antes de retornar qualquer ciclo.\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 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 (1–50). Usado com `after` ou `offset`.                    |\n| `last`                     | `Int`                              | Não         | —           | Quantidade máxima de resultados (1–50). 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`, com a mesma estrutura descrita em `shopRecurringOrderCycles`. Campos mais usados na visão do consumidor:\n\n| Propriedade                  | Tipo                             | Descrição                                                                                                    |\n| ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| `nodes[]._id` / `cycleIndex` | `ID!` / `Int!`                   | Identificador do ciclo e sua posição na sequência (1-based).                                                 |\n| `nodes[].status.value`       | `RecurringOrderCycleStatusEnum!` | `PENDING`, `SUCCESS`, `ERROR` ou `REVIEW_REQUIRED`.                                                          |\n| `nodes[].skipped`            | `Boolean!`                       | `true` quando o ciclo foi pulado (ex.: via `customerSkipNextRecurringOrderCycle`) — sem cobrança nem pedido. |\n| `nodes[].error`              | `RecurringOrderErrors`           | Motivo da falha (`error.value.type`, `error.value.message`). `null` em ciclos sem problema.                  |\n| `nodes[].retryAttempt`       | `RetryAttempt`                   | Próxima retentativa automática agendada (`nextRetryDate`) e tentativas já feitas.                            |\n| `nodes[].order`              | `Order`                          | Pedido gerado pelo ciclo. `null` até o ciclo ser concluído com sucesso (e sempre `null` em ciclos pulados).  |\n| `nodes[].items[]`            | `[RecurringOrderCycleItem]!`     | Itens do ciclo, com `status` de disponibilidade (`CycleItemStatusEnum`), `originalPrice` e `cyclePrice`.     |\n| `nodes[].totalAmount`        | `Money!`                         | Valor total cobrado neste ciclo.                                                                             |\n| `nodes[].completedAt`        | `AWSDateTime`                    | Data de conclusão. `null` enquanto pendente.                                                                 |\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` (em `extensions.code`) | `filters.recurringOrderId` não corresponde a nenhuma assinatura do consumidor do token.            | Confirme o `_id` com `customerRecurringOrders`.                                                                    |\n| _(sem código)_                                           | `filters`/`filters.recurringOrderId` ausente, ou `first`/`last` fora de 1 a 50.                    | Corrija a chamada conforme a tabela de argumentos; verifique `message`.                                            |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não há filtro por status de ciclo.** Pagine o histórico (`first`/`after`) e filtre por `nodes[].status.value` / `nodes[].skipped` no seu lado.\n- **`pricingPolicy`, `frequency`, `items` e `discount` de cada ciclo refletem o que valeu _naquele ciclo_**, não necessariamente a configuração atual da assinatura.\n- **Ordenação hoje é fixa por `createdAt`.**"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerRecurringOrderCycles\": {\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":"0cd51e36-8ec9-412a-b2e4-f9dee66bb0d2","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 CustomerRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  customerRecurringOrderCycles(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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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":"## customerRecurringOrderCycles\n\n**Propósito:** Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) do consumidor autenticado.\n**Quando usar:** Para mostrar ao consumidor o histórico de cobranças e entregas de uma assinatura: o que foi cobrado em cada ciclo, quais foram pulados, quais falharam e por quê, e o pedido (`order`) gerado por cada ciclo bem-sucedido. Obtenha o `_id` da assinatura com `customerRecurringOrders` ou `customerRecurringOrderByReferenceId`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A Unbox confirma que a assinatura pertence ao consumidor do token antes de retornar qualquer ciclo.\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 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 (1–50). Usado com `after` ou `offset`.                    |\n| `last`                     | `Int`                              | Não         | —           | Quantidade máxima de resultados (1–50). 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`, com a mesma estrutura descrita em `shopRecurringOrderCycles`. Campos mais usados na visão do consumidor:\n\n| Propriedade                  | Tipo                             | Descrição                                                                                                    |\n| ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| `nodes[]._id` / `cycleIndex` | `ID!` / `Int!`                   | Identificador do ciclo e sua posição na sequência (1-based).                                                 |\n| `nodes[].status.value`       | `RecurringOrderCycleStatusEnum!` | `PENDING`, `SUCCESS`, `ERROR` ou `REVIEW_REQUIRED`.                                                          |\n| `nodes[].skipped`            | `Boolean!`                       | `true` quando o ciclo foi pulado (ex.: via `customerSkipNextRecurringOrderCycle`) — sem cobrança nem pedido. |\n| `nodes[].error`              | `RecurringOrderErrors`           | Motivo da falha (`error.value.type`, `error.value.message`). `null` em ciclos sem problema.                  |\n| `nodes[].retryAttempt`       | `RetryAttempt`                   | Próxima retentativa automática agendada (`nextRetryDate`) e tentativas já feitas.                            |\n| `nodes[].order`              | `Order`                          | Pedido gerado pelo ciclo. `null` até o ciclo ser concluído com sucesso (e sempre `null` em ciclos pulados).  |\n| `nodes[].items[]`            | `[RecurringOrderCycleItem]!`     | Itens do ciclo, com `status` de disponibilidade (`CycleItemStatusEnum`), `originalPrice` e `cyclePrice`.     |\n| `nodes[].totalAmount`        | `Money!`                         | Valor total cobrado neste ciclo.                                                                             |\n| `nodes[].completedAt`        | `AWSDateTime`                    | Data de conclusão. `null` enquanto pendente.                                                                 |\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` (em `extensions.code`) | `filters.recurringOrderId` não corresponde a nenhuma assinatura do consumidor do token.            | Confirme o `_id` com `customerRecurringOrders`.                                                                    |\n| _(sem código)_                                           | `filters`/`filters.recurringOrderId` ausente, ou `first`/`last` fora de 1 a 50.                    | Corrija a chamada conforme a tabela de argumentos; verifique `message`.                                            |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não há filtro por status de ciclo.** Pagine o histórico (`first`/`after`) e filtre por `nodes[].status.value` / `nodes[].skipped` no seu lado.\n- **`pricingPolicy`, `frequency`, `items` e `discount` de cada ciclo refletem o que valeu _naquele ciclo_**, não necessariamente a configuração atual da assinatura.\n- **Ordenação hoje é fixa por `createdAt`.**"},"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":"fc9280a5-3e7e-4af5-bc23-fa54190011ae","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 CustomerRecurringOrderCycles($filters: RecurringOrderCyclesFilterInput!, $after: String, $before: String, $first: Int, $last: Int, $offset: Int, $sortOrder: SortOrder, $sortBy: RecurringOrderCyclesSortByField) {\n  customerRecurringOrderCycles(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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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              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        }\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              provider\n              externalId\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            titleLabel\n            highlightLabel\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            titleLabel\n            highlightLabel\n            shortDescription\n            linkedProducts {\n              erpCode\n              productId\n              title\n              label\n              titleLabel\n              highlightLabel\n              shortDescription\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        maxInstallments\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":"## customerRecurringOrderCycles\n\n**Propósito:** Lista o histórico de ciclos (execuções periódicas) de uma assinatura (recurring order) do consumidor autenticado.\n**Quando usar:** Para mostrar ao consumidor o histórico de cobranças e entregas de uma assinatura: o que foi cobrado em cada ciclo, quais foram pulados, quais falharam e por quê, e o pedido (`order`) gerado por cada ciclo bem-sucedido. Obtenha o `_id` da assinatura com `customerRecurringOrders` ou `customerRecurringOrderByReferenceId`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. A Unbox confirma que a assinatura pertence ao consumidor do token antes de retornar qualquer ciclo.\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 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 (1–50). Usado com `after` ou `offset`.                    |\n| `last`                     | `Int`                              | Não         | —           | Quantidade máxima de resultados (1–50). 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`, com a mesma estrutura descrita em `shopRecurringOrderCycles`. Campos mais usados na visão do consumidor:\n\n| Propriedade                  | Tipo                             | Descrição                                                                                                    |\n| ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| `nodes[]._id` / `cycleIndex` | `ID!` / `Int!`                   | Identificador do ciclo e sua posição na sequência (1-based).                                                 |\n| `nodes[].status.value`       | `RecurringOrderCycleStatusEnum!` | `PENDING`, `SUCCESS`, `ERROR` ou `REVIEW_REQUIRED`.                                                          |\n| `nodes[].skipped`            | `Boolean!`                       | `true` quando o ciclo foi pulado (ex.: via `customerSkipNextRecurringOrderCycle`) — sem cobrança nem pedido. |\n| `nodes[].error`              | `RecurringOrderErrors`           | Motivo da falha (`error.value.type`, `error.value.message`). `null` em ciclos sem problema.                  |\n| `nodes[].retryAttempt`       | `RetryAttempt`                   | Próxima retentativa automática agendada (`nextRetryDate`) e tentativas já feitas.                            |\n| `nodes[].order`              | `Order`                          | Pedido gerado pelo ciclo. `null` até o ciclo ser concluído com sucesso (e sempre `null` em ciclos pulados).  |\n| `nodes[].items[]`            | `[RecurringOrderCycleItem]!`     | Itens do ciclo, com `status` de disponibilidade (`CycleItemStatusEnum`), `originalPrice` e `cyclePrice`.     |\n| `nodes[].totalAmount`        | `Money!`                         | Valor total cobrado neste ciclo.                                                                             |\n| `nodes[].completedAt`        | `AWSDateTime`                    | Data de conclusão. `null` enquanto pendente.                                                                 |\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` (em `extensions.code`) | `filters.recurringOrderId` não corresponde a nenhuma assinatura do consumidor do token.            | Confirme o `_id` com `customerRecurringOrders`.                                                                    |\n| _(sem código)_                                           | `filters`/`filters.recurringOrderId` ausente, ou `first`/`last` fora de 1 a 50.                    | Corrija a chamada conforme a tabela de argumentos; verifique `message`.                                            |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Não há filtro por status de ciclo.** Pagine o histórico (`first`/`after`) e filtre por `nodes[].status.value` / `nodes[].skipped` no seu lado.\n- **`pricingPolicy`, `frequency`, `items` e `discount` de cada ciclo refletem o que valeu _naquele ciclo_**, não necessariamente a configuração atual da assinatura.\n- **Ordenação hoje é fixa por `createdAt`.**"},"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":"4a5e1dd0-c11c-5772-b69e-e03a4af71ac6"}],"id":"a7389c63-507d-426e-a4c6-6222043a397d","_postman_id":"a7389c63-507d-426e-a4c6-6222043a397d","description":""},{"name":"Mutation","item":[{"name":"[Mutation] customerUpdateRecurringOrderItems","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 customerUpdateRecurringOrderItems data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerUpdateRecurringOrderItems\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"9a0f01cf-677b-5398-ae98-e0b77ea072a3","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 CustomerUpdateRecurringOrderItems($input: UpdateRecurringOrderItemsInput) {\n  customerUpdateRecurringOrderItems(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"recurringOrderItems\": [\n      {\n        \"productERPCode\": \"Example_String\",\n        \"productId\": \"{{productId}}\",\n        \"variantERPCode\": \"Example_String\",\n        \"variantId\": \"{{variantId}}\",\n        \"productKitId\": \"Example_String\",\n        \"productKitItemsConfigurations\": [\n          {\n            \"productId\": \"{{productId}}\",\n            \"productVariantId\": \"Example_ID\",\n            \"quantity\": 1\n          }\n        ],\n        \"quantity\": 1,\n        \"skipNextCycle\": true\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerupdaterecurringorderitems\">customerUpdateRecurringOrderItems</h2>\n<p><strong>Propósito:</strong> Substitui, em nome do consumidor, a lista de itens de uma assinatura (recurring order) — os itens enviados passam a compor os próximos ciclos.\n<strong>Quando usar:</strong> Quando o consumidor adiciona, remove ou altera a quantidade de produtos da assinatura. Consulte <code>recurringOrdersPolicy.customerActions</code> (<code>canAddProducts</code>, <code>canRemoveProducts</code>, <code>canChangeProductQuantity</code>) e <code>recurringOrdersPolicy.productsPolicy</code> (produtos permitidos em assinatura), em <code>shopBySlug</code>, para saber quais alterações a loja oferece ao consumidor.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível alterar assinaturas do consumidor do token.</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</code></td>\n<td><code>UpdateRecurringOrderItemsInput</code></td>\n<td>Sim (na prática)</td>\n<td>—</td>\n<td>Dados da alteração. O schema o marca como opcional, mas a chamada sem <code>input</code> falha — envie sempre.</td>\n</tr>\n<tr>\n<td><code>input.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>customerRecurringOrders</code>). Não pode estar <code>CANCELED</code>.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems</code></td>\n<td><code>[RecurringOrderItemInput]!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Lista <strong>completa</strong> de itens da assinatura após a alteração (substitui a lista atual — ver Notas).</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems[].productId</code> + <code>variantId</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Item simples/variante identificado pelos IDs Unbox. Envie <strong>os dois juntos</strong>.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems[].productERPCode</code> + <code>variantERPCode</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Alternativa: item identificado pelos códigos de ERP. Envie <strong>os dois juntos</strong>.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems[].productKitId</code></td>\n<td><code>String</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Item do tipo kit. Exige <code>productKitItemsConfigurations</code>.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems[].productKitItemsConfigurations</code></td>\n<td><code>[ProductKitComponentConfigurationInput!]</code></td>\n<td>Condicional</td>\n<td>—</td>\n<td>Obrigatório (mínimo 1) quando há <code>productKitId</code>: um objeto por componente do kit, com <code>productId</code>, <code>productVariantId</code> e <code>quantity</code>.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems[].quantity</code></td>\n<td><code>Int!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Quantidade do item em cada ciclo. Envie um inteiro maior que zero.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderItems[].skipNextCycle</code></td>\n<td><code>Boolean!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>true</code> para não incluir este item apenas no próximo ciclo (volta a <code>false</code> automaticamente depois dele).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Cada item deve ser <strong>ou</strong> um produto/variante (por IDs Unbox ou por códigos de ERP) <strong>ou</strong> um kit — use os <code>_id</code>/códigos retornados pelas queries de catálogo (<code>products</code>, <code>productKits</code>, <code>catalogItems</code>) ou pelos <code>items[]</code> atuais da assinatura.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder</code> — a assinatura já atualizada (estrutura em <code>shopRecurringOrders</code>), com <code>items[]</code> igual à lista enviada (enriquecida com <code>catalogProduct</code> e <code>price</code> do catálogo) e <code>totalAmount</code> recalculado.</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>RECURRING_ORDER_NOT_FOUND_ERROR</code></td>\n<td>A assinatura não existe, não pertence ao consumidor do token ou está <code>CANCELED</code>.</td>\n<td>Confirme o <code>_id</code> e o status com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Item fora do formato: par de IDs incompleto (<code>productId</code> sem <code>variantId</code>, ou <code>productERPCode</code> sem <code>variantERPCode</code>), kit sem <code>productKitItemsConfigurations</code>, <code>quantity</code> ausente.</td>\n<td>Corrija o item conforme a tabela de argumentos; verifique <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Full-replace, não merge.</strong> <code>recurringOrderItems</code> substitui <strong>toda</strong> a lista de itens. Para adicionar um produto, envie os itens atuais (de <code>items[]</code> da assinatura) <strong>mais</strong> o novo; para remover, envie a lista sem ele; para mudar quantidade, envie a lista completa com a nova <code>quantity</code>. Um item omitido é removido da assinatura.</li>\n<li><strong>Idempotente:</strong> reenviar a mesma lista resulta no mesmo estado.</li>\n<li><strong>A validação de disponibilidade acontece no ciclo, não aqui.</strong> A chamada aceita a lista sem verificar estoque nem a política de produtos da loja; no processamento de cada ciclo, itens indisponíveis ou não permitidos em assinatura aparecem com <code>status</code> <code>OUT_OF_STOCK</code>, <code>MISSING</code> ou <code>NOT_ALLOWED</code> (<code>CycleItemStatusEnum</code>) e não são cobrados — se nenhum item puder ser atendido, o ciclo falha. Valide os produtos no seu lado (catálogo + <code>productsPolicy</code>) antes de enviar.</li>\n<li><strong>Não envie lista vazia.</strong> Uma assinatura sem itens não gera pedido nos próximos ciclos; para encerrar, use <code>customerCancelRecurringOrder</code>.</li>\n<li>Vale para os próximos ciclos; ciclos já gerados mantêm seus itens.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"23904644-7881-4cd5-b13a-9d175d6a48d5","name":"200 - customerUpdateRecurringOrderItems","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 CustomerUpdateRecurringOrderItems($input: UpdateRecurringOrderItemsInput) {\n  customerUpdateRecurringOrderItems(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"recurringOrderItems\": [\n      {\n        \"productERPCode\": \"Example_String\",\n        \"productId\": \"{{productId}}\",\n        \"variantERPCode\": \"Example_String\",\n        \"variantId\": \"{{variantId}}\",\n        \"productKitId\": \"Example_String\",\n        \"productKitItemsConfigurations\": [\n          {\n            \"productId\": \"{{productId}}\",\n            \"productVariantId\": \"Example_ID\",\n            \"quantity\": 1\n          }\n        ],\n        \"quantity\": 1,\n        \"skipNextCycle\": true\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderItems\n\n**Propósito:** Substitui, em nome do consumidor, a lista de itens de uma assinatura (recurring order) — os itens enviados passam a compor os próximos ciclos.\n**Quando usar:** Quando o consumidor adiciona, remove ou altera a quantidade de produtos da assinatura. Consulte `recurringOrdersPolicy.customerActions` (`canAddProducts`, `canRemoveProducts`, `canChangeProductQuantity`) e `recurringOrdersPolicy.productsPolicy` (produtos permitidos em assinatura), em `shopBySlug`, para saber quais alterações a loja oferece ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                                            | Tipo                                       | Obrigatório      | Default | Descrição                                                                                                                           |\n| --------------------------------------------------------------- | ------------------------------------------ | ---------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `input`                                                         | `UpdateRecurringOrderItemsInput`           | Sim (na prática) | —       | Dados da alteração. O schema o marca como opcional, mas a chamada sem `input` falha — envie sempre.                                 |\n| `input.recurringOrderId`                                        | `String!`                                  | Sim              | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.                                           |\n| `input.recurringOrderItems`                                     | `[RecurringOrderItemInput]!`               | Sim              | —       | Lista **completa** de itens da assinatura após a alteração (substitui a lista atual — ver Notas).                                   |\n| `input.recurringOrderItems[].productId` + `variantId`           | `String`                                   | Condicional      | —       | Item simples/variante identificado pelos IDs Unbox. Envie **os dois juntos**.                                                       |\n| `input.recurringOrderItems[].productERPCode` + `variantERPCode` | `String`                                   | Condicional      | —       | Alternativa: item identificado pelos códigos de ERP. Envie **os dois juntos**.                                                      |\n| `input.recurringOrderItems[].productKitId`                      | `String`                                   | Condicional      | —       | Item do tipo kit. Exige `productKitItemsConfigurations`.                                                                            |\n| `input.recurringOrderItems[].productKitItemsConfigurations`     | `[ProductKitComponentConfigurationInput!]` | Condicional      | —       | Obrigatório (mínimo 1) quando há `productKitId`: um objeto por componente do kit, com `productId`, `productVariantId` e `quantity`. |\n| `input.recurringOrderItems[].quantity`                          | `Int!`                                     | Sim              | —       | Quantidade do item em cada ciclo. Envie um inteiro maior que zero.                                                                  |\n| `input.recurringOrderItems[].skipNextCycle`                     | `Boolean!`                                 | Sim              | —       | `true` para não incluir este item apenas no próximo ciclo (volta a `false` automaticamente depois dele).                            |\n\nCada item deve ser **ou** um produto/variante (por IDs Unbox ou por códigos de ERP) **ou** um kit — use os `_id`/códigos retornados pelas queries de catálogo (`products`, `productKits`, `catalogItems`) ou pelos `items[]` atuais da assinatura.\n\n### Retorno\n\n`RecurringOrder` — a assinatura já atualizada (estrutura em `shopRecurringOrders`), com `items[]` igual à lista enviada (enriquecida com `catalogProduct` e `price` do catálogo) e `totalAmount` recalculado.\n\n### Erros\n\n| Código                              | Condição                                                                                                                                                                          | O que fazer                                                                                                        |\n| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR`   | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                                                                                                  | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| _(sem código)_                      | Item fora do formato: par de IDs incompleto (`productId` sem `variantId`, ou `productERPCode` sem `variantERPCode`), kit sem `productKitItemsConfigurations`, `quantity` ausente. | Corrija o item conforme a tabela de argumentos; verifique `message`.                                               |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                                                                                | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                                                                    | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                                                                                | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Full-replace, não merge.** `recurringOrderItems` substitui **toda** a lista de itens. Para adicionar um produto, envie os itens atuais (de `items[]` da assinatura) **mais** o novo; para remover, envie a lista sem ele; para mudar quantidade, envie a lista completa com a nova `quantity`. Um item omitido é removido da assinatura.\n- **Idempotente:** reenviar a mesma lista resulta no mesmo estado.\n- **A validação de disponibilidade acontece no ciclo, não aqui.** A chamada aceita a lista sem verificar estoque nem a política de produtos da loja; no processamento de cada ciclo, itens indisponíveis ou não permitidos em assinatura aparecem com `status` `OUT_OF_STOCK`, `MISSING` ou `NOT_ALLOWED` (`CycleItemStatusEnum`) e não são cobrados — se nenhum item puder ser atendido, o ciclo falha. Valide os produtos no seu lado (catálogo + `productsPolicy`) antes de enviar.\n- **Não envie lista vazia.** Uma assinatura sem itens não gera pedido nos próximos ciclos; para encerrar, use `customerCancelRecurringOrder`.\n- Vale para os próximos ciclos; ciclos já gerados mantêm seus itens."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerUpdateRecurringOrderItems\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"5d79cd6f-3f77-472b-ab31-d1cb1a533f1f","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 CustomerUpdateRecurringOrderItems($input: UpdateRecurringOrderItemsInput) {\n  customerUpdateRecurringOrderItems(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"recurringOrderItems\": [\n      {\n        \"productERPCode\": \"Example_String\",\n        \"productId\": \"{{productId}}\",\n        \"variantERPCode\": \"Example_String\",\n        \"variantId\": \"{{variantId}}\",\n        \"productKitId\": \"Example_String\",\n        \"productKitItemsConfigurations\": [\n          {\n            \"productId\": \"{{productId}}\",\n            \"productVariantId\": \"Example_ID\",\n            \"quantity\": 1\n          }\n        ],\n        \"quantity\": 1,\n        \"skipNextCycle\": true\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderItems\n\n**Propósito:** Substitui, em nome do consumidor, a lista de itens de uma assinatura (recurring order) — os itens enviados passam a compor os próximos ciclos.\n**Quando usar:** Quando o consumidor adiciona, remove ou altera a quantidade de produtos da assinatura. Consulte `recurringOrdersPolicy.customerActions` (`canAddProducts`, `canRemoveProducts`, `canChangeProductQuantity`) e `recurringOrdersPolicy.productsPolicy` (produtos permitidos em assinatura), em `shopBySlug`, para saber quais alterações a loja oferece ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                                            | Tipo                                       | Obrigatório      | Default | Descrição                                                                                                                           |\n| --------------------------------------------------------------- | ------------------------------------------ | ---------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `input`                                                         | `UpdateRecurringOrderItemsInput`           | Sim (na prática) | —       | Dados da alteração. O schema o marca como opcional, mas a chamada sem `input` falha — envie sempre.                                 |\n| `input.recurringOrderId`                                        | `String!`                                  | Sim              | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.                                           |\n| `input.recurringOrderItems`                                     | `[RecurringOrderItemInput]!`               | Sim              | —       | Lista **completa** de itens da assinatura após a alteração (substitui a lista atual — ver Notas).                                   |\n| `input.recurringOrderItems[].productId` + `variantId`           | `String`                                   | Condicional      | —       | Item simples/variante identificado pelos IDs Unbox. Envie **os dois juntos**.                                                       |\n| `input.recurringOrderItems[].productERPCode` + `variantERPCode` | `String`                                   | Condicional      | —       | Alternativa: item identificado pelos códigos de ERP. Envie **os dois juntos**.                                                      |\n| `input.recurringOrderItems[].productKitId`                      | `String`                                   | Condicional      | —       | Item do tipo kit. Exige `productKitItemsConfigurations`.                                                                            |\n| `input.recurringOrderItems[].productKitItemsConfigurations`     | `[ProductKitComponentConfigurationInput!]` | Condicional      | —       | Obrigatório (mínimo 1) quando há `productKitId`: um objeto por componente do kit, com `productId`, `productVariantId` e `quantity`. |\n| `input.recurringOrderItems[].quantity`                          | `Int!`                                     | Sim              | —       | Quantidade do item em cada ciclo. Envie um inteiro maior que zero.                                                                  |\n| `input.recurringOrderItems[].skipNextCycle`                     | `Boolean!`                                 | Sim              | —       | `true` para não incluir este item apenas no próximo ciclo (volta a `false` automaticamente depois dele).                            |\n\nCada item deve ser **ou** um produto/variante (por IDs Unbox ou por códigos de ERP) **ou** um kit — use os `_id`/códigos retornados pelas queries de catálogo (`products`, `productKits`, `catalogItems`) ou pelos `items[]` atuais da assinatura.\n\n### Retorno\n\n`RecurringOrder` — a assinatura já atualizada (estrutura em `shopRecurringOrders`), com `items[]` igual à lista enviada (enriquecida com `catalogProduct` e `price` do catálogo) e `totalAmount` recalculado.\n\n### Erros\n\n| Código                              | Condição                                                                                                                                                                          | O que fazer                                                                                                        |\n| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR`   | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                                                                                                  | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| _(sem código)_                      | Item fora do formato: par de IDs incompleto (`productId` sem `variantId`, ou `productERPCode` sem `variantERPCode`), kit sem `productKitItemsConfigurations`, `quantity` ausente. | Corrija o item conforme a tabela de argumentos; verifique `message`.                                               |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                                                                                | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                                                                    | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                                                                                | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Full-replace, não merge.** `recurringOrderItems` substitui **toda** a lista de itens. Para adicionar um produto, envie os itens atuais (de `items[]` da assinatura) **mais** o novo; para remover, envie a lista sem ele; para mudar quantidade, envie a lista completa com a nova `quantity`. Um item omitido é removido da assinatura.\n- **Idempotente:** reenviar a mesma lista resulta no mesmo estado.\n- **A validação de disponibilidade acontece no ciclo, não aqui.** A chamada aceita a lista sem verificar estoque nem a política de produtos da loja; no processamento de cada ciclo, itens indisponíveis ou não permitidos em assinatura aparecem com `status` `OUT_OF_STOCK`, `MISSING` ou `NOT_ALLOWED` (`CycleItemStatusEnum`) e não são cobrados — se nenhum item puder ser atendido, o ciclo falha. Valide os produtos no seu lado (catálogo + `productsPolicy`) antes de enviar.\n- **Não envie lista vazia.** Uma assinatura sem itens não gera pedido nos próximos ciclos; para encerrar, use `customerCancelRecurringOrder`.\n- Vale para os próximos ciclos; ciclos já gerados mantêm seus itens."},"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":"2748bcac-b04d-4dd0-9d6f-8d76c3d51e0b","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 CustomerUpdateRecurringOrderItems($input: UpdateRecurringOrderItemsInput) {\n  customerUpdateRecurringOrderItems(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"recurringOrderItems\": [\n      {\n        \"productERPCode\": \"Example_String\",\n        \"productId\": \"{{productId}}\",\n        \"variantERPCode\": \"Example_String\",\n        \"variantId\": \"{{variantId}}\",\n        \"productKitId\": \"Example_String\",\n        \"productKitItemsConfigurations\": [\n          {\n            \"productId\": \"{{productId}}\",\n            \"productVariantId\": \"Example_ID\",\n            \"quantity\": 1\n          }\n        ],\n        \"quantity\": 1,\n        \"skipNextCycle\": true\n      }\n    ]\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderItems\n\n**Propósito:** Substitui, em nome do consumidor, a lista de itens de uma assinatura (recurring order) — os itens enviados passam a compor os próximos ciclos.\n**Quando usar:** Quando o consumidor adiciona, remove ou altera a quantidade de produtos da assinatura. Consulte `recurringOrdersPolicy.customerActions` (`canAddProducts`, `canRemoveProducts`, `canChangeProductQuantity`) e `recurringOrdersPolicy.productsPolicy` (produtos permitidos em assinatura), em `shopBySlug`, para saber quais alterações a loja oferece ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                                            | Tipo                                       | Obrigatório      | Default | Descrição                                                                                                                           |\n| --------------------------------------------------------------- | ------------------------------------------ | ---------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `input`                                                         | `UpdateRecurringOrderItemsInput`           | Sim (na prática) | —       | Dados da alteração. O schema o marca como opcional, mas a chamada sem `input` falha — envie sempre.                                 |\n| `input.recurringOrderId`                                        | `String!`                                  | Sim              | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.                                           |\n| `input.recurringOrderItems`                                     | `[RecurringOrderItemInput]!`               | Sim              | —       | Lista **completa** de itens da assinatura após a alteração (substitui a lista atual — ver Notas).                                   |\n| `input.recurringOrderItems[].productId` + `variantId`           | `String`                                   | Condicional      | —       | Item simples/variante identificado pelos IDs Unbox. Envie **os dois juntos**.                                                       |\n| `input.recurringOrderItems[].productERPCode` + `variantERPCode` | `String`                                   | Condicional      | —       | Alternativa: item identificado pelos códigos de ERP. Envie **os dois juntos**.                                                      |\n| `input.recurringOrderItems[].productKitId`                      | `String`                                   | Condicional      | —       | Item do tipo kit. Exige `productKitItemsConfigurations`.                                                                            |\n| `input.recurringOrderItems[].productKitItemsConfigurations`     | `[ProductKitComponentConfigurationInput!]` | Condicional      | —       | Obrigatório (mínimo 1) quando há `productKitId`: um objeto por componente do kit, com `productId`, `productVariantId` e `quantity`. |\n| `input.recurringOrderItems[].quantity`                          | `Int!`                                     | Sim              | —       | Quantidade do item em cada ciclo. Envie um inteiro maior que zero.                                                                  |\n| `input.recurringOrderItems[].skipNextCycle`                     | `Boolean!`                                 | Sim              | —       | `true` para não incluir este item apenas no próximo ciclo (volta a `false` automaticamente depois dele).                            |\n\nCada item deve ser **ou** um produto/variante (por IDs Unbox ou por códigos de ERP) **ou** um kit — use os `_id`/códigos retornados pelas queries de catálogo (`products`, `productKits`, `catalogItems`) ou pelos `items[]` atuais da assinatura.\n\n### Retorno\n\n`RecurringOrder` — a assinatura já atualizada (estrutura em `shopRecurringOrders`), com `items[]` igual à lista enviada (enriquecida com `catalogProduct` e `price` do catálogo) e `totalAmount` recalculado.\n\n### Erros\n\n| Código                              | Condição                                                                                                                                                                          | O que fazer                                                                                                        |\n| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR`   | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                                                                                                  | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| _(sem código)_                      | Item fora do formato: par de IDs incompleto (`productId` sem `variantId`, ou `productERPCode` sem `variantERPCode`), kit sem `productKitItemsConfigurations`, `quantity` ausente. | Corrija o item conforme a tabela de argumentos; verifique `message`.                                               |\n| _(sem código)_                      | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                                                                                | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                      | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                                                                                    | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR` | O consumidor do token nunca fez login na sua loja.                                                                                                                                | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Full-replace, não merge.** `recurringOrderItems` substitui **toda** a lista de itens. Para adicionar um produto, envie os itens atuais (de `items[]` da assinatura) **mais** o novo; para remover, envie a lista sem ele; para mudar quantidade, envie a lista completa com a nova `quantity`. Um item omitido é removido da assinatura.\n- **Idempotente:** reenviar a mesma lista resulta no mesmo estado.\n- **A validação de disponibilidade acontece no ciclo, não aqui.** A chamada aceita a lista sem verificar estoque nem a política de produtos da loja; no processamento de cada ciclo, itens indisponíveis ou não permitidos em assinatura aparecem com `status` `OUT_OF_STOCK`, `MISSING` ou `NOT_ALLOWED` (`CycleItemStatusEnum`) e não são cobrados — se nenhum item puder ser atendido, o ciclo falha. Valide os produtos no seu lado (catálogo + `productsPolicy`) antes de enviar.\n- **Não envie lista vazia.** Uma assinatura sem itens não gera pedido nos próximos ciclos; para encerrar, use `customerCancelRecurringOrder`.\n- Vale para os próximos ciclos; ciclos já gerados mantêm seus itens."},"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":"9a0f01cf-677b-5398-ae98-e0b77ea072a3"},{"name":"[Mutation] customerTogglePauseRecurringOrder","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 customerTogglePauseRecurringOrder data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerTogglePauseRecurringOrder\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"a021c739-0696-5dea-a01f-c08c45b6136b","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 CustomerTogglePauseRecurringOrder($recurringOrderId: String!) {\n  customerTogglePauseRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customertogglepauserecurringorder\">customerTogglePauseRecurringOrder</h2>\n<p><strong>Propósito:</strong> Alterna, em nome do consumidor, uma assinatura (recurring order) entre pausada e ativa.\n<strong>Quando usar:</strong> Quando o consumidor quer suspender temporariamente as entregas/cobranças (\"pausar\") ou retomá-las (\"reativar\"). A mesma operação faz as duas coisas — o resultado depende do status atual. Consulte <code>recurringOrdersPolicy.customerActions.canPause</code> (em <code>shopBySlug</code>) para saber se a loja oferece essa ação ao consumidor.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível alterar assinaturas do consumidor do token.</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>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>customerRecurringOrders</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura já atualizada (estrutura em <code>shopRecurringOrders</code>). Transição aplicada conforme o status <strong>antes</strong> da chamada:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status antes</th>\n<th>Status depois</th>\n<th><code>cyclesInformation.nextCycleDate</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PAUSED</code></td>\n<td><code>ACTIVE</code></td>\n<td>Mantida, mas nunca antes do intervalo mínimo da loja a partir de hoje (<code>recurringOrdersPolicy.minDaysIntervalBetweenCycles</code>) — se a data já tiver passado ou estiver próxima demais, é empurrada para frente.</td>\n</tr>\n<tr>\n<td><code>ACTIVE</code></td>\n<td><code>PAUSED</code></td>\n<td>Mantida (nenhum ciclo é gerado enquanto pausada).</td>\n</tr>\n<tr>\n<td><code>ERROR</code></td>\n<td><code>PAUSED</code></td>\n<td>Mantida. Uma nova chamada leva a <code>ACTIVE</code>.</td>\n</tr>\n<tr>\n<td><code>CANCELED</code></td>\n<td>—</td>\n<td>Não permitido (ver Erros).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Em todos os casos <code>cyclesInformation.skipNextCycle</code> volta a <code>false</code> e <code>status.history[]</code> ganha um registro.</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A assinatura não existe, não pertence ao consumidor do token ou está <code>CANCELED</code>.</td>\n<td>Confirme o <code>_id</code> e o status com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><code>RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>Ao reativar: a loja não tem política de assinaturas habilitada.</td>\n<td>Erro de configuração da loja — fale com seu contato Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>NÃO é idempotente — é um toggle.</strong> Cada chamada inverte o estado: um retry após timeout pode <strong>desfazer</strong> a ação anterior. Antes de repetir, releia a assinatura e confira <code>status.value</code>; só chame de novo se o status ainda não for o desejado.</li>\n<li><strong>Não existe \"pausar\" ou \"ativar\" explícitos.</strong> Para garantir um estado final, leia o status atual e chame a operação apenas se ele for diferente do desejado.</li>\n<li>Enquanto <code>PAUSED</code>, nenhum ciclo novo é gerado e retentativas automáticas pendentes de um ciclo em erro não são executadas.</li>\n<li>Uma assinatura em <code>ERROR</code> vai para <code>PAUSED</code> (não para <code>ACTIVE</code>) na primeira chamada.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"5b407cb7-a300-483a-ae2c-9566a766ee71","name":"200 - customerTogglePauseRecurringOrder","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 CustomerTogglePauseRecurringOrder($recurringOrderId: String!) {\n  customerTogglePauseRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerTogglePauseRecurringOrder\n\n**Propósito:** Alterna, em nome do consumidor, uma assinatura (recurring order) entre pausada e ativa.\n**Quando usar:** Quando o consumidor quer suspender temporariamente as entregas/cobranças (\"pausar\") ou retomá-las (\"reativar\"). A mesma operação faz as duas coisas — o resultado depende do status atual. Consulte `recurringOrdersPolicy.customerActions.canPause` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                      |\n| ------------------ | --------- | ----------- | ------- | -------------------------------------------------------------- |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). Transição aplicada conforme o status **antes** da chamada:\n\n| Status antes | Status depois | `cyclesInformation.nextCycleDate`                                                                                                                                                                             |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `PAUSED`     | `ACTIVE`      | Mantida, mas nunca antes do intervalo mínimo da loja a partir de hoje (`recurringOrdersPolicy.minDaysIntervalBetweenCycles`) — se a data já tiver passado ou estiver próxima demais, é empurrada para frente. |\n| `ACTIVE`     | `PAUSED`      | Mantida (nenhum ciclo é gerado enquanto pausada).                                                                                                                                                             |\n| `ERROR`      | `PAUSED`      | Mantida. Uma nova chamada leva a `ACTIVE`.                                                                                                                                                                    |\n| `CANCELED`   | —             | Não permitido (ver Erros).                                                                                                                                                                                    |\n\nEm todos os casos `cyclesInformation.skipNextCycle` volta a `false` e `status.history[]` ganha um registro.\n\n### Erros\n\n| Código                                                           | Condição                                                                                           | O que fazer                                                                                                        |\n| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)         | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`) | Ao reativar: a loja não tem política de assinaturas habilitada.                                    | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| _(sem código)_                                                   | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                   | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                              | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **NÃO é idempotente — é um toggle.** Cada chamada inverte o estado: um retry após timeout pode **desfazer** a ação anterior. Antes de repetir, releia a assinatura e confira `status.value`; só chame de novo se o status ainda não for o desejado.\n- **Não existe \"pausar\" ou \"ativar\" explícitos.** Para garantir um estado final, leia o status atual e chame a operação apenas se ele for diferente do desejado.\n- Enquanto `PAUSED`, nenhum ciclo novo é gerado e retentativas automáticas pendentes de um ciclo em erro não são executadas.\n- Uma assinatura em `ERROR` vai para `PAUSED` (não para `ACTIVE`) na primeira chamada."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerTogglePauseRecurringOrder\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"6e23035b-fe51-4a34-8d9f-f9cefaa0e463","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 CustomerTogglePauseRecurringOrder($recurringOrderId: String!) {\n  customerTogglePauseRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerTogglePauseRecurringOrder\n\n**Propósito:** Alterna, em nome do consumidor, uma assinatura (recurring order) entre pausada e ativa.\n**Quando usar:** Quando o consumidor quer suspender temporariamente as entregas/cobranças (\"pausar\") ou retomá-las (\"reativar\"). A mesma operação faz as duas coisas — o resultado depende do status atual. Consulte `recurringOrdersPolicy.customerActions.canPause` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                      |\n| ------------------ | --------- | ----------- | ------- | -------------------------------------------------------------- |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). Transição aplicada conforme o status **antes** da chamada:\n\n| Status antes | Status depois | `cyclesInformation.nextCycleDate`                                                                                                                                                                             |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `PAUSED`     | `ACTIVE`      | Mantida, mas nunca antes do intervalo mínimo da loja a partir de hoje (`recurringOrdersPolicy.minDaysIntervalBetweenCycles`) — se a data já tiver passado ou estiver próxima demais, é empurrada para frente. |\n| `ACTIVE`     | `PAUSED`      | Mantida (nenhum ciclo é gerado enquanto pausada).                                                                                                                                                             |\n| `ERROR`      | `PAUSED`      | Mantida. Uma nova chamada leva a `ACTIVE`.                                                                                                                                                                    |\n| `CANCELED`   | —             | Não permitido (ver Erros).                                                                                                                                                                                    |\n\nEm todos os casos `cyclesInformation.skipNextCycle` volta a `false` e `status.history[]` ganha um registro.\n\n### Erros\n\n| Código                                                           | Condição                                                                                           | O que fazer                                                                                                        |\n| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)         | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`) | Ao reativar: a loja não tem política de assinaturas habilitada.                                    | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| _(sem código)_                                                   | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                   | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                              | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **NÃO é idempotente — é um toggle.** Cada chamada inverte o estado: um retry após timeout pode **desfazer** a ação anterior. Antes de repetir, releia a assinatura e confira `status.value`; só chame de novo se o status ainda não for o desejado.\n- **Não existe \"pausar\" ou \"ativar\" explícitos.** Para garantir um estado final, leia o status atual e chame a operação apenas se ele for diferente do desejado.\n- Enquanto `PAUSED`, nenhum ciclo novo é gerado e retentativas automáticas pendentes de um ciclo em erro não são executadas.\n- Uma assinatura em `ERROR` vai para `PAUSED` (não para `ACTIVE`) na primeira chamada."},"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":"8275b349-c18b-45d4-a3cf-632fee2bc03d","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 CustomerTogglePauseRecurringOrder($recurringOrderId: String!) {\n  customerTogglePauseRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerTogglePauseRecurringOrder\n\n**Propósito:** Alterna, em nome do consumidor, uma assinatura (recurring order) entre pausada e ativa.\n**Quando usar:** Quando o consumidor quer suspender temporariamente as entregas/cobranças (\"pausar\") ou retomá-las (\"reativar\"). A mesma operação faz as duas coisas — o resultado depende do status atual. Consulte `recurringOrdersPolicy.customerActions.canPause` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                      |\n| ------------------ | --------- | ----------- | ------- | -------------------------------------------------------------- |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). Transição aplicada conforme o status **antes** da chamada:\n\n| Status antes | Status depois | `cyclesInformation.nextCycleDate`                                                                                                                                                                             |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `PAUSED`     | `ACTIVE`      | Mantida, mas nunca antes do intervalo mínimo da loja a partir de hoje (`recurringOrdersPolicy.minDaysIntervalBetweenCycles`) — se a data já tiver passado ou estiver próxima demais, é empurrada para frente. |\n| `ACTIVE`     | `PAUSED`      | Mantida (nenhum ciclo é gerado enquanto pausada).                                                                                                                                                             |\n| `ERROR`      | `PAUSED`      | Mantida. Uma nova chamada leva a `ACTIVE`.                                                                                                                                                                    |\n| `CANCELED`   | —             | Não permitido (ver Erros).                                                                                                                                                                                    |\n\nEm todos os casos `cyclesInformation.skipNextCycle` volta a `false` e `status.history[]` ganha um registro.\n\n### Erros\n\n| Código                                                           | Condição                                                                                           | O que fazer                                                                                                        |\n| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)         | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`) | Ao reativar: a loja não tem política de assinaturas habilitada.                                    | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| _(sem código)_                                                   | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                   | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                              | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **NÃO é idempotente — é um toggle.** Cada chamada inverte o estado: um retry após timeout pode **desfazer** a ação anterior. Antes de repetir, releia a assinatura e confira `status.value`; só chame de novo se o status ainda não for o desejado.\n- **Não existe \"pausar\" ou \"ativar\" explícitos.** Para garantir um estado final, leia o status atual e chame a operação apenas se ele for diferente do desejado.\n- Enquanto `PAUSED`, nenhum ciclo novo é gerado e retentativas automáticas pendentes de um ciclo em erro não são executadas.\n- Uma assinatura em `ERROR` vai para `PAUSED` (não para `ACTIVE`) na primeira chamada."},"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":"a021c739-0696-5dea-a01f-c08c45b6136b"},{"name":"[Mutation] customerCancelRecurringOrder","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 customerCancelRecurringOrder data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerCancelRecurringOrder\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"cb051e14-74e6-5dbf-a8b7-adf0ddf6c908","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 CustomerCancelRecurringOrder($recurringOrderId: String!) {\n  customerCancelRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customercancelrecurringorder\">customerCancelRecurringOrder</h2>\n<p><strong>Propósito:</strong> Cancela, em nome do consumidor, uma assinatura (recurring order) dele.\n<strong>Quando usar:</strong> Quando o consumidor pede o encerramento definitivo da assinatura. Para uma interrupção temporária, prefira <code>customerTogglePauseRecurringOrder</code>; para não receber apenas a próxima entrega, <code>customerSkipNextRecurringOrderCycle</code>.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível cancelar assinaturas do consumidor do token.</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>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>customerRecurringOrders</code>) a ser cancelada.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura já atualizada (estrutura em <code>shopRecurringOrders</code>). Após o cancelamento:</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>Valor após a chamada</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status.value</code></td>\n<td><code>RecurringOrderStatusEnum!</code></td>\n<td><code>CANCELED</code>.</td>\n</tr>\n<tr>\n<td><code>status.history[]</code></td>\n<td><code>[RecurringOrderStatusHistory!]</code></td>\n<td>Ganha um registro com o status anterior.</td>\n</tr>\n<tr>\n<td><code>cyclesInformation.nextCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td><code>null</code> — nenhum novo ciclo será gerado.</td>\n</tr>\n<tr>\n<td><code>cyclesInformation.skipNextCycle</code></td>\n<td><code>Boolean!</code></td>\n<td><code>false</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A assinatura não existe, não pertence ao consumidor do token <strong>ou já está <code>CANCELED</code></strong>.</td>\n<td>Se for um retry, releia a assinatura (<code>customerRecurringOrderByReferenceId</code>/<code>customerRecurringOrders</code>): se já estiver <code>CANCELED</code>, o cancelamento anterior foi aplicado.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Irreversível.</strong> Não existe operação para reativar uma assinatura <code>CANCELED</code> — ela também deixa de aceitar pausa, troca de itens, frequência, cartão ou endereço. Para voltar a assinar, o consumidor precisa criar uma nova assinatura em um novo checkout. Confirme a intenção do consumidor antes de chamar.</li>\n<li><strong>Idempotência:</strong> o efeito é idempotente (a assinatura continua cancelada), mas a <strong>resposta não</strong>: uma segunda chamada sobre uma assinatura já cancelada retorna <code>RECURRING_ORDER_NOT_FOUND_ERROR</code>. Trate esse erro, em um retry, como \"já cancelada\" após reler o status.</li>\n<li>Ciclos já concluídos (e seus pedidos) não são afetados. O cancelamento impede novos ciclos e interrompe as retentativas automáticas pendentes de um ciclo em erro.</li>\n<li>Pode ser chamada com a assinatura em <code>ACTIVE</code>, <code>PAUSED</code> ou <code>ERROR</code>.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0d2d5124-4beb-4bb6-894f-801363bdf096","name":"200 - customerCancelRecurringOrder","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 CustomerCancelRecurringOrder($recurringOrderId: String!) {\n  customerCancelRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerCancelRecurringOrder\n\n**Propósito:** Cancela, em nome do consumidor, uma assinatura (recurring order) dele.\n**Quando usar:** Quando o consumidor pede o encerramento definitivo da assinatura. Para uma interrupção temporária, prefira `customerTogglePauseRecurringOrder`; para não receber apenas a próxima entrega, `customerSkipNextRecurringOrderCycle`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível cancelar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                      |\n| ------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------ |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`) a ser cancelada. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). Após o cancelamento:\n\n| Propriedade                       | Tipo                             | Valor após a chamada                     |\n| --------------------------------- | -------------------------------- | ---------------------------------------- |\n| `status.value`                    | `RecurringOrderStatusEnum!`      | `CANCELED`.                              |\n| `status.history[]`                | `[RecurringOrderStatusHistory!]` | Ganha um registro com o status anterior. |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`                    | `null` — nenhum novo ciclo será gerado.  |\n| `cyclesInformation.skipNextCycle` | `Boolean!`                       | `false`.                                 |\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                                                                             |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | A assinatura não existe, não pertence ao consumidor do token **ou já está `CANCELED`**.            | Se for um retry, releia a assinatura (`customerRecurringOrderByReferenceId`/`customerRecurringOrders`): se já estiver `CANCELED`, o cancelamento anterior foi aplicado. |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                                                                 |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                                                      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                                                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Irreversível.** Não existe operação para reativar uma assinatura `CANCELED` — ela também deixa de aceitar pausa, troca de itens, frequência, cartão ou endereço. Para voltar a assinar, o consumidor precisa criar uma nova assinatura em um novo checkout. Confirme a intenção do consumidor antes de chamar.\n- **Idempotência:** o efeito é idempotente (a assinatura continua cancelada), mas a **resposta não**: uma segunda chamada sobre uma assinatura já cancelada retorna `RECURRING_ORDER_NOT_FOUND_ERROR`. Trate esse erro, em um retry, como \"já cancelada\" após reler o status.\n- Ciclos já concluídos (e seus pedidos) não são afetados. O cancelamento impede novos ciclos e interrompe as retentativas automáticas pendentes de um ciclo em erro.\n- Pode ser chamada com a assinatura em `ACTIVE`, `PAUSED` ou `ERROR`."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerCancelRecurringOrder\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"58bea2d3-e912-4dd7-9b1c-66d83bace260","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 CustomerCancelRecurringOrder($recurringOrderId: String!) {\n  customerCancelRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerCancelRecurringOrder\n\n**Propósito:** Cancela, em nome do consumidor, uma assinatura (recurring order) dele.\n**Quando usar:** Quando o consumidor pede o encerramento definitivo da assinatura. Para uma interrupção temporária, prefira `customerTogglePauseRecurringOrder`; para não receber apenas a próxima entrega, `customerSkipNextRecurringOrderCycle`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível cancelar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                      |\n| ------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------ |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`) a ser cancelada. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). Após o cancelamento:\n\n| Propriedade                       | Tipo                             | Valor após a chamada                     |\n| --------------------------------- | -------------------------------- | ---------------------------------------- |\n| `status.value`                    | `RecurringOrderStatusEnum!`      | `CANCELED`.                              |\n| `status.history[]`                | `[RecurringOrderStatusHistory!]` | Ganha um registro com o status anterior. |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`                    | `null` — nenhum novo ciclo será gerado.  |\n| `cyclesInformation.skipNextCycle` | `Boolean!`                       | `false`.                                 |\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                                                                             |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | A assinatura não existe, não pertence ao consumidor do token **ou já está `CANCELED`**.            | Se for um retry, releia a assinatura (`customerRecurringOrderByReferenceId`/`customerRecurringOrders`): se já estiver `CANCELED`, o cancelamento anterior foi aplicado. |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                                                                 |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                                                      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                                                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Irreversível.** Não existe operação para reativar uma assinatura `CANCELED` — ela também deixa de aceitar pausa, troca de itens, frequência, cartão ou endereço. Para voltar a assinar, o consumidor precisa criar uma nova assinatura em um novo checkout. Confirme a intenção do consumidor antes de chamar.\n- **Idempotência:** o efeito é idempotente (a assinatura continua cancelada), mas a **resposta não**: uma segunda chamada sobre uma assinatura já cancelada retorna `RECURRING_ORDER_NOT_FOUND_ERROR`. Trate esse erro, em um retry, como \"já cancelada\" após reler o status.\n- Ciclos já concluídos (e seus pedidos) não são afetados. O cancelamento impede novos ciclos e interrompe as retentativas automáticas pendentes de um ciclo em erro.\n- Pode ser chamada com a assinatura em `ACTIVE`, `PAUSED` ou `ERROR`."},"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":"8a6b7c8a-a667-4219-b297-5e75cd702f9f","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 CustomerCancelRecurringOrder($recurringOrderId: String!) {\n  customerCancelRecurringOrder(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerCancelRecurringOrder\n\n**Propósito:** Cancela, em nome do consumidor, uma assinatura (recurring order) dele.\n**Quando usar:** Quando o consumidor pede o encerramento definitivo da assinatura. Para uma interrupção temporária, prefira `customerTogglePauseRecurringOrder`; para não receber apenas a próxima entrega, `customerSkipNextRecurringOrderCycle`.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível cancelar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                      |\n| ------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------ |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`) a ser cancelada. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). Após o cancelamento:\n\n| Propriedade                       | Tipo                             | Valor após a chamada                     |\n| --------------------------------- | -------------------------------- | ---------------------------------------- |\n| `status.value`                    | `RecurringOrderStatusEnum!`      | `CANCELED`.                              |\n| `status.history[]`                | `[RecurringOrderStatusHistory!]` | Ganha um registro com o status anterior. |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`                    | `null` — nenhum novo ciclo será gerado.  |\n| `cyclesInformation.skipNextCycle` | `Boolean!`                       | `false`.                                 |\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                                                                             |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | A assinatura não existe, não pertence ao consumidor do token **ou já está `CANCELED`**.            | Se for um retry, releia a assinatura (`customerRecurringOrderByReferenceId`/`customerRecurringOrders`): se já estiver `CANCELED`, o cancelamento anterior foi aplicado. |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.                                                                 |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`.                                                      |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                                                                         |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Irreversível.** Não existe operação para reativar uma assinatura `CANCELED` — ela também deixa de aceitar pausa, troca de itens, frequência, cartão ou endereço. Para voltar a assinar, o consumidor precisa criar uma nova assinatura em um novo checkout. Confirme a intenção do consumidor antes de chamar.\n- **Idempotência:** o efeito é idempotente (a assinatura continua cancelada), mas a **resposta não**: uma segunda chamada sobre uma assinatura já cancelada retorna `RECURRING_ORDER_NOT_FOUND_ERROR`. Trate esse erro, em um retry, como \"já cancelada\" após reler o status.\n- Ciclos já concluídos (e seus pedidos) não são afetados. O cancelamento impede novos ciclos e interrompe as retentativas automáticas pendentes de um ciclo em erro.\n- Pode ser chamada com a assinatura em `ACTIVE`, `PAUSED` ou `ERROR`."},"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":"cb051e14-74e6-5dbf-a8b7-adf0ddf6c908"},{"name":"[Mutation] customerSkipNextRecurringOrderCycle","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 customerSkipNextRecurringOrderCycle data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerSkipNextRecurringOrderCycle\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"dda68a50-2afb-5b9a-bd63-3688bae48eb8","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 CustomerSkipNextRecurringOrderCycle($recurringOrderId: String!) {\n  customerSkipNextRecurringOrderCycle(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerskipnextrecurringordercycle\">customerSkipNextRecurringOrderCycle</h2>\n<p><strong>Propósito:</strong> Pula, em nome do consumidor, o próximo ciclo de uma assinatura (recurring order) ativa — a próxima entrega/cobrança não acontece e a recorrência segue a partir do ciclo seguinte.\n<strong>Quando usar:</strong> Quando o consumidor quer \"pular este mês\" sem pausar nem cancelar a assinatura. Consulte <code>recurringOrdersPolicy.customerActions.canSkipCycle</code> (em <code>shopBySlug</code>) para saber se a loja oferece essa ação ao consumidor.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível alterar assinaturas do consumidor do token.</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>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>customerRecurringOrders</code>). A assinatura precisa estar <code>ACTIVE</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura já atualizada (estrutura em <code>shopRecurringOrders</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>Valor após a chamada</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cyclesInformation.cycleCount</code></td>\n<td><code>Int!</code></td>\n<td>Incrementado em 1 (o ciclo pulado conta como ciclo).</td>\n</tr>\n<tr>\n<td><code>cyclesInformation.currentCycle</code></td>\n<td><code>RecurringOrderCycle</code></td>\n<td>O ciclo pulado: <code>skipped: true</code>, <code>status.value: SUCCESS</code>, <code>order: null</code>.</td>\n</tr>\n<tr>\n<td><code>cyclesInformation.lastCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Data/hora da chamada.</td>\n</tr>\n<tr>\n<td><code>cyclesInformation.nextCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Avançada <strong>um período da frequência</strong> a partir da data prevista anterior (ex.: mensal, previsto para 10/05 → 10/06).</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> (em <code>extensions.code</code>)</td>\n<td>A assinatura não existe, não pertence ao consumidor do token ou <strong>não está <code>ACTIVE</code></strong> (pausada, em erro ou cancelada).</td>\n<td>Confirme o <code>_id</code> e o status com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><code>RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A loja não tem política de assinaturas habilitada.</td>\n<td>Erro de configuração da loja — fale com seu contato Unbox.</td>\n</tr>\n<tr>\n<td><code>SKIP_NEXT_CYCLE_OPERATION_FAILED</code> (em <code>message</code>)</td>\n<td>Falha inesperada ao registrar o ciclo pulado.</td>\n<td>Releia a assinatura antes de tentar de novo (ver Notas).</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>NÃO é idempotente.</strong> Cada chamada bem-sucedida registra <strong>mais um</strong> ciclo pulado e empurra <code>nextCycleDate</code> mais um período. Um retry após timeout pode pular dois ciclos. Antes de repetir, releia a assinatura e compare <code>cyclesInformation.cycleCount</code>/<code>nextCycleDate</code> com os valores anteriores.</li>\n<li><strong>O efeito é imediato:</strong> o ciclo pulado é registrado no momento da chamada (aparece em <code>customerRecurringOrderCycles</code> com <code>skipped: true</code>), sem cobrança nem pedido.</li>\n<li><strong>Evite pular enquanto o ciclo atual estiver em erro aguardando retentativa</strong> (<code>cyclesInformation.currentCycle.status.value: ERROR</code> ou <code>attemptingRetry: true</code>): o comportamento da retentativa nesse cenário não é garantido. Resolva o ciclo em erro (ex.: trocando o cartão com <code>customerUpdateRecurringOrderCreditCard</code>) antes de pular.</li>\n<li><strong>Não há \"desfazer\".</strong> Para recuperar a data, ajuste a frequência com <code>customerUpdateRecurringOrderFrequency</code> (que recalcula <code>nextCycleDate</code>) ou oriente o consumidor a falar com a loja.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0aa62703-f326-4125-b4a0-26f0b8a2b4f5","name":"200 - customerSkipNextRecurringOrderCycle","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 CustomerSkipNextRecurringOrderCycle($recurringOrderId: String!) {\n  customerSkipNextRecurringOrderCycle(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerSkipNextRecurringOrderCycle\n\n**Propósito:** Pula, em nome do consumidor, o próximo ciclo de uma assinatura (recurring order) ativa — a próxima entrega/cobrança não acontece e a recorrência segue a partir do ciclo seguinte.\n**Quando usar:** Quando o consumidor quer \"pular este mês\" sem pausar nem cancelar a assinatura. Consulte `recurringOrdersPolicy.customerActions.canSkipCycle` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                                           |\n| ------------------ | --------- | ----------- | ------- | --------------------------------------------------------------------------------------------------- |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). A assinatura precisa estar `ACTIVE`. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`):\n\n| Propriedade                       | Tipo                  | Valor após a chamada                                                                                                 |\n| --------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `cyclesInformation.cycleCount`    | `Int!`                | Incrementado em 1 (o ciclo pulado conta como ciclo).                                                                 |\n| `cyclesInformation.currentCycle`  | `RecurringOrderCycle` | O ciclo pulado: `skipped: true`, `status.value: SUCCESS`, `order: null`.                                             |\n| `cyclesInformation.lastCycleDate` | `AWSDateTime`         | Data/hora da chamada.                                                                                                |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`         | Avançada **um período da frequência** a partir da data prevista anterior (ex.: mensal, previsto para 10/05 → 10/06). |\n\n### Erros\n\n| Código                                                           | Condição                                                                                                               | O que fazer                                                                                                        |\n| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)         | A assinatura não existe, não pertence ao consumidor do token ou **não está `ACTIVE`** (pausada, em erro ou cancelada). | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`) | A loja não tem política de assinaturas habilitada.                                                                     | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| `SKIP_NEXT_CYCLE_OPERATION_FAILED` (em `message`)                | Falha inesperada ao registrar o ciclo pulado.                                                                          | Releia a assinatura antes de tentar de novo (ver Notas).                                                           |\n| _(sem código)_                                                   | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                     | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                   | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                         | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                              | O consumidor do token nunca fez login na sua loja.                                                                     | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **NÃO é idempotente.** Cada chamada bem-sucedida registra **mais um** ciclo pulado e empurra `nextCycleDate` mais um período. Um retry após timeout pode pular dois ciclos. Antes de repetir, releia a assinatura e compare `cyclesInformation.cycleCount`/`nextCycleDate` com os valores anteriores.\n- **O efeito é imediato:** o ciclo pulado é registrado no momento da chamada (aparece em `customerRecurringOrderCycles` com `skipped: true`), sem cobrança nem pedido.\n- **Evite pular enquanto o ciclo atual estiver em erro aguardando retentativa** (`cyclesInformation.currentCycle.status.value: ERROR` ou `attemptingRetry: true`): o comportamento da retentativa nesse cenário não é garantido. Resolva o ciclo em erro (ex.: trocando o cartão com `customerUpdateRecurringOrderCreditCard`) antes de pular.\n- **Não há \"desfazer\".** Para recuperar a data, ajuste a frequência com `customerUpdateRecurringOrderFrequency` (que recalcula `nextCycleDate`) ou oriente o consumidor a falar com a loja."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerSkipNextRecurringOrderCycle\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"85f15e25-ff10-4adc-ae29-2051bb878768","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 CustomerSkipNextRecurringOrderCycle($recurringOrderId: String!) {\n  customerSkipNextRecurringOrderCycle(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerSkipNextRecurringOrderCycle\n\n**Propósito:** Pula, em nome do consumidor, o próximo ciclo de uma assinatura (recurring order) ativa — a próxima entrega/cobrança não acontece e a recorrência segue a partir do ciclo seguinte.\n**Quando usar:** Quando o consumidor quer \"pular este mês\" sem pausar nem cancelar a assinatura. Consulte `recurringOrdersPolicy.customerActions.canSkipCycle` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                                           |\n| ------------------ | --------- | ----------- | ------- | --------------------------------------------------------------------------------------------------- |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). A assinatura precisa estar `ACTIVE`. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`):\n\n| Propriedade                       | Tipo                  | Valor após a chamada                                                                                                 |\n| --------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `cyclesInformation.cycleCount`    | `Int!`                | Incrementado em 1 (o ciclo pulado conta como ciclo).                                                                 |\n| `cyclesInformation.currentCycle`  | `RecurringOrderCycle` | O ciclo pulado: `skipped: true`, `status.value: SUCCESS`, `order: null`.                                             |\n| `cyclesInformation.lastCycleDate` | `AWSDateTime`         | Data/hora da chamada.                                                                                                |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`         | Avançada **um período da frequência** a partir da data prevista anterior (ex.: mensal, previsto para 10/05 → 10/06). |\n\n### Erros\n\n| Código                                                           | Condição                                                                                                               | O que fazer                                                                                                        |\n| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)         | A assinatura não existe, não pertence ao consumidor do token ou **não está `ACTIVE`** (pausada, em erro ou cancelada). | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`) | A loja não tem política de assinaturas habilitada.                                                                     | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| `SKIP_NEXT_CYCLE_OPERATION_FAILED` (em `message`)                | Falha inesperada ao registrar o ciclo pulado.                                                                          | Releia a assinatura antes de tentar de novo (ver Notas).                                                           |\n| _(sem código)_                                                   | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                     | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                   | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                         | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                              | O consumidor do token nunca fez login na sua loja.                                                                     | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **NÃO é idempotente.** Cada chamada bem-sucedida registra **mais um** ciclo pulado e empurra `nextCycleDate` mais um período. Um retry após timeout pode pular dois ciclos. Antes de repetir, releia a assinatura e compare `cyclesInformation.cycleCount`/`nextCycleDate` com os valores anteriores.\n- **O efeito é imediato:** o ciclo pulado é registrado no momento da chamada (aparece em `customerRecurringOrderCycles` com `skipped: true`), sem cobrança nem pedido.\n- **Evite pular enquanto o ciclo atual estiver em erro aguardando retentativa** (`cyclesInformation.currentCycle.status.value: ERROR` ou `attemptingRetry: true`): o comportamento da retentativa nesse cenário não é garantido. Resolva o ciclo em erro (ex.: trocando o cartão com `customerUpdateRecurringOrderCreditCard`) antes de pular.\n- **Não há \"desfazer\".** Para recuperar a data, ajuste a frequência com `customerUpdateRecurringOrderFrequency` (que recalcula `nextCycleDate`) ou oriente o consumidor a falar com a loja."},"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":"c70f5297-7be6-4ce8-8270-8a2df85dee91","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 CustomerSkipNextRecurringOrderCycle($recurringOrderId: String!) {\n  customerSkipNextRecurringOrderCycle(recurringOrderId: $recurringOrderId) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"recurringOrderId\": \"Example_String\"\n}"}},"url":"{{base_url}}","description":"## customerSkipNextRecurringOrderCycle\n\n**Propósito:** Pula, em nome do consumidor, o próximo ciclo de uma assinatura (recurring order) ativa — a próxima entrega/cobrança não acontece e a recorrência segue a partir do ciclo seguinte.\n**Quando usar:** Quando o consumidor quer \"pular este mês\" sem pausar nem cancelar a assinatura. Consulte `recurringOrdersPolicy.customerActions.canSkipCycle` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome               | Tipo      | Obrigatório | Default | Descrição                                                                                           |\n| ------------------ | --------- | ----------- | ------- | --------------------------------------------------------------------------------------------------- |\n| `recurringOrderId` | `String!` | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). A assinatura precisa estar `ACTIVE`. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`):\n\n| Propriedade                       | Tipo                  | Valor após a chamada                                                                                                 |\n| --------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| `cyclesInformation.cycleCount`    | `Int!`                | Incrementado em 1 (o ciclo pulado conta como ciclo).                                                                 |\n| `cyclesInformation.currentCycle`  | `RecurringOrderCycle` | O ciclo pulado: `skipped: true`, `status.value: SUCCESS`, `order: null`.                                             |\n| `cyclesInformation.lastCycleDate` | `AWSDateTime`         | Data/hora da chamada.                                                                                                |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`         | Avançada **um período da frequência** a partir da data prevista anterior (ex.: mensal, previsto para 10/05 → 10/06). |\n\n### Erros\n\n| Código                                                           | Condição                                                                                                               | O que fazer                                                                                                        |\n| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)         | A assinatura não existe, não pertence ao consumidor do token ou **não está `ACTIVE`** (pausada, em erro ou cancelada). | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`) | A loja não tem política de assinaturas habilitada.                                                                     | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| `SKIP_NEXT_CYCLE_OPERATION_FAILED` (em `message`)                | Falha inesperada ao registrar o ciclo pulado.                                                                          | Releia a assinatura antes de tentar de novo (ver Notas).                                                           |\n| _(sem código)_                                                   | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`).                     | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                   | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).                         | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                              | O consumidor do token nunca fez login na sua loja.                                                                     | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **NÃO é idempotente.** Cada chamada bem-sucedida registra **mais um** ciclo pulado e empurra `nextCycleDate` mais um período. Um retry após timeout pode pular dois ciclos. Antes de repetir, releia a assinatura e compare `cyclesInformation.cycleCount`/`nextCycleDate` com os valores anteriores.\n- **O efeito é imediato:** o ciclo pulado é registrado no momento da chamada (aparece em `customerRecurringOrderCycles` com `skipped: true`), sem cobrança nem pedido.\n- **Evite pular enquanto o ciclo atual estiver em erro aguardando retentativa** (`cyclesInformation.currentCycle.status.value: ERROR` ou `attemptingRetry: true`): o comportamento da retentativa nesse cenário não é garantido. Resolva o ciclo em erro (ex.: trocando o cartão com `customerUpdateRecurringOrderCreditCard`) antes de pular.\n- **Não há \"desfazer\".** Para recuperar a data, ajuste a frequência com `customerUpdateRecurringOrderFrequency` (que recalcula `nextCycleDate`) ou oriente o consumidor a falar com a loja."},"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":"dda68a50-2afb-5b9a-bd63-3688bae48eb8"},{"name":"[Mutation] customerUpdateRecurringOrderCreditCard","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 customerUpdateRecurringOrderCreditCard data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerUpdateRecurringOrderCreditCard\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"6f71d850-7dbd-518f-b96e-6e27e063049b","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 CustomerUpdateRecurringOrderCreditCard($input: UpdateRecurringOrderCreditCardInput!) {\n  customerUpdateRecurringOrderCreditCard(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"creditCardData\": {\n      \"holderName\": \"Example_String\",\n      \"expirationMonth\": \"Example_String\",\n      \"expirationYear\": \"Example_String\",\n      \"cardNumber\": \"Example_String\",\n      \"securityCode\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerupdaterecurringordercreditcard\">customerUpdateRecurringOrderCreditCard</h2>\n<p><strong>Propósito:</strong> Troca, em nome do consumidor, o cartão de crédito usado para cobrar os próximos ciclos de uma assinatura (recurring order).\n<strong>Quando usar:</strong> Quando o cartão atual venceu, foi substituído ou está recusando cobranças. É a forma de destravar um ciclo com falha de pagamento: se o ciclo atual estiver em erro por pagamento (<code>PAYMENT_ERROR</code>), a troca dispara <strong>imediatamente</strong> uma nova tentativa de cobrança com o novo cartão.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível alterar assinaturas do consumidor do token.</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</code></td>\n<td><code>UpdateRecurringOrderCreditCardInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Dados da troca.</td>\n</tr>\n<tr>\n<td><code>input.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>customerRecurringOrders</code>). Não pode estar <code>CANCELED</code>.</td>\n</tr>\n<tr>\n<td><code>input.creditCardData</code></td>\n<td><code>CreditCardInformation!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Dados do novo cartão, <strong>em claro</strong> (não é um token).</td>\n</tr>\n<tr>\n<td><code>input.creditCardData.holderName</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Nome do titular, como impresso no cartão.</td>\n</tr>\n<tr>\n<td><code>input.creditCardData.cardNumber</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Número do cartão (somente dígitos).</td>\n</tr>\n<tr>\n<td><code>input.creditCardData.expirationMonth</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Mês de validade (ex.: <code>\"08\"</code>).</td>\n</tr>\n<tr>\n<td><code>input.creditCardData.expirationYear</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Ano de validade (ex.: <code>\"2030\"</code>).</td>\n</tr>\n<tr>\n<td><code>input.creditCardData.securityCode</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Código de segurança (CVV).</td>\n</tr>\n</tbody>\n</table>\n</div><p>Exemplo de variáveis (valores fictícios — use sempre dados de teste do ambiente de homologação):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"input\": {\n    \"recurringOrderId\": \"{{recurring_order_id}}\",\n    \"creditCardData\": {\n      \"holderName\": \"NOME DO TITULAR\",\n      \"cardNumber\": \"{{card_number}}\",\n      \"expirationMonth\": \"{{card_expiration_month}}\",\n      \"expirationYear\": \"{{card_expiration_year}}\",\n      \"securityCode\": \"{{card_security_code}}\"\n    }\n  }\n}\n</code></pre>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura já atualizada (estrutura em <code>shopRecurringOrders</code>). <code>unboxPayCustomerCreditCard</code> passa a refletir o novo cartão (<code>last4Digits</code>, validade, titular — nunca o número completo). Se houve nova tentativa imediata de cobrança, o resultado dela aparece em <code>cyclesInformation.currentCycle</code> e em <code>customerRecurringOrderCycles</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A assinatura não existe, não pertence ao consumidor do token ou está <code>CANCELED</code>.</td>\n<td>Confirme o <code>_id</code> e o status com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><code>INVALID_CARD_NUMBER</code> / <code>INVALID_CARD_INFORMATION</code> / <code>FAILED_TO_CREATE_CARD_ERROR</code> (em <code>message</code>)</td>\n<td>Número de cartão inválido ou dados do cartão recusados.</td>\n<td>Peça ao consumidor para revisar número, validade e CVV. Não reenvie os mesmos dados em loop.</td>\n</tr>\n<tr>\n<td><code>FAILED_TO_LINK_CUSTOMER_TO_CARD_ERROR</code> / <code>UNBOX_PAY_CUSTOMER_NOT_FOUND_ERROR</code></td>\n<td>Falha ao vincular o cartão à conta de pagamento do consumidor.</td>\n<td>Tente novamente mais tarde; se persistir, fale com seu contato Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Erro inesperado.</td>\n<td>Tente novamente mais tarde; se persistir, fale com seu contato Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Campo obrigatório de <code>creditCardData</code> ausente ou vazio.</td>\n<td>Corrija a chamada; verifique <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Dados sensíveis (PCI).</strong> Esta operação recebe o número completo do cartão e o CVV. Trafegue-os apenas do consumidor para a API, <strong>nunca</strong> os armazene nem os registre em logs, e trate seu ambiente conforme as exigências PCI DSS aplicáveis. Na collection, use sempre variáveis — nunca dados de cartão reais.</li>\n<li><strong>Efeito colateral — cobrança imediata.</strong> Se o ciclo atual estiver em erro por pagamento, a troca antecipa a próxima tentativa de cobrança para agora. Informe o consumidor de que a cobrança pode ocorrer na hora.</li>\n<li><strong>Idempotência:</strong> reenviar o mesmo cartão não o duplica na conta do consumidor. A nova tentativa imediata só acontece enquanto o ciclo atual ainda estiver em erro por pagamento — após uma cobrança bem-sucedida, repetir a chamada não gera nova cobrança.</li>\n<li>A troca vale para os ciclos seguintes; ciclos já concluídos não são alterados.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2115f29e-adbf-4aa8-9f3c-c0fae845600a","name":"200 - customerUpdateRecurringOrderCreditCard","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 CustomerUpdateRecurringOrderCreditCard($input: UpdateRecurringOrderCreditCardInput!) {\n  customerUpdateRecurringOrderCreditCard(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"creditCardData\": {\n      \"holderName\": \"Example_String\",\n      \"expirationMonth\": \"Example_String\",\n      \"expirationYear\": \"Example_String\",\n      \"cardNumber\": \"Example_String\",\n      \"securityCode\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderCreditCard\n\n**Propósito:** Troca, em nome do consumidor, o cartão de crédito usado para cobrar os próximos ciclos de uma assinatura (recurring order).\n**Quando usar:** Quando o cartão atual venceu, foi substituído ou está recusando cobranças. É a forma de destravar um ciclo com falha de pagamento: se o ciclo atual estiver em erro por pagamento (`PAYMENT_ERROR`), a troca dispara **imediatamente** uma nova tentativa de cobrança com o novo cartão.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                   | Tipo                                   | Obrigatório | Default | Descrição                                                                                 |\n| -------------------------------------- | -------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------- |\n| `input`                                | `UpdateRecurringOrderCreditCardInput!` | Sim         | —       | Dados da troca.                                                                           |\n| `input.recurringOrderId`               | `String!`                              | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`. |\n| `input.creditCardData`                 | `CreditCardInformation!`               | Sim         | —       | Dados do novo cartão, **em claro** (não é um token).                                      |\n| `input.creditCardData.holderName`      | `String!`                              | Sim         | —       | Nome do titular, como impresso no cartão.                                                 |\n| `input.creditCardData.cardNumber`      | `String!`                              | Sim         | —       | Número do cartão (somente dígitos).                                                       |\n| `input.creditCardData.expirationMonth` | `String!`                              | Sim         | —       | Mês de validade (ex.: `\"08\"`).                                                            |\n| `input.creditCardData.expirationYear`  | `String!`                              | Sim         | —       | Ano de validade (ex.: `\"2030\"`).                                                          |\n| `input.creditCardData.securityCode`    | `String!`                              | Sim         | —       | Código de segurança (CVV).                                                                |\n\nExemplo de variáveis (valores fictícios — use sempre dados de teste do ambiente de homologação):\n\n```json\n{\n  \"input\": {\n    \"recurringOrderId\": \"{{recurring_order_id}}\",\n    \"creditCardData\": {\n      \"holderName\": \"NOME DO TITULAR\",\n      \"cardNumber\": \"{{card_number}}\",\n      \"expirationMonth\": \"{{card_expiration_month}}\",\n      \"expirationYear\": \"{{card_expiration_year}}\",\n      \"securityCode\": \"{{card_security_code}}\"\n    }\n  }\n}\n```\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). `unboxPayCustomerCreditCard` passa a refletir o novo cartão (`last4Digits`, validade, titular — nunca o número completo). Se houve nova tentativa imediata de cobrança, o resultado dela aparece em `cyclesInformation.currentCycle` e em `customerRecurringOrderCycles`.\n\n### Erros\n\n| Código                                                                                            | Condição                                                                                           | O que fazer                                                                                                        |\n| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)                                          | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `INVALID_CARD_NUMBER` / `INVALID_CARD_INFORMATION` / `FAILED_TO_CREATE_CARD_ERROR` (em `message`) | Número de cartão inválido ou dados do cartão recusados.                                            | Peça ao consumidor para revisar número, validade e CVV. Não reenvie os mesmos dados em loop.                       |\n| `FAILED_TO_LINK_CUSTOMER_TO_CARD_ERROR` / `UNBOX_PAY_CUSTOMER_NOT_FOUND_ERROR`                    | Falha ao vincular o cartão à conta de pagamento do consumidor.                                     | Tente novamente mais tarde; se persistir, fale com seu contato Unbox.                                              |\n| _(sem código)_                                                                                    | Erro inesperado.                                                                                   | Tente novamente mais tarde; se persistir, fale com seu contato Unbox.                                              |\n| _(sem código)_                                                                                    | Campo obrigatório de `creditCardData` ausente ou vazio.                                            | Corrija a chamada; verifique `message`.                                                                            |\n| _(sem código)_                                                                                    | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                                                    | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                                               | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Dados sensíveis (PCI).** Esta operação recebe o número completo do cartão e o CVV. Trafegue-os apenas do consumidor para a API, **nunca** os armazene nem os registre em logs, e trate seu ambiente conforme as exigências PCI DSS aplicáveis. Na collection, use sempre variáveis — nunca dados de cartão reais.\n- **Efeito colateral — cobrança imediata.** Se o ciclo atual estiver em erro por pagamento, a troca antecipa a próxima tentativa de cobrança para agora. Informe o consumidor de que a cobrança pode ocorrer na hora.\n- **Idempotência:** reenviar o mesmo cartão não o duplica na conta do consumidor. A nova tentativa imediata só acontece enquanto o ciclo atual ainda estiver em erro por pagamento — após uma cobrança bem-sucedida, repetir a chamada não gera nova cobrança.\n- A troca vale para os ciclos seguintes; ciclos já concluídos não são alterados."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerUpdateRecurringOrderCreditCard\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"c8f4d175-49a9-4764-aebe-20b96f15b20b","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 CustomerUpdateRecurringOrderCreditCard($input: UpdateRecurringOrderCreditCardInput!) {\n  customerUpdateRecurringOrderCreditCard(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"creditCardData\": {\n      \"holderName\": \"Example_String\",\n      \"expirationMonth\": \"Example_String\",\n      \"expirationYear\": \"Example_String\",\n      \"cardNumber\": \"Example_String\",\n      \"securityCode\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderCreditCard\n\n**Propósito:** Troca, em nome do consumidor, o cartão de crédito usado para cobrar os próximos ciclos de uma assinatura (recurring order).\n**Quando usar:** Quando o cartão atual venceu, foi substituído ou está recusando cobranças. É a forma de destravar um ciclo com falha de pagamento: se o ciclo atual estiver em erro por pagamento (`PAYMENT_ERROR`), a troca dispara **imediatamente** uma nova tentativa de cobrança com o novo cartão.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                   | Tipo                                   | Obrigatório | Default | Descrição                                                                                 |\n| -------------------------------------- | -------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------- |\n| `input`                                | `UpdateRecurringOrderCreditCardInput!` | Sim         | —       | Dados da troca.                                                                           |\n| `input.recurringOrderId`               | `String!`                              | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`. |\n| `input.creditCardData`                 | `CreditCardInformation!`               | Sim         | —       | Dados do novo cartão, **em claro** (não é um token).                                      |\n| `input.creditCardData.holderName`      | `String!`                              | Sim         | —       | Nome do titular, como impresso no cartão.                                                 |\n| `input.creditCardData.cardNumber`      | `String!`                              | Sim         | —       | Número do cartão (somente dígitos).                                                       |\n| `input.creditCardData.expirationMonth` | `String!`                              | Sim         | —       | Mês de validade (ex.: `\"08\"`).                                                            |\n| `input.creditCardData.expirationYear`  | `String!`                              | Sim         | —       | Ano de validade (ex.: `\"2030\"`).                                                          |\n| `input.creditCardData.securityCode`    | `String!`                              | Sim         | —       | Código de segurança (CVV).                                                                |\n\nExemplo de variáveis (valores fictícios — use sempre dados de teste do ambiente de homologação):\n\n```json\n{\n  \"input\": {\n    \"recurringOrderId\": \"{{recurring_order_id}}\",\n    \"creditCardData\": {\n      \"holderName\": \"NOME DO TITULAR\",\n      \"cardNumber\": \"{{card_number}}\",\n      \"expirationMonth\": \"{{card_expiration_month}}\",\n      \"expirationYear\": \"{{card_expiration_year}}\",\n      \"securityCode\": \"{{card_security_code}}\"\n    }\n  }\n}\n```\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). `unboxPayCustomerCreditCard` passa a refletir o novo cartão (`last4Digits`, validade, titular — nunca o número completo). Se houve nova tentativa imediata de cobrança, o resultado dela aparece em `cyclesInformation.currentCycle` e em `customerRecurringOrderCycles`.\n\n### Erros\n\n| Código                                                                                            | Condição                                                                                           | O que fazer                                                                                                        |\n| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)                                          | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `INVALID_CARD_NUMBER` / `INVALID_CARD_INFORMATION` / `FAILED_TO_CREATE_CARD_ERROR` (em `message`) | Número de cartão inválido ou dados do cartão recusados.                                            | Peça ao consumidor para revisar número, validade e CVV. Não reenvie os mesmos dados em loop.                       |\n| `FAILED_TO_LINK_CUSTOMER_TO_CARD_ERROR` / `UNBOX_PAY_CUSTOMER_NOT_FOUND_ERROR`                    | Falha ao vincular o cartão à conta de pagamento do consumidor.                                     | Tente novamente mais tarde; se persistir, fale com seu contato Unbox.                                              |\n| _(sem código)_                                                                                    | Erro inesperado.                                                                                   | Tente novamente mais tarde; se persistir, fale com seu contato Unbox.                                              |\n| _(sem código)_                                                                                    | Campo obrigatório de `creditCardData` ausente ou vazio.                                            | Corrija a chamada; verifique `message`.                                                                            |\n| _(sem código)_                                                                                    | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                                                    | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                                               | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Dados sensíveis (PCI).** Esta operação recebe o número completo do cartão e o CVV. Trafegue-os apenas do consumidor para a API, **nunca** os armazene nem os registre em logs, e trate seu ambiente conforme as exigências PCI DSS aplicáveis. Na collection, use sempre variáveis — nunca dados de cartão reais.\n- **Efeito colateral — cobrança imediata.** Se o ciclo atual estiver em erro por pagamento, a troca antecipa a próxima tentativa de cobrança para agora. Informe o consumidor de que a cobrança pode ocorrer na hora.\n- **Idempotência:** reenviar o mesmo cartão não o duplica na conta do consumidor. A nova tentativa imediata só acontece enquanto o ciclo atual ainda estiver em erro por pagamento — após uma cobrança bem-sucedida, repetir a chamada não gera nova cobrança.\n- A troca vale para os ciclos seguintes; ciclos já concluídos não são alterados."},"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":"10f281c2-b6c0-4809-bae6-f0aef7cd0202","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 CustomerUpdateRecurringOrderCreditCard($input: UpdateRecurringOrderCreditCardInput!) {\n  customerUpdateRecurringOrderCreditCard(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"creditCardData\": {\n      \"holderName\": \"Example_String\",\n      \"expirationMonth\": \"Example_String\",\n      \"expirationYear\": \"Example_String\",\n      \"cardNumber\": \"Example_String\",\n      \"securityCode\": \"Example_String\"\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderCreditCard\n\n**Propósito:** Troca, em nome do consumidor, o cartão de crédito usado para cobrar os próximos ciclos de uma assinatura (recurring order).\n**Quando usar:** Quando o cartão atual venceu, foi substituído ou está recusando cobranças. É a forma de destravar um ciclo com falha de pagamento: se o ciclo atual estiver em erro por pagamento (`PAYMENT_ERROR`), a troca dispara **imediatamente** uma nova tentativa de cobrança com o novo cartão.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                   | Tipo                                   | Obrigatório | Default | Descrição                                                                                 |\n| -------------------------------------- | -------------------------------------- | ----------- | ------- | ----------------------------------------------------------------------------------------- |\n| `input`                                | `UpdateRecurringOrderCreditCardInput!` | Sim         | —       | Dados da troca.                                                                           |\n| `input.recurringOrderId`               | `String!`                              | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`. |\n| `input.creditCardData`                 | `CreditCardInformation!`               | Sim         | —       | Dados do novo cartão, **em claro** (não é um token).                                      |\n| `input.creditCardData.holderName`      | `String!`                              | Sim         | —       | Nome do titular, como impresso no cartão.                                                 |\n| `input.creditCardData.cardNumber`      | `String!`                              | Sim         | —       | Número do cartão (somente dígitos).                                                       |\n| `input.creditCardData.expirationMonth` | `String!`                              | Sim         | —       | Mês de validade (ex.: `\"08\"`).                                                            |\n| `input.creditCardData.expirationYear`  | `String!`                              | Sim         | —       | Ano de validade (ex.: `\"2030\"`).                                                          |\n| `input.creditCardData.securityCode`    | `String!`                              | Sim         | —       | Código de segurança (CVV).                                                                |\n\nExemplo de variáveis (valores fictícios — use sempre dados de teste do ambiente de homologação):\n\n```json\n{\n  \"input\": {\n    \"recurringOrderId\": \"{{recurring_order_id}}\",\n    \"creditCardData\": {\n      \"holderName\": \"NOME DO TITULAR\",\n      \"cardNumber\": \"{{card_number}}\",\n      \"expirationMonth\": \"{{card_expiration_month}}\",\n      \"expirationYear\": \"{{card_expiration_year}}\",\n      \"securityCode\": \"{{card_security_code}}\"\n    }\n  }\n}\n```\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`). `unboxPayCustomerCreditCard` passa a refletir o novo cartão (`last4Digits`, validade, titular — nunca o número completo). Se houve nova tentativa imediata de cobrança, o resultado dela aparece em `cyclesInformation.currentCycle` e em `customerRecurringOrderCycles`.\n\n### Erros\n\n| Código                                                                                            | Condição                                                                                           | O que fazer                                                                                                        |\n| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)                                          | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `INVALID_CARD_NUMBER` / `INVALID_CARD_INFORMATION` / `FAILED_TO_CREATE_CARD_ERROR` (em `message`) | Número de cartão inválido ou dados do cartão recusados.                                            | Peça ao consumidor para revisar número, validade e CVV. Não reenvie os mesmos dados em loop.                       |\n| `FAILED_TO_LINK_CUSTOMER_TO_CARD_ERROR` / `UNBOX_PAY_CUSTOMER_NOT_FOUND_ERROR`                    | Falha ao vincular o cartão à conta de pagamento do consumidor.                                     | Tente novamente mais tarde; se persistir, fale com seu contato Unbox.                                              |\n| _(sem código)_                                                                                    | Erro inesperado.                                                                                   | Tente novamente mais tarde; se persistir, fale com seu contato Unbox.                                              |\n| _(sem código)_                                                                                    | Campo obrigatório de `creditCardData` ausente ou vazio.                                            | Corrija a chamada; verifique `message`.                                                                            |\n| _(sem código)_                                                                                    | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                                                    | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                                               | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Dados sensíveis (PCI).** Esta operação recebe o número completo do cartão e o CVV. Trafegue-os apenas do consumidor para a API, **nunca** os armazene nem os registre em logs, e trate seu ambiente conforme as exigências PCI DSS aplicáveis. Na collection, use sempre variáveis — nunca dados de cartão reais.\n- **Efeito colateral — cobrança imediata.** Se o ciclo atual estiver em erro por pagamento, a troca antecipa a próxima tentativa de cobrança para agora. Informe o consumidor de que a cobrança pode ocorrer na hora.\n- **Idempotência:** reenviar o mesmo cartão não o duplica na conta do consumidor. A nova tentativa imediata só acontece enquanto o ciclo atual ainda estiver em erro por pagamento — após uma cobrança bem-sucedida, repetir a chamada não gera nova cobrança.\n- A troca vale para os ciclos seguintes; ciclos já concluídos não são alterados."},"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":"6f71d850-7dbd-518f-b96e-6e27e063049b"},{"name":"[Mutation] customerUpdateRecurringOrderShippingAddress","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 customerUpdateRecurringOrderShippingAddress data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerUpdateRecurringOrderShippingAddress\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"cdaf4225-348c-555b-8ab1-65690727a581","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 CustomerUpdateRecurringOrderShippingAddress($input: UpdateRecurringOrderShippingAddressInput!) {\n  customerUpdateRecurringOrderShippingAddress(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"shippingAddress\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerupdaterecurringordershippingaddress\">customerUpdateRecurringOrderShippingAddress</h2>\n<p><strong>Propósito:</strong> Atualiza, em nome do consumidor, o endereço de entrega de uma assinatura (recurring order).\n<strong>Quando usar:</strong> Quando o consumidor muda de endereço ou quer receber os próximos ciclos em outro local. Consulte <code>recurringOrdersPolicy.customerActions.canChangeAddress</code> (em <code>shopBySlug</code>) para saber se a loja oferece essa ação ao consumidor.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível alterar assinaturas do consumidor do token.</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</code></td>\n<td><code>UpdateRecurringOrderShippingAddressInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Dados da alteração.</td>\n</tr>\n<tr>\n<td><code>input.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>customerRecurringOrders</code>). Não pode estar <code>CANCELED</code>.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress</code></td>\n<td><code>AddressInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Novo endereço de entrega.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.fullName</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Nome completo do destinatário. Se <code>firstName</code>/<code>lastName</code> não forem enviados, são derivados deste campo.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.address1</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Logradouro.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.number</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Número.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.address2</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Complemento.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.neighborhood</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Bairro.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.city</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Cidade.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.cityCode</code></td>\n<td><code>String</code></td>\n<td>Não</td>\n<td>—</td>\n<td>Código do município (ex.: IBGE).</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.region</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Estado/UF (ex.: <code>SP</code>).</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.postal</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>CEP.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.country</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>País (ex.: <code>BR</code>).</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.phone</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Telefone de contato.</td>\n</tr>\n<tr>\n<td><code>input.shippingAddress.*</code> (demais)</td>\n<td>—</td>\n<td>Não</td>\n<td>—</td>\n<td><code>addressName</code>, <code>company</code>, <code>firstName</code>, <code>lastName</code>, <code>taxPayerId</code>, <code>reference</code>, <code>mobile</code>, <code>trackByMobile</code>, <code>isCommercial</code>, <code>isBillingDefault</code>, <code>isShippingDefault</code>, <code>metafields</code> — opcionais.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Para preencher cidade/UF a partir do CEP, use <code>getAddressByPostalCode</code> antes desta chamada.</p>\n<h3 id=\"retorno\">Retorno</h3>\n<p><code>Address!</code> — <strong>o endereço atualizado</strong> (não a assinatura): <code>_id</code>, <code>fullName</code>, <code>firstName</code>, <code>lastName</code>, <code>address1</code>, <code>address2</code>, <code>number</code>, <code>neighborhood</code>, <code>city</code>, <code>cityCode</code>, <code>region</code>, <code>postal</code>, <code>country</code>, <code>phone</code>, etc. Para ver a assinatura, releia-a com <code>customerRecurringOrders</code>/<code>customerRecurringOrderByReferenceId</code> (<code>shippingAddressBook</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A assinatura não existe, não pertence ao consumidor do token ou está <code>CANCELED</code>.</td>\n<td>Confirme o <code>_id</code> e o status com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><code>FAILED_TO_UPSERT_ADDRESS_BOOK_ERROR</code></td>\n<td>Falha ao gravar o endereço.</td>\n<td>Tente novamente; se persistir, fale com seu contato Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Campo obrigatório do endereço ausente ou fora do formato.</td>\n<td>Corrija conforme a tabela de argumentos; verifique <code>message</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>O endereço é atualizado no lugar, não substituído por um novo.</strong> O endereço de entrega da assinatura costuma ser um dos endereços salvos na conta do consumidor; a alteração se reflete também nesse endereço salvo (ex.: em <code>customerAddressBooks</code>) e em qualquer outra assinatura que use o mesmo endereço. Se o consumidor quer mudar só a entrega da assinatura, avise-o desse efeito.</li>\n<li><strong>Campos opcionais omitidos mantêm o valor anterior.</strong> Para limpar um campo opcional (ex.: <code>address2</code>, <code>reference</code>), envie-o explicitamente como <code>null</code>.</li>\n<li><strong>Idempotente:</strong> reenviar o mesmo endereço resulta no mesmo estado.</li>\n<li>Vale para os próximos ciclos; pedidos já gerados mantêm o endereço original.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"173eb6ca-99ba-44bf-b18b-17862ddef03e","name":"200 - customerUpdateRecurringOrderShippingAddress","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 CustomerUpdateRecurringOrderShippingAddress($input: UpdateRecurringOrderShippingAddressInput!) {\n  customerUpdateRecurringOrderShippingAddress(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"shippingAddress\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderShippingAddress\n\n**Propósito:** Atualiza, em nome do consumidor, o endereço de entrega de uma assinatura (recurring order).\n**Quando usar:** Quando o consumidor muda de endereço ou quer receber os próximos ciclos em outro local. Consulte `recurringOrdersPolicy.customerActions.canChangeAddress` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                 | Tipo                                        | Obrigatório | Default | Descrição                                                                                                                                                                                   |\n| ------------------------------------ | ------------------------------------------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input`                              | `UpdateRecurringOrderShippingAddressInput!` | Sim         | —       | Dados da alteração.                                                                                                                                                                         |\n| `input.recurringOrderId`             | `String!`                                   | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.                                                                                                   |\n| `input.shippingAddress`              | `AddressInput!`                             | Sim         | —       | Novo endereço de entrega.                                                                                                                                                                   |\n| `input.shippingAddress.fullName`     | `String!`                                   | Sim         | —       | Nome completo do destinatário. Se `firstName`/`lastName` não forem enviados, são derivados deste campo.                                                                                     |\n| `input.shippingAddress.address1`     | `String!`                                   | Sim         | —       | Logradouro.                                                                                                                                                                                 |\n| `input.shippingAddress.number`       | `String`                                    | Não         | —       | Número.                                                                                                                                                                                     |\n| `input.shippingAddress.address2`     | `String`                                    | Não         | —       | Complemento.                                                                                                                                                                                |\n| `input.shippingAddress.neighborhood` | `String`                                    | Não         | —       | Bairro.                                                                                                                                                                                     |\n| `input.shippingAddress.city`         | `String!`                                   | Sim         | —       | Cidade.                                                                                                                                                                                     |\n| `input.shippingAddress.cityCode`     | `String`                                    | Não         | —       | Código do município (ex.: IBGE).                                                                                                                                                            |\n| `input.shippingAddress.region`       | `String!`                                   | Sim         | —       | Estado/UF (ex.: `SP`).                                                                                                                                                                      |\n| `input.shippingAddress.postal`       | `String!`                                   | Sim         | —       | CEP.                                                                                                                                                                                        |\n| `input.shippingAddress.country`      | `String!`                                   | Sim         | —       | País (ex.: `BR`).                                                                                                                                                                           |\n| `input.shippingAddress.phone`        | `String!`                                   | Sim         | —       | Telefone de contato.                                                                                                                                                                        |\n| `input.shippingAddress.*` (demais)   | —                                           | Não         | —       | `addressName`, `company`, `firstName`, `lastName`, `taxPayerId`, `reference`, `mobile`, `trackByMobile`, `isCommercial`, `isBillingDefault`, `isShippingDefault`, `metafields` — opcionais. |\n\nPara preencher cidade/UF a partir do CEP, use `getAddressByPostalCode` antes desta chamada.\n\n### Retorno\n\n`Address!` — **o endereço atualizado** (não a assinatura): `_id`, `fullName`, `firstName`, `lastName`, `address1`, `address2`, `number`, `neighborhood`, `city`, `cityCode`, `region`, `postal`, `country`, `phone`, etc. Para ver a assinatura, releia-a com `customerRecurringOrders`/`customerRecurringOrderByReferenceId` (`shippingAddressBook`).\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `FAILED_TO_UPSERT_ADDRESS_BOOK_ERROR`                    | Falha ao gravar o endereço.                                                                        | Tente novamente; se persistir, fale com seu contato Unbox.                                                         |\n| _(sem código)_                                           | Campo obrigatório do endereço ausente ou fora do formato.                                          | Corrija conforme a tabela de argumentos; verifique `message`.                                                      |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O endereço é atualizado no lugar, não substituído por um novo.** O endereço de entrega da assinatura costuma ser um dos endereços salvos na conta do consumidor; a alteração se reflete também nesse endereço salvo (ex.: em `customerAddressBooks`) e em qualquer outra assinatura que use o mesmo endereço. Se o consumidor quer mudar só a entrega da assinatura, avise-o desse efeito.\n- **Campos opcionais omitidos mantêm o valor anterior.** Para limpar um campo opcional (ex.: `address2`, `reference`), envie-o explicitamente como `null`.\n- **Idempotente:** reenviar o mesmo endereço resulta no mesmo estado.\n- Vale para os próximos ciclos; pedidos já gerados mantêm o endereço original."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerUpdateRecurringOrderShippingAddress\": {\n      \"_id\": \"Example_ID\",\n      \"alias\": \"Example_String\",\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"postal\": \"Example_String\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"taxPayerId\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    }\n  }\n}"},{"id":"f3674011-8ba4-4a92-9921-5fa1fe8c9118","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 CustomerUpdateRecurringOrderShippingAddress($input: UpdateRecurringOrderShippingAddressInput!) {\n  customerUpdateRecurringOrderShippingAddress(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"shippingAddress\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderShippingAddress\n\n**Propósito:** Atualiza, em nome do consumidor, o endereço de entrega de uma assinatura (recurring order).\n**Quando usar:** Quando o consumidor muda de endereço ou quer receber os próximos ciclos em outro local. Consulte `recurringOrdersPolicy.customerActions.canChangeAddress` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                 | Tipo                                        | Obrigatório | Default | Descrição                                                                                                                                                                                   |\n| ------------------------------------ | ------------------------------------------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input`                              | `UpdateRecurringOrderShippingAddressInput!` | Sim         | —       | Dados da alteração.                                                                                                                                                                         |\n| `input.recurringOrderId`             | `String!`                                   | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.                                                                                                   |\n| `input.shippingAddress`              | `AddressInput!`                             | Sim         | —       | Novo endereço de entrega.                                                                                                                                                                   |\n| `input.shippingAddress.fullName`     | `String!`                                   | Sim         | —       | Nome completo do destinatário. Se `firstName`/`lastName` não forem enviados, são derivados deste campo.                                                                                     |\n| `input.shippingAddress.address1`     | `String!`                                   | Sim         | —       | Logradouro.                                                                                                                                                                                 |\n| `input.shippingAddress.number`       | `String`                                    | Não         | —       | Número.                                                                                                                                                                                     |\n| `input.shippingAddress.address2`     | `String`                                    | Não         | —       | Complemento.                                                                                                                                                                                |\n| `input.shippingAddress.neighborhood` | `String`                                    | Não         | —       | Bairro.                                                                                                                                                                                     |\n| `input.shippingAddress.city`         | `String!`                                   | Sim         | —       | Cidade.                                                                                                                                                                                     |\n| `input.shippingAddress.cityCode`     | `String`                                    | Não         | —       | Código do município (ex.: IBGE).                                                                                                                                                            |\n| `input.shippingAddress.region`       | `String!`                                   | Sim         | —       | Estado/UF (ex.: `SP`).                                                                                                                                                                      |\n| `input.shippingAddress.postal`       | `String!`                                   | Sim         | —       | CEP.                                                                                                                                                                                        |\n| `input.shippingAddress.country`      | `String!`                                   | Sim         | —       | País (ex.: `BR`).                                                                                                                                                                           |\n| `input.shippingAddress.phone`        | `String!`                                   | Sim         | —       | Telefone de contato.                                                                                                                                                                        |\n| `input.shippingAddress.*` (demais)   | —                                           | Não         | —       | `addressName`, `company`, `firstName`, `lastName`, `taxPayerId`, `reference`, `mobile`, `trackByMobile`, `isCommercial`, `isBillingDefault`, `isShippingDefault`, `metafields` — opcionais. |\n\nPara preencher cidade/UF a partir do CEP, use `getAddressByPostalCode` antes desta chamada.\n\n### Retorno\n\n`Address!` — **o endereço atualizado** (não a assinatura): `_id`, `fullName`, `firstName`, `lastName`, `address1`, `address2`, `number`, `neighborhood`, `city`, `cityCode`, `region`, `postal`, `country`, `phone`, etc. Para ver a assinatura, releia-a com `customerRecurringOrders`/`customerRecurringOrderByReferenceId` (`shippingAddressBook`).\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `FAILED_TO_UPSERT_ADDRESS_BOOK_ERROR`                    | Falha ao gravar o endereço.                                                                        | Tente novamente; se persistir, fale com seu contato Unbox.                                                         |\n| _(sem código)_                                           | Campo obrigatório do endereço ausente ou fora do formato.                                          | Corrija conforme a tabela de argumentos; verifique `message`.                                                      |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O endereço é atualizado no lugar, não substituído por um novo.** O endereço de entrega da assinatura costuma ser um dos endereços salvos na conta do consumidor; a alteração se reflete também nesse endereço salvo (ex.: em `customerAddressBooks`) e em qualquer outra assinatura que use o mesmo endereço. Se o consumidor quer mudar só a entrega da assinatura, avise-o desse efeito.\n- **Campos opcionais omitidos mantêm o valor anterior.** Para limpar um campo opcional (ex.: `address2`, `reference`), envie-o explicitamente como `null`.\n- **Idempotente:** reenviar o mesmo endereço resulta no mesmo estado.\n- Vale para os próximos ciclos; pedidos já gerados mantêm o endereço original."},"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":"c7b99e54-4169-40c2-8285-3cf1cc45f8b4","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 CustomerUpdateRecurringOrderShippingAddress($input: UpdateRecurringOrderShippingAddressInput!) {\n  customerUpdateRecurringOrderShippingAddress(input: $input) {\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_String\",\n    \"shippingAddress\": {\n      \"address1\": \"Example_String\",\n      \"address2\": \"Example_String\",\n      \"addressName\": \"Example_String\",\n      \"city\": \"Example_String\",\n      \"cityCode\": \"Example_String\",\n      \"company\": \"Example_String\",\n      \"country\": \"BR\",\n      \"firstName\": \"Example_String\",\n      \"fullName\": \"Example_String\",\n      \"isBillingDefault\": true,\n      \"isCommercial\": true,\n      \"isShippingDefault\": true,\n      \"lastName\": \"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      \"neighborhood\": \"Example_String\",\n      \"number\": \"Example_String\",\n      \"phone\": \"+5511999999999\",\n      \"region\": \"Example_String\",\n      \"reference\": \"Example_String\",\n      \"mobile\": \"Example_String\",\n      \"trackByMobile\": true\n    }\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderShippingAddress\n\n**Propósito:** Atualiza, em nome do consumidor, o endereço de entrega de uma assinatura (recurring order).\n**Quando usar:** Quando o consumidor muda de endereço ou quer receber os próximos ciclos em outro local. Consulte `recurringOrdersPolicy.customerActions.canChangeAddress` (em `shopBySlug`) para saber se a loja oferece essa ação ao consumidor.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                                 | Tipo                                        | Obrigatório | Default | Descrição                                                                                                                                                                                   |\n| ------------------------------------ | ------------------------------------------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `input`                              | `UpdateRecurringOrderShippingAddressInput!` | Sim         | —       | Dados da alteração.                                                                                                                                                                         |\n| `input.recurringOrderId`             | `String!`                                   | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.                                                                                                   |\n| `input.shippingAddress`              | `AddressInput!`                             | Sim         | —       | Novo endereço de entrega.                                                                                                                                                                   |\n| `input.shippingAddress.fullName`     | `String!`                                   | Sim         | —       | Nome completo do destinatário. Se `firstName`/`lastName` não forem enviados, são derivados deste campo.                                                                                     |\n| `input.shippingAddress.address1`     | `String!`                                   | Sim         | —       | Logradouro.                                                                                                                                                                                 |\n| `input.shippingAddress.number`       | `String`                                    | Não         | —       | Número.                                                                                                                                                                                     |\n| `input.shippingAddress.address2`     | `String`                                    | Não         | —       | Complemento.                                                                                                                                                                                |\n| `input.shippingAddress.neighborhood` | `String`                                    | Não         | —       | Bairro.                                                                                                                                                                                     |\n| `input.shippingAddress.city`         | `String!`                                   | Sim         | —       | Cidade.                                                                                                                                                                                     |\n| `input.shippingAddress.cityCode`     | `String`                                    | Não         | —       | Código do município (ex.: IBGE).                                                                                                                                                            |\n| `input.shippingAddress.region`       | `String!`                                   | Sim         | —       | Estado/UF (ex.: `SP`).                                                                                                                                                                      |\n| `input.shippingAddress.postal`       | `String!`                                   | Sim         | —       | CEP.                                                                                                                                                                                        |\n| `input.shippingAddress.country`      | `String!`                                   | Sim         | —       | País (ex.: `BR`).                                                                                                                                                                           |\n| `input.shippingAddress.phone`        | `String!`                                   | Sim         | —       | Telefone de contato.                                                                                                                                                                        |\n| `input.shippingAddress.*` (demais)   | —                                           | Não         | —       | `addressName`, `company`, `firstName`, `lastName`, `taxPayerId`, `reference`, `mobile`, `trackByMobile`, `isCommercial`, `isBillingDefault`, `isShippingDefault`, `metafields` — opcionais. |\n\nPara preencher cidade/UF a partir do CEP, use `getAddressByPostalCode` antes desta chamada.\n\n### Retorno\n\n`Address!` — **o endereço atualizado** (não a assinatura): `_id`, `fullName`, `firstName`, `lastName`, `address1`, `address2`, `number`, `neighborhood`, `city`, `cityCode`, `region`, `postal`, `country`, `phone`, etc. Para ver a assinatura, releia-a com `customerRecurringOrders`/`customerRecurringOrderByReferenceId` (`shippingAddressBook`).\n\n### Erros\n\n| Código                                                   | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`) | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `FAILED_TO_UPSERT_ADDRESS_BOOK_ERROR`                    | Falha ao gravar o endereço.                                                                        | Tente novamente; se persistir, fale com seu contato Unbox.                                                         |\n| _(sem código)_                                           | Campo obrigatório do endereço ausente ou fora do formato.                                          | Corrija conforme a tabela de argumentos; verifique `message`.                                                      |\n| _(sem código)_                                           | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                           | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                      | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **O endereço é atualizado no lugar, não substituído por um novo.** O endereço de entrega da assinatura costuma ser um dos endereços salvos na conta do consumidor; a alteração se reflete também nesse endereço salvo (ex.: em `customerAddressBooks`) e em qualquer outra assinatura que use o mesmo endereço. Se o consumidor quer mudar só a entrega da assinatura, avise-o desse efeito.\n- **Campos opcionais omitidos mantêm o valor anterior.** Para limpar um campo opcional (ex.: `address2`, `reference`), envie-o explicitamente como `null`.\n- **Idempotente:** reenviar o mesmo endereço resulta no mesmo estado.\n- Vale para os próximos ciclos; pedidos já gerados mantêm o endereço original."},"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":"cdaf4225-348c-555b-8ab1-65690727a581"},{"name":"[Mutation] customerUpdateRecurringOrderFrequency","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 customerUpdateRecurringOrderFrequency data\", function() {","    const json = pm.response.json();","    pm.expect(json.data).to.have.property(\"customerUpdateRecurringOrderFrequency\");","});","","pm.test(\"Response time is acceptable\", function() {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"]}}],"id":"f1e9e693-5951-5da9-93c4-655b16f4ddcd","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 CustomerUpdateRecurringOrderFrequency($input: UpdateRecurringOrderFrequencyInput!) {\n  customerUpdateRecurringOrderFrequency(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_ID\",\n    \"frequencyId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"<h2 id=\"customerupdaterecurringorderfrequency\">customerUpdateRecurringOrderFrequency</h2>\n<p><strong>Propósito:</strong> Altera, em nome do consumidor, a frequência de recorrência de uma assinatura (recurring order) e recalcula a data do próximo ciclo.\n<strong>Quando usar:</strong> Quando o consumidor quer receber com mais ou menos frequência (ex.: de mensal para a cada duas semanas). A nova frequência precisa ser uma das oferecidas pela loja: liste as opções em <code>shopBySlug</code> → <code>recurringOrdersPolicy.allowedFrequencies</code> (<code>_id</code>, <code>title</code>, <code>periodicity</code>, <code>interval</code>). Consulte também <code>recurringOrdersPolicy.customerActions.canChangeFrequency</code> para saber se a loja oferece essa ação ao consumidor. <strong>Idempotente:</strong> repetir com o mesmo <code>frequencyId</code> é seguro — a <code>nextCycleDate</code> só muda entre uma chamada e outra se o intervalo mínimo da loja a partir de hoje (<code>minDaysIntervalBetweenCycles</code>) a empurrar para frente.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>) + <strong><code>x-customer-token</code> (obrigatório)</strong> — o <code>accessToken</code> do consumidor, também sem <code>Bearer</code>. Só é possível alterar assinaturas do consumidor do token.</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</code></td>\n<td><code>UpdateRecurringOrderFrequencyInput!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td>Dados da alteração.</td>\n</tr>\n<tr>\n<td><code>input.recurringOrderId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> da assinatura (retornado por <code>customerRecurringOrders</code>). Não pode estar <code>CANCELED</code>.</td>\n</tr>\n<tr>\n<td><code>input.frequencyId</code></td>\n<td><code>ID!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> de uma frequência de <code>recurringOrdersPolicy.allowedFrequencies</code> da loja da assinatura.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p><code>RecurringOrder!</code> — a assinatura já atualizada (estrutura em <code>shopRecurringOrders</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>Valor após a chamada</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>frequency</code></td>\n<td><code>RecurringOrderFrequency!</code></td>\n<td>A frequência escolhida (<code>_id</code>, <code>title</code>, <code>periodicity</code>, <code>interval</code>, <code>maxInstallments</code>).</td>\n</tr>\n<tr>\n<td><code>cyclesInformation.nextCycleDate</code></td>\n<td><code>AWSDateTime</code></td>\n<td>Recalculada: data do último ciclo (ou da criação da assinatura, se ainda não houve ciclo) <strong>+ um período da nova frequência</strong> — mas nunca antes do intervalo mínimo da loja a partir de hoje (<code>minDaysIntervalBetweenCycles</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>RECURRING_ORDER_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A assinatura não existe, não pertence ao consumidor do token ou está <code>CANCELED</code>.</td>\n<td>Confirme o <code>_id</code> e o status com <code>customerRecurringOrders</code>.</td>\n</tr>\n<tr>\n<td><code>RECURRING_ORDER_FREQUENCY_NOT_ALLOWED_ERROR</code> (em <code>extensions.code</code>)</td>\n<td><code>frequencyId</code> não está entre as frequências permitidas pela loja.</td>\n<td>Releia <code>recurringOrdersPolicy.allowedFrequencies</code> e envie um <code>_id</code> da lista.</td>\n</tr>\n<tr>\n<td><code>RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR</code> (em <code>extensions.code</code>)</td>\n<td>A loja não tem política de assinaturas habilitada.</td>\n<td>Erro de configuração da loja — fale com seu contato Unbox.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>x-customer-token</code> ausente (quando obrigatório): <code>message</code> indica não autorizado (<code>Unauthorized</code>).</td>\n<td>Faça <code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code> e envie o <code>accessToken</code> em <code>x-customer-token</code>.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td>Token do consumidor (ou do parceiro) inválido ou expirado (a <code>message</code> indica não autorizado).</td>\n<td>Refaça o login do consumidor (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</code>); se persistir, refaça <code>signIn</code>.</td>\n</tr>\n<tr>\n<td><code>CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR</code></td>\n<td>O consumidor do token nunca fez login na sua loja.</td>\n<td>Faça o login do consumidor pela sua loja (<code>customerOTPRequest</code> → <code>customerPasswordlessSignIn</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>A próxima data é recalculada a partir do último ciclo, não de hoje.</strong> Ex.: último ciclo em 01/05, nova frequência semanal → próximo ciclo em 08/05 (ou mais tarde, se essa data já estiver dentro do intervalo mínimo da loja). Mostre ao consumidor a <code>nextCycleDate</code> retornada.</li>\n<li>Pode ser chamada com a assinatura <code>ACTIVE</code>, <code>PAUSED</code> ou <code>ERROR</code>; em <code>PAUSED</code>, a data recalculada só passa a valer quando a assinatura for reativada.</li>\n<li>Ciclos já gerados mantêm a frequência que valia para eles.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cf284119-4f27-4efe-9660-eb957b2f9bfb","name":"200 - customerUpdateRecurringOrderFrequency","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 CustomerUpdateRecurringOrderFrequency($input: UpdateRecurringOrderFrequencyInput!) {\n  customerUpdateRecurringOrderFrequency(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_ID\",\n    \"frequencyId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderFrequency\n\n**Propósito:** Altera, em nome do consumidor, a frequência de recorrência de uma assinatura (recurring order) e recalcula a data do próximo ciclo.\n**Quando usar:** Quando o consumidor quer receber com mais ou menos frequência (ex.: de mensal para a cada duas semanas). A nova frequência precisa ser uma das oferecidas pela loja: liste as opções em `shopBySlug` → `recurringOrdersPolicy.allowedFrequencies` (`_id`, `title`, `periodicity`, `interval`). Consulte também `recurringOrdersPolicy.customerActions.canChangeFrequency` para saber se a loja oferece essa ação ao consumidor. **Idempotente:** repetir com o mesmo `frequencyId` é seguro — a `nextCycleDate` só muda entre uma chamada e outra se o intervalo mínimo da loja a partir de hoje (`minDaysIntervalBetweenCycles`) a empurrar para frente.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                     | Tipo                                  | Obrigatório | Default | Descrição                                                                                    |\n| ------------------------ | ------------------------------------- | ----------- | ------- | -------------------------------------------------------------------------------------------- |\n| `input`                  | `UpdateRecurringOrderFrequencyInput!` | Sim         | —       | Dados da alteração.                                                                          |\n| `input.recurringOrderId` | `ID!`                                 | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.    |\n| `input.frequencyId`      | `ID!`                                 | Sim         | —       | `_id` de uma frequência de `recurringOrdersPolicy.allowedFrequencies` da loja da assinatura. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`):\n\n| Propriedade                       | Tipo                       | Valor após a chamada                                                                                                                                                                                                           |\n| --------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `frequency`                       | `RecurringOrderFrequency!` | A frequência escolhida (`_id`, `title`, `periodicity`, `interval`, `maxInstallments`).                                                                                                                                         |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`              | Recalculada: data do último ciclo (ou da criação da assinatura, se ainda não houve ciclo) **+ um período da nova frequência** — mas nunca antes do intervalo mínimo da loja a partir de hoje (`minDaysIntervalBetweenCycles`). |\n\n### Erros\n\n| Código                                                               | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)             | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDER_FREQUENCY_NOT_ALLOWED_ERROR` (em `extensions.code`) | `frequencyId` não está entre as frequências permitidas pela loja.                                  | Releia `recurringOrdersPolicy.allowedFrequencies` e envie um `_id` da lista.                                       |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`)     | A loja não tem política de assinaturas habilitada.                                                 | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| _(sem código)_                                                       | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                       | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                  | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **A próxima data é recalculada a partir do último ciclo, não de hoje.** Ex.: último ciclo em 01/05, nova frequência semanal → próximo ciclo em 08/05 (ou mais tarde, se essa data já estiver dentro do intervalo mínimo da loja). Mostre ao consumidor a `nextCycleDate` retornada.\n- Pode ser chamada com a assinatura `ACTIVE`, `PAUSED` ou `ERROR`; em `PAUSED`, a data recalculada só passa a valer quando a assinatura for reativada.\n- Ciclos já gerados mantêm a frequência que valia para eles."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"customerUpdateRecurringOrderFrequency\": {\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      \"customer\": {\n        \"email\": \"cliente@exemplo.com\",\n        \"name\": \"Example_String\"\n      },\n      \"discount\": {\n        \"discountId\": \"Example_String\",\n        \"code\": \"Example_String\"\n      },\n      \"unboxPayCustomerId\": \"Example_String\",\n      \"referenceId\": \"Example_String\",\n      \"frequency\": {\n        \"_id\": \"Example_String\",\n        \"title\": \"Example_String\",\n        \"periodicity\": \"DAY\",\n        \"interval\": 10,\n        \"maxInstallments\": 10\n      },\n      \"pricingPolicy\": {\n        \"type\": \"PERCENTAGE_OFF\",\n        \"value\": 99.99\n      },\n      \"cyclesInformation\": {\n        \"cycleCount\": 10,\n        \"skipNextCycle\": true,\n        \"lastCycleDate\": \"2025-01-15T10:00:00Z\",\n        \"nextCycleDate\": \"2025-01-15T10:00:00Z\"\n      },\n      \"status\": {\n        \"value\": \"ACTIVE\",\n        \"createdAt\": \"2025-01-15T10:00:00Z\",\n        \"createdBy\": \"Example_ID\",\n        \"triggeredBy\": \"Example_String\"\n      },\n      \"items\": [\n        {\n          \"productERPCode\": \"Example_String\",\n          \"productId\": \"Example_String\",\n          \"variantERPCode\": \"Example_String\",\n          \"variantId\": \"Example_String\",\n          \"productKitId\": \"Example_String\",\n          \"quantity\": 1,\n          \"skipNextCycle\": true\n        }\n      ],\n      \"unboxPayCustomerCreditCard\": {\n        \"first4Digits\": \"Example_String\",\n        \"first6Digits\": \"Example_String\",\n        \"last4Digits\": \"Example_String\",\n        \"expirationMonth\": \"Example_String\",\n        \"expirationYear\": \"Example_String\",\n        \"holderName\": \"Example_String\"\n      },\n      \"numberOfInstallments\": 10,\n      \"shippingAddressBook\": {\n        \"_id\": \"Example_ID\",\n        \"alias\": \"Example_String\",\n        \"address1\": \"Example_String\",\n        \"address2\": \"Example_String\",\n        \"city\": \"Example_String\",\n        \"cityCode\": \"Example_String\",\n        \"company\": \"Example_String\",\n        \"country\": \"BR\",\n        \"firstName\": \"Example_String\",\n        \"fullName\": \"Example_String\",\n        \"isBillingDefault\": true,\n        \"isCommercial\": true,\n        \"isShippingDefault\": true,\n        \"lastName\": \"Example_String\",\n        \"neighborhood\": \"Example_String\",\n        \"number\": \"Example_String\",\n        \"phone\": \"+5511999999999\",\n        \"postal\": \"Example_String\",\n        \"region\": \"Example_String\",\n        \"reference\": \"Example_String\",\n        \"taxPayerId\": \"Example_String\",\n        \"mobile\": \"Example_String\",\n        \"trackByMobile\": true\n      },\n      \"totalAmount\": {\n        \"amount\": 99.99,\n        \"displayAmount\": 99.99\n      }\n    }\n  }\n}"},{"id":"b5e1cc60-d0a3-4f4f-8a02-bcfec193bf6a","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 CustomerUpdateRecurringOrderFrequency($input: UpdateRecurringOrderFrequencyInput!) {\n  customerUpdateRecurringOrderFrequency(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_ID\",\n    \"frequencyId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderFrequency\n\n**Propósito:** Altera, em nome do consumidor, a frequência de recorrência de uma assinatura (recurring order) e recalcula a data do próximo ciclo.\n**Quando usar:** Quando o consumidor quer receber com mais ou menos frequência (ex.: de mensal para a cada duas semanas). A nova frequência precisa ser uma das oferecidas pela loja: liste as opções em `shopBySlug` → `recurringOrdersPolicy.allowedFrequencies` (`_id`, `title`, `periodicity`, `interval`). Consulte também `recurringOrdersPolicy.customerActions.canChangeFrequency` para saber se a loja oferece essa ação ao consumidor. **Idempotente:** repetir com o mesmo `frequencyId` é seguro — a `nextCycleDate` só muda entre uma chamada e outra se o intervalo mínimo da loja a partir de hoje (`minDaysIntervalBetweenCycles`) a empurrar para frente.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                     | Tipo                                  | Obrigatório | Default | Descrição                                                                                    |\n| ------------------------ | ------------------------------------- | ----------- | ------- | -------------------------------------------------------------------------------------------- |\n| `input`                  | `UpdateRecurringOrderFrequencyInput!` | Sim         | —       | Dados da alteração.                                                                          |\n| `input.recurringOrderId` | `ID!`                                 | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.    |\n| `input.frequencyId`      | `ID!`                                 | Sim         | —       | `_id` de uma frequência de `recurringOrdersPolicy.allowedFrequencies` da loja da assinatura. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`):\n\n| Propriedade                       | Tipo                       | Valor após a chamada                                                                                                                                                                                                           |\n| --------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `frequency`                       | `RecurringOrderFrequency!` | A frequência escolhida (`_id`, `title`, `periodicity`, `interval`, `maxInstallments`).                                                                                                                                         |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`              | Recalculada: data do último ciclo (ou da criação da assinatura, se ainda não houve ciclo) **+ um período da nova frequência** — mas nunca antes do intervalo mínimo da loja a partir de hoje (`minDaysIntervalBetweenCycles`). |\n\n### Erros\n\n| Código                                                               | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)             | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDER_FREQUENCY_NOT_ALLOWED_ERROR` (em `extensions.code`) | `frequencyId` não está entre as frequências permitidas pela loja.                                  | Releia `recurringOrdersPolicy.allowedFrequencies` e envie um `_id` da lista.                                       |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`)     | A loja não tem política de assinaturas habilitada.                                                 | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| _(sem código)_                                                       | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                       | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                  | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **A próxima data é recalculada a partir do último ciclo, não de hoje.** Ex.: último ciclo em 01/05, nova frequência semanal → próximo ciclo em 08/05 (ou mais tarde, se essa data já estiver dentro do intervalo mínimo da loja). Mostre ao consumidor a `nextCycleDate` retornada.\n- Pode ser chamada com a assinatura `ACTIVE`, `PAUSED` ou `ERROR`; em `PAUSED`, a data recalculada só passa a valer quando a assinatura for reativada.\n- Ciclos já gerados mantêm a frequência que valia para eles."},"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":"2727732d-2bdc-4066-9cd5-18bfe5a404b4","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 CustomerUpdateRecurringOrderFrequency($input: UpdateRecurringOrderFrequencyInput!) {\n  customerUpdateRecurringOrderFrequency(input: $input) {\n    _id\n    shopId\n    createdAt\n    updatedAt\n    customerAccountId\n    customer {\n      email\n      name\n    }\n    discount {\n      discountId\n      code\n    }\n    unboxPayCustomerId\n    referenceId\n    frequency {\n      _id\n      title\n      periodicity\n      interval\n      maxInstallments\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            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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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              titleLabel\n              highlightLabel\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              titleLabel\n              highlightLabel\n              shortDescription\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          maxInstallments\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    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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\n            startCursor\n            endCursor\n          }\n          totalCount\n          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            hasCustomStorefront\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              allowInstallments\n              maxInstallments\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              provider\n              externalId\n            }\n            settings {\n              allowLegalPersonSales\n              showOutOfStockCatalogs\n              allowAnonymousRecurringOrders\n              maxInstallments\n              maxInstallmentsWithoutInterest\n              threeDSActive\n              unboxPayProviders\n            }\n            lastAppliedStoreTemplatePresetId\n            dashboards {\n              url\n              title\n              header\n              category\n            }\n            sitemap\n            tags {\n            pageInfo {\n              hasNextPage\n              hasPreviousPage\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          titleLabel\n          highlightLabel\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          titleLabel\n          highlightLabel\n          shortDescription\n          linkedProducts {\n            erpCode\n            productId\n            title\n            label\n            titleLabel\n            highlightLabel\n            shortDescription\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              hasCustomStorefront\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              lastAppliedStoreTemplatePresetId\n              sitemap\n              tags {\n              pageInfo {\n                hasNextPage\n                hasPreviousPage\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      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    numberOfInstallments\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}","variables":"{\n  \"input\": {\n    \"recurringOrderId\": \"Example_ID\",\n    \"frequencyId\": \"Example_ID\"\n  }\n}"}},"url":"{{base_url}}","description":"## customerUpdateRecurringOrderFrequency\n\n**Propósito:** Altera, em nome do consumidor, a frequência de recorrência de uma assinatura (recurring order) e recalcula a data do próximo ciclo.\n**Quando usar:** Quando o consumidor quer receber com mais ou menos frequência (ex.: de mensal para a cada duas semanas). A nova frequência precisa ser uma das oferecidas pela loja: liste as opções em `shopBySlug` → `recurringOrdersPolicy.allowedFrequencies` (`_id`, `title`, `periodicity`, `interval`). Consulte também `recurringOrdersPolicy.customerActions.canChangeFrequency` para saber se a loja oferece essa ação ao consumidor. **Idempotente:** repetir com o mesmo `frequencyId` é seguro — a `nextCycleDate` só muda entre uma chamada e outra se o intervalo mínimo da loja a partir de hoje (`minDaysIntervalBetweenCycles`) a empurrar para frente.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**) + **`x-customer-token` (obrigatório)** — o `accessToken` do consumidor, também sem `Bearer`. Só é possível alterar assinaturas do consumidor do token.\n\n### Argumentos\n\n| Nome                     | Tipo                                  | Obrigatório | Default | Descrição                                                                                    |\n| ------------------------ | ------------------------------------- | ----------- | ------- | -------------------------------------------------------------------------------------------- |\n| `input`                  | `UpdateRecurringOrderFrequencyInput!` | Sim         | —       | Dados da alteração.                                                                          |\n| `input.recurringOrderId` | `ID!`                                 | Sim         | —       | `_id` da assinatura (retornado por `customerRecurringOrders`). Não pode estar `CANCELED`.    |\n| `input.frequencyId`      | `ID!`                                 | Sim         | —       | `_id` de uma frequência de `recurringOrdersPolicy.allowedFrequencies` da loja da assinatura. |\n\n### Retorno\n\n`RecurringOrder!` — a assinatura já atualizada (estrutura em `shopRecurringOrders`):\n\n| Propriedade                       | Tipo                       | Valor após a chamada                                                                                                                                                                                                           |\n| --------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `frequency`                       | `RecurringOrderFrequency!` | A frequência escolhida (`_id`, `title`, `periodicity`, `interval`, `maxInstallments`).                                                                                                                                         |\n| `cyclesInformation.nextCycleDate` | `AWSDateTime`              | Recalculada: data do último ciclo (ou da criação da assinatura, se ainda não houve ciclo) **+ um período da nova frequência** — mas nunca antes do intervalo mínimo da loja a partir de hoje (`minDaysIntervalBetweenCycles`). |\n\n### Erros\n\n| Código                                                               | Condição                                                                                           | O que fazer                                                                                                        |\n| -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `RECURRING_ORDER_NOT_FOUND_ERROR` (em `extensions.code`)             | A assinatura não existe, não pertence ao consumidor do token ou está `CANCELED`.                   | Confirme o `_id` e o status com `customerRecurringOrders`.                                                         |\n| `RECURRING_ORDER_FREQUENCY_NOT_ALLOWED_ERROR` (em `extensions.code`) | `frequencyId` não está entre as frequências permitidas pela loja.                                  | Releia `recurringOrdersPolicy.allowedFrequencies` e envie um `_id` da lista.                                       |\n| `RECURRING_ORDERS_POLICY_NOT_FOUND_ERROR` (em `extensions.code`)     | A loja não tem política de assinaturas habilitada.                                                 | Erro de configuração da loja — fale com seu contato Unbox.                                                         |\n| _(sem código)_                                                       | `x-customer-token` ausente (quando obrigatório): `message` indica não autorizado (`Unauthorized`). | Faça `customerOTPRequest` → `customerPasswordlessSignIn` e envie o `accessToken` em `x-customer-token`.            |\n| _(sem código)_                                                       | Token do consumidor (ou do parceiro) inválido ou expirado (a `message` indica não autorizado).     | Refaça o login do consumidor (`customerOTPRequest` → `customerPasswordlessSignIn`); se persistir, refaça `signIn`. |\n| `CUSTOMER_NOT_SIGNED_TO_SHOP_ERROR`                                  | O consumidor do token nunca fez login na sua loja.                                                 | Faça o login do consumidor pela sua loja (`customerOTPRequest` → `customerPasswordlessSignIn`).                    |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **A próxima data é recalculada a partir do último ciclo, não de hoje.** Ex.: último ciclo em 01/05, nova frequência semanal → próximo ciclo em 08/05 (ou mais tarde, se essa data já estiver dentro do intervalo mínimo da loja). Mostre ao consumidor a `nextCycleDate` retornada.\n- Pode ser chamada com a assinatura `ACTIVE`, `PAUSED` ou `ERROR`; em `PAUSED`, a data recalculada só passa a valer quando a assinatura for reativada.\n- Ciclos já gerados mantêm a frequência que valia para eles."},"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":"f1e9e693-5951-5da9-93c4-655b16f4ddcd"}],"id":"ddb8b792-7949-40b8-9571-6bd468246a1d","_postman_id":"ddb8b792-7949-40b8-9571-6bd468246a1d","description":""}],"id":"381a94e3-b46c-4c08-b16c-69b6ba0aa30f","description":"<h1 id=\"assinaturas-recorrentes\">Assinaturas Recorrentes</h1>\n<p>Operações para acompanhar e gerenciar as assinaturas (recurring orders) de clientes na sua loja. O grupo tem <strong>duas visões</strong>, com autenticação diferente:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Visão</th>\n<th>Operações</th>\n<th>Quem age</th>\n<th>Headers</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Loja</strong></td>\n<td><code>shopRecurringOrders</code>, <code>shopRecurringOrderById</code>, <code>shopRecurringOrderByReferenceId</code>, <code>shopRecurringOrderCycles</code> (somente leitura)</td>\n<td>Sua conta de parceiro — enxerga todas as assinaturas da loja.</td>\n<td><code>x-api-key</code> + <code>Authorization</code></td>\n</tr>\n<tr>\n<td><strong>Consumidor</strong></td>\n<td><code>customerRecurringOrders</code>, <code>customerRecurringOrderByReferenceId</code>, <code>customerRecurringOrderCycles</code> (leitura) e <code>customerCancelRecurringOrder</code>, <code>customerTogglePauseRecurringOrder</code>, <code>customerSkipNextRecurringOrderCycle</code>, <code>customerUpdateRecurringOrderItems</code>, <code>customerUpdateRecurringOrderFrequency</code>, <code>customerUpdateRecurringOrderCreditCard</code>, <code>customerUpdateRecurringOrderShippingAddress</code> (escrita)</td>\n<td>O consumidor final — enxerga e altera <strong>apenas as próprias</strong> assinaturas.</td>\n<td><code>x-api-key</code> + <code>Authorization</code> + <strong><code>x-customer-token</code></strong> (obrigatório)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"autenticação-da-visão-do-consumidor-x-customer-token\">Autenticação da visão do consumidor (<code>x-customer-token</code>)</h2>\n<p>Exige <code>x-customer-token</code> — ver o Overview da collection (\"Consumidor final\") e o folder Conta do consumidor para o login do consumidor. Específico deste domínio: a conta do consumidor é identificada <strong>somente</strong> por esse token — nenhuma operação <code>customer*</code> recebe argumento de conta/cliente.</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, o endereço de entrega 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> / <code>customerRecurringOrders</code> listam assinaturas; <code>shopRecurringOrderCycles</code> / <code>customerRecurringOrderCycles</code> detalham o histórico de execuções de <strong>uma</strong> assinatura específica, identificada pelo seu <code>_id</code>. Alterações na assinatura (itens, frequência, cartão, endereço, pausa, cancelamento) valem para os <strong>próximos</strong> ciclos — ciclos já gerados não são reescritos.</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. <code>CANCELED</code> é <strong>terminal</strong>: uma assinatura cancelada não aceita mais nenhuma alteração.</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. Um ciclo pulado aparece como <code>SUCCESS</code> com <code>skipped: true</code> (sem cobrança nem pedido).</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>RecurringOrderFrequency</code></td>\n<td><code>_id</code>, <code>title</code>, <code>periodicity</code>, <code>interval</code>, <code>maxInstallments</code></td>\n<td>Uma opção de frequência. As opções válidas são definidas pela loja (ver \"Política de assinaturas da loja\" abaixo); o <code>_id</code> é o que se envia em <code>customerUpdateRecurringOrderFrequency</code>.</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><p>A estrutura completa de <code>RecurringOrder</code> (retornada pelas queries de listagem e pela maioria das mutations <code>customer*</code>) está descrita em <code>shopRecurringOrders</code>; a de <code>RecurringOrderCycle</code>, em <code>shopRecurringOrderCycles</code>. Além dos campos listados lá, <code>RecurringOrder</code> traz <code>shopId</code> (loja da assinatura) e <code>numberOfInstallments</code> (parcelas de cada cobrança).</p>\n<h2 id=\"política-de-assinaturas-da-loja\">Política de assinaturas da loja</h2>\n<p>A configuração de assinaturas da sua loja pode ser lida em <code>shopBySlug</code> → <code>recurringOrdersPolicy</code>: <code>allowedFrequencies</code> (as frequências válidas), <code>minDaysIntervalBetweenCycles</code>, <code>productsPolicy</code> (quais produtos podem ser assinados) e <code>customerActions</code> (<code>canSkipCycle</code>, <code>canPause</code>, <code>canChangeFrequency</code>, <code>canChangeAddress</code>, <code>canAddProducts</code>, <code>canRemoveProducts</code>, <code>canChangeProductQuantity</code>). Use <code>customerActions</code> para decidir quais ações oferecer ao consumidor na sua interface.</p>\n<h2 id=\"paginação-relay\">Paginação (Relay)</h2>\n<p>As queries de listagem 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>first</code>/<code>last</code> aceitam de 1 a 50 (padrão 20 quando nenhum é enviado). <code>sortOrder</code> (<code>asc</code>/<code>desc</code>, padrão <code>desc</code>) e <code>sortBy</code> controlam a ordenação — hoje todas as listagens 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>Listagens de assinatura trazem todas; listagens de ciclo exigem uma assinatura específica.</strong> O filtro de <code>shopRecurringOrderCycles</code>/<code>customerRecurringOrderCycles</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 (loja):</strong> <code>shopRecurringOrders</code> para localizar a assinatura — com <code>filters.searchField</code> para buscar por código, e-mail ou nome do cliente — ou <code>shopRecurringOrderById</code>/<code>shopRecurringOrderByReferenceId</code> quando você já tem o identificador; depois <code>shopRecurringOrderCycles</code> com o <code>_id</code> para inspecionar o histórico de cobranças.</li>\n<li><strong>Fluxo típico (consumidor):</strong> login do consumidor → <code>customerRecurringOrders</code> (ou <code>customerRecurringOrderByReferenceId</code>) → a mutation desejada com o <code>_id</code> da assinatura.</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 a query de ciclos.</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> na visão da loja, a assinatura precisa pertencer à loja autenticada; na visão do consumidor, precisa pertencer ao consumidor do <code>x-customer-token</code>. Um <code>_id</code> fora desse escopo resulta em <code>RECURRING_ORDER_NOT_FOUND_ERROR</code>.</li>\n<li><strong>Mutations não são todas idempotentes.</strong> <code>customerTogglePauseRecurringOrder</code> <strong>alterna</strong> o estado e <code>customerSkipNextRecurringOrderCycle</code> pula <strong>mais um</strong> ciclo a cada chamada — não faça retry cego; releia a assinatura antes de repetir. Detalhes em cada operação.</li>\n</ul>\n","_postman_id":"381a94e3-b46c-4c08-b16c-69b6ba0aa30f"},{"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.checkoutModifiers !== undefined && data.checkoutModifiers !== null) {","            pm.expect(data.checkoutModifiers).to.be.an(\"array\");","        }","        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\");","        }","    }","});"]}}],"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    checkoutModifiers {\n      type\n      appliesTo\n      filter\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":"dfb34981-7a83-49c3-a73d-64b8f3f201f4","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    checkoutModifiers {\n      type\n      appliesTo\n      filter\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      \"checkoutModifiers\": [\n        {\n          \"type\": \"INTERNATIONAL_FEDERAL_REMESSA_CONFORME_TAX\",\n          \"appliesTo\": [\n            \"PAYMENT_LINK\"\n          ],\n          \"filter\": {}\n        }\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":"41f11ddf-0363-4676-835d-4787f247f63d","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    checkoutModifiers {\n      type\n      appliesTo\n      filter\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":"8758e691-a393-47e2-ab9f-bd086baad8fd","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    checkoutModifiers {\n      type\n      appliesTo\n      filter\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":"31ac4261-00a3-4156-977e-61dff34059c9","_postman_id":"31ac4261-00a3-4156-977e-61dff34059c9","description":""}],"id":"15256845-9948-4002-b93d-ebd47b69fc45","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":"15256845-9948-4002-b93d-ebd47b69fc45"},{"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) {","        pm.expect(data).to.have.property(\"hasCustomStorefront\");","        if (data.hasCustomStorefront !== undefined && data.hasCustomStorefront !== null) {","            pm.expect(typeof data.hasCustomStorefront).to.equal(\"boolean\");","        }","        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\");","        }","    }","});"]}}],"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    hasCustomStorefront\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              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        }\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              provider\n              externalId\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        maxInstallments\n      }\n      minDaysIntervalBetweenCycles\n      allowInstallments\n      maxInstallments\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          titleLabel\n          highlightLabel\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        targetedOption\n      }\n      address {\n        address1\n        address2\n        city\n        cityCode\n        country\n        fullName\n        neighborhood\n        number\n        postal\n        region\n      }\n      additionalDaysToDeliver\n      availability {\n        days\n        startHour\n        endHour\n      }\n      createdAt\n      updatedAt\n      ordersCount\n      missingCredentials\n      provider\n      externalId\n    }\n    settings {\n      allowLegalPersonSales\n      showOutOfStockCatalogs\n      allowAnonymousRecurringOrders\n      maxInstallments\n      maxInstallmentsWithoutInterest\n      threeDSActive\n      shopify {\n        storeDomain\n      }\n      unboxPayProviders\n    }\n    lastAppliedStoreTemplatePresetId\n    dashboards {\n      url\n      title\n      header\n      category\n    }\n    sitemap\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\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":"9cc4886f-834a-48f2-a4ba-1893bec3e976","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    hasCustomStorefront\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              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        }\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              provider\n              externalId\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        maxInstallments\n      }\n      minDaysIntervalBetweenCycles\n      allowInstallments\n      maxInstallments\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          titleLabel\n          highlightLabel\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        targetedOption\n      }\n      address {\n        address1\n        address2\n        city\n        cityCode\n        country\n        fullName\n        neighborhood\n        number\n        postal\n        region\n      }\n      additionalDaysToDeliver\n      availability {\n        days\n        startHour\n        endHour\n      }\n      createdAt\n      updatedAt\n      ordersCount\n      missingCredentials\n      provider\n      externalId\n    }\n    settings {\n      allowLegalPersonSales\n      showOutOfStockCatalogs\n      allowAnonymousRecurringOrders\n      maxInstallments\n      maxInstallmentsWithoutInterest\n      threeDSActive\n      shopify {\n        storeDomain\n      }\n      unboxPayProviders\n    }\n    lastAppliedStoreTemplatePresetId\n    dashboards {\n      url\n      title\n      header\n      category\n    }\n    sitemap\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\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      \"hasCustomStorefront\": true,\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        \"allowInstallments\": true,\n        \"maxInstallments\": 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          \"provider\": \"INTELIPOST\",\n          \"externalId\": \"Example_String\"\n        }\n      ],\n      \"settings\": {\n        \"allowLegalPersonSales\": true,\n        \"showOutOfStockCatalogs\": true,\n        \"allowAnonymousRecurringOrders\": true,\n        \"maxInstallments\": 10,\n        \"maxInstallmentsWithoutInterest\": 10,\n        \"threeDSActive\": true,\n        \"unboxPayProviders\": [\n          \"ZOOP\"\n        ]\n      },\n      \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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":"2a0205aa-8fb6-4733-92e4-a1389e6deb93","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    hasCustomStorefront\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              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        }\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              provider\n              externalId\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        maxInstallments\n      }\n      minDaysIntervalBetweenCycles\n      allowInstallments\n      maxInstallments\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          titleLabel\n          highlightLabel\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        targetedOption\n      }\n      address {\n        address1\n        address2\n        city\n        cityCode\n        country\n        fullName\n        neighborhood\n        number\n        postal\n        region\n      }\n      additionalDaysToDeliver\n      availability {\n        days\n        startHour\n        endHour\n      }\n      createdAt\n      updatedAt\n      ordersCount\n      missingCredentials\n      provider\n      externalId\n    }\n    settings {\n      allowLegalPersonSales\n      showOutOfStockCatalogs\n      allowAnonymousRecurringOrders\n      maxInstallments\n      maxInstallmentsWithoutInterest\n      threeDSActive\n      shopify {\n        storeDomain\n      }\n      unboxPayProviders\n    }\n    lastAppliedStoreTemplatePresetId\n    dashboards {\n      url\n      title\n      header\n      category\n    }\n    sitemap\n    tags {\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\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":"001a812f-0c68-4dad-bcfd-aa70fdbf0bfd","_postman_id":"001a812f-0c68-4dad-bcfd-aa70fdbf0bfd","description":""}],"id":"e931322d-9d8b-48c4-a33b-63d52667eecd","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":"e931322d-9d8b-48c4-a33b-63d52667eecd"},{"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":"5d8b1242-d754-4082-8b9c-d5459f565588","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":"070d49dd-c401-4a03-8fd7-16aa1ab1bacc","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":"57a9459a-971a-44e7-b033-4f942a0a62a6","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":"088c4e3f-fd85-4b8e-b057-51452f46a8da","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":"7dcc570d-a701-47d7-adee-d49d072e14d5","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":"8bd0e140-c82c-4015-bcec-daceb9739473","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":"e4498a22-5ec9-4eab-8f06-f53091a9bd19","_postman_id":"e4498a22-5ec9-4eab-8f06-f53091a9bd19","description":""}],"id":"ef8a0a3a-0371-46aa-a304-d7ee6259e056","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":"ef8a0a3a-0371-46aa-a304-d7ee6259e056"},{"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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\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":"<h2 id=\"tag\">tag</h2>\n<p><strong>Propósito:</strong> Retorna uma única tag (categoria) da sua loja, buscando pelo <code>_id</code> ou pelo <code>slug</code>.\n<strong>Quando usar:</strong> Quando você já conhece o identificador da tag — por exemplo, para montar a página de uma categoria a partir do slug da URL, ou para descer um nível na hierarquia a partir de um <code>subTagIds</code> de outra tag. Para descobrir/listar tags, use <code>tags</code>. Leitura pura, sem efeitos colaterais.\n<strong>Autenticação:</strong> <code>x-api-key</code> + <code>Authorization</code> (token puro, <strong>sem <code>Bearer</code></strong>). O <code>shopId</code> é derivado do seu token — não envie. Não envie <code>x-customer-token</code>.</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>slugOrId</code></td>\n<td><code>String!</code></td>\n<td>Sim</td>\n<td>—</td>\n<td><code>_id</code> <strong>ou</strong> <code>slug</code> da tag. O mesmo valor é comparado com os dois campos (correspondência exata, sensível a maiúsculas/minúsculas).</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>, também retorna a tag quando ela está com <code>isVisible: false</code>. Com <code>false</code> (padrão), uma tag invisível é tratada como inexistente.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"retorno\">Retorno</h3>\n<p>Um objeto <code>Tag</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 da tag.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td><code>String!</code></td>\n<td>Nome da tag.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td><code>String</code></td>\n<td>Slug (identificador amigável para URL).</td>\n</tr>\n<tr>\n<td><code>displayTitle</code></td>\n<td><code>String</code></td>\n<td>Título de exibição (pode diferir de <code>name</code>).</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td><code>String</code></td>\n<td>Descrição da tag.</td>\n</tr>\n<tr>\n<td><code>isTopLevel</code></td>\n<td><code>Boolean!</code></td>\n<td>Se a tag pertence ao nível raiz da hierarquia.</td>\n</tr>\n<tr>\n<td><code>isVisible</code></td>\n<td><code>Boolean!</code></td>\n<td>Se a tag deve ser exibida publicamente.</td>\n</tr>\n<tr>\n<td><code>isDeleted</code></td>\n<td><code>Boolean!</code></td>\n<td>Sempre <code>false</code> nesta operação (tags excluídas nunca são retornadas por <code>tag</code>).</td>\n</tr>\n<tr>\n<td><code>position</code></td>\n<td><code>Int</code></td>\n<td>Ordem de exibição entre tags irmãs.</td>\n</tr>\n<tr>\n<td><code>subTagIds</code></td>\n<td><code>[ID]!</code></td>\n<td>IDs das tags filhas diretas, na ordem configurada. Lista vazia quando não há filhas.</td>\n</tr>\n<tr>\n<td><code>subTags(...)</code></td>\n<td><code>TagConnection</code></td>\n<td>As tags filhas já resolvidas, como connection Relay (<code>after</code>, <code>before</code>, <code>first</code>, <code>last</code>, <code>sortOrder</code> — padrão <code>asc</code>, <code>sortBy</code> — padrão <code>position</code>). Ver Notas.</td>\n</tr>\n<tr>\n<td><code>featuredProductIds</code></td>\n<td><code>[ID]</code></td>\n<td>IDs de produtos em destaque na tag.</td>\n</tr>\n<tr>\n<td><code>heroMedia</code></td>\n<td><code>HeroMedia</code></td>\n<td>Imagens de destaque (<code>desktop</code>, <code>mobile</code>).</td>\n</tr>\n<tr>\n<td><code>metafields</code></td>\n<td><code>[Metafield]</code></td>\n<td>Metadados livres (<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>erpCode</code></td>\n<td><code>String</code></td>\n<td>Código da tag no ERP da loja, quando configurado.</td>\n</tr>\n<tr>\n<td><code>publishedUrl</code></td>\n<td><code>String</code></td>\n<td>URL pública da página da tag na loja, quando houver uma página publicada para ela; <code>null</code> caso contrário.</td>\n</tr>\n<tr>\n<td><code>shop</code></td>\n<td><code>Shop!</code></td>\n<td>Loja dona da tag (sempre a loja do seu token).</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.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Atenção:</strong> apesar de o tipo de retorno ser anulável, esta operação <strong>não</strong> retorna <code>null</code> quando a tag não existe — ela responde com erro (ver Erros).</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>TAG_NOT_FOUND_ERROR</code></td>\n<td>Nenhuma tag com esse <code>_id</code>/<code>slug</code> na loja do seu token, a tag está excluída, ou está invisível e <code>shouldIncludeInvisible</code> não foi <code>true</code>.</td>\n<td>Confira o identificador; se a tag pode estar invisível, reenvie com <code>shouldIncludeInvisible: true</code>. Use <code>tags</code> para localizá-la.</td>\n</tr>\n<tr>\n<td><em>(sem código)</em></td>\n<td><code>Authorization</code> ausente ou inválido, impedindo a derivação da loja.</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. Os identificadores <code>*_ERROR</code> desta operação chegam em <code>errors[].message</code> (não em <code>extensions.code</code>), exceto onde indicado.</p>\n</blockquote>\n<h3 id=\"notas\">Notas</h3>\n<ul>\n<li><strong>Sem resultado é erro, não <code>null</code>.</strong> Trate <code>TAG_NOT_FOUND_ERROR</code> como ausência esperada.</li>\n<li><strong>Tags excluídas nunca são retornadas</strong>, independentemente dos argumentos (não há <code>shouldIncludeDeleted</code> nesta operação — para isso use <code>tags</code>).</li>\n<li><strong><code>subTags</code> não filtra visibilidade:</strong> as filhas são retornadas mesmo com <code>isVisible: false</code> (apenas as excluídas ficam de fora). Se for exibir publicamente, filtre por <code>isVisible</code> do seu lado.</li>\n<li><strong>Escopo por loja:</strong> o <code>slugOrId</code> só é buscado entre as tags da loja do seu token.</li>\n</ul>\n","urlObject":{"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"33144a53-779d-47d4-9c72-09cc21882e72","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\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":"## tag\n\n**Propósito:** Retorna uma única tag (categoria) da sua loja, buscando pelo `_id` ou pelo `slug`.\n**Quando usar:** Quando você já conhece o identificador da tag — por exemplo, para montar a página de uma categoria a partir do slug da URL, ou para descer um nível na hierarquia a partir de um `subTagIds` de outra tag. Para descobrir/listar tags, use `tags`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome                     | Tipo      | Obrigatório | Default | Descrição                                                                                                                                   |\n| ------------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| `slugOrId`               | `String!` | Sim         | —       | `_id` **ou** `slug` da tag. O mesmo valor é comparado com os dois campos (correspondência exata, sensível a maiúsculas/minúsculas).         |\n| `shouldIncludeInvisible` | `Boolean` | Não         | `false` | Se `true`, também retorna a tag quando ela está com `isVisible: false`. Com `false` (padrão), uma tag invisível é tratada como inexistente. |\n\n### Retorno\n\nUm objeto `Tag`.\n\n| Propriedade               | Tipo            | Descrição                                                                                                                                                      |\n| ------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                     | `ID!`           | Identificador da tag.                                                                                                                                          |\n| `name`                    | `String!`       | Nome da tag.                                                                                                                                                   |\n| `slug`                    | `String`        | Slug (identificador amigável para URL).                                                                                                                        |\n| `displayTitle`            | `String`        | Título de exibição (pode diferir de `name`).                                                                                                                   |\n| `description`             | `String`        | Descrição da tag.                                                                                                                                              |\n| `isTopLevel`              | `Boolean!`      | Se a tag pertence ao nível raiz da hierarquia.                                                                                                                 |\n| `isVisible`               | `Boolean!`      | Se a tag deve ser exibida publicamente.                                                                                                                        |\n| `isDeleted`               | `Boolean!`      | Sempre `false` nesta operação (tags excluídas nunca são retornadas por `tag`).                                                                                 |\n| `position`                | `Int`           | Ordem de exibição entre tags irmãs.                                                                                                                            |\n| `subTagIds`               | `[ID]!`         | IDs das tags filhas diretas, na ordem configurada. Lista vazia quando não há filhas.                                                                           |\n| `subTags(...)`            | `TagConnection` | As tags filhas já resolvidas, como connection Relay (`after`, `before`, `first`, `last`, `sortOrder` — padrão `asc`, `sortBy` — padrão `position`). Ver Notas. |\n| `featuredProductIds`      | `[ID]`          | IDs de produtos em destaque na tag.                                                                                                                            |\n| `heroMedia`               | `HeroMedia`     | Imagens de destaque (`desktop`, `mobile`).                                                                                                                     |\n| `metafields`              | `[Metafield]`   | Metadados livres (`key`, `value`, `namespace`, `scope`, `valueType`, `description`).                                                                           |\n| `erpCode`                 | `String`        | Código da tag no ERP da loja, quando configurado.                                                                                                              |\n| `publishedUrl`            | `String`        | URL pública da página da tag na loja, quando houver uma página publicada para ela; `null` caso contrário.                                                      |\n| `shop`                    | `Shop!`         | Loja dona da tag (sempre a loja do seu token).                                                                                                                 |\n| `createdAt` / `updatedAt` | `AWSDateTime!`  | Datas de criação e última atualização.                                                                                                                         |\n\n**Atenção:** apesar de o tipo de retorno ser anulável, esta operação **não** retorna `null` quando a tag não existe — ela responde com erro (ver Erros).\n\n### Erros\n\n| Código                | Condição                                                                                                                                  | O que fazer                                                                                                                      |\n| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| `TAG_NOT_FOUND_ERROR` | Nenhuma tag com esse `_id`/`slug` na loja do seu token, a tag está excluída, ou está invisível e `shouldIncludeInvisible` não foi `true`. | Confira o identificador; se a tag pode estar invisível, reenvie com `shouldIncludeInvisible: true`. Use `tags` para localizá-la. |\n| _(sem código)_        | `Authorization` ausente ou inválido, impedindo a derivação da loja.                                                                       | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Trate `TAG_NOT_FOUND_ERROR` como ausência esperada.\n- **Tags excluídas nunca são retornadas**, independentemente dos argumentos (não há `shouldIncludeDeleted` nesta operação — para isso use `tags`).\n- **`subTags` não filtra visibilidade:** as filhas são retornadas mesmo com `isVisible: false` (apenas as excluídas ficam de fora). Se for exibir publicamente, filtre por `isVisible` do seu lado.\n- **Escopo por loja:** o `slugOrId` só é buscado entre as tags da loja do seu token."},"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        \"hasCustomStorefront\": true,\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        \"lastAppliedStoreTemplatePresetId\": \"Example_String\",\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":"a5a3b829-42dd-4750-a854-501e30a3dfb9","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      hasCustomStorefront\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          maxInstallments\n        }\n        minDaysIntervalBetweenCycles\n        allowInstallments\n        maxInstallments\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            titleLabel\n            highlightLabel\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          targetedOption\n        }\n        address {\n          address1\n          address2\n          city\n          cityCode\n          country\n          fullName\n          neighborhood\n          number\n          postal\n          region\n        }\n        additionalDaysToDeliver\n        availability {\n          days\n          startHour\n          endHour\n        }\n        createdAt\n        updatedAt\n        ordersCount\n        missingCredentials\n        provider\n        externalId\n      }\n      settings {\n        allowLegalPersonSales\n        showOutOfStockCatalogs\n        allowAnonymousRecurringOrders\n        maxInstallments\n        maxInstallmentsWithoutInterest\n        threeDSActive\n        shopify {\n          storeDomain\n        }\n        unboxPayProviders\n      }\n      lastAppliedStoreTemplatePresetId\n      dashboards {\n        url\n        title\n        header\n        category\n      }\n      sitemap\n      tags {\n      pageInfo {\n        hasNextPage\n        hasPreviousPage\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":"## tag\n\n**Propósito:** Retorna uma única tag (categoria) da sua loja, buscando pelo `_id` ou pelo `slug`.\n**Quando usar:** Quando você já conhece o identificador da tag — por exemplo, para montar a página de uma categoria a partir do slug da URL, ou para descer um nível na hierarquia a partir de um `subTagIds` de outra tag. Para descobrir/listar tags, use `tags`. Leitura pura, sem efeitos colaterais.\n**Autenticação:** `x-api-key` + `Authorization` (token puro, **sem `Bearer`**). O `shopId` é derivado do seu token — não envie. Não envie `x-customer-token`.\n\n### Argumentos\n\n| Nome                     | Tipo      | Obrigatório | Default | Descrição                                                                                                                                   |\n| ------------------------ | --------- | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| `slugOrId`               | `String!` | Sim         | —       | `_id` **ou** `slug` da tag. O mesmo valor é comparado com os dois campos (correspondência exata, sensível a maiúsculas/minúsculas).         |\n| `shouldIncludeInvisible` | `Boolean` | Não         | `false` | Se `true`, também retorna a tag quando ela está com `isVisible: false`. Com `false` (padrão), uma tag invisível é tratada como inexistente. |\n\n### Retorno\n\nUm objeto `Tag`.\n\n| Propriedade               | Tipo            | Descrição                                                                                                                                                      |\n| ------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `_id`                     | `ID!`           | Identificador da tag.                                                                                                                                          |\n| `name`                    | `String!`       | Nome da tag.                                                                                                                                                   |\n| `slug`                    | `String`        | Slug (identificador amigável para URL).                                                                                                                        |\n| `displayTitle`            | `String`        | Título de exibição (pode diferir de `name`).                                                                                                                   |\n| `description`             | `String`        | Descrição da tag.                                                                                                                                              |\n| `isTopLevel`              | `Boolean!`      | Se a tag pertence ao nível raiz da hierarquia.                                                                                                                 |\n| `isVisible`               | `Boolean!`      | Se a tag deve ser exibida publicamente.                                                                                                                        |\n| `isDeleted`               | `Boolean!`      | Sempre `false` nesta operação (tags excluídas nunca são retornadas por `tag`).                                                                                 |\n| `position`                | `Int`           | Ordem de exibição entre tags irmãs.                                                                                                                            |\n| `subTagIds`               | `[ID]!`         | IDs das tags filhas diretas, na ordem configurada. Lista vazia quando não há filhas.                                                                           |\n| `subTags(...)`            | `TagConnection` | As tags filhas já resolvidas, como connection Relay (`after`, `before`, `first`, `last`, `sortOrder` — padrão `asc`, `sortBy` — padrão `position`). Ver Notas. |\n| `featuredProductIds`      | `[ID]`          | IDs de produtos em destaque na tag.                                                                                                                            |\n| `heroMedia`               | `HeroMedia`     | Imagens de destaque (`desktop`, `mobile`).                                                                                                                     |\n| `metafields`              | `[Metafield]`   | Metadados livres (`key`, `value`, `namespace`, `scope`, `valueType`, `description`).                                                                           |\n| `erpCode`                 | `String`        | Código da tag no ERP da loja, quando configurado.                                                                                                              |\n| `publishedUrl`            | `String`        | URL pública da página da tag na loja, quando houver uma página publicada para ela; `null` caso contrário.                                                      |\n| `shop`                    | `Shop!`         | Loja dona da tag (sempre a loja do seu token).                                                                                                                 |\n| `createdAt` / `updatedAt` | `AWSDateTime!`  | Datas de criação e última atualização.                                                                                                                         |\n\n**Atenção:** apesar de o tipo de retorno ser anulável, esta operação **não** retorna `null` quando a tag não existe — ela responde com erro (ver Erros).\n\n### Erros\n\n| Código                | Condição                                                                                                                                  | O que fazer                                                                                                                      |\n| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| `TAG_NOT_FOUND_ERROR` | Nenhuma tag com esse `_id`/`slug` na loja do seu token, a tag está excluída, ou está invisível e `shouldIncludeInvisible` não foi `true`. | Confira o identificador; se a tag pode estar invisível, reenvie com `shouldIncludeInvisible: true`. Use `tags` para localizá-la. |\n| _(sem código)_        | `Authorization` ausente ou inválido, impedindo a derivação da loja.                                                                       | Refaça `signIn` e reenvie a chamada com um `Authorization` válido.                                                               |\n\n> GraphQL responde HTTP 200 com `errors[]` em caso de falha. Os identificadores `*_ERROR` desta operação chegam em `errors[].message` (não em `extensions.code`), exceto onde indicado.\n\n### Notas\n\n- **Sem resultado é erro, não `null`.** Trate `TAG_NOT_FOUND_ERROR` como ausência esperada.\n- **Tags excluídas nunca são retornadas**, independentemente dos argumentos (não há `shouldIncludeDeleted` nesta operação — para isso use `tags`).\n- **`subTags` não filtra visibilidade:** as filhas são retornadas mesmo com `isVisible: false` (apenas as excluídas ficam de fora). Se for exibir publicamente, filtre por `isVisible` do seu lado.\n- **Escopo por loja:** o `slugOrId` só é buscado entre as tags da loja do seu token."},"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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\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":"b2db045f-d5a4-43e6-9631-ec24c4ab377a","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\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":"daae0241-18cb-4943-8de4-dd130f65e21d","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          hasCustomStorefront\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              maxInstallments\n            }\n            minDaysIntervalBetweenCycles\n            allowInstallments\n            maxInstallments\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              targetedOption\n            }\n            address {\n              address1\n              address2\n              city\n              cityCode\n              country\n              fullName\n              neighborhood\n              number\n              postal\n              region\n            }\n            additionalDaysToDeliver\n            availability {\n              days\n              startHour\n              endHour\n            }\n            createdAt\n            updatedAt\n            ordersCount\n            missingCredentials\n            provider\n            externalId\n          }\n          settings {\n            allowLegalPersonSales\n            showOutOfStockCatalogs\n            allowAnonymousRecurringOrders\n            maxInstallments\n            maxInstallmentsWithoutInterest\n            threeDSActive\n            shopify {\n              storeDomain\n            }\n            unboxPayProviders\n          }\n          lastAppliedStoreTemplatePresetId\n          dashboards {\n            url\n            title\n            header\n            category\n          }\n          sitemap\n          tags {\n          pageInfo {\n            hasNextPage\n            hasPreviousPage\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        hasCustomStorefront\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            maxInstallments\n          }\n          minDaysIntervalBetweenCycles\n          allowInstallments\n          maxInstallments\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              titleLabel\n              highlightLabel\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            targetedOption\n          }\n          address {\n            address1\n            address2\n            city\n            cityCode\n            country\n            fullName\n            neighborhood\n            number\n            postal\n            region\n          }\n          additionalDaysToDeliver\n          availability {\n            days\n            startHour\n            endHour\n          }\n          createdAt\n          updatedAt\n          ordersCount\n          missingCredentials\n          provider\n          externalId\n        }\n        settings {\n          allowLegalPersonSales\n          showOutOfStockCatalogs\n          allowAnonymousRecurringOrders\n          maxInstallments\n          maxInstallmentsWithoutInterest\n          threeDSActive\n          shopify {\n            storeDomain\n          }\n          unboxPayProviders\n        }\n        lastAppliedStoreTemplatePresetId\n        dashboards {\n          url\n          title\n          header\n          category\n        }\n        sitemap\n        tags {\n        pageInfo {\n          hasNextPage\n          hasPreviousPage\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":"0e2c0d4e-d8ff-4919-88ad-397ffe46b2d1","_postman_id":"0e2c0d4e-d8ff-4919-88ad-397ffe46b2d1","description":""}],"id":"42b57a5c-f696-435a-85a9-a3830ff2891b","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. <code>tags</code> permite incluir ambas (<code>shouldIncludeInvisible</code>, <code>shouldIncludeDeleted</code>); <code>tag</code> permite incluir apenas invisíveis — uma tag excluída nunca é retornada por <code>tag</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<li><strong>Não encontrado: <code>tag</code> responde com erro, não <code>null</code></strong> (<code>TAG_NOT_FOUND_ERROR</code> em <code>message</code>), inclusive quando a tag existe mas está invisível e <code>shouldIncludeInvisible</code> não foi <code>true</code>.</li>\n</ul>\n","_postman_id":"42b57a5c-f696-435a-85a9-a3830ff2891b"},{"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    \"recurringOrderFrequencyId\": \"Example_String\"\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":"eec7908a-2844-4842-b876-5f1c3363b128","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    \"recurringOrderFrequencyId\": \"Example_String\"\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":"8aaf9378-b2c3-4d79-9844-20024fb94192","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    \"recurringOrderFrequencyId\": \"Example_String\"\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":"e9d37728-e8bd-47ec-b8e7-825f4a75c347","_postman_id":"e9d37728-e8bd-47ec-b8e7-825f4a75c347","description":""}],"id":"e6b07821-67f7-404c-9620-41ea20a3cc86","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":"e6b07821-67f7-404c-9620-41ea20a3cc86"},{"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":"8bc8f9fd-0540-464d-9ff6-95513f0fc79b","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":"a301806a-fa16-4f73-bdd6-b8413820234d","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":"0a48943b-d6ea-4f3b-9e50-c84f8f722dcd","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":"1f207ada-81ad-41b6-bf01-d77e6c823152","_postman_id":"1f207ada-81ad-41b6-bf01-d77e6c823152","description":""}],"id":"5f7c559c-e81b-446e-94ff-3049f7e5fb0c","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":"5f7c559c-e81b-446e-94ff-3049f7e5fb0c"}],"variable":[{"key":"base_url","value":"{{base_url}}","type":"string"}]}