Customers
List customer field values
Changed onList all custom fields for a customer.
get/api/customers/{customer_id}/custom-fields
Request
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScripthttps://skmtc.dev/gorgias/apis/gorgias-rest-api/docs/api/customers/:customer_id/custom-fields/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idinteger required
The ID of the customer.
Response
List of custom field values.
Example response
[
{
"field": {
"id": 123,
"external_id": "custom-field-84203241",
"label": "Test field",
"description": "An amazing field description.",
"priority": 1,
"required": true,
"definition": {
"input_settings": {
"placeholder": "Enter this here..."
}
},
"created_datetime": "2019-01-02T03:04:05.123456",
"updated_datetime": "2020-01-02T03:04:05.123456",
"deactivated_datetime": "2021-01-02T03:04:05.123456"
}
}
]Changes
- breaking
the
//response property's maxLength was increased from255to1024for the response status
- breaking