Skip to main content
POST
/
business
/
{business_id}
/
attributes
Set Google attributes for your business
curl --request POST \
  --url https://api.partoo.co/v2/business/{business_id}/attributes \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "attributes": [
    {
      "type": "BOOL",
      "gmb_id": "has_curbside_pickup",
      "value": false
    },
    {
      "type": "ENUM",
      "gmb_id": "wi_fi",
      "value": "free_wi_fi"
    },
    {
      "type": "REPEATABLE_ENUM",
      "gmb_id": "pay_credit_card_types_accepted",
      "value": {
        "set_values": [
          "american_express",
          "discover"
        ],
        "unset_values": []
      }
    },
    {
      "type": "REPEATABLE_URL",
      "gmb_id": "url_reservations",
      "value": [
        "https://www.test1.fr",
        "https://www.test2.fr"
      ]
    }
  ]
}'
{
  "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

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
attributes
object[]

List of Business Attributes

  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
Example:
[
{
"type": "BOOL",
"gmb_id": "has_curbside_pickup",
"value": false
},
{
"type": "ENUM",
"gmb_id": "wi_fi",
"value": "free_wi_fi"
},
{
"type": "REPEATABLE_ENUM",
"gmb_id": "pay_credit_card_types_accepted",
"value": {
"set_values": ["american_express", "discover"],
"unset_values": []
}
},
{
"type": "REPEATABLE_URL",
"gmb_id": "url_reservations",
"value": [
"https://www.test1.fr",
"https://www.test2.fr"
]
}
]

Response

OK

status
enum<string>

Request status

Available options:
success