Skip to main content
POST
/
custom_fields
/
section
Create custom field sections
curl --request POST \
  --url https://api.partoo.co/v2/custom_fields/section \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "name": "Section A",
  "order": 18
}'
{
  "section_id": 6
}

Authorizations

x-APIKey
string
header
required

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.

Body

application/json

Section containing custom fields

name
string
required

The name of the custom field section. Needs to be unique from all other section names.

Example:

"Section A"

order
integer

Describes where the custom field section is displayed on the Business Edit view of the Partoo App.

Example:

18

Response

OK

section_id
integer

Id of the custom field section

Example:

6