Create custom fields
This endpoint enables you to create custom fields for your organization. You can specify the field name, description, slug, type-specific constraints, order, and optionally assign it to a section. PROVIDER users can pass org_id to create custom fields 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.
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"
Describes where the custom field is displayed on the Business Edit view of the Partoo App. If the custom field is within a section, order specifies its position within the custom field section.
30
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
Id of the custom field
42