{
  "info": {
    "name": "Cakto — mcp.ai",
    "description": "REST API for the Cakto MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://new.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/cakto",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "cakto_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 na Cakto (para análise/CRM).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"customer_id\": \"\",\n  \"search\": \"\",\n  \"page\": 0,\n  \"account\": \"\",\n  \"customer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_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 na Cakto (para análise/CRM).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"customer_id\": \"\",\n  \"search\": \"\",\n  \"page\": 0,\n  \"account\": \"\",\n  \"customer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_list_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "accounts"
          ]
        },
        "description": "Lista contas Cakto (apps do painel) vinculadas a este install — id, label e apelido.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_offers_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/offers/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "offers",
            "create"
          ]
        },
        "description": "Cria uma oferta (preço alternativo) para um produto existente na Cakto.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"price\": 0,\n  \"product\": \"\",\n  \"image\": \"\",\n  \"units\": 0,\n  \"status\": \"\",\n  \"type\": \"\",\n  \"interval_type\": \"\",\n  \"interval\": 0,\n  \"recurrence_period\": 0,\n  \"quantity_recurrences\": 0,\n  \"trial_days\": 0,\n  \"max_retries\": 0,\n  \"retry_interval\": 0,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_offers_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/offers/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "offers",
            "get"
          ]
        },
        "description": "Leitura de ofertas na Cakto. A oferta é a unidade de PREÇO de um produto",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"offer_id\": \"\",\n  \"product\": \"\",\n  \"status\": \"\",\n  \"type\": \"\",\n  \"search\": \"\",\n  \"ordering\": \"\",\n  \"limit\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"offer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_offers_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/offers/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "offers",
            "list"
          ]
        },
        "description": "Leitura de ofertas na Cakto. A oferta é a unidade de PREÇO de um produto",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"offer_id\": \"\",\n  \"product\": \"\",\n  \"status\": \"\",\n  \"type\": \"\",\n  \"search\": \"\",\n  \"ordering\": \"\",\n  \"limit\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"offer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_offers_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/offers/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "offers",
            "update"
          ]
        },
        "description": "Atualiza uma oferta existente na Cakto (parcial: envie só o que muda).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"offer_id\": \"\",\n  \"name\": \"\",\n  \"price\": 0,\n  \"image\": \"\",\n  \"units\": 0,\n  \"status\": \"\",\n  \"type\": \"\",\n  \"interval_type\": \"\",\n  \"interval\": 0,\n  \"recurrence_period\": 0,\n  \"quantity_recurrences\": 0,\n  \"trial_days\": 0,\n  \"max_retries\": 0,\n  \"retry_interval\": 0,\n  \"account\": \"\",\n  \"offer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_order_bumps_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/order/bumps/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "order",
            "bumps",
            "create"
          ]
        },
        "description": "Cria um order bump: pendura uma OFERTA como oferta complementar no",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"offer_id\": \"\",\n  \"title\": \"\",\n  \"description\": \"\",\n  \"cta\": \"\",\n  \"reference_price\": 0,\n  \"position\": 0,\n  \"show_image\": false,\n  \"account\": \"\",\n  \"product_ids\": \"\",\n  \"offer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_order_bumps_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/order/bumps/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "order",
            "bumps",
            "get"
          ]
        },
        "description": "Leitura de order bumps (ofertas complementares exibidas no checkout).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"order_bump_id\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\",\n  \"order_bump_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_order_bumps_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/order/bumps/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "order",
            "bumps",
            "list"
          ]
        },
        "description": "Leitura de order bumps (ofertas complementares exibidas no checkout).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"order_bump_id\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\",\n  \"order_bump_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_order_bumps_reorder",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/order/bumps/reorder",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "order",
            "bumps",
            "reorder"
          ]
        },
        "description": "Reordena os order bumps de um produto numa chamada só: passe a lista",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"items\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_order_bumps_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/order/bumps/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "order",
            "bumps",
            "update"
          ]
        },
        "description": "Atualiza um order bump existente (parcial: envie só o que muda) — troca",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_bump_id\": \"\",\n  \"offer_id\": \"\",\n  \"title\": \"\",\n  \"description\": \"\",\n  \"cta\": \"\",\n  \"reference_price\": 0,\n  \"position\": 0,\n  \"show_image\": false,\n  \"account\": \"\",\n  \"order_bump_ids\": \"\",\n  \"offer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_orders_analytics",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/analytics",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "analytics"
          ]
        },
        "description": "Analytics de vendas na Cakto: métricas financeiras agregadas por canal/campanha.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"group_by\": \"\",\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"product\": \"\",\n  \"offer\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_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 na Cakto.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"status\": \"\",\n  \"type\": \"\",\n  \"offer_type\": \"\",\n  \"payment_method\": \"\",\n  \"customer\": \"\",\n  \"product\": \"\",\n  \"paid_at_gte\": \"\",\n  \"paid_at_lt\": \"\",\n  \"page\": 0,\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_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 na Cakto.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"status\": \"\",\n  \"type\": \"\",\n  \"offer_type\": \"\",\n  \"payment_method\": \"\",\n  \"customer\": \"\",\n  \"product\": \"\",\n  \"paid_at_gte\": \"\",\n  \"paid_at_lt\": \"\",\n  \"page\": 0,\n  \"account\": \"\",\n  \"order_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_products",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products"
          ]
        },
        "description": "Lista produtos da conta na Cakto (paginado: count/next/previous/results).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"search\": \"\",\n  \"product_id\": \"\",\n  \"status\": \"\",\n  \"type\": \"\",\n  \"ordering\": \"\",\n  \"limit\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_products_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products",
            "create"
          ]
        },
        "description": "Cria um produto na Cakto. A criação já gera automaticamente a oferta",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"description\": \"\",\n  \"price\": \"\",\n  \"type\": \"\",\n  \"category\": \"\",\n  \"guarantee\": 0,\n  \"sales_page\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_products_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/products/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "products",
            "update"
          ]
        },
        "description": "Atualiza um produto existente na Cakto. A atualização é PARCIAL: envie",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\",\n  \"name\": \"\",\n  \"description\": \"\",\n  \"price\": \"\",\n  \"status\": \"\",\n  \"type\": \"\",\n  \"category\": \"\",\n  \"guarantee\": 0,\n  \"sales_page\": \"\",\n  \"image\": \"\",\n  \"support_email\": \"\",\n  \"support_whatsapp\": \"\",\n  \"payment_methods\": \"\",\n  \"default_payment_method\": \"\",\n  \"installments\": 0,\n  \"affiliate\": false,\n  \"affiliate_commission\": 0,\n  \"producer_name\": \"\",\n  \"invoice_description\": \"\",\n  \"account\": \"\",\n  \"product_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_subscription_churn",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscription/churn",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscription",
            "churn"
          ]
        },
        "description": "Assinaturas perdidas: lista canceladas/inativas do negócio + métricas agregadas (valor em risco, nº de clientes afetados). Filtros de período opcionais.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"page\": 0,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_subscriptions_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscriptions/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscriptions",
            "get"
          ]
        },
        "description": "Leitura de assinaturas na Cakto.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscription_id\": \"\",\n  \"status\": \"\",\n  \"payment_method\": \"\",\n  \"current_situation\": \"\",\n  \"search\": \"\",\n  \"ordering\": \"\",\n  \"limit\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"subscription_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "cakto_subscriptions_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/subscriptions/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subscriptions",
            "list"
          ]
        },
        "description": "Leitura de assinaturas na Cakto.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscription_id\": \"\",\n  \"status\": \"\",\n  \"payment_method\": \"\",\n  \"current_situation\": \"\",\n  \"search\": \"\",\n  \"ordering\": \"\",\n  \"limit\": 0,\n  \"page\": 0,\n  \"account\": \"\",\n  \"subscription_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}