Custom_Fields - Update Custom Fields
Submit URL for PUT request of the custom fields remains the same for each endpoint (ie api/contacts for Contacts endpoint, api/invoices for Invoices endpoint, etc..)
In this example, we will use the following form data which corresponds to the following custom field types:
custom_fields[invoice][1] = Input Typecustom_fields[invoice][2] = Numbercustom_fields[invoice][3] = Textareacustom_fields[invoice][4] = Radiocustom_fields[invoice][5] = Checkboxcustom_fields[invoice][6] = Multiselectcustom_fields[invoice][7] = Datecustom_fields[invoice][8] = Datetimecustom_fields[invoice][9] = Colorcustom_fields[invoice][10] = Link
PUT yourdomain.com/N/A
Parameter
json
| Field | Type | Description |
|---|---|---|
| custom_fields[customFieldType] | string/array |
Custom Field JSON should be same as below with |
HTTP/1.1 200 OK
Same as Original request
HTTP/1.1 404 Not Found
Same as Original request