Customerfields
With customerfields a user can extend the data fields that a customer can contain. New customerfields can only be created in the app, but the contents of customerfields can be updated via the API.
Attributes
Name | Type | Description |
---|---|---|
idcustomerfield | integer | Unique Picqer reference |
title | string | Title of customerfield |
type | text | Type of field (eg. text or radio) |
values | array | Possible values in case of radio or select type |
required | boolean | Is this field required for each customer |
Get all customerfields
GET
https://example.picqer.com/api/v1/customerfields
HTTP/1.1 200 OK
[
{
"idcustomerfield":103,
"title":"Afleveropties",
"type":"text",
"values":[],
"required":true
}
]
This endpoint uses pagination.
Get a single customerfield
GET
https://example.picqer.com/api/v1/customerfields/{idcustomerfield}
HTTP/1.1 200 OK
{
"idcustomerfield":103,
"title":"Afleveropties",
"type":"text",
"values":[],
"required":true
}
Read more Pricelists