get_customer
Read-only
Fetch a customer by ID or external ID. Use full detail to include addresses and contact info.
Instructions
Get a single customer by id or externalId. Returns a shaped customer; detail:'full' adds address and contact details.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Lookup field: 'id' (RetailCRM ID) or 'externalId' | id |
| id | Yes | Customer ID or externalId to retrieve | |
| raw | No | If true, return the untouched RetailCRM payload (for debugging; verbose). | |
| detail | No | Output verbosity: 'summary' (compact, default — saves tokens) or 'full' (all shaped fields incl. line items, delivery, payments). | summary |