{
  "info": {
    "name": "OpenSteward",
    "description": "Self-hosted integration aggregator. One REST API across nine verticals:\naccounting, CRM, e-commerce, logistics, payments, docsign, projects,\ncustomer-support, and inventory platforms.\n\n## Null semantics\n\nThis API is an **aggregation boundary**: it normalises data from many upstream platforms but doesn't own most of the content. To preserve full information, **`null`, key-omitted, and a value (including `\"\"` or `0`) are three distinct facts**:\n\n- **Key omitted** — upstream did not supply this field. The adapter mapped no equivalent value.\n- **`null`** — upstream explicitly returned null / cleared / not reported.\n- **Value** (`\"\"`, `0`, or any other) — upstream supplied exactly that value.\n\nAdapters never coerce missing → `0` or `0` → `null`. If a canonical field is absent from a response, the upstream platform did not provide an equivalent value. The verbatim upstream payload is preserved on every top-level canonical resource — under `raw` for payments, docsign, projects, customer-support and inventory, and under `metadata` for accounting, CRM, ecommerce and logistics — so the original platform representation is recoverable. **Two verticals are opt-in.** On payments and accounting the payload is withheld unless the operator enables `data_store.raw_payload.payments` / `data_store.raw_payload.accounting`, because across those adapters it declares bank account numbers, IBANs and card numbers the canonical schema deliberately does not expose. Card security codes are never returned, on any setting. Monetary amounts are integer minor units (e.g. cents) — never floats — and follow the same three-state rule (`null` = not reported, `0` = reported as zero, key-omitted = no equivalent).\n\nStatus, type, and category enums always include an explicit `\"unknown\"` member for upstream values the adapter could not map onto the normalized set — they are surfaced rather than silently dropped.\n\n## Authentication — three schemes\n\nThe spec exposes **three security schemes** (`ApiKeyAuth`, `OAuth2Bearer` and `AdminSecret`). The first two are interchangeable developer credentials for `/v1/*`; the third is the operator path. Pick by what you are.\n\n### 1. `ApiKeyAuth` — Bearer dev key (`/v1/*`, `/connect/*`)\n\nTenant-scoped developer key minted from `Admin → API keys → Mint key` in the admin UI, or the `mint-api-key` CLI. Send as:\n\n```\nAuthorization: Bearer osk_<tenant>_<random>\n```\n\nEach key carries a list of scopes. Vertical access uses a **two-axis model**: `vertical:<v>` (or `vertical:read`) for the *touch* axis, and `vertical:write` as a separate gate for any non-GET on `/v1/{vertical}/*`. The default mint preset (the recommended \"Safe default\" radio) checks every scope **except** `vertical:write`, so a freshly minted key reads everywhere but cannot push writes back to upstream platforms — important for self-hosted operators who carry regulatory liability for what gets written upstream. See [/guides/dev-api.md §3](https://docs.opensteward.dev/dev-api/#3-scopes) for the full scope table, examples, and a 403 response shape.\n\nEvery `/v1/*` resource request additionally requires `connection_id` (UUID) as a query parameter. The connection row carries its own `vertical`, `platform`, and OAuth credentials.\n\nConnections are created by completing the OAuth flow at `/auth/{vertical}/{platform}/connect` (admin-tooling) or by sending an end-user a hosted Connect Link from `POST /v1/customers/{id}/connect-links`.\n\n### 2. `OAuth2Bearer` — OIDC bearer token (`/v1/*`)\n\nAn alternative to the static key on exactly the same routes, for deployments whose service accounts already live in an identity provider. The operator registers an issuer (Keycloak, Auth0, Okta and Entra ID ship as presets; any issuer with an OpenID discovery document works), and a developer presents a token from it:\n\n```\nAuthorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6…\n```\n\nOpenSteward is only a resource server here: it verifies against the issuer's published public keys and never mints a token or holds a client secret. The token resolves to the **same scope vocabulary** as a dev key, so every scope rule above applies unchanged — a route needing `vertical:write` needs it identically.\n\nOff by default. A JWT sent to a deployment that has not enabled it answers `403 OAUTH_DISABLED`; an `osk_` key sent to a deployment where the operator has turned keys off answers `403 API_KEYS_DISABLED`. Verification failures all answer `401 UNAUTHENTICATED` with one body, so the response cannot be used to enumerate the operator's service accounts.\n\n### 3. `AdminSecret` — `X-Admin-Secret` header (`/admin/*`, `DELETE /auth/.../{connectionId}`)\n\nOperator-only secret used for **bootstrap and inter-service auth**. Set via the `ADMIN_SECRET` env var on the integration-server. Routes that take it: platform enable/disable/config (`/admin/platforms/*`), cross-tenant connection inspection (`/admin/connections*`), single-connection revoke under `/auth/{vertical}/{platform}/{connectionId}` (DELETE), and the operator sync-jobs surface (`/admin/sync-jobs*`).\n\nSend as `X-Admin-Secret: <value>`. **Never give this to an external integrator** — it spans every tenant and bypasses the scope system. Day-2 operator actions on `/v1/connections*` should already be done with a tenant-scoped Bearer dev key (`connections:write` scope).\n\n> Why a separate scheme rather than a \"super scope\" on a dev key? Bootstrap. The very first API call to a fresh deployment happens before any user, JWT, or developer key exists; `ADMIN_SECRET` is the single env-var that makes the integration-server reachable from admin-api during boot.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_postman_id": "1d9d0514-d5c4-4ac7-9759-9e574881516e"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "{{baseUrl}}",
      "type": "default"
    },
    {
      "key": "connectionId",
      "value": "",
      "type": "default"
    },
    {
      "key": "vertical",
      "value": "accounting",
      "type": "default"
    },
    {
      "key": "platform",
      "value": "",
      "type": "default"
    },
    {
      "key": "slug",
      "value": "",
      "type": "default"
    },
    {
      "key": "resourceId",
      "value": "",
      "type": "default"
    },
    {
      "key": "adminSecret",
      "value": "",
      "type": "secret"
    }
  ],
  "item": [
    {
      "name": "Accounting",
      "description": "Accounting vertical — connection-scoped resources under /v1/accounting/*.\n\n**Resources**\n\n- `providers` — Static metadata about enabled accounting platforms.\n- `organizations` — Authenticated tenant organisation profile. Read-only.\n- `invoices` — Customer invoices (accounts receivable). Full CRUD.\n- `bills` — Supplier bills (accounts payable). Full CRUD.\n- `contacts` — Customers and suppliers. Full CRUD.\n- `accounts` — Chart-of-accounts general ledger accounts. Read-only.\n- `journals` — General ledger journal batches. List, get, create.\n- `transactions` — Bank/payment transactions. Read-only.\n- `taxrates` — Tax rates. Read-only.\n- `expenses` — Employee expenses. List, get, create.\n- `creditmemos` — Credit notes. List, get, create.\n- `quotes` — Quotes / estimates — a priced offer made before any obligation exists. List and get; read-only. Not an invoice: nothing is owed until a quote is accepted and converted, so there is no paid, balance or due-date arithmetic on this resource.\n- `orders` — Generic orders — the union view across a platform's order-like documents. List, get, create. **On platforms that model no separate sales order (Fortnox), `orders` and `salesorders` read the SAME upstream resource** and will return the same records; `orders` adds a `type` discriminator. Do not sum both, or you will double-count. **Xero has no sales-order entity at all** — `salesorders` is not implemented there, and `orders` instead reads the same upstream resource as `purchaseorders`, tagged `type: PURCHASE`.\n- `salesorders` — Sales orders. List, get, create. See the note on `orders`: where a platform has no distinct sales-order entity, this is a projection of the same upstream documents rather than a separate set. `purchaseorders` is always distinct.\n- `purchaseorders` — Purchase orders. List, get, create. Always a distinct upstream resource, unlike the orders/salesorders pair.",
      "item": [
        {
          "name": "Get organisation",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/organizations",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "organizations"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List invoices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/invoices",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "invoices"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create invoice",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/invoices",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "invoices"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"type\": \"INVOICE\",\n  \"status\": \"DRAFT\",\n  \"invoiceNumber\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"taxAmount\": \"\",\n  \"discountAmount\": \"\",\n  \"paidAmount\": \"\",\n  \"balanceAmount\": \"\",\n  \"refundAmount\": \"\",\n  \"refundReason\": \"\",\n  \"paymentCollectionMethod\": \"send_invoice\",\n  \"reference\": \"\",\n  \"notes\": \"\",\n  \"url\": \"\",\n  \"send\": false,\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"attachments\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"mimeType\": \"\",\n      \"fileName\": \"\"\n    }\n  ],\n  \"postedAt\": \"\",\n  \"dueAt\": \"\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"refundedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get invoice",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/invoices/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "invoices",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update invoice",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/invoices/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "invoices",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"type\": \"INVOICE\",\n  \"status\": \"DRAFT\",\n  \"invoiceNumber\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"taxAmount\": \"\",\n  \"discountAmount\": \"\",\n  \"paidAmount\": \"\",\n  \"balanceAmount\": \"\",\n  \"refundAmount\": \"\",\n  \"refundReason\": \"\",\n  \"paymentCollectionMethod\": \"send_invoice\",\n  \"reference\": \"\",\n  \"notes\": \"\",\n  \"url\": \"\",\n  \"send\": false,\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"attachments\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"mimeType\": \"\",\n      \"fileName\": \"\"\n    }\n  ],\n  \"postedAt\": \"\",\n  \"dueAt\": \"\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"refundedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete invoice",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/invoices/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "invoices",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List bills",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/bills",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "bills"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create bill",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/bills",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "bills"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"DRAFT\",\n  \"billNumber\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"taxAmount\": \"\",\n  \"discountAmount\": \"\",\n  \"paidAmount\": \"\",\n  \"balanceAmount\": \"\",\n  \"refundAmount\": \"\",\n  \"refundReason\": \"\",\n  \"paymentCollectionMethod\": \"send_invoice\",\n  \"notes\": \"\",\n  \"url\": \"\",\n  \"send\": false,\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"attachments\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"mimeType\": \"\",\n      \"fileName\": \"\"\n    }\n  ],\n  \"postedAt\": \"\",\n  \"dueAt\": \"\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"refundedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get bill",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/bills/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "bills",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update bill",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/bills/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "bills",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"DRAFT\",\n  \"billNumber\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"taxAmount\": \"\",\n  \"discountAmount\": \"\",\n  \"paidAmount\": \"\",\n  \"balanceAmount\": \"\",\n  \"refundAmount\": \"\",\n  \"refundReason\": \"\",\n  \"paymentCollectionMethod\": \"send_invoice\",\n  \"notes\": \"\",\n  \"url\": \"\",\n  \"send\": false,\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"attachments\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"mimeType\": \"\",\n      \"fileName\": \"\"\n    }\n  ],\n  \"postedAt\": \"\",\n  \"dueAt\": \"\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"refundedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete bill",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/bills/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "bills",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List contacts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/contacts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "contacts"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create contact",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/contacts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "contacts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"companyName\": \"\",\n  \"identification\": \"\",\n  \"taxNumber\": \"\",\n  \"taxExemption\": \"FEDERAL_GOV\",\n  \"isCustomer\": false,\n  \"isSupplier\": false,\n  \"isActive\": false,\n  \"currency\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"type\": \"WORK\"\n    }\n  ],\n  \"telephones\": [\n    {\n      \"telephone\": \"\",\n      \"type\": \"WORK\"\n    }\n  ],\n  \"billingAddress\": \"\",\n  \"shippingAddress\": \"\",\n  \"paymentMethods\": [\n    {\n      \"type\": \"ACH\",\n      \"name\": \"\",\n      \"externalId\": \"\"\n    }\n  ],\n  \"associatedContacts\": [\n    {\n      \"id\": \"\",\n      \"name\": \"\"\n    }\n  ],\n  \"portalUrl\": \"\",\n  \"createdAt\": \"\",\n  \"updatedAt\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get contact",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "contacts",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update contact",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "contacts",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"companyName\": \"\",\n  \"identification\": \"\",\n  \"taxNumber\": \"\",\n  \"taxExemption\": \"FEDERAL_GOV\",\n  \"isCustomer\": false,\n  \"isSupplier\": false,\n  \"isActive\": false,\n  \"currency\": \"\",\n  \"emails\": [\n    {\n      \"email\": \"\",\n      \"type\": \"WORK\"\n    }\n  ],\n  \"telephones\": [\n    {\n      \"telephone\": \"\",\n      \"type\": \"WORK\"\n    }\n  ],\n  \"billingAddress\": \"\",\n  \"shippingAddress\": \"\",\n  \"paymentMethods\": [\n    {\n      \"type\": \"ACH\",\n      \"name\": \"\",\n      \"externalId\": \"\"\n    }\n  ],\n  \"associatedContacts\": [\n    {\n      \"id\": \"\",\n      \"name\": \"\"\n    }\n  ],\n  \"portalUrl\": \"\",\n  \"createdAt\": \"\",\n  \"updatedAt\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete contact",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "contacts",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List accounts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/accounts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "accounts"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get account",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/accounts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "accounts",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List journals",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/journals",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "journals"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create journal",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/journals",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "journals"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"description\": \"\",\n  \"reference\": \"\",\n  \"source\": \"\",\n  \"currency\": \"AED\",\n  \"taxAmount\": \"\",\n  \"taxrateId\": \"\",\n  \"lineItems\": \"\",\n  \"postedAt\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get journal",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/journals/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "journals",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List transactions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/transactions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "transactions"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get transaction",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/transactions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "transactions",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List tax rates",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/taxrates",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "taxrates"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get tax rate",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/taxrates/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "taxrates",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List expenses",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/expenses",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "expenses"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create expense",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/expenses",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "expenses"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"accountId\": \"\",\n  \"contactId\": \"\",\n  \"userId\": \"\",\n  \"approverUserId\": \"\",\n  \"currency\": \"AED\",\n  \"paymentMethod\": \"\",\n  \"taxAmount\": \"\",\n  \"totalAmount\": \"\",\n  \"reimbursedAmount\": \"\",\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"postedAt\": \"\",\n  \"approvedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"reimbursedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get expense",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/expenses/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "expenses",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List credit memos",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/creditmemos",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "creditmemos"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create credit memo",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/creditmemos",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "creditmemos"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"DRAFT\",\n  \"creditmemoNumber\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"taxAmount\": \"\",\n  \"discountAmount\": \"\",\n  \"paidAmount\": \"\",\n  \"balanceAmount\": \"\",\n  \"refundAmount\": \"\",\n  \"refundReason\": \"\",\n  \"paymentCollectionMethod\": \"send_invoice\",\n  \"notes\": \"\",\n  \"url\": \"\",\n  \"send\": false,\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"attachments\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"mimeType\": \"\",\n      \"fileName\": \"\"\n    }\n  ],\n  \"appliedTo\": [\n    {\n      \"invoiceId\": \"\",\n      \"invoiceNumber\": \"\",\n      \"amount\": \"\",\n      \"appliedAt\": \"\"\n    }\n  ],\n  \"postedAt\": \"\",\n  \"dueAt\": \"\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"refundedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List quotes",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/quotes",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "quotes"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get quote",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/quotes/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "quotes",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get credit memo",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/creditmemos/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "creditmemos",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "orders"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create order",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "orders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"DRAFT\",\n  \"type\": \"SALES\",\n  \"accountId\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"billingAddress\": {\n    \"address1\": \"\",\n    \"address2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"shippingAddress\": {\n    \"address1\": \"\",\n    \"address2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"postedAt\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "orders",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List sales orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/salesorders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "salesorders"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create sales order",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/salesorders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "salesorders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"DRAFT\",\n  \"accountId\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"salesChannel\": \"\",\n  \"totalAmount\": \"\",\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"billingAddress\": {\n    \"address1\": \"\",\n    \"address2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"shippingAddress\": {\n    \"address1\": \"\",\n    \"address2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"postedAt\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get sales order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/salesorders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "salesorders",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List purchase orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/purchaseorders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "purchaseorders"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create purchase order",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/purchaseorders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "purchaseorders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"DRAFT\",\n  \"accountId\": \"\",\n  \"contactId\": \"\",\n  \"currency\": \"AED\",\n  \"totalAmount\": \"\",\n  \"lineAmountsIncludeTax\": \"\",\n  \"lineItems\": \"\",\n  \"billingAddress\": {\n    \"address1\": \"\",\n    \"address2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"shippingAddress\": {\n    \"address1\": \"\",\n    \"address2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"postedAt\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get purchase order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/accounting/purchaseorders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "accounting",
                "purchaseorders",
                ":id"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "CRM",
      "description": "CRM vertical — connection-scoped resources under /v1/crm/*.\n\n**Resources**\n\n- `providers` — Static metadata about enabled CRM platforms.\n- `contacts` — People — leads, prospects, customers. Full CRUD.\n- `companies` — Organisations / accounts. Full CRUD.\n- `deals` — Sales opportunities. Full CRUD.\n- `pipelines` — Deal pipelines and stages. Read-only.\n- `activities` — Tasks, calls, meetings, emails. Full CRUD.\n- `notes` — Free-form notes attached to contacts, companies, or deals. Full CRUD.",
      "item": [
        {
          "name": "List contacts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/contacts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "contacts"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create contact",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/contacts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "contacts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"first_name\": \"\",\n  \"last_name\": \"\",\n  \"name\": \"\",\n  \"email\": \"\",\n  \"phone\": \"\",\n  \"mobile\": \"\",\n  \"title\": \"\",\n  \"company_id\": \"\",\n  \"owner_id\": \"\",\n  \"stage\": \"\",\n  \"tags\": [\n    \"\"\n  ],\n  \"address\": \"\",\n  \"created_at\": \"\",\n  \"updated_at\": \"\",\n  \"ecommerce_customer_id\": \"\",\n  \"accounting_contact_id\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get contact",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "contacts",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update contact",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "contacts",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"first_name\": \"\",\n  \"last_name\": \"\",\n  \"name\": \"\",\n  \"email\": \"\",\n  \"phone\": \"\",\n  \"mobile\": \"\",\n  \"title\": \"\",\n  \"company_id\": \"\",\n  \"owner_id\": \"\",\n  \"stage\": \"\",\n  \"tags\": [\n    \"\"\n  ],\n  \"address\": \"\",\n  \"created_at\": \"\",\n  \"updated_at\": \"\",\n  \"ecommerce_customer_id\": \"\",\n  \"accounting_contact_id\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete contact",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "contacts",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List companies",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/companies",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "companies"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create company",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/companies",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "companies"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"domain\": \"\",\n  \"phone\": \"\",\n  \"industry\": \"\",\n  \"size\": 0,\n  \"owner_id\": \"\",\n  \"address\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"tags\": [\n    \"\"\n  ],\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"accounting_organization_id\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get company",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/companies/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "companies",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update company",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/companies/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "companies",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"name\": \"\",\n  \"domain\": \"\",\n  \"phone\": \"\",\n  \"industry\": \"\",\n  \"size\": 0,\n  \"owner_id\": \"\",\n  \"address\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"tags\": [\n    \"\"\n  ],\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"accounting_organization_id\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete company",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/companies/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "companies",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List deals",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/deals",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "deals"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create deal",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/deals",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "deals"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"title\": \"\",\n  \"value\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"status\": \"\",\n  \"stage\": \"\",\n  \"stage_id\": \"\",\n  \"pipeline_id\": \"\",\n  \"contact_ids\": [\n    \"\"\n  ],\n  \"company_id\": \"\",\n  \"owner_id\": \"\",\n  \"close_date\": \"2026-04-22T00:00:00.000Z\",\n  \"probability\": 0,\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"accounting_invoice_id\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get deal",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/deals/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "deals",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update deal",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/deals/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "deals",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"title\": \"\",\n  \"value\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"status\": \"\",\n  \"stage\": \"\",\n  \"stage_id\": \"\",\n  \"pipeline_id\": \"\",\n  \"contact_ids\": [\n    \"\"\n  ],\n  \"company_id\": \"\",\n  \"owner_id\": \"\",\n  \"close_date\": \"2026-04-22T00:00:00.000Z\",\n  \"probability\": 0,\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"accounting_invoice_id\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete deal",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/deals/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "deals",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List pipelines",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/pipelines",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "pipelines"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get pipeline",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/pipelines/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "pipelines",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List activities",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/activities",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "activities"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create activity",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/activities",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "activities"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"type\": \"\",\n  \"subject\": \"\",\n  \"note\": \"\",\n  \"contact_id\": \"\",\n  \"company_id\": \"\",\n  \"deal_id\": \"\",\n  \"owner_id\": \"\",\n  \"due_date\": \"2026-04-22T00:00:00.000Z\",\n  \"done\": false,\n  \"duration_minutes\": 0,\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get activity",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/activities/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "activities",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update activity",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/activities/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "activities",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"type\": \"\",\n  \"subject\": \"\",\n  \"note\": \"\",\n  \"contact_id\": \"\",\n  \"company_id\": \"\",\n  \"deal_id\": \"\",\n  \"owner_id\": \"\",\n  \"due_date\": \"2026-04-22T00:00:00.000Z\",\n  \"done\": false,\n  \"duration_minutes\": 0,\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete activity",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/activities/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "activities",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List notes",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/notes",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "notes"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create note",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/notes",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "notes"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"content\": \"\",\n  \"contact_id\": \"\",\n  \"company_id\": \"\",\n  \"deal_id\": \"\",\n  \"owner_id\": \"\",\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get note",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/notes/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "notes",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update note",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/notes/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "notes",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"content\": \"\",\n  \"contact_id\": \"\",\n  \"company_id\": \"\",\n  \"deal_id\": \"\",\n  \"owner_id\": \"\",\n  \"created_at\": \"2026-04-22T00:00:00.000Z\",\n  \"updated_at\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete note",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/crm/notes/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "crm",
                "notes",
                ":id"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Ecommerce",
      "description": "Ecommerce vertical — connection-scoped resources under /v1/ecommerce/*.\n\n**Resources**\n\n- `Products` — Product catalogue. Full CRUD.\n- `Variants` — Product variants (SKUs). Full CRUD.\n- `Collections` — Product collections / categories. Full CRUD.\n- `Locations` — Inventory locations / warehouses. Read-only.\n- `Inventory` — Inventory levels. List, get, adjust, set.\n- `Orders` — Orders with line items, fulfillments, refunds. List, get, create, update, cancel.\n- `Fulfillments` — Order fulfillments and shipments. List, get, create, update, cancel.\n- `Refunds` — Order refunds. List, get, create.\n- `Transactions` — Payment transactions. List, get, create.\n- `Discounts` — Discount codes and automatic discounts. Full CRUD.\n- `Providers` — Static metadata about enabled ecommerce platforms.",
      "item": [
        {
          "name": "List products",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/products",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "products"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns all products visible to the authenticated connection. Supports incremental sync via `updated_after` and platform-native pagination (cursor or offset)."
          },
          "response": []
        },
        {
          "name": "Create product",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/products",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "products"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"title\": \"\",\n  \"description\": \"\",\n  \"handle\": \"\",\n  \"status\": \"ACTIVE\",\n  \"vendor\": \"\",\n  \"productType\": \"\",\n  \"tags\": [\n    \"\"\n  ],\n  \"options\": [\n    {\n      \"id\": \"\",\n      \"name\": \"\",\n      \"values\": [\n        \"\"\n      ],\n      \"position\": 0\n    }\n  ],\n  \"variants\": [\n    {\n      \"id\": \"\",\n      \"productId\": \"\",\n      \"sku\": \"\",\n      \"barcode\": \"\",\n      \"title\": \"\",\n      \"price\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"compareAtPrice\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"weight\": 0,\n      \"weightUnit\": \"g\",\n      \"inventoryItemId\": \"\",\n      \"optionValues\": {},\n      \"taxable\": false,\n      \"requiresShipping\": false,\n      \"position\": 0,\n      \"metadata\": {}\n    }\n  ],\n  \"images\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"alt\": \"\",\n      \"width\": 0,\n      \"height\": 0,\n      \"position\": 0\n    }\n  ],\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"publishedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new product on the target platform. Not all platforms expose product creation — returns `501` for unsupported adapters."
          },
          "response": []
        },
        {
          "name": "Get product",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/products/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "products",
                ":id"
              ]
            },
            "description": "Fetches a single product by its platform-specific ID."
          },
          "response": []
        },
        {
          "name": "Update product",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/products/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "products",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"title\": \"\",\n  \"description\": \"\",\n  \"handle\": \"\",\n  \"status\": \"ACTIVE\",\n  \"vendor\": \"\",\n  \"productType\": \"\",\n  \"tags\": [\n    \"\"\n  ],\n  \"options\": [\n    {\n      \"id\": \"\",\n      \"name\": \"\",\n      \"values\": [\n        \"\"\n      ],\n      \"position\": 0\n    }\n  ],\n  \"variants\": [\n    {\n      \"id\": \"\",\n      \"productId\": \"\",\n      \"sku\": \"\",\n      \"barcode\": \"\",\n      \"title\": \"\",\n      \"price\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"compareAtPrice\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"weight\": 0,\n      \"weightUnit\": \"g\",\n      \"inventoryItemId\": \"\",\n      \"optionValues\": {},\n      \"taxable\": false,\n      \"requiresShipping\": false,\n      \"position\": 0,\n      \"metadata\": {}\n    }\n  ],\n  \"images\": [\n    {\n      \"id\": \"\",\n      \"url\": \"\",\n      \"alt\": \"\",\n      \"width\": 0,\n      \"height\": 0,\n      \"position\": 0\n    }\n  ],\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"publishedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a product. Only fields present in the request body are modified. Returns `501` for adapters without write support."
          },
          "response": []
        },
        {
          "name": "Delete product",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/products/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "products",
                ":id"
              ]
            },
            "description": "Deletes a product by ID. Many platforms soft-delete or archive instead of hard-deleting; consult the adapter docs for semantics."
          },
          "response": []
        },
        {
          "name": "List product variants",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/variants",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "variants"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns variants across all products. Some platforms nest variants inside products — for those adapters this endpoint lists variants lazily and returns `501` if unsupported."
          },
          "response": []
        },
        {
          "name": "Create product variant",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/variants",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "variants"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"productId\": \"\",\n  \"sku\": \"\",\n  \"barcode\": \"\",\n  \"title\": \"\",\n  \"price\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"compareAtPrice\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"weight\": 0,\n  \"weightUnit\": \"g\",\n  \"inventoryItemId\": \"\",\n  \"optionValues\": {},\n  \"taxable\": false,\n  \"requiresShipping\": false,\n  \"position\": 0,\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new variant on an existing product. The request body must include the parent `productId`."
          },
          "response": []
        },
        {
          "name": "Get variant",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/variants/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "variants",
                ":id"
              ]
            },
            "description": "Fetches a single product variant by its platform-specific ID."
          },
          "response": []
        },
        {
          "name": "Update product variant",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/variants/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "variants",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"productId\": \"\",\n  \"sku\": \"\",\n  \"barcode\": \"\",\n  \"title\": \"\",\n  \"price\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"compareAtPrice\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"weight\": 0,\n  \"weightUnit\": \"g\",\n  \"inventoryItemId\": \"\",\n  \"optionValues\": {},\n  \"taxable\": false,\n  \"requiresShipping\": false,\n  \"position\": 0,\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a variant. Only fields present in the body are modified."
          },
          "response": []
        },
        {
          "name": "Delete product variant",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/variants/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "variants",
                ":id"
              ]
            },
            "description": "Deletes a variant by ID. Some platforms reject deleting the last variant of a product."
          },
          "response": []
        },
        {
          "name": "List collections",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/collections",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "collections"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns all collections (also known as categories or taxonomies on some platforms)."
          },
          "response": []
        },
        {
          "name": "Create collection",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/collections",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "collections"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"title\": \"\",\n  \"handle\": \"\",\n  \"description\": \"\",\n  \"type\": \"MANUAL\",\n  \"productIds\": [\n    \"\"\n  ],\n  \"image\": {\n    \"id\": \"\",\n    \"url\": \"\",\n    \"alt\": \"\",\n    \"width\": 0,\n    \"height\": 0,\n    \"position\": 0\n  },\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"publishedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new collection. Returns `501` for adapters without write support."
          },
          "response": []
        },
        {
          "name": "Get collection",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/collections/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "collections",
                ":id"
              ]
            },
            "description": "Fetches a single collection by ID."
          },
          "response": []
        },
        {
          "name": "Update collection",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/collections/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "collections",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"title\": \"\",\n  \"handle\": \"\",\n  \"description\": \"\",\n  \"type\": \"MANUAL\",\n  \"productIds\": [\n    \"\"\n  ],\n  \"image\": {\n    \"id\": \"\",\n    \"url\": \"\",\n    \"alt\": \"\",\n    \"width\": 0,\n    \"height\": 0,\n    \"position\": 0\n  },\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"publishedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a collection."
          },
          "response": []
        },
        {
          "name": "Delete collection",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/collections/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "collections",
                ":id"
              ]
            },
            "description": "Deletes a collection by ID. Product memberships are typically removed but the products themselves are preserved."
          },
          "response": []
        },
        {
          "name": "List locations",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/locations",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "locations"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns all inventory locations / warehouses configured on the platform. Single-location platforms return a single synthetic entry."
          },
          "response": []
        },
        {
          "name": "Get location",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/locations/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "locations",
                ":id"
              ]
            },
            "description": "Fetches a single location by ID."
          },
          "response": []
        },
        {
          "name": "List inventory levels",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/inventory_levels",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "inventory_levels"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns per-variant / per-location inventory quantities. Filter with `variantId` or `locationId` query parameters when supported by the adapter."
          },
          "response": []
        },
        {
          "name": "Get inventory level",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/inventory_levels/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "inventory_levels",
                ":id"
              ]
            },
            "description": "Fetches a single inventory level. The `id` is typically a composite of `variantId:locationId` for platforms without first-class inventory IDs."
          },
          "response": []
        },
        {
          "name": "Adjust inventory level",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/inventory_levels/adjust",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "inventory_levels",
                "adjust"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"variantId\": \"\",\n  \"locationId\": \"\",\n  \"delta\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Applies a signed delta to the current available quantity for a given variant at a given location. Positive delta adds stock, negative subtracts. Returns `501` for read-only adapters."
          },
          "response": []
        },
        {
          "name": "Set inventory level",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/inventory_levels/set",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "inventory_levels",
                "set"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"variantId\": \"\",\n  \"locationId\": \"\",\n  \"available\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Sets the absolute available quantity for a given variant at a given location. Prefer `/adjust` where possible to avoid race conditions between multiple writers."
          },
          "response": []
        },
        {
          "name": "List customers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/customers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "customers"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns customers visible to the authenticated connection. Supports incremental sync via `updated_after`."
          },
          "response": []
        },
        {
          "name": "Create customer",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/customers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "customers"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"email\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"phone\": \"\",\n  \"acceptsMarketing\": false,\n  \"ordersCount\": 0,\n  \"totalSpent\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"tags\": [\n    \"\"\n  ],\n  \"defaultAddress\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"addresses\": [\n    {\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"city\": \"\",\n      \"region\": \"\",\n      \"postalCode\": \"\",\n      \"country\": \"\"\n    }\n  ],\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new customer record. Adapters that do not expose customer creation return `501`."
          },
          "response": []
        },
        {
          "name": "Get customer",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "customers",
                ":id"
              ]
            },
            "description": "Fetches a single customer by ID."
          },
          "response": []
        },
        {
          "name": "Update customer",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "customers",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"email\": \"\",\n  \"firstName\": \"\",\n  \"lastName\": \"\",\n  \"phone\": \"\",\n  \"acceptsMarketing\": false,\n  \"ordersCount\": 0,\n  \"totalSpent\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"tags\": [\n    \"\"\n  ],\n  \"defaultAddress\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"addresses\": [\n    {\n      \"line1\": \"\",\n      \"line2\": \"\",\n      \"city\": \"\",\n      \"region\": \"\",\n      \"postalCode\": \"\",\n      \"country\": \"\"\n    }\n  ],\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a customer record."
          },
          "response": []
        },
        {
          "name": "Delete customer",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "customers",
                ":id"
              ]
            },
            "description": "Deletes a customer by ID. Many platforms anonymise rather than hard-delete for compliance reasons."
          },
          "response": []
        },
        {
          "name": "List orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "orders"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns all orders (historical + open). Use `updated_after` for efficient incremental sync."
          },
          "response": []
        },
        {
          "name": "Create order",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "orders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"orderNumber\": \"\",\n  \"name\": \"\",\n  \"customerId\": \"\",\n  \"email\": \"\",\n  \"phone\": \"\",\n  \"currency\": \"AED\",\n  \"subtotalPrice\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalTax\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalDiscounts\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalShipping\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalPrice\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"financialStatus\": \"PENDING\",\n  \"fulfillmentStatus\": \"UNFULFILLED\",\n  \"lineItems\": [\n    {\n      \"id\": \"\",\n      \"productId\": \"\",\n      \"variantId\": \"\",\n      \"title\": \"\",\n      \"quantity\": 0,\n      \"price\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"totalDiscount\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"taxLines\": [\n        {\n          \"title\": \"\",\n          \"rate\": 0,\n          \"amount\": {\n            \"amount\": 0,\n            \"currency\": \"AED\"\n          }\n        }\n      ],\n      \"sku\": \"\",\n      \"fulfillableQuantity\": 0,\n      \"fulfillmentStatus\": \"UNFULFILLED\",\n      \"metadata\": {}\n    }\n  ],\n  \"billingAddress\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"shippingAddress\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"fulfillmentIds\": [\n    \"\"\n  ],\n  \"refundIds\": [\n    \"\"\n  ],\n  \"transactionIds\": [\n    \"\"\n  ],\n  \"discountCodes\": [\n    \"\"\n  ],\n  \"tags\": [\n    \"\"\n  ],\n  \"note\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"processedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelReason\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new draft or confirmed order. Most headless platforms support this; storefront-only platforms return `501`."
          },
          "response": []
        },
        {
          "name": "Get order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "orders",
                ":id"
              ]
            },
            "description": "Fetches a single order including line items, fulfillments, and refunds."
          },
          "response": []
        },
        {
          "name": "Update order",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "orders",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"orderNumber\": \"\",\n  \"name\": \"\",\n  \"customerId\": \"\",\n  \"email\": \"\",\n  \"phone\": \"\",\n  \"currency\": \"AED\",\n  \"subtotalPrice\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalTax\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalDiscounts\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalShipping\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"totalPrice\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"financialStatus\": \"PENDING\",\n  \"fulfillmentStatus\": \"UNFULFILLED\",\n  \"lineItems\": [\n    {\n      \"id\": \"\",\n      \"productId\": \"\",\n      \"variantId\": \"\",\n      \"title\": \"\",\n      \"quantity\": 0,\n      \"price\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"totalDiscount\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      },\n      \"taxLines\": [\n        {\n          \"title\": \"\",\n          \"rate\": 0,\n          \"amount\": {\n            \"amount\": 0,\n            \"currency\": \"AED\"\n          }\n        }\n      ],\n      \"sku\": \"\",\n      \"fulfillableQuantity\": 0,\n      \"fulfillmentStatus\": \"UNFULFILLED\",\n      \"metadata\": {}\n    }\n  ],\n  \"billingAddress\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"shippingAddress\": {\n    \"line1\": \"\",\n    \"line2\": \"\",\n    \"city\": \"\",\n    \"region\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"\"\n  },\n  \"fulfillmentIds\": [\n    \"\"\n  ],\n  \"refundIds\": [\n    \"\"\n  ],\n  \"transactionIds\": [\n    \"\"\n  ],\n  \"discountCodes\": [\n    \"\"\n  ],\n  \"tags\": [\n    \"\"\n  ],\n  \"note\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"processedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelReason\": \"\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates an order. Many platforms restrict which fields are mutable after payment or fulfillment."
          },
          "response": []
        },
        {
          "name": "Cancel order",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/orders/:id/cancel",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "orders",
                ":id",
                "cancel"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Cancels an order. Some platforms reject cancellation of partially fulfilled orders; consult the adapter docs."
          },
          "response": []
        },
        {
          "name": "List fulfillments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/fulfillments",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "fulfillments"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns fulfillments across orders. Some adapters expose fulfillments only via their parent order — those return `501` on this endpoint."
          },
          "response": []
        },
        {
          "name": "Create fulfillment",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/fulfillments",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "fulfillments"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"orderId\": \"\",\n  \"status\": \"PENDING\",\n  \"trackingNumber\": \"\",\n  \"trackingUrl\": \"\",\n  \"carrier\": \"\",\n  \"service\": \"\",\n  \"locationId\": \"\",\n  \"shipmentId\": \"\",\n  \"lineItems\": [\n    {\n      \"lineItemId\": \"\",\n      \"quantity\": 0\n    }\n  ],\n  \"notifyCustomer\": false,\n  \"shippedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"estimatedDeliveryAt\": \"2026-04-22T00:00:00.000Z\",\n  \"deliveredAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a fulfillment for an existing order. The request body must include the parent `orderId` and the line items being fulfilled."
          },
          "response": []
        },
        {
          "name": "Get fulfillment",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/fulfillments/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "fulfillments",
                ":id"
              ]
            },
            "description": "Fetches a single fulfillment by ID."
          },
          "response": []
        },
        {
          "name": "Update fulfillment",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/fulfillments/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "fulfillments",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"orderId\": \"\",\n  \"status\": \"PENDING\",\n  \"trackingNumber\": \"\",\n  \"trackingUrl\": \"\",\n  \"carrier\": \"\",\n  \"service\": \"\",\n  \"locationId\": \"\",\n  \"shipmentId\": \"\",\n  \"lineItems\": [\n    {\n      \"lineItemId\": \"\",\n      \"quantity\": 0\n    }\n  ],\n  \"notifyCustomer\": false,\n  \"shippedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"estimatedDeliveryAt\": \"2026-04-22T00:00:00.000Z\",\n  \"deliveredAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a fulfillment — typically used to attach or update tracking information."
          },
          "response": []
        },
        {
          "name": "Cancel fulfillment",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/fulfillments/:id/cancel",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "fulfillments",
                ":id",
                "cancel"
              ]
            },
            "description": "Cancels a fulfillment. Many platforms only allow cancellation of fulfillments that have not yet shipped."
          },
          "response": []
        },
        {
          "name": "List refunds",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/refunds",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "refunds"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns refunds across orders. Supports incremental sync via `updated_after`."
          },
          "response": []
        },
        {
          "name": "Create refund",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/refunds",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "refunds"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"orderId\": \"\",\n  \"amount\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"reason\": \"\",\n  \"note\": \"\",\n  \"restock\": false,\n  \"refundLineItems\": [\n    {\n      \"lineItemId\": \"\",\n      \"quantity\": 0,\n      \"amount\": {\n        \"amount\": 0,\n        \"currency\": \"AED\"\n      }\n    }\n  ],\n  \"transactionIds\": [\n    \"\"\n  ],\n  \"processedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a refund against an order. The request body must include the parent `orderId` and the refunded line items / amount."
          },
          "response": []
        },
        {
          "name": "Get refund",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/refunds/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "refunds",
                ":id"
              ]
            },
            "description": "Fetches a single refund by ID."
          },
          "response": []
        },
        {
          "name": "List transactions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/transactions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "transactions"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns payment transactions (authorisations, captures, voids, refunds) across orders."
          },
          "response": []
        },
        {
          "name": "Create transaction",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/transactions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "transactions"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"orderId\": \"\",\n  \"kind\": \"AUTHORIZATION\",\n  \"status\": \"PENDING\",\n  \"amount\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"gateway\": \"\",\n  \"authorizationCode\": \"\",\n  \"parentTransactionId\": \"\",\n  \"errorCode\": \"\",\n  \"errorMessage\": \"\",\n  \"processedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Records a new transaction against an order (e.g. a manual capture or external payment). Not all platforms expose this — returns `501` otherwise."
          },
          "response": []
        },
        {
          "name": "Get transaction",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/transactions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "transactions",
                ":id"
              ]
            },
            "description": "Fetches a single transaction by ID."
          },
          "response": []
        },
        {
          "name": "List discounts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/discounts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "discounts"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns all discount codes and automatic discounts configured on the platform."
          },
          "response": []
        },
        {
          "name": "Create discount",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/discounts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "discounts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"code\": \"\",\n  \"title\": \"\",\n  \"type\": \"PERCENTAGE\",\n  \"value\": 0,\n  \"currency\": \"AED\",\n  \"appliesTo\": \"ORDER\",\n  \"productIds\": [\n    \"\"\n  ],\n  \"collectionIds\": [\n    \"\"\n  ],\n  \"minimumPurchaseAmount\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"usageLimit\": 0,\n  \"usageCount\": 0,\n  \"customerEligibility\": \"ALL\",\n  \"startsAt\": \"2026-04-22T00:00:00.000Z\",\n  \"endsAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new discount. Returns `501` for adapters without write support."
          },
          "response": []
        },
        {
          "name": "Get discount",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/discounts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "discounts",
                ":id"
              ]
            },
            "description": "Fetches a single discount by ID."
          },
          "response": []
        },
        {
          "name": "Update discount",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/discounts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "discounts",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"code\": \"\",\n  \"title\": \"\",\n  \"type\": \"PERCENTAGE\",\n  \"value\": 0,\n  \"currency\": \"AED\",\n  \"appliesTo\": \"ORDER\",\n  \"productIds\": [\n    \"\"\n  ],\n  \"collectionIds\": [\n    \"\"\n  ],\n  \"minimumPurchaseAmount\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"usageLimit\": 0,\n  \"usageCount\": 0,\n  \"customerEligibility\": \"ALL\",\n  \"startsAt\": \"2026-04-22T00:00:00.000Z\",\n  \"endsAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a discount."
          },
          "response": []
        },
        {
          "name": "Delete discount",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/ecommerce/discounts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "ecommerce",
                "discounts",
                ":id"
              ]
            },
            "description": "Deletes a discount by ID. Historical usage on existing orders is preserved."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Logistics",
      "description": "Logistics vertical — connection-scoped resources under /v1/logistics/*.\n\n**Resources**\n\n- `providers` — List available adapters and their metadata\n- `shipments` — Shipment CRUD and status\n- `orders` — Fulfilment order CRUD\n- `carriers` — Carrier and service listing\n- `warehouses` — Warehouse / fulfilment centre listing\n- `trackingevents` — Parcel tracking event history\n- `rates` — Shipping rate quotes\n- `labels` — Shipping label purchase and management\n- `manifests` — End-of-day carrier manifests\n- `pickups` — Carrier pickup scheduling and cancellation",
      "item": [
        {
          "name": "List shipments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/shipments",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "shipments"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create a shipment",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/shipments",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "shipments"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"PENDING\",\n  \"trackingNumber\": \"\",\n  \"carrierId\": \"\",\n  \"serviceCode\": \"\",\n  \"warehouseId\": \"\",\n  \"originAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"destinationAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"returnAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"packages\": [\n    {\n      \"id\": \"\",\n      \"trackingNumber\": \"\",\n      \"weight\": {\n        \"value\": 0,\n        \"unit\": \"oz\"\n      },\n      \"dimensions\": {\n        \"length\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"unit\": \"in\"\n      },\n      \"reference\": \"\"\n    }\n  ],\n  \"totalWeight\": {\n    \"value\": 0,\n    \"unit\": \"oz\"\n  },\n  \"dimensions\": {\n    \"length\": 0,\n    \"width\": 0,\n    \"height\": 0,\n    \"unit\": \"in\"\n  },\n  \"estimatedDeliveryAt\": \"2026-04-22T00:00:00.000Z\",\n  \"actualDeliveryAt\": \"2026-04-22T00:00:00.000Z\",\n  \"labelUrl\": \"\",\n  \"cost\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"reference\": \"\",\n  \"notes\": \"\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"mode\": \"parcel\",\n  \"ocean\": {\n    \"containerNumber\": \"\",\n    \"containerType\": \"\",\n    \"bookingNumber\": \"\",\n    \"billOfLadingNumber\": \"\",\n    \"vesselName\": \"\",\n    \"voyageNumber\": \"\",\n    \"shippingLine\": \"\",\n    \"portOfLoading\": \"\",\n    \"portOfDischarge\": \"\",\n    \"estimatedDeparture\": \"2026-04-22T00:00:00.000Z\",\n    \"estimatedArrival\": \"2026-04-22T00:00:00.000Z\",\n    \"actualDeparture\": \"2026-04-22T00:00:00.000Z\",\n    \"actualArrival\": \"2026-04-22T00:00:00.000Z\",\n    \"sealNumber\": \"\"\n  },\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get a shipment",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/shipments/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "shipments",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Cancel a shipment",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/shipments/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "shipments",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "orders"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create an order",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "orders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"PENDING\",\n  \"orderNumber\": \"\",\n  \"customerId\": \"\",\n  \"warehouseId\": \"\",\n  \"shipmentIds\": [\n    \"\"\n  ],\n  \"originAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"destinationAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"lineItems\": \"\",\n  \"currency\": \"AED\",\n  \"subtotalAmount\": 0,\n  \"taxAmount\": 0,\n  \"shippingAmount\": 0,\n  \"discountAmount\": 0,\n  \"totalAmount\": 0,\n  \"notes\": \"\",\n  \"requestedServiceCode\": \"\",\n  \"orderAt\": \"2026-04-22T00:00:00.000Z\",\n  \"shippedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"deliveredAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get an order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "orders",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update an order",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "orders",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"status\": \"PENDING\",\n  \"orderNumber\": \"\",\n  \"customerId\": \"\",\n  \"warehouseId\": \"\",\n  \"shipmentIds\": [\n    \"\"\n  ],\n  \"originAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"destinationAddress\": {\n    \"name\": \"\",\n    \"company\": \"\",\n    \"street1\": \"\",\n    \"street2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"postalCode\": \"\",\n    \"country\": \"AD\",\n    \"phone\": \"\",\n    \"email\": \"\"\n  },\n  \"lineItems\": \"\",\n  \"currency\": \"AED\",\n  \"subtotalAmount\": 0,\n  \"taxAmount\": 0,\n  \"shippingAmount\": 0,\n  \"discountAmount\": 0,\n  \"totalAmount\": 0,\n  \"notes\": \"\",\n  \"requestedServiceCode\": \"\",\n  \"orderAt\": \"2026-04-22T00:00:00.000Z\",\n  \"shippedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"deliveredAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cancel an order",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "orders",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List carriers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/carriers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "carriers"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get a carrier",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/carriers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "carriers",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List warehouses",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/warehouses",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "warehouses"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get a warehouse",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/warehouses/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "warehouses",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List tracking events",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/tracking-events",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "tracking-events"
              ],
              "query": [
                {
                  "key": "tracking_number",
                  "value": "",
                  "description": "Filter by tracking number.",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get tracking events by tracking number",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/tracking-events/:trackingNumber",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "tracking-events",
                ":trackingNumber"
              ],
              "variable": [
                {
                  "key": "trackingNumber",
                  "value": "",
                  "description": "Carrier tracking number."
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get shipping rate quotes",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/rates",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "rates"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List labels",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/labels",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "labels"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Purchase a shipping label",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/labels",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "labels"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"shipmentId\": \"\",\n  \"trackingNumber\": \"\",\n  \"carrierId\": \"\",\n  \"serviceCode\": \"\",\n  \"format\": \"PDF\",\n  \"status\": \"CREATED\",\n  \"url\": \"\",\n  \"base64\": \"\",\n  \"cost\": {\n    \"amount\": 0,\n    \"currency\": \"AED\"\n  },\n  \"refundAt\": \"2026-04-22T00:00:00.000Z\",\n  \"voidedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get a label",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/labels/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "labels",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Void a label",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/labels/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "labels",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List manifests",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/manifests",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "manifests"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create a manifest",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/manifests",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "manifests"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"carrierId\": \"\",\n  \"warehouseId\": \"\",\n  \"manifestNumber\": \"\",\n  \"status\": \"OPEN\",\n  \"shipmentIds\": [\n    \"\"\n  ],\n  \"labelCount\": 0,\n  \"submittedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get a manifest",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/manifests/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "manifests",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List pickups",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/pickups",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "pickups"
              ]
            },
            "description": "Only platforms that expose a pickup collection (EasyPost, AfterShip) implement this; carriers that schedule by confirmation number alone answer 501."
          },
          "response": []
        },
        {
          "name": "Schedule a pickup",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/pickups",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "pickups"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get a pickup",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/pickups/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "pickups",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Cancel a pickup",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/logistics/pickups/:id/cancel",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "logistics",
                "pickups",
                ":id",
                "cancel"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "A POST action answering 200 with the pickup in its final state, not a DELETE: FedEx and DHL cannot cancel by id alone, so the request may carry a body."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Payments",
      "description": "Payments vertical — connection-scoped resources under /v1/payments/*.\n\n**Resources**\n\n- `PaymentMethods` — Saved cards, bank accounts, wallets, mandates.\n- `Charges` — Charges / payment intents. List, get, create, capture, cancel.\n- `Refunds` — Full or partial refunds against charges.\n- `Subscriptions` — Recurring-billing records. List, get, create, update, cancel.\n- `Invoices` — Invoices (subscription-generated and standalone), line items, void, pay.\n- `Payouts` — Gateway-to-bank settlements. Read-only.\n- `Disputes` — Chargebacks / disputes and evidence submission.\n- `Catalog` — Catalog records: plans, prices, products. Absent on many gateways (`501` when unsupported).\n- `BalanceTransactions` — Ledger of every balance-affecting event. Absent on many gateways (`501` when unsupported).",
      "item": [
        {
          "name": "List customers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/customers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "customers"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns all gateway customer records visible to the authenticated connection."
          },
          "response": []
        },
        {
          "name": "Create customer",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/customers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "customers"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"email\": \"\",\n  \"name\": \"\",\n  \"phone\": \"\",\n  \"defaultPaymentMethodId\": \"\",\n  \"billingAddress\": \"\",\n  \"shippingAddress\": \"\",\n  \"currency\": \"\",\n  \"balance\": 0,\n  \"delinquent\": false,\n  \"description\": \"\",\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"\",\n  \"updatedAt\": \"\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new customer in the upstream gateway."
          },
          "response": []
        },
        {
          "name": "Get customer",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "customers",
                ":id"
              ]
            },
            "description": "Fetches a single customer by ID."
          },
          "response": []
        },
        {
          "name": "Update customer",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "customers",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"email\": \"\",\n  \"name\": \"\",\n  \"phone\": \"\",\n  \"defaultPaymentMethodId\": \"\",\n  \"billingAddress\": \"\",\n  \"shippingAddress\": \"\",\n  \"currency\": \"\",\n  \"balance\": 0,\n  \"delinquent\": false,\n  \"description\": \"\",\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"\",\n  \"updatedAt\": \"\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Partially updates a customer."
          },
          "response": []
        },
        {
          "name": "Delete customer",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "customers",
                ":id"
              ]
            },
            "description": "Deletes a customer. Some gateways soft-delete and retain historical charges."
          },
          "response": []
        },
        {
          "name": "List payment methods",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/payment_methods",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "payment_methods"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns saved payment methods (cards, bank accounts, wallets, mandates)."
          },
          "response": []
        },
        {
          "name": "Get payment method",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/payment_methods/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "payment_methods",
                ":id"
              ]
            },
            "description": "Fetches a single payment method by ID."
          },
          "response": []
        },
        {
          "name": "Detach payment method",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/payment_methods/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "payment_methods",
                ":id"
              ]
            },
            "description": "Detaches the payment method from the customer it is currently attached to."
          },
          "response": []
        },
        {
          "name": "List charges",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/charges",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "charges"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns charge / payment intent records with their refund + dispute references."
          },
          "response": []
        },
        {
          "name": "Create charge",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/charges",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "charges"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"amount\": 0,\n  \"currency\": \"AED\",\n  \"amountRefunded\": \"\",\n  \"amountCaptured\": \"\",\n  \"status\": \"pending\",\n  \"captured\": false,\n  \"capturedAt\": \"\",\n  \"customerId\": \"\",\n  \"paymentMethodId\": \"\",\n  \"invoiceId\": \"\",\n  \"subscriptionId\": \"\",\n  \"description\": \"\",\n  \"statementDescriptor\": \"\",\n  \"failureCode\": \"\",\n  \"failureMessage\": \"\",\n  \"receiptUrl\": \"\",\n  \"receiptEmail\": \"\",\n  \"refundIds\": [\n    \"\"\n  ],\n  \"disputeIds\": [\n    \"\"\n  ],\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"\",\n  \"updatedAt\": \"\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Creates a new charge. Some gateways require a separate `capture` step."
          },
          "response": []
        },
        {
          "name": "Get charge",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/charges/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "charges",
                ":id"
              ]
            },
            "description": "Fetches a single charge by ID."
          },
          "response": []
        },
        {
          "name": "Capture an uncaptured charge",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/charges/:id/capture",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "charges",
                ":id",
                "capture"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Captures funds previously authorised. Omit `amount` to capture the full authorisation."
          },
          "response": []
        },
        {
          "name": "Cancel an uncaptured charge",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/charges/:id/cancel",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "charges",
                ":id",
                "cancel"
              ]
            },
            "description": "Voids an uncaptured authorisation. Already-captured charges must be refunded instead."
          },
          "response": []
        },
        {
          "name": "List refunds",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/refunds",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "refunds"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns refund records — partial or full — issued against charges."
          },
          "response": []
        },
        {
          "name": "Create refund",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/refunds",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "refunds"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"chargeId\": \"\",\n  \"amount\": 0,\n  \"currency\": \"AED\",\n  \"status\": \"pending\",\n  \"reason\": \"requested_by_customer\",\n  \"failureReason\": \"\",\n  \"receiptNumber\": \"\",\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Issues a refund against an existing charge."
          },
          "response": []
        },
        {
          "name": "Get refund",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/refunds/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "refunds",
                ":id"
              ]
            },
            "description": "Fetches a single refund by ID."
          },
          "response": []
        },
        {
          "name": "List subscriptions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/subscriptions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "subscriptions"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns recurring-billing records with their items and dunning state."
          },
          "response": []
        },
        {
          "name": "Create subscription",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/subscriptions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "subscriptions"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"customerId\": \"\",\n  \"status\": \"trialing\",\n  \"currency\": \"AED\",\n  \"items\": [\n    {\n      \"id\": \"\",\n      \"priceId\": \"\",\n      \"productId\": \"\",\n      \"quantity\": 0,\n      \"amount\": 0,\n      \"metadata\": {}\n    }\n  ],\n  \"currentPeriodStart\": \"2026-04-22T00:00:00.000Z\",\n  \"currentPeriodEnd\": \"2026-04-22T00:00:00.000Z\",\n  \"billingAnchor\": \"2026-04-22T00:00:00.000Z\",\n  \"trialStart\": \"2026-04-22T00:00:00.000Z\",\n  \"trialEnd\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelAtPeriodEnd\": false,\n  \"collectionMethod\": \"charge_automatically\",\n  \"dunningState\": \"\",\n  \"defaultPaymentMethodId\": \"\",\n  \"latestInvoiceId\": \"\",\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Subscribes a customer to one or more prices/plans."
          },
          "response": []
        },
        {
          "name": "Get subscription",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/subscriptions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "subscriptions",
                ":id"
              ]
            },
            "description": "Fetches a single subscription by ID."
          },
          "response": []
        },
        {
          "name": "Update subscription",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/subscriptions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "subscriptions",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"customerId\": \"\",\n  \"status\": \"trialing\",\n  \"currency\": \"AED\",\n  \"items\": [\n    {\n      \"id\": \"\",\n      \"priceId\": \"\",\n      \"productId\": \"\",\n      \"quantity\": 0,\n      \"amount\": 0,\n      \"metadata\": {}\n    }\n  ],\n  \"currentPeriodStart\": \"2026-04-22T00:00:00.000Z\",\n  \"currentPeriodEnd\": \"2026-04-22T00:00:00.000Z\",\n  \"billingAnchor\": \"2026-04-22T00:00:00.000Z\",\n  \"trialStart\": \"2026-04-22T00:00:00.000Z\",\n  \"trialEnd\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelledAt\": \"2026-04-22T00:00:00.000Z\",\n  \"cancelAtPeriodEnd\": false,\n  \"collectionMethod\": \"charge_automatically\",\n  \"dunningState\": \"\",\n  \"defaultPaymentMethodId\": \"\",\n  \"latestInvoiceId\": \"\",\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Adjusts items, payment methods, or scheduling on an active subscription."
          },
          "response": []
        },
        {
          "name": "Cancel subscription",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/subscriptions/:id/cancel",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "subscriptions",
                ":id",
                "cancel"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"atPeriodEnd\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Cancels a subscription immediately, or at the period end when `atPeriodEnd: true`."
          },
          "response": []
        },
        {
          "name": "List invoices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns invoices including subscription-generated invoices and standalone invoices."
          },
          "response": []
        },
        {
          "name": "Create invoice",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"number\": \"\",\n  \"customerId\": \"\",\n  \"subscriptionId\": \"\",\n  \"status\": \"draft\",\n  \"currency\": \"AED\",\n  \"subtotal\": 0,\n  \"tax\": 0,\n  \"total\": 0,\n  \"amountDue\": 0,\n  \"amountPaid\": 0,\n  \"amountRemaining\": 0,\n  \"dueDate\": \"2026-04-22T00:00:00.000Z\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"periodStart\": \"2026-04-22T00:00:00.000Z\",\n  \"periodEnd\": \"2026-04-22T00:00:00.000Z\",\n  \"hostedInvoiceUrl\": \"\",\n  \"invoicePdfUrl\": \"\",\n  \"lineItemIds\": [\n    \"\"\n  ],\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Drafts a new invoice on the gateway."
          },
          "response": []
        },
        {
          "name": "Get invoice",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices",
                ":id"
              ]
            },
            "description": "Fetches a single invoice by ID."
          },
          "response": []
        },
        {
          "name": "Update invoice",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"\",\n  \"externalId\": \"\",\n  \"number\": \"\",\n  \"customerId\": \"\",\n  \"subscriptionId\": \"\",\n  \"status\": \"draft\",\n  \"currency\": \"AED\",\n  \"subtotal\": 0,\n  \"tax\": 0,\n  \"total\": 0,\n  \"amountDue\": 0,\n  \"amountPaid\": 0,\n  \"amountRemaining\": 0,\n  \"dueDate\": \"2026-04-22T00:00:00.000Z\",\n  \"paidAt\": \"2026-04-22T00:00:00.000Z\",\n  \"periodStart\": \"2026-04-22T00:00:00.000Z\",\n  \"periodEnd\": \"2026-04-22T00:00:00.000Z\",\n  \"hostedInvoiceUrl\": \"\",\n  \"invoicePdfUrl\": \"\",\n  \"lineItemIds\": [\n    \"\"\n  ],\n  \"gateway\": \"\",\n  \"metadata\": {},\n  \"createdAt\": \"2026-04-22T00:00:00.000Z\",\n  \"updatedAt\": \"2026-04-22T00:00:00.000Z\",\n  \"raw\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Updates a draft invoice. Finalised invoices are typically immutable."
          },
          "response": []
        },
        {
          "name": "Void invoice",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices/:id/void",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices",
                ":id",
                "void"
              ]
            },
            "description": "Marks an open invoice as void. Amount due drops to zero."
          },
          "response": []
        },
        {
          "name": "Pay invoice",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices/:id/pay",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices",
                ":id",
                "pay"
              ]
            },
            "description": "Charges the invoice's default payment method."
          },
          "response": []
        },
        {
          "name": "List invoice line items",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/invoices/:id/line_items",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "invoices",
                ":id",
                "line_items"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns the line items on the given invoice."
          },
          "response": []
        },
        {
          "name": "List payouts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/payouts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "payouts"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns gateway-to-bank settlement records."
          },
          "response": []
        },
        {
          "name": "Get payout",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/payouts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "payouts",
                ":id"
              ]
            },
            "description": "Fetches a single payout by ID."
          },
          "response": []
        },
        {
          "name": "List disputes",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/disputes",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "disputes"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns chargeback / dispute records with evidence-submission deadlines."
          },
          "response": []
        },
        {
          "name": "Get dispute",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/disputes/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "disputes",
                ":id"
              ]
            },
            "description": "Fetches a single dispute by ID."
          },
          "response": []
        },
        {
          "name": "Submit dispute evidence",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/disputes/:id/evidence",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "disputes",
                ":id",
                "evidence"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Uploads merchant evidence to contest a dispute."
          },
          "response": []
        },
        {
          "name": "List plans",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/plans",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "plans"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Catalog: subscription plans. Returns `501` on gateways without a Plan resource."
          },
          "response": []
        },
        {
          "name": "Get plan",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/plans/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "plans",
                ":id"
              ]
            },
            "description": "Fetches a single plan by ID."
          },
          "response": []
        },
        {
          "name": "List prices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/prices",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "prices"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Catalog: prices for products. Returns `501` on gateways without a Price resource."
          },
          "response": []
        },
        {
          "name": "Get price",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/prices/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "prices",
                ":id"
              ]
            },
            "description": "Fetches a single price by ID."
          },
          "response": []
        },
        {
          "name": "List products",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/products",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "products"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Catalog: products sold under one or more prices."
          },
          "response": []
        },
        {
          "name": "Get product",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/products/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "products",
                ":id"
              ]
            },
            "description": "Fetches a single product by ID."
          },
          "response": []
        },
        {
          "name": "List balance transactions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/balance_transactions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "balance_transactions"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns the per-line ledger of charges, refunds, payouts, fees, and adjustments that make up the gateway balance."
          },
          "response": []
        },
        {
          "name": "Get balance transaction",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/payments/balance_transactions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "payments",
                "balance_transactions",
                ":id"
              ]
            },
            "description": "Fetches a single balance transaction by ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Docsign",
      "description": "Docsign vertical — connection-scoped resources under /v1/docsign/*.\n\n**Resources**\n\n- `Envelopes` — Signing envelopes — list, get, void.\n- `Signers` — Recipients (signers, cc, witnesses) on an envelope.\n- `Documents` — Document metadata only. No content body returned.\n- `AuditTrailEntries` — First-class audit-trail entries per envelope.\n- `Templates` — Reusable envelope templates.",
      "item": [
        {
          "name": "List envelopes",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/envelopes",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "envelopes"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns signing-envelope records (subject, signer list, status, timestamps)."
          },
          "response": []
        },
        {
          "name": "Get envelope",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/envelopes/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "envelopes",
                ":id"
              ]
            },
            "description": "Fetches a single envelope by id."
          },
          "response": []
        },
        {
          "name": "Void envelope",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/envelopes/:id/void",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "envelopes",
                ":id",
                "void"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Voids an open envelope. Already-completed envelopes are immutable."
          },
          "response": []
        },
        {
          "name": "List signers for an envelope",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/signers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "signers"
              ],
              "query": [
                {
                  "key": "envelope_id",
                  "value": "",
                  "description": "Envelope id to scope the list under. Signers, documents, and audit-trail entries are envelope-scoped on every platform.",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns signers (recipients) on the given envelope."
          },
          "response": []
        },
        {
          "name": "Get signer",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/signers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "signers",
                ":id"
              ]
            },
            "description": "Fetches a single signer by id."
          },
          "response": []
        },
        {
          "name": "List documents for an envelope (metadata only)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/documents",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "documents"
              ],
              "query": [
                {
                  "key": "envelope_id",
                  "value": "",
                  "description": "Envelope id to scope the list under. Signers, documents, and audit-trail entries are envelope-scoped on every platform.",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns document metadata (filename, size, page count) for the given envelope. Document content is intentionally not exposed."
          },
          "response": []
        },
        {
          "name": "Get document (metadata only)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/documents/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "documents",
                ":id"
              ]
            },
            "description": "Fetches document metadata by id. Body content is not returned."
          },
          "response": []
        },
        {
          "name": "List audit-trail entries for an envelope",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/audit_trail_entries",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "audit_trail_entries"
              ],
              "query": [
                {
                  "key": "envelope_id",
                  "value": "",
                  "description": "Envelope id to scope the list under. Signers, documents, and audit-trail entries are envelope-scoped on every platform.",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns first-class audit-trail entries for the given envelope."
          },
          "response": []
        },
        {
          "name": "Get audit-trail entry",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/audit_trail_entries/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "audit_trail_entries",
                ":id"
              ]
            },
            "description": "Fetches a single audit-trail entry by id."
          },
          "response": []
        },
        {
          "name": "List templates",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/templates",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "templates"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns reusable envelope templates with signer roles and document counts."
          },
          "response": []
        },
        {
          "name": "Get template",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/docsign/templates/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "docsign",
                "templates",
                ":id"
              ]
            },
            "description": "Fetches a single template by id."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Projects",
      "description": "Projects vertical — connection-scoped resources under /v1/projects/*.\n\n**Resources**\n\n- `Projects` — Projects (workspaces containers of tasks).\n- `Tasks` — Tasks with flat-with-parent-pointer hierarchy.\n- `Comments` — Comments on tasks or projects. Text included; attachment content refused.\n- `Tags` — Taxonomy.\n- `Workspaces` — Top-level org boundary.\n- `Users` — Platform user identity (name + email only).",
      "item": [
        {
          "name": "List projects",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/projects",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "projects"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns projects visible to the connection."
          },
          "response": []
        },
        {
          "name": "Get project",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/projects/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "projects",
                ":id"
              ]
            },
            "description": "Fetches a single project by id."
          },
          "response": []
        },
        {
          "name": "List tasks for a project",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/tasks",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "tasks"
              ],
              "query": [
                {
                  "key": "project_id",
                  "value": "",
                  "description": "Project id to scope the list under (required for tasks).",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns tasks under the given project. Use `metadata.platformType` to distinguish platform-specific levels (epic/story/subtask/etc.)."
          },
          "response": []
        },
        {
          "name": "Get task",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/tasks/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "tasks",
                ":id"
              ]
            },
            "description": "Fetches a single task by id."
          },
          "response": []
        },
        {
          "name": "List comments for a task",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/comments",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "comments"
              ],
              "query": [
                {
                  "key": "task_id",
                  "value": "",
                  "description": "Task id to scope the list under (required for comments).",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns comments under the given task."
          },
          "response": []
        },
        {
          "name": "Get comment",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/comments/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "comments",
                ":id"
              ]
            },
            "description": "Fetches a single comment by id."
          },
          "response": []
        },
        {
          "name": "List tags for a workspace",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/tags",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "tags"
              ],
              "query": [
                {
                  "key": "workspace_id",
                  "value": "",
                  "description": "Workspace id to scope the list under (required for tags and users).",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns tags in the given workspace."
          },
          "response": []
        },
        {
          "name": "Get tag",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/tags/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "tags",
                ":id"
              ]
            },
            "description": "Fetches a single tag by id."
          },
          "response": []
        },
        {
          "name": "List workspaces",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/workspaces",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "workspaces"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns workspaces visible to the connection."
          },
          "response": []
        },
        {
          "name": "Get workspace",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/workspaces/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "workspaces",
                ":id"
              ]
            },
            "description": "Fetches a single workspace by id."
          },
          "response": []
        },
        {
          "name": "List users for a workspace",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/users",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "users"
              ],
              "query": [
                {
                  "key": "workspace_id",
                  "value": "",
                  "description": "Workspace id to scope the list under (required for tags and users).",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns members of the given workspace. PII-minimal (name + email)."
          },
          "response": []
        },
        {
          "name": "Get user",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/projects/users/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "projects",
                "users",
                ":id"
              ]
            },
            "description": "Fetches a single user by id."
          },
          "response": []
        }
      ]
    },
    {
      "name": "CustomerSupport",
      "description": "CustomerSupport vertical — connection-scoped resources under /v1/customer-support/*.\n\n**Resources**\n\n- `Tickets` — Tickets / conversations / cases.\n- `Messages` — Body text inside a ticket. Public reply or internal note.\n- `Contacts` — Customer identity. PII-minimal.\n- `Users` — Agent identity.\n- `Tags` — Taxonomy.\n- `Teams` — Agent groups.\n- `Macros` — Canned-response templates.",
      "item": [
        {
          "name": "List tickets",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/tickets",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "tickets"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns tickets visible to the connection. Schema-firewall: no attachment content, no voice recordings."
          },
          "response": []
        },
        {
          "name": "Get ticket",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/tickets/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "tickets",
                ":id"
              ]
            },
            "description": "Fetches a single ticket by id."
          },
          "response": []
        },
        {
          "name": "List messages for a ticket",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/messages",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "messages"
              ],
              "query": [
                {
                  "key": "ticket_id",
                  "value": "",
                  "description": "Ticket id to scope the list under (required for messages).",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns messages under the given ticket. Body text included verbatim. Internal-note PII redaction is the operator's responsibility at consume-time."
          },
          "response": []
        },
        {
          "name": "Get message",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/messages/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "messages",
                ":id"
              ]
            },
            "description": "Fetches a single message by id."
          },
          "response": []
        },
        {
          "name": "List contacts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/contacts",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "contacts"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns contacts. PII-minimal (name + email + phone only)."
          },
          "response": []
        },
        {
          "name": "Get contact",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/contacts/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "contacts",
                ":id"
              ]
            },
            "description": "Fetches a single contact by id."
          },
          "response": []
        },
        {
          "name": "List agents",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/users",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "users"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns support agents."
          },
          "response": []
        },
        {
          "name": "Get agent",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/users/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "users",
                ":id"
              ]
            },
            "description": "Fetches a single agent by id."
          },
          "response": []
        },
        {
          "name": "List tags",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/tags",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "tags"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns tags (ticket taxonomy)."
          },
          "response": []
        },
        {
          "name": "Get tag",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/tags/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "tags",
                ":id"
              ]
            },
            "description": "Fetches a single tag by id."
          },
          "response": []
        },
        {
          "name": "List agent teams",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/teams",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "teams"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns agent groups / teams."
          },
          "response": []
        },
        {
          "name": "Get team",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/teams/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "teams",
                ":id"
              ]
            },
            "description": "Fetches a single team by id."
          },
          "response": []
        },
        {
          "name": "List macros (canned responses)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/macros",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "macros"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns canned-response templates. Platforms without this surface return []."
          },
          "response": []
        },
        {
          "name": "Get macro",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customer-support/macros/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customer-support",
                "macros",
                ":id"
              ]
            },
            "description": "Fetches a single macro by id."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Inventory",
      "description": "Inventory vertical — connection-scoped resources under /v1/inventory/*.\n\n**Resources**\n\n- `Products` — SKU master records.\n- `StockLevels` — Qty per Product × Location.\n- `Locations` — Warehouses / stores / virtual locations.\n- `Suppliers` — Vendors / sources.\n- `PurchaseOrders` — Inbound stock orders.\n- `StockTransfers` — Movements between locations.\n- `StockAdjustments` — Cycle counts, write-offs, audit moves.",
      "item": [
        {
          "name": "List products",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/products",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "products"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns products / SKUs. Variants flat-with-parent-pointer via parentProductId. Schema-firewall: no images."
          },
          "response": []
        },
        {
          "name": "Get product",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/products/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "products",
                ":id"
              ]
            },
            "description": "Fetches a single product by id."
          },
          "response": []
        },
        {
          "name": "List stock levels",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/stock-levels",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "stock-levels"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns quantity per Product × Location. Id is synthetic <productId>:<locationId>."
          },
          "response": []
        },
        {
          "name": "Get stock level",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/stock-levels/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "stock-levels",
                ":id"
              ]
            },
            "description": "Fetches a single stock level."
          },
          "response": []
        },
        {
          "name": "List locations",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/locations",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "locations"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns warehouses / stores / virtual locations. Hierarchy via parentLocationId."
          },
          "response": []
        },
        {
          "name": "Get location",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/locations/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "locations",
                ":id"
              ]
            },
            "description": "Fetches a single location."
          },
          "response": []
        },
        {
          "name": "List suppliers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/suppliers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "suppliers"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns vendors / sources. PII-minimal — banking details refused."
          },
          "response": []
        },
        {
          "name": "Get supplier",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/suppliers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "suppliers",
                ":id"
              ]
            },
            "description": "Fetches a single supplier."
          },
          "response": []
        },
        {
          "name": "List purchase orders",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/purchase-orders",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "purchase-orders"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns inbound stock orders with nested line items."
          },
          "response": []
        },
        {
          "name": "Get purchase order",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/purchase-orders/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "purchase-orders",
                ":id"
              ]
            },
            "description": "Fetches a single purchase order."
          },
          "response": []
        },
        {
          "name": "List stock transfers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/stock-transfers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "stock-transfers"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns movements between Locations."
          },
          "response": []
        },
        {
          "name": "Get stock transfer",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/stock-transfers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "stock-transfers",
                ":id"
              ]
            },
            "description": "Fetches a single stock transfer."
          },
          "response": []
        },
        {
          "name": "List stock adjustments",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/stock-adjustments",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "stock-adjustments"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Not read by the server. Page with `page` and `limit`, and stop when `meta.hasMore` is false.",
                  "disabled": true
                }
              ]
            },
            "description": "Cycle-counts, damage write-offs, audit moves."
          },
          "response": []
        },
        {
          "name": "Get stock adjustment",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/inventory/stock-adjustments/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "inventory",
                "stock-adjustments",
                ":id"
              ]
            },
            "description": "Fetches a single stock adjustment."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Sandbox",
      "description": "The test-mode control surface. `/test/v1/*` serves synthetic data with an `osk_test_…` key — or a token from the deployment’s own **test issuer** (`/test/oidc`: discovery, JWKS, and `POST /token`, which trades a test key for an OIDC bearer) — and makes no outbound call to any platform. Sandbox-only routes here: self-serve keys (`POST /test/v1/keys`), connection discovery (`GET /test/v1/connections` — start there), data reset (`DELETE /test/v1/reset`), and the **mock OAuth ceremony** (`/test/v1/auth/{vertical}/sandbox/connect` → hosted authorize page or `?outcome=…` → `/callback` granting the derived connection id). The tenant control plane (customers, connections, events, webhook-subscriptions) and a curated platform catalog are served under `/test/v1` too, and every vertical resource route mirrors `/v1/*` — pick the sandbox entry in the Servers dropdown to try one. Sandbox connect links open a hosted mock picker/authorize/done journey (HTML pages, unpublished here — see the dev-api guide).",
      "item": [
        {
          "name": "Mint a sandbox API key, self-serve (operator opt-in)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/v1/keys",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "v1",
                "keys"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Unauthenticated, and OFF by default — answers `403 SANDBOX_SELF_SERVE_DISABLED` until the operator enables `auth.sandbox_self_serve_enabled`. When enabled, mints an `osk_test_…` key (plaintext returned once) bound to a fresh throwaway tenant: it works only on the no-egress `/test/v1/*` sandbox, expires after 7 days, and minting is IP-rate-limited (3/hour). Start with `GET /test/v1/connections` using the new key."
          },
          "response": []
        },
        {
          "name": "Sandbox test issuer: OIDC discovery",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/oidc/.well-known/openid-configuration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "oidc",
                ".well-known",
                "openid-configuration"
              ]
            },
            "description": "Discovery document for this deployment’s own test issuer. `issuer` is `<public base>/test/oidc` — the exact string to register on /oauth-clients (preset “OpenSteward test issuer”); the “Test” button there reads `jwks_uri` from here. Unauthenticated."
          },
          "response": []
        },
        {
          "name": "Sandbox test issuer: signing keys",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/oidc/jwks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "oidc",
                "jwks"
              ]
            },
            "description": "The RS256 public key the test issuer signs with. Generated in memory when the server starts — a restart rotates it and every earlier test token stops verifying. Unauthenticated."
          },
          "response": []
        },
        {
          "name": "Sandbox test issuer: mint a token (client_credentials)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/oidc/token",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "oidc",
                "token"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Trades a **test API key** for an OIDC bearer token, the way an identity provider trades a client secret for one. `client_id` is the subject the token is minted for; `client_secret` is an `osk_test_…` key (a live key is refused). Also accepts HTTP Basic client authentication. The tenant claim is always the key’s tenant — nothing in the request can widen it.\n\nThe token carries `iss` = this deployment’s test issuer and works on `/test/v1/*` only; `/v1/*` answers `403 KEY_MODE_MISMATCH`, as it does for a test key. Whether the token is *admitted* is the registered issuer’s configuration — registry (the subject must be a registered service account), intersect, or token-decides — exactly as on `/v1/*`. Requires the test issuer to be registered on /oauth-clients first; answers `400 invalid_request` naming the URL to register otherwise. Errors use the OAuth 2.0 shape (`error`, `error_description`). IP-rate-limited (60/hour)."
          },
          "response": []
        },
        {
          "name": "List sandbox connections",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/v1/connections",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "v1",
                "connections"
              ]
            },
            "description": "Every sandbox connection for the calling tenant — one per mounted vertical. **Start here**: every other `/test/v1/*` request needs a `connection_id`, and these are the only ids the sandbox accepts.\n\nRequires a **test-mode** dev key (`osk_test_…`). A live key on this path is `403 KEY_MODE_MISMATCH`, and the reverse is true on `/v1/*` — the two surfaces never share a credential."
          },
          "response": []
        },
        {
          "name": "Reset the sandbox",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/v1/reset",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "v1",
                "reset"
              ]
            },
            "description": "Deletes every sandbox record belonging to the calling tenant. The next read reseeds from the same documented examples the Unified API reference shows, so a suite can reset between runs and get identical data back.\n\nScoped to the tenant on the verified key, never to anything in the request — one tenant cannot reset another's. `/v1/*` data is untouched: the sandbox lives in its own table."
          },
          "response": []
        },
        {
          "name": "Start the mock OAuth ceremony",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/v1/auth/:vertical/:platform/connect",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "v1",
                "auth",
                ":vertical",
                ":platform",
                "connect"
              ],
              "query": [
                {
                  "key": "tenant_id",
                  "value": "",
                  "description": "Tenant whose derived sandbox connection the ceremony grants.",
                  "disabled": false
                },
                {
                  "key": "label",
                  "value": "",
                  "description": "Optional label echoed on the granted connection.",
                  "disabled": true
                },
                {
                  "key": "outcome",
                  "value": "granted",
                  "description": "Skip the hosted authorize page and drive the flow programmatically.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "platform",
                  "value": "sandbox",
                  "description": "Always `sandbox` — the only platform the sandbox serves."
                }
              ]
            },
            "description": "The sandbox stand-in for `GET /auth/{vertical}/{platform}/connect`. The live ceremony needs an enabled adapter with real OAuth client config and a live provider; the sandbox simulates the whole dance against the synthetic `sandbox` platform with **no outbound request**.\n\nWithout `outcome`, responds `302` to a hosted mock authorize page (Approve / Deny buttons) — the browser journey. With `outcome`, skips the page and drives the flow programmatically:\n\n- `granted` → 302 straight to the callback with a valid `code` + `state` → the callback answers `201` with the **derived sandbox connection id**.\n- `denied` → callback answers `400 OAUTH_ACCESS_DENIED` (no id).\n- `error` → callback answers `400 OAUTH_PROVIDER_ERROR` (no id).\n- `expired` → the callback receives a state that was never stored → `400 INVALID_STATE`, exactly what an expired live state looks like.\n\n`tenant_id` is required — the ceremony derives the connection id from it, the same UUIDv5 derivation as `GET /test/v1/connections`. Only `platform = 'sandbox'` exists; any other slug answers the live-shaped `404 ADAPTER_UNAVAILABLE`. Unauthenticated by design (browser ceremony, like the live `/auth` GETs), gated by the test-mode flag and an IP rate limit."
          },
          "response": []
        },
        {
          "name": "Complete the mock OAuth ceremony",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/test/v1/auth/:vertical/:platform/callback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "test",
                "v1",
                "auth",
                ":vertical",
                ":platform",
                "callback"
              ],
              "query": [
                {
                  "key": "code",
                  "value": "",
                  "description": "The mock authorization code (any `sbx_…` value the connect leg issued).",
                  "disabled": true
                },
                {
                  "key": "state",
                  "value": "",
                  "description": "One-time CSRF state issued by the connect leg.",
                  "disabled": false
                },
                {
                  "key": "error",
                  "value": "access_denied",
                  "description": "Provider-style error instead of a code: `access_denied` or `server_error`.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "platform",
                  "value": "sandbox"
                }
              ]
            },
            "description": "Where the mock authorize page (or an `outcome`-driven redirect) lands. Consumes the one-time `state` — a replayed, expired, or unknown state answers `400 INVALID_STATE`, and a state started for a different vertical answers `400 STATE_MISMATCH`, mirroring the live CSRF guard.\n\nOn success the response is `201` with the **derived** sandbox connection id — the same id `GET /test/v1/connections` lists for that tenant and vertical. The sandbox never mints new connection ids; denied/error outcomes return an error payload and no id. (A flow started from a sandbox Connect Link 302s to the hosted done page instead of returning JSON, mirroring the live Connect Link branch.)"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Platform",
      "description": "Service health + platform catalog. The unified-backend surface that isn't per-vertical.",
      "item": [
        {
          "name": "Service health",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/health",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "health"
              ]
            },
            "description": "Returns service status, the registered verticals, and the total enabled-adapter count."
          },
          "response": []
        },
        {
          "name": "List platforms",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/platforms",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "platforms"
              ],
              "query": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Filter to one vertical.",
                  "disabled": true
                },
                {
                  "key": "enabled",
                  "value": "true",
                  "description": "When `true`, return only platforms the operator has enabled on this deployment. When `false`, return only disabled platforms. Omit to return both.",
                  "disabled": true
                }
              ]
            },
            "description": "Flat list of every adapter known to the service across every vertical. Each row carries an `enabled` boolean reflecting the deployment-specific activation state — use `?enabled=true` to filter to only the platforms a customer can actually connect to right now. Requires a credential: a Bearer dev key (live) or `X-Admin-Secret`. **In test mode** (`/test/v1/platforms`, test key) the catalog is curated: one synthetic `sandbox` platform per vertical, always enabled — exactly the platforms the sandbox connections use."
          },
          "response": []
        },
        {
          "name": "Get platform metadata",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/platforms/:vertical/:slug",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "platforms",
                ":vertical",
                ":slug"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "slug",
                  "value": "{{slug}}",
                  "description": "Adapter slug."
                }
              ]
            },
            "description": "Requires a credential: a Bearer dev key (live) or `X-Admin-Secret`. In test mode (`/test/v1/platforms/{vertical}/sandbox`, test key) only the synthetic `sandbox` slug resolves."
          },
          "response": []
        },
        {
          "name": "List the verticals this deployment serves",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/capabilities",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "capabilities"
              ]
            },
            "description": "The verticals whose routes answer for your credential: every vertical the deployment runs that its license includes. An MCP client registers tools only for these. Any Bearer dev key works, with no particular scope; an `mcp:read` key is also refused here when the license or the `features.mcp_enabled` setting withholds MCP. Carries no license details. End-user tokens (`eut_`) use `GET /v1/me/capabilities`, which lists the verticals mounted under `/v1/me` that the license includes. **In test mode** (`/test/v1/capabilities`, test key) the list is the sandbox verticals the license includes."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Auth",
      "description": "OAuth connect / callback / revoke for every (vertical, platform) pair.",
      "item": [
        {
          "name": "Start OAuth — redirect to provider authorization URL",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/auth/:vertical/:platform/connect",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                ":vertical",
                ":platform",
                "connect"
              ],
              "query": [
                {
                  "key": "tenant_id",
                  "value": "",
                  "description": "Tenant the connection belongs to. Omit for admin-tooling (no-owner) connections.",
                  "disabled": true
                },
                {
                  "key": "label",
                  "value": "",
                  "description": "Optional human-readable label, surfaced in connection listings.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "platform",
                  "value": "{{platform}}",
                  "description": "Adapter slug for the upstream platform (e.g. `fortnox`, `shopify`)."
                }
              ]
            },
            "description": "Browser endpoint. The user-agent is 302'd to the upstream provider's authorization URL. After the user consents, the provider redirects back to `GET /auth/{vertical}/{platform}/callback`.\n\n**When to use this vs the POST variant:** check the platform's `auth_type` in `/v1/platforms/{vertical}/{slug}`. `oauth2` → use this GET. Any other value (`api_key`, `basic`, `session`) → use the POST variant on the same path.\n\n**Admin tooling vs end-user flow:** this path is for admin tooling — the resulting connection has `ownerTenantId = null` and **does not appear** under `/v1/customers/{id}/connections`. For end-user flows (where the connection should be attached to one of your customers), mint a Connect Link with `POST /v1/customers/{id}/connect-links` instead and let the user complete OAuth via that flow."
          },
          "response": []
        },
        {
          "name": "Connect via static API key (no OAuth)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/auth/:vertical/:platform/connect",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                ":vertical",
                ":platform",
                "connect"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "platform",
                  "value": "{{platform}}",
                  "description": "Adapter slug for the upstream platform (e.g. `fortnox`, `shopify`)."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "For platforms whose `auth_type` is `api_key` (or similar non-OAuth) — primarily logistics carriers (e.g. FedEx, UPS, Shippo) and a handful of CRM platforms. Stores the static credential and returns the new connection.\n\n**When to use this vs the GET variant:** check the platform's `auth_type` in `/v1/platforms/{vertical}/{slug}`. `oauth2` → use `GET /auth/{vertical}/{platform}/connect` (browser redirect). `api_key` (or any other non-oauth value) → use this POST.\n\nAdapters that haven't opted into the static-credential flow (no `exchangeCredentials()`) reject this with 404 — fall back to the OAuth GET path.\n\n**Credential fields are the adapter's, not a fixed `api_key`.** Send them as `fields`, keyed by the names in `credentialFields()` — `GET /v1/platforms/{vertical}/{slug}` lists them. Some adapters take one token, others take `clientId` + `clientSecret` plus an account id. `api_key` is accepted as shorthand **only** where the adapter declares exactly one field (the carrier case); anything else answers 400 and names what it needs.\n\n`tenant_id` is optional: omit it for admin-tooling connections (the connection lands with `ownerTenantId = null` and won't appear under `/v1/customers/{id}/connections`). Provide it when minting a connection that should belong to one of your tenants.\n\n**Two credentials, deliberately unequal.** Send `X-Admin-Secret` and `tenant_id` is taken from the body, so an operator can provision for any tenant or for none. Send a tenant Bearer key carrying `connections:write` and it works too — but `tenant_id` comes from the KEY and the body’s value is ignored, which is what makes it safe to expose: a tenant can provision its own carriers headlessly and cannot reach another’s. Presenting a Bearer header selects the tenant path even if a secret is also present, so the narrower rule wins.\n\nThis route always requires a credential: an unauthenticated caller able to supply `tenant_id` could mint a connection owned by any tenant and route that tenant’s traffic through an upstream account the caller controls. End-user credential entry belongs on the Connect Link flow, which is scoped by a one-time session token."
          },
          "response": []
        },
        {
          "name": "OAuth callback — exchanges code, stores connection",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/auth/:vertical/:platform/callback",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auth",
                ":vertical",
                ":platform",
                "callback"
              ],
              "query": [
                {
                  "key": "code",
                  "value": "",
                  "disabled": false
                },
                {
                  "key": "state",
                  "value": "",
                  "disabled": false
                }
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "platform",
                  "value": "{{platform}}",
                  "description": "Adapter slug for the upstream platform (e.g. `fortnox`, `shopify`)."
                }
              ]
            },
            "description": "Returned to by the upstream provider with `code` and `state` query params. Exchanges the code for tokens and persists a new connection row.\n\n**Two response shapes** depending on how the OAuth was started:\n- **Admin tooling** (started via `GET /auth/.../connect`): returns 200 JSON with `{ connection_id, vertical, platform }`. The connection has `ownerTenantId = null` — it won't appear under `/v1/customers/{id}/connections`.\n- **Connect Link flow** (started via `POST /connect/sessions/:token/oauth-start`): 302 redirects to the session's `redirect_url` (or the hosted thank-you page). The connection has `ownerTenantId` set from the session's tenant and IS visible under `/v1/customers/{id}/connections`."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Connections",
      "description": "Connection management — list / get / rename / delete a single OAuth connection. Tenant-scoped routes (`/v1/connections*`) use a Bearer dev key + `connections:*` scope and are exercisable in test mode (`/test/v1/connections*`); operator-only routes (`/admin/connections*`) require `X-Admin-Secret` and span every tenant.",
      "item": [
        {
          "name": "List your tenant's connections",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/connections",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "connections"
              ],
              "query": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Filter to one vertical.",
                  "disabled": true
                },
                {
                  "key": "platform",
                  "value": "{{platform}}",
                  "description": "Filter to one adapter, by slug. See the `PlatformSlug` schema or `GET /v1/platforms` for valid values.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns connections owned by your tenant — i.e. connections that landed via a Connect Link spawned for one of your customers. Connections created out-of-band via admin tooling carry no owner tenant and are not returned here. Requires scope `connections:read`."
          },
          "response": []
        },
        {
          "name": "Get a connection",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/connections/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "connections",
                ":id"
              ]
            },
            "description": "Cross-tenant lookups return 404 (not 403) so the caller cannot probe for other tenants' ids. Requires scope `connections:read`."
          },
          "response": []
        },
        {
          "name": "Rename a connection",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/connections/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "connections",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Body: `{ \"label\": \"<new>\" | null }`. Requires scope `connections:write`."
          },
          "response": []
        },
        {
          "name": "Delete a connection",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/connections/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "connections",
                ":id"
              ]
            },
            "description": "Removes the connection row. Does NOT call the upstream platform to revoke OAuth tokens — issue a platform-side revoke separately if needed. Requires scope `connections:write`."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Customers",
      "description": "Customer (end-user) management + Connect Link creation. Tenant-scoped developer API.",
      "item": [
        {
          "name": "List customers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Returns customers owned by the tenant of the calling API key. Searchable by email, display name, or external reference. Requires scope `customers:read`."
          },
          "response": []
        },
        {
          "name": "Create or upsert a customer",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Idempotent on `(tenant, email)` — re-posting the same email returns the existing record with a 200 instead of erroring. Requires scope `customers:write`."
          },
          "response": []
        },
        {
          "name": "Get a customer",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers",
                ":id"
              ]
            },
            "description": "Requires scope `customers:read`. Pass `?include_pii=true` to additionally return the decrypted PII (firstName, lastName, phone, address, personalIdNumber); requires scope `customers:read_pii`. Each reveal writes a structured `pii_reveal` audit log line."
          },
          "response": []
        },
        {
          "name": "Update a customer",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Requires scope `customers:write`."
          },
          "response": []
        },
        {
          "name": "Delete a customer",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers",
                ":id"
              ],
              "query": [
                {
                  "key": "cascade",
                  "value": "connections",
                  "description": "Pass `connections` to also delete this customer's connections and their derived state — the erasure-request shape.",
                  "disabled": true
                }
              ]
            },
            "description": "Detaches the customer from any connect-link sessions and hard-deletes the record. By default linked connections are NOT revoked — pass `?cascade=connections` to also delete every connection this customer’s links produced, which drops their cached resources, sync history and external-account links (the standard connection-delete cascade). The provider-side OAuth grant is not called either way. Requires scope `customers:write`."
          },
          "response": []
        },
        {
          "name": "List a customer's connections",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers/:id/connections",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers",
                ":id",
                "connections"
              ]
            },
            "description": "Returns every connection joined to this customer via a consumed Connect Link session. Requires scope `connections:read`."
          },
          "response": []
        },
        {
          "name": "Create a hosted Connect Link for a customer",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/customers/:id/connect-links",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "customers",
                ":id",
                "connect-links"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Returns a single-use, time-bound URL the customer opens to authorise an integration. When the customer completes the flow, the resulting connection is tagged back to this customer and visible at `GET /v1/customers/{id}/connections`. Requires scope `connect-links:write`."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Events",
      "description": "Verified inbound platform events, tenant-scoped. Poll `GET /v1/events` with the monotonic `seq` cursor; the same stream is available with synthetic rows in test mode at `/test/v1/events`.",
      "item": [
        {
          "name": "List inbound events",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/events",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "events"
              ],
              "query": [
                {
                  "key": "after_seq",
                  "value": "",
                  "description": "Return only events with `seq` greater than this. Pass the previous page's `meta.next_cursor`. Omit (or `0`) to start from the beginning.",
                  "disabled": true
                }
              ]
            },
            "description": "Returns verified inbound platform webhook events for your tenant in `seq` order (oldest first). `seq` is monotonic, so paging with `after_seq` = the previous page's `meta.next_cursor` pulls only new events with no clock-skew gaps. Requires scope `events:read`. In test mode (`/test/v1/events`) the stream is a small deterministic synthetic set."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Sync",
      "description": "Background full-sync jobs across the five verticals. POST `/v1/{vertical}/sync` enqueues; the per-vertical SyncWorker drains. Operator overview via `/admin/sync-jobs`.",
      "item": [
        {
          "name": "Enqueue a background sync job",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/:vertical/sync",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                ":vertical",
                "sync"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Walks the vertical's listable resources for the given connection and bulk-upserts canonical rows into the local cache. Returns 409 with the existing job if one is already pending or running for the same connection. Returns 404 in `passthrough` mode (route not mounted).\n\n**Scope.** A sync only fills the local cache and never writes upstream, so the touch axis alone is enough — `vertical:{vertical}` or `vertical:read`. `vertical:write` is NOT required.\n\n**Unless you send `callback_url`.** Supplying one makes the deployment issue an outbound POST of its own when the job finishes, which is a different authority from refreshing your cache, so it additionally requires `vertical:write`. A key without that scope gets `403 INSUFFICIENT_SCOPE`.\n\nIf you do not need a callback, send an empty JSON object as the body. The body is optional, but an empty one is not: the server rejects a request that sets `Content-Type: application/json` and sends nothing with `400 Body cannot be empty when content-type is set to 'application/json'` — and this console, like most REST clients, always sets that header. So send `{}` (or omit both the body and the header):\n\n```sh\ncurl -X POST -H \"Authorization: Bearer $KEY\" -H \"Content-Type: application/json\" \\\n  \"$BASE/v1/{vertical}/sync?connection_id=<uuid>\" -d '{}'\n```\n\nA `callback_url` must be `https`, carry no embedded credentials, and must not resolve to a loopback, private or link-local address; it is validated when the job is enqueued (`400 INVALID_CALLBACK_URL`) and re-resolved immediately before the callback is sent.\n\n**In the sandbox** (`/test/v1/{vertical}/sync`, test keys) the job lifecycle is simulated: it walks pending → running → completed over ~2s (`?fast=true` completes before the response returns), completion seeds a couple of fresh fixture rows per resource type so a re-poll sees new data, and `callback_url` is validated and stored but **never dialed** — the sandbox makes no outbound requests; poll `GET /sync/{jobId}` instead. The tighter 10/hour budget applies only to live syncs."
          },
          "response": []
        },
        {
          "name": "List sync jobs for one connection",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/:vertical/sync",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                ":vertical",
                "sync"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "pending",
                  "description": "Filter by job status.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get a sync job by id",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/:vertical/sync/:jobId",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                ":vertical",
                "sync",
                ":jobId"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "jobId",
                  "value": "{{connectionId}}"
                }
              ]
            },
            "description": "Fetch one sync job. `connection_id` is required even though `jobId` identifies the job on its own: every `/v1/{vertical}/*` route is gated by the unified auth middleware, which resolves the connection before routing in order to determine the platform adapter and to verify the connection belongs to the caller's tenant. The handler additionally 404s a job that belongs to a different connection, so a job id from another connection cannot be probed."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Webhooks",
      "description": "Inbound webhook normalisation. Verifies signatures, fans out across connections, optionally forwards to a callback URL.",
      "item": [
        {
          "name": "Inbound webhook receiver",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-test-signature",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/webhooks/:vertical/:platform",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                ":vertical",
                ":platform"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "platform",
                  "value": "{{platform}}",
                  "description": "Adapter slug for the upstream platform (e.g. `fortnox`, `shopify`)."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Verifies the upstream signature, normalises the payload into one or more `WebhookEvent`s, fans each one out across matching stored connections (same `(vertical, platform, tenantId)` may resolve to multiple connections), and — if `webhooks.callbackUrl` is configured — POSTs `{ events: WebhookEvent[] }` to that URL as a fire-and-forget. Response body carries only `{ received, eventCount }`; consumers that need the event payloads wire a `callbackUrl`."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Admin",
      "description": "Operator-only routes gated by `X-Admin-Secret` — platform management, cross-tenant connection inspection, sync-job admin.",
      "item": [
        {
          "name": "List connections (operator)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connections",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connections"
              ],
              "query": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Filter to one vertical.",
                  "disabled": true
                },
                {
                  "key": "platform",
                  "value": "{{platform}}",
                  "description": "Filter to one adapter, by slug. See the `PlatformSlug` schema or `GET /v1/platforms` for valid values.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "active",
                  "disabled": true
                }
              ]
            },
            "description": "Returns every stored connection across every vertical. **Operator-only — gated by `X-Admin-Secret`.** Each row carries its `vertical` and `platform`. Tenant-scoped clients should use `GET /v1/connections` (Bearer dev key) instead."
          },
          "response": []
        },
        {
          "name": "Get a connection (operator)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connections/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connections",
                ":id"
              ]
            },
            "description": "Operator-only. Tenant-scoped clients use `GET /v1/connections/{id}` (Bearer + `connections:read` scope)."
          },
          "response": []
        },
        {
          "name": "Update connection metadata (operator)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connections/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connections",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Update `label` or `tenantId`. Operator-only. Tenant-scoped clients use `PATCH /v1/connections/{id}` (Bearer + `connections:write` scope)."
          },
          "response": []
        },
        {
          "name": "Delete a connection (operator)",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connections/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connections",
                ":id"
              ]
            },
            "description": "Removes the connection row. Does NOT call the upstream platform to revoke OAuth tokens. Operator-only. Tenant-scoped clients use `DELETE /v1/connections/{id}` (Bearer + `connections:write` scope)."
          },
          "response": []
        },
        {
          "name": "List adapter enable-state across every vertical",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/platforms",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "platforms"
              ],
              "query": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Filter to one vertical.",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Enable an adapter (and optionally seed its config)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/platforms/:vertical/:slug/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "platforms",
                ":vertical",
                ":slug",
                "enable"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "slug",
                  "value": "{{slug}}",
                  "description": "Adapter slug."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Disable an adapter (settings row preserved)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/platforms/:vertical/:slug/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "platforms",
                ":vertical",
                ":slug",
                "disable"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "slug",
                  "value": "{{slug}}",
                  "description": "Adapter slug."
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List developer API keys",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-keys",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-keys"
              ],
              "query": [
                {
                  "key": "tenantId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Lists every key (active + revoked) optionally filtered by tenant. Admin-only — proxied through admin-api as `/api/api-keys`."
          },
          "response": []
        },
        {
          "name": "Mint a developer API key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-keys",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-keys"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Returns the plaintext key exactly once in `data.plaintext`. Optional `scopes` array narrows the key; default is `[\"*\"]`."
          },
          "response": []
        },
        {
          "name": "Revoke a developer API key",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/api-keys/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "api-keys",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "List outbound webhook subscriptions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions"
              ],
              "query": [
                {
                  "key": "tenantId",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create a webhook subscription",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Returns the plaintext shared secret exactly once. Receivers verify the `X-OI-Signature` header by HMAC-SHA256-ing the raw request body with this secret."
          },
          "response": []
        },
        {
          "name": "Change a webhook subscription label, payload format or headers",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Changes the label, and how deliveries are shaped and authenticated. The URL and event list are immutable — recreate the subscription to change those. Headers are replaced wholesale rather than merged, so a header can be removed; an empty object or null clears them. Header values are never returned."
          },
          "response": []
        },
        {
          "name": "Delete a webhook subscription",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Send a test event to a webhook subscription",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions/:id/test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions",
                ":id",
                "test"
              ]
            },
            "description": "Sends one synthetic `opensteward.test` event, rendered in the subscription's own format, signed with its own secret and carrying its custom headers — so a destination can be proven to work without creating real data to trigger a real event. Nothing is queued and no delivery row is written, so a failed test is never retried and the delivery history stays a record of real events. A receiver that rejects the payload is reported as `ok: false` with its status; that is the answer to the question, not an API error. Works on a paused subscription."
          },
          "response": []
        },
        {
          "name": "List webhook delivery attempts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions/:id/deliveries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions",
                ":id",
                "deliveries"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "pending",
                  "disabled": true
                }
              ]
            },
            "description": "Each row represents one (subscription × event) attempt. Failed deliveries retry with exponential backoff (`5s, 30s, 2m, 10m, 30m, 2h`) and dead-letter after 8 attempts."
          },
          "response": []
        },
        {
          "name": "Replay a dead-lettered delivery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/webhook-subscriptions/:id/deliveries/:deliveryId/replay",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "webhook-subscriptions",
                ":id",
                "deliveries",
                ":deliveryId",
                "replay"
              ],
              "variable": [
                {
                  "key": "deliveryId",
                  "value": "{{connectionId}}"
                }
              ]
            },
            "description": "Resets the delivery to `pending` with `attempts=0` so the next worker tick picks it up. Receivers see the same `X-OI-Event-Id` so they can dedupe."
          },
          "response": []
        },
        {
          "name": "Read a platform's config (redacted)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/platforms/:vertical/:slug/config",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "platforms",
                ":vertical",
                ":slug",
                "config"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "slug",
                  "value": "{{slug}}",
                  "description": "Adapter slug."
                }
              ]
            },
            "description": "Returns the platform's stored config with `clientSecret` removed and replaced by a `hasSecret: bool`. Used by the admin UI to prefill non-secret fields without ever re-handling the secret."
          },
          "response": []
        },
        {
          "name": "Replace a platform's config",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/platforms/:vertical/:slug/config",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "platforms",
                ":vertical",
                ":slug",
                "config"
              ],
              "variable": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Vertical name (`accounting`, `crm`, `ecommerce`, `logistics`, `payments`, `docsign`, `projects`, `customer-support`, `inventory`)."
                },
                {
                  "key": "slug",
                  "value": "{{slug}}",
                  "description": "Adapter slug."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Merges the provided config object with the stored config — fields not present in the body are kept. Pass `null` to clear a key. The platform is re-instantiated with the new config if it's currently enabled."
          },
          "response": []
        },
        {
          "name": "List sync jobs across every vertical",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/sync-jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "sync-jobs"
              ],
              "query": [
                {
                  "key": "vertical",
                  "value": "{{vertical}}",
                  "description": "Filter to one vertical.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "pending",
                  "disabled": true
                }
              ]
            },
            "description": "Cross-tenant view. Tenant clients should use `GET /v1/{vertical}/sync` instead."
          },
          "response": []
        },
        {
          "name": "Enqueue a sync job (operator)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/sync-jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "sync-jobs"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Operator alternative to `POST /v1/{vertical}/sync` (which is tenant-scoped). Resolves the vertical from the connection record, so only `connection_id` is required."
          },
          "response": []
        },
        {
          "name": "Get a sync job by id (operator)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/sync-jobs/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "sync-jobs",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Cancel a sync job",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/sync-jobs/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "sync-jobs",
                ":id",
                "cancel"
              ]
            },
            "description": "Marks the job failed with reason \"cancelled by admin\". Running workers see the status flip on next progress write and abort. Already-completed / already-failed jobs return 409."
          },
          "response": []
        },
        {
          "name": "List end-users (operator)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/end-users",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "end-users"
              ],
              "query": [
                {
                  "key": "tenantId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "q",
                  "value": "",
                  "description": "Free-text search on email / displayName / externalReference.",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Cross-tenant view of every Connect Link end-user. Tenant-scoped clients use `GET /v1/customers` instead."
          },
          "response": []
        },
        {
          "name": "Create an end-user (operator)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/end-users",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "end-users"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Cross-tenant admin path. Tenant clients should use `POST /v1/customers`."
          },
          "response": []
        },
        {
          "name": "Get an end-user with linked sessions + connections",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/end-users/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "end-users",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update end-user fields (operator)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/end-users/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "end-users",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete an end-user",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/end-users/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "end-users",
                ":id"
              ]
            },
            "description": "Detaches any linked Connect Link sessions; does NOT delete connections. Operator-only."
          },
          "response": []
        },
        {
          "name": "List Connect Link sessions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connect-sessions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connect-sessions"
              ],
              "query": [
                {
                  "key": "tenantId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "endUserId",
                  "value": "{{connectionId}}",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "active",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create a Connect Link session (operator)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connect-sessions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connect-sessions"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Operator path; tenant clients should use `POST /v1/customers/{id}/connect-links`. Upserts the customer if `customerEmail` is provided and no `endUserId` is set."
          },
          "response": []
        },
        {
          "name": "Get a Connect Link session with linked customer + connection",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connect-sessions/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connect-sessions",
                ":id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Revoke a Connect Link session",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connect-sessions/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connect-sessions",
                ":id"
              ]
            },
            "description": "Marks the session revoked; existing connections that landed via the session are unaffected."
          },
          "response": []
        },
        {
          "name": "Drop cached resources for a connection",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connections/:id/cache-clear",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connections",
                ":id",
                "cache-clear"
              ]
            },
            "description": "Removes the `resources` cache rows owned by this connection without deleting the connection itself. Useful after a manual upstream data fix or to recover from cache drift. The next `/v1/{vertical}/*` GET re-populates from upstream. No-op in `passthrough` mode."
          },
          "response": []
        },
        {
          "name": "Set a connection's sync schedule (operator)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-Admin-Secret",
                "value": "{{adminSecret}}",
                "description": "Required when ADMIN_SECRET is set on the server."
              },
              {
                "key": "X-Admin-Secret",
                "value": "",
                "description": "Required when ADMIN_SECRET is set on the server.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/connections/:id/sync-schedule",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "admin",
                "connections",
                ":id",
                "sync-schedule"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"mode\": \"default\",\n  \"intervalMinutes\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Replaces how often the connection's data is re-synced. `default` follows the deployment interval (the `data_store.sync.default_interval_minutes` runtime setting, 6 hours out of the box); `custom` syncs every `intervalMinutes` (15 minutes to 30 days, and only with `custom`); `trigger_only` never syncs automatically; `once` gives one automatic sync when connected. The reply carries the connection with its recomputed `sync` state, including the next sync time. In `passthrough` mode the schedule is stored but nothing syncs, and `sync` is null."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Webhook subscriptions",
      "description": "",
      "item": [
        {
          "name": "List your tenant's webhook subscriptions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions"
              ]
            },
            "description": "Requires scope `webhooks:read`."
          },
          "response": []
        },
        {
          "name": "Create a webhook subscription (secret returned once)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Registers an HTTPS endpoint for your tenant’s events without an operator round-trip. Requires scope `webhooks:write`. The response carries the plaintext signing secret exactly once — receivers verify `X-OI-Signature` by HMAC-SHA256-ing the raw body with it. The subscription is pinned to the tenant on your key; there is no `tenantId` field. Destination URLs are SSRF-guarded (public `https` hosts only), and one tenant may hold at most 20 subscriptions (`403 WEBHOOK_SUB_QUOTA_EXCEEDED`)."
          },
          "response": []
        },
        {
          "name": "Get one of your webhook subscriptions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id"
              ]
            },
            "description": "Cross-tenant lookups return 404 (not 403) so ids cannot be probed. Requires scope `webhooks:read`."
          },
          "response": []
        },
        {
          "name": "Update format, headers or label",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "`url` and `events` stay immutable, as on the operator surface — this exists so a header credential can be rotated or a subscription renamed without losing its delivery history. Requires scope `webhooks:write`."
          },
          "response": []
        },
        {
          "name": "Delete a webhook subscription",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id"
              ]
            },
            "description": "Requires scope `webhooks:write`."
          },
          "response": []
        },
        {
          "name": "Send one synthetic delivery",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id/test",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id",
                "test"
              ]
            },
            "description": "Proves a destination works without creating real data. Synchronous, never queued, never retried; a receiver rejection is reported as a result, not an error. Requires scope `webhooks:write`."
          },
          "response": []
        },
        {
          "name": "Pause or resume deliveries",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id/paused",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id",
                "paused"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Retains the subscription but stops deliveries while paused. Body `{ \"paused\": false }` resumes; omitting the body pauses. Requires scope `webhooks:write`."
          },
          "response": []
        },
        {
          "name": "Rotate the signing secret (returned once)",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id/rotate-secret",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id",
                "rotate-secret"
              ]
            },
            "description": "Mints a new shared secret and returns it exactly once. Deliveries sign with the new secret immediately — update the receiver first. Requires scope `webhooks:write`."
          },
          "response": []
        },
        {
          "name": "One subscription's delivery log",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}{{basePath}}/webhook-subscriptions/:id/deliveries",
              "host": [
                "{{baseUrl}}{{basePath}}"
              ],
              "path": [
                "webhook-subscriptions",
                ":id",
                "deliveries"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "pending",
                  "disabled": true
                }
              ]
            },
            "description": "Recent deliveries with status, attempt count and receiver response — the first place to look when events stop arriving. Requires scope `webhooks:read`."
          },
          "response": []
        }
      ]
    }
  ],
  "event": []
}
