Get customer
get_customerRetrieve a brewery customer's full profile, including sales terms, ordering cadence, contacts, addresses, and recent orders. Use include_contact_details to access contact and custom field data.
Instructions
One customer in full: type, sales person, price book, credit limit, payment terms, ordering cadence and predictions, trade store access, comments, number of contacts, and their most recent orders. Contacts (names, emails, phones), addresses, tax number and custom fields only with include_contact_details. Uses GET /customers-suppliers/{id}/ and GET /orders/?customer={id}&ordering=-issue_date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Customer ID (a positive whole number) | |
| recent_orders | No | How many of the newest orders to include (0 for none) | |
| include_contact_details | No | Include contacts' names, job titles, emails and phones, the customer's primary email, phone, billing and delivery addresses, tax number, custom fields and staff names. Off by default. |