Skip to main content
POST
/
sections
/
{section_id}
Update Section
curl --request POST \
  --url https://api.partoo.co/v2/sections/{section_id} \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "name": "Country"
}'
{
  "status": "success",
  "id": 1
}

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
string
required

Section id

Body

application/json

Request body to update a section

name
string
required

Name of the section. Cannot include any of the following characters: ,;/

Example:

"Country"

Response

OK

status
enum<string>

Request status

Available options:
success
id
integer

ID of the updated section

Example:

1