Skip to main content
PUT
/
custom_fields
/
section
/
{section_id}
Update custom field sections
curl --request PUT \
  --url https://api.partoo.co/v2/custom_fields/section/{section_id} \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '
{
  "name": "Updated Section Name",
  "description": "Updated description for the section",
  "slug": "updated-section-slug"
}
'
{
  "status": "success"
}

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.

Path Parameters

section_id
integer
required

Id of the custom field section

Example:

6

Body

application/json
name
string
required

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

Maximum string length: 60
Example:

"Section A"

description
string | null

Description of the custom field section

Maximum string length: 150
Example:

"Contains primary business information fields"

slug
string | null

Unique identifier slug for the custom field section. Cannot contain any of the following characters: ,;/\|<>

Required string length: 1 - 100
Example:

"section-a"

Response

OK

status
enum<string>

Request status

Available options:
success