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