Set Place Action Links
This endpoint enables you to manage place action links for a given business. Create, update, or delete place action links by modifying the urls array for each gmb_id.
- Create: Include a place action link in urls without an id.
- Update: Include the given place action link in urls with an existing id.
- Delete: Omit the specific link object from urls or provide an empty urls array to remove all for the gmb_id . For the POST method, ensure you send the complete list of desired links to retain or update per gmb_id.
Documentation Index
Fetch the complete documentation index at: https://developers.partoo.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
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.
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
List of Business Place Action Links
[
{
"gmb_id": "SHOP_ONLINE",
"urls": [
{
"value": "https://www.example.com/shop_online",
"is_preferred": true
},
{
"id": 2,
"value": "https://www.example.com/shop_online2",
"is_preferred": false
}
]
},
{
"gmb_id": "FOOD_TAKEOUT",
"urls": [
{
"id": 3,
"value": "https://www.example.com/food_takeout1",
"is_preferred": false
},
{
"id": 4,
"value": "https://www.example.com/food_takeout2",
"is_preferred": false
},
{
"value": "https://www.example.com/food_takeout3",
"is_preferred": false
}
]
},
{
"gmb_id": "ONLINE_APPOINTMENT",
"urls": [
{
"value": "https://www.example.com/online_appointment",
"is_preferred": true
},
{
"id": 7,
"value": "https://www.example.com/online_appointment2",
"is_preferred": false
}
]
},
{
"gmb_id": "DINING_RESERVATION",
"urls": [
{
"id": 8,
"value": "https://www.example.com/dining_reservation1",
"is_preferred": true
},
{
"id": 9,
"value": "https://www.example.com/dining_reservation2",
"is_preferred": false
}
]
},
{
"gmb_id": "APPOINTMENT",
"urls": [
{
"value": "https://www.example.com/appointment1",
"is_preferred": true
},
{
"id": 11,
"value": "https://www.example.com/appointment2",
"is_preferred": false
}
]
},
{
"gmb_id": "FOOD_ORDERING",
"urls": [
{
"value": "https://www.example.com/food_ordering1",
"is_preferred": true
},
{
"id": 13,
"value": "https://www.example.com/food_ordering2",
"is_preferred": false
}
]
},
{
"gmb_id": "FOOD_DELIVERY",
"urls": [
{
"id": 14,
"value": "https://www.example.com/food_delivery1",
"is_preferred": true
},
{
"value": "https://www.example.com/food_delivery2",
"is_preferred": false
}
]
}
]Response
OK
Request status
success