{
  "info": {
    "name": "Nuvemshop — mcp.ai",
    "description": "REST API for the Nuvemshop MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/nuvemshop",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "nuvemshop_categories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/categories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "categories"
          ]
        },
        "description": "Lista categorias da loja Nuvemshop (params opcionais: page, per_page, parent).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0,\n  \"parent\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_coupons",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/coupons",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "coupons"
          ]
        },
        "description": "Lista cupons de desconto da loja Nuvemshop (params opcionais: page, per_page).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_coupons_write_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/coupons/write/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "coupons",
            "write",
            "create"
          ]
        },
        "description": "Cria cupom de desconto na Nuvemshop. action: create. data = JSON com code, type (percentage|absolute|shipping), value, etc.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_customers_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/customers/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "customers",
            "get"
          ]
        },
        "description": "Leitura de clientes da loja Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"customer_id\": \"\",\n  \"page\": 0,\n  \"per_page\": 0,\n  \"q\": \"\",\n  \"created_at_min\": \"\",\n  \"updated_at_min\": \"\",\n  \"account\": \"\",\n  \"customer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_customers_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/customers/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "customers",
            "list"
          ]
        },
        "description": "Leitura de clientes da loja Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"customer_id\": \"\",\n  \"page\": 0,\n  \"per_page\": 0,\n  \"q\": \"\",\n  \"created_at_min\": \"\",\n  \"updated_at_min\": \"\",\n  \"account\": \"\",\n  \"customer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_list_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "accounts"
          ]
        },
        "description": "Lista lojas Nuvemshop vinculadas a este install — store_id, label e apelido.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "get"
          ]
        },
        "description": "Leitura de pedidos da loja Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"page\": 0,\n  \"per_page\": 0,\n  \"status\": \"\",\n  \"payment_status\": \"\",\n  \"shipping_status\": \"\",\n  \"created_at_min\": \"\",\n  \"updated_at_min\": \"\",\n  \"q\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "list"
          ]
        },
        "description": "Leitura de pedidos da loja Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"page\": 0,\n  \"per_page\": 0,\n  \"status\": \"\",\n  \"payment_status\": \"\",\n  \"shipping_status\": \"\",\n  \"created_at_min\": \"\",\n  \"updated_at_min\": \"\",\n  \"q\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_write_cancel",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/write/cancel",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "write",
            "cancel"
          ]
        },
        "description": "Mutações em pedidos Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_write_close",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/write/close",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "write",
            "close"
          ]
        },
        "description": "Mutações em pedidos Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_write_fulfill",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/write/fulfill",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "write",
            "fulfill"
          ]
        },
        "description": "Mutações em pedidos Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_write_open",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/write/open",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "write",
            "open"
          ]
        },
        "description": "Mutações em pedidos Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_write_pack",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/write/pack",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "write",
            "pack"
          ]
        },
        "description": "Mutações em pedidos Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_orders_write_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/write/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "write",
            "update"
          ]
        },
        "description": "Mutações em pedidos Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_products_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products",
            "get"
          ]
        },
        "description": "Leitura de produtos da loja Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"page\": 0,\n  \"per_page\": 0,\n  \"q\": \"\",\n  \"category_id\": \"\",\n  \"published\": false,\n  \"created_at_min\": \"\",\n  \"updated_at_min\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\",\n  \"category_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_products_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products",
            "list"
          ]
        },
        "description": "Leitura de produtos da loja Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"page\": 0,\n  \"per_page\": 0,\n  \"q\": \"\",\n  \"category_id\": \"\",\n  \"published\": false,\n  \"created_at_min\": \"\",\n  \"updated_at_min\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\",\n  \"category_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_products_write_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products/write/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products",
            "write",
            "create"
          ]
        },
        "description": "Cria ou edita produtos na Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "nuvemshop_products_write_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products/write/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products",
            "write",
            "update"
          ]
        },
        "description": "Cria ou edita produtos na Nuvemshop.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"data\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}