# Ordway

> Manage Ordway customers and contacts, look up subscriptions, invoices and payments, and start workflows when they change.

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

## Actions

### Create contact

Add a contact to a customer.

**Inputs**

- Customer (`customer_id`, text, required): The customer the contact belongs to.
- First name (`first_name`, text): Their first name.
- Last name (`last_name`, text): Their last name.
- Display name (`display_name`, text): The name to show, such as John Smith.
- Email (`email`, text): Their email address.
- Phone (`phone`, text): Their phone number.
- Mobile (`mobile`, text): Their mobile number.
- Job title (`job_title`, text): Their job title.
- Department (`department`, text): Their department.
- Address line 1 (`address1`, text): First line of their address.
- Address line 2 (`address2`, text): Second line of their address.
- City (`city`, text): City.
- State (`state`, text): State or region.
- ZIP code (`zip`, text): ZIP or postal code.
- Country (`country`, text): Country.

**Outputs**

- `data` (object): The contact as saved.

**Example output**

```json
{
  "data": {
    "address1": "1 Awesome Street",
    "address2": "",
    "city": "Baltimore",
    "country": "United States",
    "department": "Accounting",
    "display_name": "Jim Bob",
    "email": "jim@bob.com",
    "first_name": "Jim",
    "job_title": "Accounts Manager",
    "last_name": "Bob",
    "mobile": "233-222-1111",
    "phone": "233-222-1111",
    "state": "MD",
    "zip": "21202"
  }
}
```

### Create customer

Add a customer.

**Inputs**

- Name (`name`, text, required): The customer's name, as shown on invoices.
- Customer ID (`id`, text): An ID of your own, such as C-01000. Leave empty if Ordway numbers customers for you.
- Description (`description`, text): A short description of the customer.
- Website (`website`, text): The customer's website.
- Payment terms (`payment_terms`, text): Payment terms exactly as set up in Ordway's billing settings, such as Due on Receipt.
- Billing day (`billing_cycle_day`, text): The day of the month to bill, as Ordway writes it, such as 1st Day Of The Month.
- Currency (`currency`, text): The customer's currency code, such as USD.
- Status (`status`, text): Whether the customer is active. One of: `Active`, `Inactive`.
- Tax exempt (`tax_exempt`, true/false): Whether the customer is tax exempt.
- Auto pay (`auto_pay`, true/false): Whether to take payments automatically from the payment method on file.
- Customer type (`customer_type`, text): Whether the customer is a business or a consumer. One of: `business`, `consumer`.
- External ID (`external_id`, text): The customer's ID in another system.

**Outputs**

- `data` (object): A customer.

**Example output**

```json
{
  "data": {
    "auto_pay": true,
    "balance": "0.0",
    "billing_contact_id": "CT-000082",
    "billing_cycle_day": "1st day of the month",
    "currency": "USD",
    "description": "Short description for the customer",
    "id": "C-00001",
    "name": "Sample Customer Name",
    "payment_terms": "Due on receipt",
    "shipping_contact_id": "CT-000082",
    "status": "Active",
    "tax_exempt": false,
    "website": "www.example.com"
  }
}
```

### Create customer note

Add a note to a customer.

**Inputs**

- Customer (`customer_id`, text, required): The customer to add the note to.
- Summary (`summary`, text): A short summary of the note.
- Note (`description`, text): The note's text.

**Outputs**

- `data` (object): A note.

**Example output**

```json
{
  "data": {
    "created_at": "2019-10-15T18:50:34.723Z",
    "customer_id": 1,
    "description": "test-description",
    "id": 1,
    "title": "test-summary",
    "updated_at": "2019-10-15T18:50:34.723Z"
  }
}
```

### Delete contact

Delete one of a customer's contacts.

**Inputs**

- Customer (`customer_id`, text, required): The customer the contact belongs to.
- Contact (`contact_id`, text, required): The contact's ID, such as CT-00379.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Delete customer

Delete a customer. This affects revenue and reporting, so use it with care.

**Inputs**

- Customer (`customer_id`, text, required): The customer to delete.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "customer": "Customer C-00135 successfully deleted.",
    "success": true
  }
}
```

### Delete customer note

Delete a note from a customer.

**Inputs**

- Customer (`customer_id`, text, required): The customer the note belongs to.
- Note (`note_id`, number, required): The note's ID.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Get contact

Get one of a customer's contacts.

**Inputs**

- Customer (`customer_id`, text, required): The customer the contact belongs to.
- Contact (`contact_id`, text, required): The contact's ID, such as CT-00379.

**Outputs**

- `data` (object): A contact.

**Example output**

```json
{
  "data": {
    "address1": "1 Awesome Street",
    "address2": "",
    "city": "Baltimore",
    "country": "United States",
    "created_date": "2017-01-11T00:00:00.000Z",
    "customer_id": "C-0000002",
    "department": "Accounting",
    "display_name": "Jim Bob",
    "email": "jim@bob.com",
    "first_name": "Jim",
    "id": "CT-0000882",
    "job_title": "Accounts Manager",
    "last_name": "Bob",
    "mobile": "233-222-1111",
    "phone": "233-222-1111",
    "state": "MD",
    "updated_date": "2017-01-28T19:29:09.025Z",
    "zip": "21202"
  }
}
```

### Get customer

Get one customer's details.

**Inputs**

- Customer (`customer_id`, text, required): The customer to get.

**Outputs**

- `data` (object): The customer.

**Example output**

```json
{
  "data": {
    "auto_pay": true,
    "balance": "0.00",
    "billing_contact_email": "jim@bob.com",
    "billing_contact_id": "CT-00379",
    "billing_cycle_day": "1st Day Of The Month",
    "cmrr": "0.00",
    "created_date": "",
    "currency": "USD",
    "customer_type": "business",
    "description": "Short description",
    "id": "C-00354",
    "name": "Sample Customer Name",
    "pay_now_url": "",
    "payment_terms": "Due on Receipt",
    "shipping_contact_id": "CT-00379",
    "status": "Active",
    "tax_exempt": true,
    "updated_date": "",
    "website": "www.example.com"
  }
}
```

### Get invoice

Get one invoice with its lines.

**Inputs**

- Invoice (`invoice_id`, text, required): The invoice's ID, such as INV-01745.

**Outputs**

- `data` (object): An invoice.

**Example output**

```json
{
  "data": {
    "balance": "0.0",
    "created_date": "2022-09-25T05:53:45.965Z",
    "currency": "USD",
    "customer_id": "C-00003",
    "customer_name": "ABC Telecom",
    "due_date": "2022-09-25",
    "emailed": false,
    "end_date": "2022-09-24",
    "id": "INV-01746",
    "invoice_amount": "0.00",
    "invoice_date": "2022-09-25",
    "invoice_pdf_url": "",
    "invoice_tax": "0.00",
    "line_items": [
      {
        "charge_name": "Usage Product",
        "description": "Usage Product",
        "effective_price": "0.00",
        "end_date": "2022-09-24",
        "line_no": "1",
        "line_tax": "0.00",
        "plan_name": "Usage Plan",
        "product_name": "Usage Product ",
        "quantity": 0,
        "start_date": "2022-08-25",
        "subscription_id": "S-00317",
        "unit_price": "10.00"
      }
    ],
    "paid_amount": "0.00",
    "payment_terms": "Due on Receipt",
    "start_date": "2022-08-25",
    "status": "Paid",
    "subtotal": "0.00",
    "updated_date": "2022-09-25T05:53:49.872Z"
  }
}
```

### Get plan

Get one plan with its charges.

**Inputs**

- Plan (`plan_id`, text, required): The plan to get.

**Outputs**

- `data` (object): A plan.

**Example output**

```json
{
  "data": {
    "charges": [
      {
        "billing_period": "Monthly",
        "id": "CHG-00006",
        "list_price": "1.5",
        "name": "Performance Fees",
        "product_id": "P-00001",
        "type": "Usage based",
        "unit_of_measure": "Diner"
      },
      {
        "billing_period": "Monthly",
        "id": "CHG-00003",
        "list_price": "1.5",
        "name": "Performance Fees",
        "product_id": "P-00001",
        "type": "Usage based",
        "unit_of_measure": "Diner"
      }
    ],
    "created_date": "2017-04-05T00:00:00.000Z",
    "description": "",
    "id": "PLN-00002",
    "name": "Enhanced Plan",
    "updated_date": "2017-06-10T13:32:22.777Z"
  }
}
```

### Get product

Get one product.

**Inputs**

- Product (`product_id`, text, required): The product to get.

**Outputs**

- `data` (object): A product.

**Example output**

```json
{
  "data": {
    "created_date": "2017-01-23T14:26:45.179Z",
    "description": "Standard Pricing",
    "id": "P-00001",
    "name": "Standard Pricing",
    "price": "5000",
    "sku": "SKU-0001",
    "status": "Active",
    "taxable": true,
    "updated_date": "2017-01-23T14:26:45.179Z"
  }
}
```

### Get subscription

Get one subscription with its lines.

**Inputs**

- Subscription (`subscription_id`, text, required): The subscription's ID, such as S-00006.

**Outputs**

- `data` (object): The subscription.

**Example output**

```json
{
  "data": {
    "auto_renew": true,
    "bill_contact_id": "CT-00183",
    "billing_start_date": "2023-01-01",
    "cancellation_date": "",
    "cmrr": "299.00",
    "contract_effective_date": "2023-02-14",
    "contract_term": "6",
    "created_date": "2023-02-09T15:54:58.807Z",
    "currency": "USD",
    "current_term_end_date": "2023-06-30",
    "current_term_start_date": "2023-01-01",
    "customer_id": "C-00173",
    "customer_name": "Version API",
    "id": "S-00185",
    "notes": "",
    "payment_terms": "Due on Receipt",
    "plans": [
      {
        "charge_id": "CHG-00004",
        "charge_name": "Per Unit",
        "discount": 100,
        "effective_price": "0.00",
        "list_price": "299.00",
        "plan_id": "PLN-00002",
        "plan_name": "Recurring",
        "product_id": "P-00004",
        "product_name": "Prorated",
        "quantity": 1
      }
    ],
    "renewal_term": "6",
    "service_start_date": "2023-01-01",
    "status": "Active",
    "tcv": 145.23,
    "updated_date": "2023-02-09T16:08:25.245Z",
    "version": 26,
    "version_type": "Change"
  }
}
```

### List contacts

List a customer's contacts, newest first unless you choose another order.

**Inputs**

- Customer (`customer_id`, text, required): The customer whose contacts to list.
- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The contacts.

**Example output**

```json
{
  "data": [
    {
      "address1": "1 Awesome Street",
      "address2": "",
      "city": "Baltimore",
      "country": "United States",
      "created_date": "2017-01-11T00:00:00.000Z",
      "customer_id": "C-0000002",
      "department": "Accounting",
      "display_name": "Jim Bob",
      "email": "jim@bob.com",
      "first_name": "Jim",
      "id": "CT-0000882",
      "job_title": "Accounts Manager",
      "last_name": "Bob",
      "mobile": "233-222-1111",
      "phone": "233-222-1111",
      "state": "MD",
      "updated_date": "2017-01-28T19:29:09.025Z",
      "zip": "21202"
    }
  ]
}
```

### List credits

List credits, newest first unless you choose another order.

**Inputs**

- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The credits.

**Example output**

```json
{
  "data": [
    {
      "applied_amount": "2.0",
      "created_date": "2017-01-14T23:53:41.000Z",
      "credit_amount": "2.0",
      "credit_date": "2016-12-31T00:00:00.000Z",
      "currency": "USD",
      "customer_id": "C-00001",
      "id": "CR-00201",
      "invoices": [
        {
          "amount_applied": "2.0",
          "id": "INV-02032"
        }
      ],
      "notes": "Initial Balance Reconciliation",
      "reference_number": "",
      "status": "Processed",
      "unapplied_amount": "0.0",
      "updated_date": "2017-01-24T02:56:31.749Z"
    }
  ]
}
```

### List customer notes

List a customer's notes.

**Inputs**

- Customer (`customer_id`, text, required): The customer whose notes to list.
- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 500. Ordway returns 100 if you leave it empty. From 1 to 500.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The notes.

**Example output**

```json
{
  "data": [
    {
      "created_at": "2019-10-15T18:50:34.723Z",
      "customer_id": 1,
      "description": "test-description",
      "id": 1,
      "title": "test-summary",
      "updated_at": "2019-10-15T18:50:34.723Z"
    }
  ]
}
```

### List customers

List customers, newest first unless you choose another order.

**Inputs**

- Status (`status`, text): Only customers with this status. One of: `active`, `inactive`.
- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The customers.

**Example output**

```json
{
  "data": [
    {
      "auto_pay": true,
      "balance": "0.00",
      "billing_contact_id": "CT-00379",
      "billing_cycle_day": "1st Day Of The Month",
      "currency": "USD",
      "description": "Short description",
      "id": "C-00354",
      "name": "Sample Customer Name",
      "payment_terms": "Due on Receipt",
      "shipping_contact_id": "CT-00379",
      "status": "Active",
      "tax_exempt": true,
      "website": "www.example.com"
    }
  ]
}
```

### List invoices

List invoices, newest first unless you choose another order.

**Inputs**

- Customer (`customer_id`, text): Only this customer's invoices.
- Status (`status`, text): Only invoices with this status, as Ordway writes it, such as Posted, Paid, Draft or Reversed.
- Invoice date (`invoice_date`, date): Only invoices dated this day.
- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The invoices.

**Example output**

```json
{
  "data": [
    {
      "balance": "1102.5",
      "created_date": "2022-09-25T05:53:39.633Z",
      "currency": "USD",
      "customer_id": "C-00004",
      "customer_name": "Acme Corp",
      "due_date": "2022-09-25",
      "emailed": true,
      "end_date": "2022-09-24",
      "id": "INV-01745",
      "invoice_amount": "1102.50",
      "invoice_date": "2022-09-25",
      "invoice_pdf_url": "",
      "invoice_tax": "0.00",
      "line_items": [
        {
          "charge_name": "Platform Fee",
          "description": "Platform Fee",
          "effective_price": "1102.50",
          "end_date": "2022-09-24",
          "line_no": "1",
          "line_tax": "0.00",
          "plan_name": "Mega Deluxe Plan",
          "product_name": "Platform Fee",
          "quantity": 0,
          "start_date": "2022-08-25",
          "subscription_id": "S-00231",
          "unit_price": "1102.50"
        }
      ],
      "paid_amount": "0.00",
      "payment_terms": "Due on Receipt",
      "start_date": "2022-08-25",
      "status": "Posted",
      "subtotal": "1102.50",
      "updated_date": "2022-10-02T05:46:49.020Z"
    }
  ]
}
```

### List payments

List payments, newest first unless you choose another order.

**Inputs**

- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The payments.

**Example output**

```json
{
  "data": [
    {
      "applied_amount": "92.0",
      "created_date": "2017-01-13T15:14:09.000Z",
      "currency": "USD",
      "customer_id": "C-00001",
      "id": "PMT-00001",
      "invoices": [
        {
          "amount_applied": "92.0",
          "id": "INV-00001"
        }
      ],
      "notes": "",
      "payment_amount": "92.0",
      "payment_date": "2014-07-01T00:00:00.000Z",
      "payment_method": "Other",
      "payment_type": "External",
      "reference_number": "@309203932",
      "status": "Processed",
      "unapplied_amount": "0.0",
      "updated_date": "2017-01-24T02:57:42.902Z"
    }
  ]
}
```

### List plans

List plans with their charges, newest first unless you choose another order.

**Inputs**

- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The plans.

**Example output**

```json
{
  "data": [
    {
      "charges": [
        {
          "billing_period": "Monthly",
          "id": "CHG-00006",
          "list_price": "1.5",
          "name": "Performance Fees",
          "product_id": "P-00001",
          "type": "Usage based",
          "unit_of_measure": "Diner"
        },
        {
          "billing_period": "Monthly",
          "id": "CHG-00003",
          "list_price": "1.5",
          "name": "Performance Fees",
          "product_id": "P-00001",
          "type": "Usage based",
          "unit_of_measure": "Diner"
        }
      ],
      "created_date": "2017-04-05T00:00:00.000Z",
      "description": "",
      "id": "PLN-00002",
      "name": "Enhanced Plan",
      "updated_date": "2017-06-10T13:32:22.777Z"
    }
  ]
}
```

### List products

List products, newest first unless you choose another order.

**Inputs**

- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The products.

**Example output**

```json
{
  "data": [
    {
      "created_date": "2017-01-23T14:26:45.179Z",
      "description": "Standard Product",
      "id": "P-00001",
      "name": "Standard Product",
      "price": "5000",
      "sku": "SKU-0001",
      "status": "Active",
      "taxable": true,
      "updated_date": "2017-01-23T14:26:45.179Z"
    },
    {
      "created_date": "2017-01-23T14:26:45.179Z",
      "description": "Setup Charges",
      "id": "P-00002",
      "name": "Setup Charges",
      "price": "150",
      "sku": "SKU-0002",
      "status": "Active",
      "taxable": true,
      "updated_date": "2017-01-23T14:26:45.179Z"
    }
  ]
}
```

### List quotes

List quotes, newest first unless you choose another order.

**Inputs**

- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The quotes.

**Example output**

```json
{
  "data": [
    {
      "billing_start_date": "2021-03-17",
      "contract_term": "Evergreen",
      "created_date": "2021-03-17T07:47:36.178Z",
      "currency": "USD",
      "customer_id": "C-00001",
      "customer_name": "Customer Name",
      "id": "Q-00003",
      "quote_expiry_at": "2021-04-01",
      "quote_pdf_url": "https://app.ordwaylabs.com/quotes/Q-00003/view_pdf",
      "quote_placed_at": "2021-03-17",
      "recipient_email": "recipient_email@recipient.com",
      "recipient_name": "Recipient",
      "status": "Draft",
      "total_charges": "350.00",
      "updated_date": "2021-03-17T09:14:42.897Z"
    }
  ]
}
```

### List subscriptions

List subscriptions, newest first unless you choose another order.

**Inputs**

- Customer (`customer_id`, text): Only this customer's subscriptions.
- Status (`status`, text): Only subscriptions with this status, as Ordway writes it, such as Active or Draft.
- Billing start date (`billing_start_date`, date): Only subscriptions whose billing starts on this day.
- Renews automatically (`auto_renew`, true/false): Only subscriptions that renew automatically (on) or don't (off).
- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

- `data` (list): The subscriptions.

**Example output**

```json
{
  "data": [
    {
      "auto_renew": true,
      "billing_start_date": "2017-02-23",
      "cancellation_date": "2017-01-24",
      "cmrr": "0.00",
      "contract_effective_date": "2017-01-24",
      "contract_term": "12",
      "created_date": "2017-01-24T13:04:23.666Z",
      "currency": "USD",
      "customer_id": "C-00002",
      "id": "S-00006",
      "notes": "",
      "payment_terms": "Due on Receipt",
      "plans": [
        {
          "charge_id": "CHG-00001",
          "charge_name": "Setup Fee",
          "discount": 0,
          "effective_price": "100000",
          "list_price": "100000",
          "plan_id": "PLN-00001",
          "plan_name": "Bronze Plan",
          "product_id": "P-00001",
          "product_name": "Sample Product",
          "quantity": 1
        },
        {
          "charge_id": "CHG-00002",
          "charge_name": "Monthly Fee",
          "discount": 0,
          "effective_price": "10000",
          "list_price": "10000",
          "plan_id": "PLN-00001",
          "plan_name": "Bronze Plan",
          "product_id": "P-00001",
          "product_name": "Sample Product",
          "quantity": 1
        }
      ],
      "renewal_term": "12",
      "service_start_date": "2017-01-24",
      "status": "Draft",
      "updated_date": "2017-01-24T13:04:23.666Z",
      "version": 1
    }
  ]
}
```

### List usage

List usage records, newest first unless you choose another order.

**Inputs**

- Sort (`sort`, text): Fields to sort by, each with asc or desc, such as updated_date desc. Newest created first if you leave it empty.
- Page size (`size`, number): How many to return, up to 50. Ordway returns 20 if you leave it empty. From 1 to 50.
- Page (`page`, number): Which page to return, starting at 1. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "total": 36,
    "usages": [
      {
        "charge_id": "CHG-00030",
        "created_date": "2026-02-27T07:20:25.410Z",
        "customer_id": "C-00702",
        "date": "2026-02-27",
        "description": "",
        "id": "U-00068",
        "invoiced": true,
        "quantity": 1,
        "status": "Processed",
        "subscription_id": "S-00677",
        "unit_of_measure": "",
        "updated_date": "2026-02-27T07:20:26.959Z"
      },
      {
        "charge_id": "SCHG-01",
        "created_date": "2026-02-20T11:51:29.914Z",
        "customer_id": "C-00184",
        "date": "2026-02-20",
        "description": "Test",
        "id": "U-00067",
        "invoiced": false,
        "quantity": 25,
        "status": "Processed",
        "subscription_id": "S-00426",
        "unit_of_measure": "",
        "updated_date": "2026-02-20T11:51:32.324Z"
      }
    ]
  }
}
```

### Update contact

Change a contact's details.

**Inputs**

- Customer (`customer_id`, text, required): The customer the contact belongs to.
- Contact (`contact_id`, text, required): The contact's ID, such as CT-00379.
- First name (`first_name`, text): Their first name.
- Last name (`last_name`, text): Their last name.
- Display name (`display_name`, text): The name to show, such as John Smith.
- Email (`email`, text): Their email address.
- Phone (`phone`, text): Their phone number.
- Mobile (`mobile`, text): Their mobile number.
- Job title (`job_title`, text): Their job title.
- Department (`department`, text): Their department.
- Address line 1 (`address1`, text): First line of their address.
- Address line 2 (`address2`, text): Second line of their address.
- City (`city`, text): City.
- State (`state`, text): State or region.
- ZIP code (`zip`, text): ZIP or postal code.
- Country (`country`, text): Country.

**Outputs**

- `data` (object): A contact.

**Example output**

```json
{
  "data": {
    "address1": "1 Awesome Street",
    "address2": "",
    "city": "Baltimore",
    "country": "United States",
    "created_date": "2017-01-11T00:00:00.000Z",
    "customer_id": "C-0000002",
    "department": "Accounting",
    "display_name": "example",
    "email": "jim@bob.com",
    "first_name": "Jim",
    "id": "CT-0000882",
    "job_title": "Accounts Manager",
    "last_name": "Bob",
    "mobile": "233-222-1111",
    "phone": "233-222-1111",
    "state": "MD",
    "updated_date": "2017-01-28T19:29:09.025Z",
    "zip": "21202"
  }
}
```

### Update customer

Change a customer's details. Only the fields you fill in change.

**Inputs**

- Customer (`customer_id`, text, required): The customer to change.
- Name (`name`, text): The customer's name, as shown on invoices.
- Description (`description`, text): A short description of the customer.
- Website (`website`, text): The customer's website.
- Payment terms (`payment_terms`, text): Payment terms exactly as set up in Ordway's billing settings, such as Due on Receipt.
- Billing day (`billing_cycle_day`, text): The day of the month to bill, as Ordway writes it, such as 1st Day Of The Month.
- Currency (`currency`, text): The customer's currency code, such as USD.
- Status (`status`, text): Whether the customer is active. One of: `Active`, `Inactive`.
- Tax exempt (`tax_exempt`, true/false): Whether the customer is tax exempt.
- Auto pay (`auto_pay`, true/false): Whether to take payments automatically from the payment method on file.
- Customer type (`customer_type`, text): Whether the customer is a business or a consumer. One of: `business`, `consumer`.
- External ID (`external_id`, text): The customer's ID in another system.

**Outputs**

- `data` (object): The customer.

**Example output**

```json
{
  "data": {
    "auto_pay": true,
    "balance": "0.00",
    "billing_contact_email": "jansi.hendry@ordwaylabs.com",
    "billing_contact_id": "CT-15800",
    "billing_cycle_day": "1st Day Of The Month",
    "cmrr": "0.00",
    "created_date": "2026-10-13T09:41:18.378Z",
    "currency": "USD",
    "customer_type": "business",
    "description": "",
    "id": "C-15763",
    "name": "Jansi Hendry",
    "pay_now_url": "https://staging.ordwaylabs.com/pages/customers/encrypted/pay_now_encrypt?company_url=Jans&customer_enc_id=QWJkS01hdDVUMjh2Y1EyOUYyMVVrczhvcTNWY2xKRG1kZG5qaEhkRDBOdjhROHkvQ1JVWkFINVNKandEVlM4Q2gwNm9Tb1dlU3BRNHdjaVloU2VTaFpqSnh4QVJOcEcxMVAxcVk4UkhqY0JzZVpQdVJ4d3VqZ3pidXprWkQvYVgtLUNKSmt1UEpuU0MweGFaVlE1M3UzZ1E9PQ%3D%3D--b5bdf815ea13013f842cadb82251b9ff7537518d&id_token=eyJhbGciOiJub25lIn0.eyJjdXN0b21lcl9lbmNfaWQiOjE4MjUzNjIsImV4cCI6MTgwNDU4OTY0NX0.&salt=cdd7fd913faf4f11a8a0e8133d0e7af7",
    "payment_terms": "Due on Receipt",
    "shipping_contact_id": "CT-15800",
    "status": "Active",
    "tax_exempt": false,
    "updated_date": "2026-10-13T09:41:18.378Z",
    "website": ""
  }
}
```
