late 0.0.310

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
Documentation
# \GmbPlaceActionsApi

All URIs are relative to *https://zernio.com/api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_google_business_place_action**]GmbPlaceActionsApi.md#create_google_business_place_action | **POST** /v1/accounts/{accountId}/gmb-place-actions | Create action link
[**delete_google_business_place_action**]GmbPlaceActionsApi.md#delete_google_business_place_action | **DELETE** /v1/accounts/{accountId}/gmb-place-actions | Delete action link
[**list_google_business_place_actions**]GmbPlaceActionsApi.md#list_google_business_place_actions | **GET** /v1/accounts/{accountId}/gmb-place-actions | List action links
[**update_google_business_place_action**]GmbPlaceActionsApi.md#update_google_business_place_action | **PATCH** /v1/accounts/{accountId}/gmb-place-actions | Update action link



## create_google_business_place_action

> models::CreateGoogleBusinessPlaceAction200Response create_google_business_place_action(account_id, create_google_business_place_action_request, location_id)
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. 

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account_id** | **String** |  | [required] |
**create_google_business_place_action_request** | [**CreateGoogleBusinessPlaceActionRequest**]CreateGoogleBusinessPlaceActionRequest.md |  | [required] |
**location_id** | Option<**String**> | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs. |  |

### Return type

[**models::CreateGoogleBusinessPlaceAction200Response**](createGoogleBusinessPlaceAction_200_response.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_google_business_place_action

> models::DeleteGoogleBusinessPlaceAction200Response delete_google_business_place_action(account_id, name, location_id)
Delete action link

Deletes a place action link (e.g. booking or ordering URL) from a GBP location.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account_id** | **String** |  | [required] |
**name** | **String** | The resource name of the place action link (e.g. locations/123/placeActionLinks/456) | [required] |
**location_id** | Option<**String**> | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs. |  |

### Return type

[**models::DeleteGoogleBusinessPlaceAction200Response**](deleteGoogleBusinessPlaceAction_200_response.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_google_business_place_actions

> models::ListGoogleBusinessPlaceActions200Response list_google_business_place_actions(account_id, location_id, page_size, page_token)
List action links

Lists place action links for a Google Business Profile location.  Place actions are the booking, ordering, and reservation buttons that appear on your listing. 

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account_id** | **String** |  | [required] |
**location_id** | Option<**String**> | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs. |  |
**page_size** | Option<**i32**> |  |  |[default to 100]
**page_token** | Option<**String**> |  |  |

### Return type

[**models::ListGoogleBusinessPlaceActions200Response**](listGoogleBusinessPlaceActions_200_response.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_google_business_place_action

> models::UpdateGoogleBusinessPlaceAction200Response update_google_business_place_action(account_id, update_google_business_place_action_request, location_id)
Update action link

Updates a place action link (change URL or action type). Only the fields included in the request body will be updated. 

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account_id** | **String** |  | [required] |
**update_google_business_place_action_request** | [**UpdateGoogleBusinessPlaceActionRequest**]UpdateGoogleBusinessPlaceActionRequest.md |  | [required] |
**location_id** | Option<**String**> | Override which location to target. If omitted, uses the account's selected location. |  |

### Return type

[**models::UpdateGoogleBusinessPlaceAction200Response**](updateGoogleBusinessPlaceAction_200_response.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)