Skip to main content
POST
/
custom_fields
/
order
Order custom fields
curl --request POST \
  --url https://api.partoo.co/v2/custom_fields/order \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "orders": [
    {
      "id": 42,
      "order": 30
    }
  ],
  "section_orders": [
    {
      "id": 6,
      "order": 18
    }
  ]
}'
{
  "id": "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.

Body

application/json

Request object

orders
object[]
required

On the Business Edit view of the Partoo App, custom fields will be displayed depending on their order.
The lowest number will be the first.

section_orders
object[]

On the Business Edit view of the Partoo App, custom fields section will be displayed depending on their order.
The lowest number will be the first.

Response

OK

id
enum<string>

Request status

Available options:
success