Index
LfpInventoryService
(interface)LfpSaleService
(interface)LfpStoreService
(interface)DeleteLfpStoreRequest
(message)GetLfpStoreRequest
(message)InsertLfpInventoryRequest
(message)InsertLfpSaleRequest
(message)InsertLfpStoreRequest
(message)LfpInventory
(message)LfpSale
(message)LfpStore
(message)LfpStore.StoreMatchingState
(enum)ListLfpStoresRequest
(message)ListLfpStoresResponse
(message)
LfpInventoryService
Service for a LFP partner to submit local inventories for a merchant.
InsertLfpInventory |
---|
Inserts a
|
LfpSaleService
Service for a LFP partner to submit sales data for a merchant.
InsertLfpSale |
---|
Inserts a
|
LfpStoreService
Service for a LFP partner to submit local stores for a merchant.
DeleteLfpStore |
---|
Deletes a store for a target merchant.
|
GetLfpStore |
---|
Retrieves information about a store.
|
InsertLfpStore |
---|
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
|
ListLfpStores |
---|
Lists the stores of the target merchant, specified by the filter in
|
DeleteLfpStoreRequest
Request message for the DeleteLfpStore method.
Fields | |
---|---|
name |
Required. The name of the store to delete for the target merchant account. Format: |
GetLfpStoreRequest
Request message for the GetLfpStore
method.
Fields | |
---|---|
name |
Required. The name of the store to retrieve. Format: |
InsertLfpInventoryRequest
Request message for the InsertLfpInventory
method.
Fields | |
---|---|
parent |
Required. The LFP provider account. Format: |
lfp_inventory |
Required. The inventory to insert. |
InsertLfpSaleRequest
Request message for the InsertLfpSale method.
Fields | |
---|---|
parent |
Required. The LFP provider account. Format: |
lfp_sale |
Required. The sale to insert. |
InsertLfpStoreRequest
Request message for the InsertLfpStore method.
Fields | |
---|---|
parent |
Required. The LFP provider account Format: |
lfp_store |
Required. The store to insert. |
LfpInventory
Local Inventory for the merchant.
Fields | |
---|---|
name |
Output only. Identifier. The name for the |
target_account |
Required. The Merchant Center ID of the merchant to submit the inventory for. |
store_code |
Required. The identifier of the merchant's store. Either the store code inserted through |
offer_id |
Required. Immutable. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product. Note: if the merchant sells the same product new and used, they should have different IDs. |
region_code |
Required. The CLDR territory code for the country where the product is sold. |
content_language |
Required. The two-letter ISO 639-1 language code for the item. |
price |
Optional. The current price of the product. |
availability |
Required. Availability of the product at this store. For accepted attribute values, see the local product inventory data specification |
collection_time |
Optional. The time when the inventory is collected. If not set, it will be set to the time when the inventory is submitted. |
gtin |
Optional. The Global Trade Item Number of the product. |
quantity |
Optional. Quantity of the product available at this store. Must be greater than or equal to zero. |
pickup_method |
Optional. Supported pickup method for this offer. Unless the value is "not supported", this field must be submitted together with |
pickup_sla |
Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with |
feed_label |
Optional. The feed label for the product. If this is not set, it will default to |
LfpSale
A sale for the merchant.
Fields | |
---|---|
name |
Output only. Identifier. The name of the |
target_account |
Required. The Merchant Center ID of the merchant to submit the sale for. |
store_code |
Required. The identifier of the merchant's store. Either a |
offer_id |
Required. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product. Note: if the merchant sells the same product new and used, they should have different IDs. |
region_code |
Required. The CLDR territory code for the country where the product is sold. |
content_language |
Required. The two-letter ISO 639-1 language code for the item. |
gtin |
Required. The Global Trade Item Number of the sold product. |
price |
Required. The unit price of the product. |
quantity |
Required. The relative change of the available quantity. Negative for items returned. |
sale_time |
Required. The timestamp for the sale. |
uid |
Output only. System generated globally unique ID for the |
feed_label |
Optional. The feed label for the product. If this is not set, it will default to |
LfpStore
A store for the merchant. This will be used to match to a store under the Google Business Profile of the target merchant. If a matching store can't be found, the inventories or sales submitted with the store code will not be used.
Fields | |
---|---|
name |
Output only. Identifier. The name of the |
target_account |
Required. The Merchant Center id of the merchant to submit the store for. |
store_code |
Required. Immutable. A store identifier that is unique for the target merchant. |
store_address |
Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA. |
gcid_category[] |
Optional. Google My Business category id. |
matching_state |
Optional. Output only. The state of matching to a Google Business Profile. See |
store_name |
Optional. The merchant or store name. |
phone_number |
Optional. The store phone number in E.164 format. Example: |
website_uri |
Optional. The website URL for the store or merchant. |
place_id |
Optional. The Google Place Id of the store location. |
matching_state_hint |
Optional. Output only. The hint of why the matching has failed. This is only set when Possible values are:
|
StoreMatchingState
The state of matching LfpStore
to a Google Business Profile.
Enums | |
---|---|
STORE_MATCHING_STATE_UNSPECIFIED |
Store matching state unspecified. |
STORE_MATCHING_STATE_MATCHED |
The LfpStore is successfully matched with a Google Business Profile store. |
STORE_MATCHING_STATE_FAILED |
The LfpStore is not matched with a Google Business Profile store. |
ListLfpStoresRequest
Request message for the ListLfpStores method.
Fields | |
---|---|
parent |
Required. The LFP partner. Format: |
target_account |
Required. The Merchant Center id of the merchant to list stores for. |
page_size |
Optional. The maximum number of |
page_token |
Optional. A page token, received from a previous |
ListLfpStoresResponse
Response message for the ListLfpStores method.
Fields | |
---|---|
lfp_stores[] |
The stores from the specified merchant. |
next_page_token |
A token, which can be sent as |