This endpoint enables an ORG_ADMIN to update a specific custom field of their organization by specifying its ID.
You can update the name, description, slug, constraints, and section assignment of the custom field. However, the type of a custom field cannot be modified. Use the force parameter to apply changes that might conflict with existing business data.
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Id of the custom field
42
Boolean Custom Field
The name of the custom field
1 - 50"Click and collect"
BOOLEAN
1"BOOLEAN"
Description of the custom field
150"Whether the business offers click and collect service"
Unique identifier slug for the custom field. Cannot contain any of the following characters: ,;/\|<>
1 - 100"click-and-collect"
The deletion of a custom field or the update of its metadata can have impacts on custom fields which are already set for businesses.
If force is set to false, updates/deletions will be performed only if they are non-destructive.
If some businesses would be impacted by the update/deletion, an exception will be returned.
If force is set to true, destructive modification will be performed and businesses' values will be deleted accordingly.
Id of the custom field section
6
OK
Request status
success