GET
/api/public/v1/customers/{accountId}/custom-fieldsGet customer custom field values
Read all custom field values stored on a single customer.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId | string | Required | Customer (account) ID. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/customers/{accountId}/custom-fields" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Customer custom field values retrieved successfully!",
"content": {
"values": [
{
"id": "cfv_1",
"customFieldId": "cf_1",
"textValue": "email"
}
]
}
}