Skip to main content
POST
/
business
/
{business_id}
/
free_form_services
Set custom Google Services for your business
curl --request POST \
  --url https://api.partoo.co/v2/business/{business_id}/free_form_services \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "category_gmb_name": "gcid:climbing_gym",
  "name": "Random Name",
  "price": 25.35,
  "description": "This is our custom service"
}'
{
  "services": [
    {
      "service_id": 1,
      "type": "STRUCTURED_SERVICE_ITEM",
      "name": "Climbing Gym",
      "price": 50,
      "description": "Our climbing gym available for all",
      "category_gmb_name": "gcid:climbing_gym"
    },
    {
      "service_id": 2,
      "type": "FREE_FORM_SERVICE_ITEM",
      "name": "Random Name",
      "price": 25.35,
      "description": "This is our custom service",
      "category_gmb_name": "gcid:climbing_gym"
    }
  ]
}

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

business_id
string
required

Business id.

It may be replaced by c-{code} where code is the store code, which should be unique per organization. This can be used only for ORG_ADMIN, GROUP_MANAGER and BUSINESS_MANAGER users.

Body

application/json
  • Option 1
  • Option 2

A Google Service.

category_gmb_name
string
required

Google name of the category. The category must belong to your business.

Example:

"gcid:climbing_gym"

name
string
required

Name of the service.

Example:

"Random Name"

price
number

Price of the service.

Example:

25.35

description
string

Description of the service.

Maximum length: 300
Example:

"This is our custom service"

Response

OK

List of Business Services.

services
object[]
Example:
[
{
"service_id": 1,
"type": "STRUCTURED_SERVICE_ITEM",
"name": "Climbing Gym",
"price": 50,
"description": "Our climbing gym available for all",
"category_gmb_name": "gcid:climbing_gym"
},
{
"service_id": 2,
"type": "FREE_FORM_SERVICE_ITEM",
"name": "Random Name",
"price": 25.35,
"description": "This is our custom service",
"category_gmb_name": "gcid:climbing_gym"
}
]