Openapi
Return a customer detail record for the specified organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
customerId*stringuuidorganizationId*stringuuidReturns the requested customer.
application/jsoncontacts*array<>customer*locations*array<>notes*array<>curl -X GET 'https://app.localhost/api/v1/organizations/123/customers/123'{ "contacts": [ { "contactProfile": { "avatarUrl": "string", "contactMethods": [ { "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "label": "string", "position": 0, "type": "email", "updatedAt": "2019-08-24T14:15:22Z", "value": "string", "verifiedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "displayName": "string", "firstName": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lastName": "string", "updatedAt": "2019-08-24T14:15:22Z", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "createdAt": "2019-08-24T14:15:22Z", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "jobTitle": "string", "notes": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z" } ], "customer": { "address": { "city": "string", "country": "string", "line1": "string", "line2": "string", "postalCode": "string", "state": "string" }, "archivedAt": "2019-08-24T14:15:22Z", "archivedReason": "string", "assignees": [ { "avatarUrl": "http://example.com", "disabledAt": "string", "displayName": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" } ], "billingEmail": "string", "billingName": "string", "btw": "string", "companyName": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isBusiness": true, "kvk": "string", "logoUrl": "http://example.com", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "quoteCount": 0, "status": "prospect", "tags": [ { "color": "string", "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "task", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "slug": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "taskCount": 0, "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e", "website": "string" }, "locations": [ { "address": { "city": "string", "country": "string", "line1": "string", "line2": "string", "postalCode": "string", "state": "string" }, "createdAt": "2019-08-24T14:15:22Z", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z" } ], "notes": [ { "author": { "avatarUrl": "http://example.com", "displayName": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "contentDoc": { "blocks": [ { "content": [ { "text": "string", "type": "text" } ], "type": "paragraph" } ], "version": 1 }, "contentText": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z" } ]}