curl --request GET \
--url https://api.partoo.co/v2/custom_fields/section \
--header 'x-APIKey: <api-key>'{
"sections": [
{
"id": 1,
"name": "Section A",
"description": "Primary information section",
"order": 3,
"slug": "section-a"
},
{
"id": 2,
"name": "Section B",
"description": null,
"order": 4,
"slug": "section-b"
},
{
"id": 3,
"name": "Section C",
"description": "Additional details section",
"order": 5,
"slug": null
}
]
}Retrieve list of custom fields sections for a given organization, including their names, descriptions, slugs, and ordering information.
curl --request GET \
--url https://api.partoo.co/v2/custom_fields/section \
--header 'x-APIKey: <api-key>'{
"sections": [
{
"id": 1,
"name": "Section A",
"description": "Primary information section",
"order": 3,
"slug": "section-a"
},
{
"id": 2,
"name": "Section B",
"description": null,
"order": 4,
"slug": "section-b"
},
{
"id": 3,
"name": "Section C",
"description": "Additional details section",
"order": 5,
"slug": null
}
]
}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.
Organization id
OK
Show child attributes
Id of the custom field section
6
The name of the custom field section. Needs to be unique from all other section names.
60"Section A"
Description of the custom field section
150"Contains primary business information fields"
Describes where the custom field section is displayed on the Business Edit view of the Partoo App.
18
Unique identifier slug for the custom field section. Cannot contain any of the following characters: ,;/\|<>
1 - 100"section-a"
[
{
"id": 1,
"name": "Section A",
"description": "Primary information section",
"order": 3,
"slug": "section-a"
},
{
"id": 2,
"name": "Section B",
"description": null,
"order": 4,
"slug": "section-b"
},
{
"id": 3,
"name": "Section C",
"description": "Additional details section",
"order": 5,
"slug": null
}
]Was this page helpful?