# Tropic

> Manage suppliers, contracts, purchase requests and invoices in Tropic, your software procurement platform.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/tropic

## Actions

### Add contract comment

Post a comment on a contract, optionally mentioning people.

**Inputs**

- Contract ID (`contract_id`, text, required): The contract's Tropic ID.
- Comment (`content`, text, required): What to say. HTML is cleaned. Write @ and a person's name or email to mention them.
- Author (`author`, text, required): The person the comment is posted as. They must not be deactivated.
- Mention (`mentioned_user_ids`, list): People to mention and notify.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "commentable": {
      "id": "con_3k8d2",
      "type": "Contract"
    },
    "content": "Legal has approved the order form.",
    "created_at": "2026-11-20T10:00:00Z",
    "id": "cmt_51",
    "mentions": [
      {
        "id": "usr_1b9c0",
        "name": "Sam Ortiz"
      }
    ],
    "updated_at": "2026-11-20T10:00:00Z",
    "user": {
      "email": "dana@acme.example",
      "first_name": "Dana",
      "id": "usr_8f2k1",
      "last_name": "Lee"
    }
  }
}
```

### Add purchase request comment

Post a comment on a purchase request, optionally mentioning people.

**Inputs**

- Purchase request ID (`purchase_request_id`, text, required): The request's Tropic ID, from List purchase requests.
- Comment (`content`, text, required): What to say. HTML is cleaned. Write @ and a person's name or email to mention them.
- Author (`author`, text, required): The person the comment is posted as. They must not be deactivated.
- Mention (`mentioned_user_ids`, list): People to mention and notify.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "commentable": {
      "id": "pr_9x1",
      "type": "PurchaseRequest"
    },
    "content": "Legal has approved the order form.",
    "created_at": "2026-11-20T10:00:00Z",
    "id": "cmt_51",
    "mentions": [
      {
        "id": "usr_1b9c0",
        "name": "Sam Ortiz"
      }
    ],
    "updated_at": "2026-11-20T10:00:00Z",
    "user": {
      "email": "dana@acme.example",
      "first_name": "Dana",
      "id": "usr_8f2k1",
      "last_name": "Lee"
    }
  }
}
```

### Create contract

Record a contract with a supplier in Tropic.

**Inputs**

- Supplier ID (`supplier_id`, text, required): The supplier's Tropic ID, from Search suppliers or Create supplier.
- Name (`name`, text, required): The contract's name.
- Owners (`owner_ids`, list, required): The people who own the contract. They must not be deactivated.
- Department (`department_id`, text, required): The department the contract belongs to.
- Start date (`start_date`, date, required): When the contract starts.
- Total value in cents (`total_contract_value_cents`, number, required): The total contract value in cents, such as 1200000 for 12,000.00. At least 0.
- Currency (`currency`, text): The contract's currency code, such as USD.
- End date (`end_date`, date): When the contract ends.
- No end date (`end_date_not_applicable`, true/false): Turn on when the contract has no end date.
- Renewal type (`renewal_type`, text): How the contract renews. One of: `automatic` (Renews automatically), `optional` (Optional renewal), `non_renewing` (Doesn't renew), `perpetual`.
- Opt-out days (`opt_out_days`, number): How many days before the end date you must opt out of renewal. At least 0.
- Renewal reminder date (`renewal_reminder_date`, date): When to send the renewal reminder.
- Send renewal reminder (`send_renewal_reminder`, true/false): Whether to send a renewal reminder.
- Purchase category (`purchase_category_id`, text): The category to file the contract under.
- Purchase order number (`purchase_order_number`, text): The purchase order number.
- Invoice number (`invoice_number`, text): The invoice number.
- Custom fields (`custom_fields`, object): Custom field values, keyed by custom field ID. For a choice field give the choice's ID; for a people or contacts field, a list of IDs.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "annual_contract_value_cents": 1800000,
    "billing_frequency": "annual",
    "category": {
      "description": "Design and prototyping tools",
      "id": "cat_12",
      "name": "Design software"
    },
    "contract_owner_users": [
      {
        "deactivated": false,
        "department_id": "dep_41a",
        "email": "dana@acme.example",
        "first_name": "Dana",
        "id": "usr_8f2k1",
        "job_title": "IT Manager",
        "last_name": "Lee",
        "manager_id": "usr_1b9c0",
        "role": "admin"
      }
    ],
    "currency": "USD",
    "custom_fields": [
      {
        "custom_field_id": "cf_90",
        "custom_field_name": "Cost center",
        "value": "CC-200"
      }
    ],
    "department": {
      "id": "dep_41a",
      "name": "Design"
    },
    "end_date": "2027-12-31",
    "end_date_not_applicable": false,
    "id": "con_3k8d2",
    "monthly_contract_value_cents": 150000,
    "opt_out_date": "2027-11-01",
    "originating_purchase_request_id": "pr_9x1",
    "payment_method": "credit_card",
    "payment_terms": "net_30",
    "renewal_reminder_date": "2027-09-01",
    "renewal_type": "automatic",
    "send_renewal_reminder": true,
    "stage": "in_effect",
    "start_date": "2026-01-01",
    "status": "active",
    "supplier": {
      "available_for_benchmark": true,
      "business_criticality": "high",
      "business_use_case": "Product design",
      "custom_fields": [
        {
          "custom_field_id": "cf_77",
          "custom_field_name": "Security review",
          "value": "Approved"
        }
      ],
      "domain": "figma.com",
      "formerly_known_as": "Figma Design",
      "id": "sup_5h2j9",
      "name": "Figma",
      "next_risk_assessment_date": "2027-06-01",
      "overall_sentiment": "positive",
      "slug": "figma",
      "supplier_risk_level": "low"
    },
    "total_contract_value_cents": 3600000
  }
}
```

### Create supplier

Add a supplier to Tropic, or link the existing one with that name.

**Inputs**

- Name (`name`, text, required): The supplier's name.
- Domain (`domain`, text): Its website domain, such as example.com. Without one, an existing supplier is linked when exactly one has this name.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "available_for_benchmark": true,
    "business_criticality": "high",
    "business_use_case": "Product design",
    "custom_fields": [
      {
        "custom_field_id": "cf_77",
        "custom_field_name": "Security review",
        "value": "Approved"
      }
    ],
    "domain": "figma.com",
    "formerly_known_as": "Figma Design",
    "id": "sup_5h2j9",
    "name": "Figma",
    "next_risk_assessment_date": "2027-06-01",
    "overall_sentiment": "positive",
    "slug": "figma",
    "supplier_risk_level": "low"
  }
}
```

### Get contract

Get a contract's value, dates, stage, owners and custom fields.

**Inputs**

- Contract ID (`contract_id`, text, required): The contract's Tropic ID.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "annual_contract_value_cents": 1800000,
    "billing_frequency": "annual",
    "category": {
      "description": "Design and prototyping tools",
      "id": "cat_12",
      "name": "Design software"
    },
    "contract_owner_users": [
      {
        "deactivated": false,
        "department_id": "dep_41a",
        "email": "dana@acme.example",
        "first_name": "Dana",
        "id": "usr_8f2k1",
        "job_title": "IT Manager",
        "last_name": "Lee",
        "manager_id": "usr_1b9c0",
        "role": "admin"
      }
    ],
    "currency": "USD",
    "custom_fields": [
      {
        "custom_field_id": "cf_90",
        "custom_field_name": "Cost center",
        "value": "CC-200"
      }
    ],
    "department": {
      "id": "dep_41a",
      "name": "Design"
    },
    "end_date": "2027-12-31",
    "end_date_not_applicable": false,
    "id": "con_3k8d2",
    "monthly_contract_value_cents": 150000,
    "opt_out_date": "2027-11-01",
    "originating_purchase_request_id": "pr_9x1",
    "payment_method": "credit_card",
    "payment_terms": "net_30",
    "renewal_reminder_date": "2027-09-01",
    "renewal_type": "automatic",
    "send_renewal_reminder": true,
    "stage": "in_effect",
    "start_date": "2026-01-01",
    "status": "active",
    "supplier": {
      "available_for_benchmark": true,
      "business_criticality": "high",
      "business_use_case": "Product design",
      "custom_fields": [
        {
          "custom_field_id": "cf_77",
          "custom_field_name": "Security review",
          "value": "Approved"
        }
      ],
      "domain": "figma.com",
      "formerly_known_as": "Figma Design",
      "id": "sup_5h2j9",
      "name": "Figma",
      "next_risk_assessment_date": "2027-06-01",
      "overall_sentiment": "positive",
      "slug": "figma",
      "supplier_risk_level": "low"
    },
    "total_contract_value_cents": 3600000
  }
}
```

### Get purchase request

Get a purchase request's supplier, spend, requestor and form answers.

**Inputs**

- Purchase request ID (`purchase_request_id`, text, required): The request's Tropic ID, from List purchase requests.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "anticipated_spend_cents": 2000000,
    "anticipated_spend_currency": "USD",
    "department": {
      "id": "dep_41a",
      "name": "Design"
    },
    "document_ids": [
      "doc_771"
    ],
    "form_id": "frm_3",
    "form_name": "New software request",
    "id": "pr_9x1",
    "managed_by": "tropic",
    "next_contract_ids": [
      "con_4m1p7"
    ],
    "originating_contract_id": "con_3k8d2",
    "purchase_category": {
      "id": "cat_12",
      "name": "Design software"
    },
    "requestor": {
      "deactivated": false,
      "department_id": "dep_41a",
      "email": "dana@acme.example",
      "first_name": "Dana",
      "id": "usr_8f2k1",
      "job_title": "IT Manager",
      "last_name": "Lee",
      "manager_id": "usr_1b9c0",
      "role": "admin"
    },
    "submitted_on": "2026-10-03T14:20:00Z",
    "supplier": {
      "available_for_benchmark": true,
      "business_criticality": "high",
      "business_use_case": "Product design",
      "custom_fields": [
        {
          "custom_field_id": "cf_77",
          "custom_field_name": "Security review",
          "value": "Approved"
        }
      ],
      "domain": "figma.com",
      "formerly_known_as": "Figma Design",
      "id": "sup_5h2j9",
      "name": "Figma",
      "next_risk_assessment_date": "2027-06-01",
      "overall_sentiment": "positive",
      "slug": "figma",
      "supplier_risk_level": "low"
    },
    "target_signature_date": "2026-12-15",
    "type": "RenewalRequest",
    "workflow_name": "Software renewal"
  }
}
```

### Get supplier

Get a supplier's details, risk and custom fields.

**Inputs**

- Supplier (`supplier`, text, required): The supplier's Tropic ID or short name (slug).

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "available_for_benchmark": true,
    "business_criticality": "high",
    "business_use_case": "Product design",
    "custom_fields": [
      {
        "custom_field_id": "cf_77",
        "custom_field_name": "Security review",
        "value": "Approved"
      }
    ],
    "domain": "figma.com",
    "formerly_known_as": "Figma Design",
    "id": "sup_5h2j9",
    "name": "Figma",
    "next_risk_assessment_date": "2027-06-01",
    "overall_sentiment": "positive",
    "slug": "figma",
    "supplier_risk_level": "low"
  }
}
```

### Get user

Get one person in your Tropic organization by ID or email.

**Inputs**

- User (`user`, text, required): The person's Tropic user ID or email.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "deactivated": false,
    "department_id": "dep_41a",
    "email": "dana@acme.example",
    "first_name": "Dana",
    "id": "usr_8f2k1",
    "job_title": "IT Manager",
    "last_name": "Lee",
    "manager_id": "usr_1b9c0",
    "role": "admin"
  }
}
```

### List contract comments

List the comments on a contract.

**Inputs**

- Contract ID (`contract_id`, text, required): The contract's Tropic ID.
- Page (`page`, number): Which page of comments to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many comments a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "commentable": {
          "id": "con_3k8d2",
          "type": "Contract"
        },
        "content": "Legal has approved the order form.",
        "created_at": "2026-11-20T10:00:00Z",
        "id": "cmt_51",
        "mentions": [
          {
            "id": "usr_1b9c0",
            "name": "Sam Ortiz"
          }
        ],
        "updated_at": "2026-11-20T10:00:00Z",
        "user": {
          "email": "dana@acme.example",
          "first_name": "Dana",
          "id": "usr_8f2k1",
          "last_name": "Lee"
        }
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List contracts

List your contracts, filtered by department, status, stage or renewal type.

**Inputs**

- Departments (`departments`, list): Only records in these departments.
- Statuses (`statuses`, list): Only contracts with one of these statuses. One or more of: `active`, `inactive`, `undetermined`.
- Stages (`stages`, list): Only contracts at one of these stages. One or more of: `renewal_in_progress` (Renewal in progress), `renewed`, `not_renewed` (Not renewed), `terminated`, `in_effect` (In effect), `future`, `null` (No stage).
- Renewal types (`renewal_types`, list): Only contracts that renew in one of these ways. One or more of: `automatic` (Renews automatically), `optional` (Optional renewal), `non_renewing` (Doesn't renew), `perpetual`.
- Page (`page`, number): Which page of contracts to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many contracts a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "annual_contract_value_cents": 1800000,
        "billing_frequency": "annual",
        "category": {
          "description": "Design and prototyping tools",
          "id": "cat_12",
          "name": "Design software"
        },
        "contract_owner_users": [
          {
            "deactivated": false,
            "department_id": "dep_41a",
            "email": "dana@acme.example",
            "first_name": "Dana",
            "id": "usr_8f2k1",
            "job_title": "IT Manager",
            "last_name": "Lee",
            "manager_id": "usr_1b9c0",
            "role": "admin"
          }
        ],
        "currency": "USD",
        "custom_fields": [
          {
            "custom_field_id": "cf_90",
            "custom_field_name": "Cost center",
            "value": "CC-200"
          }
        ],
        "department": {
          "id": "dep_41a",
          "name": "Design"
        },
        "end_date": "2027-12-31",
        "end_date_not_applicable": false,
        "id": "con_3k8d2",
        "monthly_contract_value_cents": 150000,
        "opt_out_date": "2027-11-01",
        "originating_purchase_request_id": "pr_9x1",
        "payment_method": "credit_card",
        "payment_terms": "net_30",
        "renewal_reminder_date": "2027-09-01",
        "renewal_type": "automatic",
        "send_renewal_reminder": true,
        "stage": "in_effect",
        "start_date": "2026-01-01",
        "status": "active",
        "supplier": {
          "available_for_benchmark": true,
          "business_criticality": "high",
          "business_use_case": "Product design",
          "custom_fields": [
            {
              "custom_field_id": "cf_77",
              "custom_field_name": "Security review",
              "value": "Approved"
            }
          ],
          "domain": "figma.com",
          "formerly_known_as": "Figma Design",
          "id": "sup_5h2j9",
          "name": "Figma",
          "next_risk_assessment_date": "2027-06-01",
          "overall_sentiment": "positive",
          "slug": "figma",
          "supplier_risk_level": "low"
        },
        "total_contract_value_cents": 3600000
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List departments

List your organization's active departments in Tropic.

**Inputs**

- Page (`page`, number): Which page of departments to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many departments a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "dep_41a",
        "name": "Design"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List general requests

List general requests (questions to procurement), filtered by department, category or status.

**Inputs**

- Departments (`departments`, list): Only records in these departments.
- Category IDs (`categories`, list): Only requests in these inquiry categories, by ID.
- Statuses (`statuses`, list): Only requests with one of these statuses. One or more of: `in_progress` (In progress), `completed`.
- Page (`page`, number): Which page of requests to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many requests a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "department": {
          "id": "dep_41a",
          "name": "Design"
        },
        "document_ids": [
          "doc_31"
        ],
        "general_category": {
          "description": "Questions about an existing contract",
          "id": "gc_2",
          "name": "Contract question"
        },
        "id": "gr_17",
        "requestor": {
          "email": "dana@acme.example",
          "first_name": "Dana",
          "id": "usr_8f2k1",
          "last_name": "Lee"
        },
        "submitted_on": "2026-11-12T08:30:00Z",
        "suppliers": [
          {
            "id": "sup_5h2j9",
            "name": "Figma",
            "slug": "figma"
          }
        ],
        "workflow_name": "General inquiry"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List invoices

List supplier invoices, filtered by status, match result or purchase order number.

**Inputs**

- Purchase order number (`purchase_order_number`, text): Only invoices with exactly this purchase order number.
- Statuses (`statuses`, list): Only invoices with one of these statuses. One or more of: `draft`, `approving`, `ready_for_payment` (Ready for payment), `paid`.
- Match results (`analysis_statuses`, list): Only invoices whose check against their contract and purchase orders came out one of these ways. One or more of: `not_matched` (Not matched), `matched_low_confidence` (Matched, low confidence), `has_discrepancies` (Has discrepancies), `matched`, `processing`, `reviewed`.
- Page (`page`, number): Which page of invoices to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many invoices a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "analysis_status": "matched",
        "approval_status": "pending",
        "billing_frequency": "annual",
        "contract_id": "con_3k8d2",
        "currency": "USD",
        "discount_amount_cents": 0,
        "document_ids": [
          "doc_902"
        ],
        "due_date": "2026-12-01",
        "id": "inv_204",
        "issue_date": "2026-11-01",
        "line_items": [
          {
            "currency": "USD",
            "description": "Professional seats",
            "id": "li_1",
            "quantity": 30,
            "total_price_cents": 1650000,
            "unit_price_cents": 55000
          }
        ],
        "memo": "Annual seats",
        "number": "INV-2026-0042",
        "payment_terms": "net_30",
        "purchase_order_ids": [
          "po_31"
        ],
        "purchase_order_number": "PO-1042",
        "service_period": {
          "end_date": "2026-12-31",
          "start_date": "2026-01-01"
        },
        "status": "approving",
        "subtotal_amount_cents": 1650000,
        "supplier": {
          "id": "sup_5h2j9",
          "name": "Figma",
          "slug": "figma"
        },
        "tax_amount_cents": 150000,
        "total_amount_cents": 1800000
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List purchase categories

List the active categories purchase requests are filed under.

**Inputs**

- Page (`page`, number): Which page of categories to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many categories a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "cat_12",
        "name": "Design software"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List purchase orders

List your purchase orders, with their lines and supplier.

**Inputs**

- Page (`page`, number): Which page of purchase orders to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many purchase orders a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2025-12-10T09:00:00Z",
        "currency": "USD",
        "end_date": "2026-12-31",
        "id": "po_31",
        "line_items": [
          {
            "amount_cents": 1800000,
            "created_at": "2025-12-10T09:00:00Z",
            "end_date": "2026-12-31",
            "id": "pol_1",
            "memo": "Professional seats",
            "quantity": 30,
            "rate_cents": 60000,
            "start_date": "2026-01-01"
          }
        ],
        "memo": "Figma renewal",
        "po_number": "PO-1042",
        "purchase_request_id": "pr_9x1",
        "requestor": {
          "email": "dana@acme.example",
          "first_name": "Dana",
          "id": "usr_8f2k1",
          "last_name": "Lee"
        },
        "start_date": "2026-01-01",
        "status": "approved",
        "supplier": {
          "id": "sup_5h2j9",
          "name": "Figma",
          "slug": "figma"
        },
        "total_amount_cents": 1800000
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List purchase request comments

List the comments on a purchase request.

**Inputs**

- Purchase request ID (`purchase_request_id`, text, required): The request's Tropic ID, from List purchase requests.
- Page (`page`, number): Which page of comments to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many comments a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "commentable": {
          "id": "pr_9x1",
          "type": "PurchaseRequest"
        },
        "content": "Legal has approved the order form.",
        "created_at": "2026-11-20T10:00:00Z",
        "id": "cmt_51",
        "mentions": [
          {
            "id": "usr_1b9c0",
            "name": "Sam Ortiz"
          }
        ],
        "updated_at": "2026-11-20T10:00:00Z",
        "user": {
          "email": "dana@acme.example",
          "first_name": "Dana",
          "id": "usr_8f2k1",
          "last_name": "Lee"
        }
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List purchase request tasks

List a purchase request's tasks, such as approvals, with who they are assigned to.

**Inputs**

- Purchase request ID (`purchase_request_id`, text, required): The request's Tropic ID, from List purchase requests.
- Page (`page`, number): Which page of tasks to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many tasks a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "assignees": [
          {
            "deactivated": false,
            "department_id": "dep_41a",
            "email": "dana@acme.example",
            "first_name": "Dana",
            "id": "usr_8f2k1",
            "job_title": "IT Manager",
            "last_name": "Lee",
            "manager_id": "usr_1b9c0",
            "role": "admin"
          }
        ],
        "completed_at": "2026-12-04T16:00:00Z",
        "due_date": "2026-12-05",
        "id": "prt_88",
        "instructions": "Check the budget line before approving.",
        "link": "https://app.tropicapp.io/requests/pr_9x1/tasks/prt_88",
        "name": "Finance approval",
        "purchase_request_id": "pr_9x1",
        "status": "in_progress",
        "type": "approval"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List purchase requests

List purchase, renewal and cancellation requests, filtered by department, stage, category or type.

**Inputs**

- Departments (`departments`, list): Only records in these departments.
- Stages (`stages`, list): Only requests at one of these stages. One or more of: `Requirements gathering`, `Negotiation`, `Approvals and Signatures`, `Closing`, `Savings review`, `Completed`, `Not renewing`, `Non-addressable`, `Not purchased`.
- Categories (`categories`, list): Only requests in these purchase categories.
- Types (`types`, list): Only requests of these kinds. One or more of: `PurchaseRequest` (New purchase), `CancellationRequest` (Cancellation), `DowngradeRequest` (Downgrade), `RenewalRequest` (Renewal), `ReplacementRequest` (Replacement), `UpgradeRequest` (Upgrade).
- Page (`page`, number): Which page of requests to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many requests a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "anticipated_spend_cents": 2000000,
        "anticipated_spend_currency": "USD",
        "department": {
          "id": "dep_41a",
          "name": "Design"
        },
        "document_ids": [
          "doc_771"
        ],
        "form_id": "frm_3",
        "form_name": "New software request",
        "id": "pr_9x1",
        "managed_by": "tropic",
        "next_contract_ids": [
          "con_4m1p7"
        ],
        "originating_contract_id": "con_3k8d2",
        "purchase_category": {
          "id": "cat_12",
          "name": "Design software"
        },
        "requestor": {
          "deactivated": false,
          "department_id": "dep_41a",
          "email": "dana@acme.example",
          "first_name": "Dana",
          "id": "usr_8f2k1",
          "job_title": "IT Manager",
          "last_name": "Lee",
          "manager_id": "usr_1b9c0",
          "role": "admin"
        },
        "submitted_on": "2026-10-03T14:20:00Z",
        "supplier": {
          "available_for_benchmark": true,
          "business_criticality": "high",
          "business_use_case": "Product design",
          "custom_fields": [
            {
              "custom_field_id": "cf_77",
              "custom_field_name": "Security review",
              "value": "Approved"
            }
          ],
          "domain": "figma.com",
          "formerly_known_as": "Figma Design",
          "id": "sup_5h2j9",
          "name": "Figma",
          "next_risk_assessment_date": "2027-06-01",
          "overall_sentiment": "positive",
          "slug": "figma",
          "supplier_risk_level": "low"
        },
        "target_signature_date": "2026-12-15",
        "type": "RenewalRequest",
        "workflow_name": "Software renewal"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List supplier contacts

List the contacts Tropic holds for a supplier.

**Inputs**

- Supplier ID (`supplier_id`, text, required): The supplier's Tropic ID.
- Page (`page`, number): Which page of contacts to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many contacts a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "email": "dana@acme.example",
        "first_name": "Dana",
        "id": "usr_8f2k1",
        "job_title": "IT Manager",
        "last_name": "Lee"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List supplier contracts

List the contracts you hold with one supplier.

**Inputs**

- Supplier ID (`supplier_id`, text, required): The supplier's Tropic ID.
- Page (`page`, number): Which page of contracts to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many contracts a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "annual_contract_value_cents": 1800000,
        "billing_frequency": "annual",
        "category": {
          "description": "Design and prototyping tools",
          "id": "cat_12",
          "name": "Design software"
        },
        "contract_owner_users": [
          {
            "deactivated": false,
            "department_id": "dep_41a",
            "email": "dana@acme.example",
            "first_name": "Dana",
            "id": "usr_8f2k1",
            "job_title": "IT Manager",
            "last_name": "Lee",
            "manager_id": "usr_1b9c0",
            "role": "admin"
          }
        ],
        "currency": "USD",
        "custom_fields": [
          {
            "custom_field_id": "cf_90",
            "custom_field_name": "Cost center",
            "value": "CC-200"
          }
        ],
        "department": {
          "id": "dep_41a",
          "name": "Design"
        },
        "end_date": "2027-12-31",
        "end_date_not_applicable": false,
        "id": "con_3k8d2",
        "monthly_contract_value_cents": 150000,
        "opt_out_date": "2027-11-01",
        "originating_purchase_request_id": "pr_9x1",
        "payment_method": "credit_card",
        "payment_terms": "net_30",
        "renewal_reminder_date": "2027-09-01",
        "renewal_type": "automatic",
        "send_renewal_reminder": true,
        "stage": "in_effect",
        "start_date": "2026-01-01",
        "status": "active",
        "supplier": {
          "available_for_benchmark": true,
          "business_criticality": "high",
          "business_use_case": "Product design",
          "custom_fields": [
            {
              "custom_field_id": "cf_77",
              "custom_field_name": "Security review",
              "value": "Approved"
            }
          ],
          "domain": "figma.com",
          "formerly_known_as": "Figma Design",
          "id": "sup_5h2j9",
          "name": "Figma",
          "next_risk_assessment_date": "2027-06-01",
          "overall_sentiment": "positive",
          "slug": "figma",
          "supplier_risk_level": "low"
        },
        "total_contract_value_cents": 3600000
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### List users

List the people in your Tropic organization.

**Inputs**

- Deactivated (`deactivated`, text): Only deactivated people, or only active ones. Leave empty for everyone. One of: `false` (Active only), `true` (Deactivated only).
- Page (`page`, number): Which page of users to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many users a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "deactivated": false,
        "department_id": "dep_41a",
        "email": "dana@acme.example",
        "first_name": "Dana",
        "id": "usr_8f2k1",
        "job_title": "IT Manager",
        "last_name": "Lee",
        "manager_id": "usr_1b9c0",
        "role": "admin"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### Search suppliers

Find suppliers by name, former name or website, among your own and those Tropic keeps.

**Inputs**

- Search (`query`, text, required): The name, former name or domain to look for, at least 2 characters. Spaces, punctuation and suffixes such as Inc are ignored.
- Page (`page`, number): Which page of suppliers to read, starting at 1. At least 1.
- Page size (`per_page`, number): How many suppliers a page holds, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "available_for_benchmark": true,
        "business_criticality": "high",
        "business_use_case": "Product design",
        "custom_fields": [
          {
            "custom_field_id": "cf_77",
            "custom_field_name": "Security review",
            "value": "Approved"
          }
        ],
        "domain": "figma.com",
        "formerly_known_as": "Figma Design",
        "id": "sup_5h2j9",
        "name": "Figma",
        "next_risk_assessment_date": "2027-06-01",
        "overall_sentiment": "positive",
        "slug": "figma",
        "supplier_risk_level": "low"
      }
    ],
    "pagination_metadata": {
      "first": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "last": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "next": "https://app.tropicapp.io/api/v1/contracts?page[page]=3",
      "prev": "https://app.tropicapp.io/api/v1/contracts?page[page]=1",
      "records_per_page": 50,
      "total_page_count": 3,
      "total_record_count": 120
    }
  }
}
```

### Update contract

Change a contract's dates, owners, department or stage.

**Inputs**

- Contract ID (`contract_id`, text, required): The contract's Tropic ID.
- Acting user (`acting_user`, text, required): The person the change is recorded against. They must not be deactivated.
- Owners (`owner_ids`, list): The people who own the contract. They must not be deactivated.
- Department (`department_id`, text): The department the contract belongs to.
- Purchase category (`purchase_category_id`, text): The category to file it under.
- Start date (`start_date`, date): When it starts.
- End date (`end_date`, date): When it ends.
- No end date (`end_date_not_applicable`, true/false): Turn on when it has no end date.
- Send renewal reminder (`send_renewal_reminder`, true/false): Whether to send a renewal reminder.
- Renewal reminder date (`renewal_reminder_date`, date): When to send the renewal reminder.
- Purchase order number (`purchase_order_number`, text): The purchase order number.
- Invoice number (`invoice_number`, text): The invoice number.
- Stage (`stage`, text): Move the contract to this stage. Renewed needs Renewal contract ID, Renewal in progress needs Renewal request ID, and Terminated needs Terminated on. One of: `renewal_in_progress` (Renewal in progress), `renewed`, `not_renewing` (Not renewing), `not_renewed` (Not renewed), `terminated`, `in_effect` (Work it out from the dates).
- Renewal request ID (`renewal_request_id`, text): The renewal request in Tropic, when moving to Renewal in progress.
- Renewal contract ID (`renewal_contract_id`, text): The new contract in Tropic, when moving to Renewed.
- Terminated on (`terminated_at`, date): The day it was terminated, when moving to Terminated.
- Custom fields (`custom_fields`, object): Custom field values, keyed by custom field ID.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "annual_contract_value_cents": 1800000,
    "billing_frequency": "annual",
    "category": {
      "description": "Design and prototyping tools",
      "id": "cat_12",
      "name": "Design software"
    },
    "contract_owner_users": [
      {
        "deactivated": false,
        "department_id": "dep_41a",
        "email": "dana@acme.example",
        "first_name": "Dana",
        "id": "usr_8f2k1",
        "job_title": "IT Manager",
        "last_name": "Lee",
        "manager_id": "usr_1b9c0",
        "role": "admin"
      }
    ],
    "currency": "USD",
    "custom_fields": [
      {
        "custom_field_id": "cf_90",
        "custom_field_name": "Cost center",
        "value": "CC-200"
      }
    ],
    "department": {
      "id": "dep_41a",
      "name": "Design"
    },
    "end_date": "2027-12-31",
    "end_date_not_applicable": false,
    "id": "con_3k8d2",
    "monthly_contract_value_cents": 150000,
    "opt_out_date": "2027-11-01",
    "originating_purchase_request_id": "pr_9x1",
    "payment_method": "credit_card",
    "payment_terms": "net_30",
    "renewal_reminder_date": "2027-09-01",
    "renewal_type": "automatic",
    "send_renewal_reminder": true,
    "stage": "in_effect",
    "start_date": "2026-01-01",
    "status": "active",
    "supplier": {
      "available_for_benchmark": true,
      "business_criticality": "high",
      "business_use_case": "Product design",
      "custom_fields": [
        {
          "custom_field_id": "cf_77",
          "custom_field_name": "Security review",
          "value": "Approved"
        }
      ],
      "domain": "figma.com",
      "formerly_known_as": "Figma Design",
      "id": "sup_5h2j9",
      "name": "Figma",
      "next_risk_assessment_date": "2027-06-01",
      "overall_sentiment": "positive",
      "slug": "figma",
      "supplier_risk_level": "low"
    },
    "total_contract_value_cents": 3600000
  }
}
```

### Update purchase request

Change a purchase request's expected spend, department, requestor or target signature date.

**Inputs**

- Purchase request ID (`purchase_request_id`, text, required): The request's Tropic ID, from List purchase requests.
- Acting user (`acting_user`, text, required): The person the change is recorded against. They must not be deactivated.
- Expected spend in cents (`anticipated_spend_cents`, number): The expected spend in cents, such as 500000 for 5,000.00. At least 0.
- Department (`department_id`, text): The department it belongs to.
- Requestor (`requestor_id`, text): The new requestor. They must not be deactivated.
- Target signature date (`target_signature_date`, date): When the contract should be signed.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "anticipated_spend_cents": 2000000,
    "anticipated_spend_currency": "USD",
    "department": {
      "id": "dep_41a",
      "name": "Design"
    },
    "document_ids": [
      "doc_771"
    ],
    "form_id": "frm_3",
    "form_name": "New software request",
    "id": "pr_9x1",
    "managed_by": "tropic",
    "next_contract_ids": [
      "con_4m1p7"
    ],
    "originating_contract_id": "con_3k8d2",
    "purchase_category": {
      "id": "cat_12",
      "name": "Design software"
    },
    "requestor": {
      "deactivated": false,
      "department_id": "dep_41a",
      "email": "dana@acme.example",
      "first_name": "Dana",
      "id": "usr_8f2k1",
      "job_title": "IT Manager",
      "last_name": "Lee",
      "manager_id": "usr_1b9c0",
      "role": "admin"
    },
    "submitted_on": "2026-10-03T14:20:00Z",
    "supplier": {
      "available_for_benchmark": true,
      "business_criticality": "high",
      "business_use_case": "Product design",
      "custom_fields": [
        {
          "custom_field_id": "cf_77",
          "custom_field_name": "Security review",
          "value": "Approved"
        }
      ],
      "domain": "figma.com",
      "formerly_known_as": "Figma Design",
      "id": "sup_5h2j9",
      "name": "Figma",
      "next_risk_assessment_date": "2027-06-01",
      "overall_sentiment": "positive",
      "slug": "figma",
      "supplier_risk_level": "low"
    },
    "target_signature_date": "2026-12-15",
    "type": "RenewalRequest",
    "workflow_name": "Software renewal"
  }
}
```

### Update supplier

Change a supplier's risk level, criticality, use case or next risk assessment.

**Inputs**

- Supplier (`supplier`, text, required): The supplier's Tropic ID or short name (slug).
- Risk level (`supplier_risk_level`, text): Its risk level, as your organization records it.
- Next risk assessment (`next_risk_assessment_date`, date): When its next risk assessment is due.
- Business use (`business_use_case`, text): What the business uses it for.
- Overall sentiment (`overall_sentiment`, text): The overall sentiment about it, as your organization records it.
- Business criticality (`business_criticality`, text): How critical it is, as your organization records it.
- Custom fields (`custom_fields`, object): Custom field values, keyed by custom field ID. For a choice field give the choice's ID; for a people or contacts field, a list of IDs.

**Outputs**

- `data` (object): The response from Tropic.

**Example output**

```json
{
  "data": {
    "available_for_benchmark": true,
    "business_criticality": "high",
    "business_use_case": "Product design",
    "custom_fields": [
      {
        "custom_field_id": "cf_77",
        "custom_field_name": "Security review",
        "value": "Approved"
      }
    ],
    "domain": "figma.com",
    "formerly_known_as": "Figma Design",
    "id": "sup_5h2j9",
    "name": "Figma",
    "next_risk_assessment_date": "2027-06-01",
    "overall_sentiment": "positive",
    "slug": "figma",
    "supplier_risk_level": "low"
  }
}
```
