google business profile
Create action link
Creates a place action link for a location. Available action types: APPOINTMENT, ONLINE_APPOINTMENT, DINING_RESERVATION, FOOD_ORDERING, FOOD_DELIVERY, FOOD_TAKEOUT, SHOP_ONLINE.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
Query Parameters
locationId?string
Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
uristring
The action URL
placeActionTypestring
Type of action
Value in
"APPOINTMENT" | "ONLINE_APPOINTMENT" | "DINING_RESERVATION" | "FOOD_ORDERING" | "FOOD_DELIVERY" | "FOOD_TAKEOUT" | "SHOP_ONLINE"Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.gmbplaceactions.createGoogleBusinessPlaceAction({ path: { accountId: 'account_abc123', }, body: { uri: 'string', placeActionType: 'APPOINTMENT', },});console.log(data);{
"success": true,
"name": "string",
"uri": "string",
"placeActionType": "string"
}{
"error": "string",
"details": {}
}{
"error": "string",
"details": {}
}