[
{
"id": "cust_123",
"workspaceId": "ws_123",
"type": "company",
"name": "Acme Corp",
"email": "sales@acme.test",
"phone": "+56 9 1234 5678",
"address": "Av. Apoquindo 1234, Santiago",
"idType": "RUT",
"idValue": "76.123.456-7",
"createdAt": "2026-03-10T12:00:00.000Z",
"updatedAt": "2026-03-10T12:05:00.000Z",
"data": {
"industry": "Construction",
"tier": "gold"
},
"customFields": {
"industry": "Construction",
"tier": "gold"
},
"externalId": "crm_9981",
"primaryMembership": {
"id": "cm_123",
"customerId": "cust_123",
"personId": "person_123",
"roles": [
"buyer"
],
"isPrimary": true,
"isActive": true,
"label": "Billing contact",
"person": {
"id": "person_123",
"name": "Ana Torres",
"primaryEmail": "ana@example.com",
"emailAddresses": [
"ana.work@example.com"
],
"phoneNumbers": [
"+56 9 1234 5678"
],
"jobTitle": "Purchasing Manager"
}
},
"lastOrder": {
"id": "ord_123",
"customerId": "cust_123",
"number": "SO-1001",
"workspaceId": "ws_123",
"status": "draft",
"data": {
"industry": "Construction",
"tier": "gold"
},
"customFields": {
"industry": "Construction",
"tier": "gold"
},
"createdAt": "2026-03-10T12:00:00.000Z",
"updatedAt": "2026-03-10T12:05:00.000Z",
"revision": 0
},
"access": {
"level": "limited",
"readFields": [
"name",
"idValue",
"customFields.sapCardCode"
],
"writeFields": [],
"relations": []
}
}
]