get_customer
Retrieve a customer by ID or external ID from RetailCRM. Optional detail level includes contact and address data.
Instructions
Get a single customer by id or externalId. Returns a shaped customer; detail:'full' adds address and contact details.
Input 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 |