2024-06-14
▼ ▲ merchantapi.accounts.lfpInventories.insert
Path: lfp/v1beta/{+parent}/lfpInventories:insert
Flat Path: lfp/v1beta/accounts/{accountsId}/lfpInventories:insert
HTTP Method: POST
Parameters:
parent
Description: Required. The LFP provider account. Format: `accounts/{account}`
Pattern: ^accounts/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: parent
Scopes: https://www.googleapis.com/auth/content
Description: Inserts a `LfpInventory` resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.
▼ ▲ merchantapi.accounts.lfpSales.insert
Path: lfp/v1beta/{+parent}/lfpSales:insert
Flat Path: lfp/v1beta/accounts/{accountsId}/lfpSales:insert
HTTP Method: POST
Parameters:
parent
Description: Required. The LFP provider account. Format: `accounts/{lfp_partner}`
Pattern: ^accounts/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: parent
Scopes: https://www.googleapis.com/auth/content
Description: Inserts a `LfpSale` for the given merchant.
▼ ▲ merchantapi.accounts.lfpStores.get
Path: lfp/v1beta/{+name}
Flat Path: lfp/v1beta/accounts/{accountsId}/lfpStores/{lfpStoresId}
HTTP Method: GET
Parameters:
name
Description: Required. The name of the store to retrieve. Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`
Pattern: ^accounts/[^/]+/lfpStores/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: name
Scopes: https://www.googleapis.com/auth/content
Description: Retrieves information about a store.
▼ ▲ merchantapi.accounts.lfpStores.insert
Path: lfp/v1beta/{+parent}/lfpStores:insert
Flat Path: lfp/v1beta/accounts/{accountsId}/lfpStores:insert
HTTP Method: POST
Parameters:
parent
Description: Required. The LFP provider account Format: `accounts/{account}`
Pattern: ^accounts/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: parent
Scopes: https://www.googleapis.com/auth/content
Description: Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
▼ ▲ merchantapi.accounts.lfpStores.delete
Path: lfp/v1beta/{+name}
Flat Path: lfp/v1beta/accounts/{accountsId}/lfpStores/{lfpStoresId}
HTTP Method: DELETE
Parameters:
name
Description: Required. The name of the store to delete for the target merchant account. Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`
Pattern: ^accounts/[^/]+/lfpStores/[^/]+$
Location: path
Required: Yes
Type: string
Parameter Order: name
Scopes: https://www.googleapis.com/auth/content
Description: Deletes a store for a target merchant.
▼ ▲ merchantapi.accounts.lfpStores.list
Path: lfp/v1beta/{+parent}/lfpStores
Flat Path: lfp/v1beta/accounts/{accountsId}/lfpStores
HTTP Method: GET
Parameters:
parent
Description: Required. The LFP partner. Format: `accounts/{account}`
Pattern: ^accounts/[^/]+$
Location: path
Required: Yes
Type: string
targetAccount
Description: Required. The Merchant Center id of the merchant to list stores for.
Location: query
Type: string
Format: int64
pageSize
Description: Optional. The maximum number of `LfpStore` resources for the given account to return. The service returns fewer than this value if the number of stores for the given account is less than the `pageSize`. The default value is 250. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.
Location: query
Type: integer
Format: int32
pageToken
Description: Optional. A page token, received from a previous `ListLfpStoresRequest` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLfpStoresRequest` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.
Location: query
Type: string
Parameter Order: parent
Scopes: https://www.googleapis.com/auth/content
Description: Lists the stores of the target merchant, specified by the filter in `ListLfpStoresRequest`.