{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tropic API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Contracts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Contracts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/contracts",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results per page"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by contract status"
              },
              {
                "name": "supplier_id",
                "value": "",
                "type": "query",
                "description": "Filter by supplier ID"
              }
            ]
          },
          "docs": "Returns a paginated list of all contracts in the organization."
        },
        {
          "info": {
            "name": "Create Contract",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tropicapp.io/v1/contracts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new contract record."
        },
        {
          "info": {
            "name": "Get Contract",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/contracts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Contract ID"
              }
            ]
          },
          "docs": "Returns a single contract by ID."
        },
        {
          "info": {
            "name": "Update Contract",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tropicapp.io/v1/contracts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing contract."
        },
        {
          "info": {
            "name": "Delete Contract",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tropicapp.io/v1/contracts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a contract record."
        }
      ]
    },
    {
      "info": {
        "name": "Suppliers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Suppliers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/suppliers",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search query to filter suppliers by name"
              }
            ]
          },
          "docs": "Returns a paginated list of all suppliers."
        },
        {
          "info": {
            "name": "Create Supplier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tropicapp.io/v1/suppliers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new supplier profile."
        },
        {
          "info": {
            "name": "Get Supplier",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/suppliers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a single supplier by ID."
        },
        {
          "info": {
            "name": "Update Supplier",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tropicapp.io/v1/suppliers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing supplier profile."
        }
      ]
    },
    {
      "info": {
        "name": "Requests",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/requests",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by request status"
              }
            ]
          },
          "docs": "Returns a paginated list of procurement requests."
        },
        {
          "info": {
            "name": "Create Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tropicapp.io/v1/requests",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new procurement request."
        },
        {
          "info": {
            "name": "Get Request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/requests/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a single procurement request by ID."
        },
        {
          "info": {
            "name": "Approve Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tropicapp.io/v1/requests/:id/approve",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Approves a pending procurement request."
        },
        {
          "info": {
            "name": "Reject Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tropicapp.io/v1/requests/:id/reject",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rejects a pending procurement request."
        }
      ]
    },
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/webhooks"
          },
          "docs": "Returns all configured webhook subscriptions."
        },
        {
          "info": {
            "name": "Create Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tropicapp.io/v1/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new webhook subscription."
        },
        {
          "info": {
            "name": "Delete Webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tropicapp.io/v1/webhooks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a webhook subscription."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/users",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of users in the organization."
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tropicapp.io/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a single user by ID."
        }
      ]
    }
  ],
  "bundled": true
}