Update custom field
This endpoint enables you to update a specific custom field of your 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. PROVIDER users can pass org_id to update a custom field for a managed organization.
Documentation Index
Fetch the complete documentation index at: https://developers.partoo.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
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.
Path Parameters
Id of the custom field
42
Query Parameters
Organization ID. Only PROVIDER users can specify a different organization. If not provided, defaults to your own organization.
Body
- Boolean Field
- Text Field
- Integer Field
- Float Field
- Single Select Field
- Multiple Select Field
- Multiple Select Image Field
- Images Uploader Field
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
forceis 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
forceis set to true, destructive modification will be performed and businesses' values will be deleted accordingly.
Id of the custom field section
6
Response
OK
Request status
success