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_ |
Required. The inventory to insert. |
InsertLfpSaleRequest
Request message for the InsertLfpSale method.
Fields | |
---|---|
parent |
Required. The LFP provider account. Format: |
lfp_ |
Required. The sale to insert. |
InsertLfpStoreRequest
Request message for the InsertLfpStore method.
Fields | |
---|---|
parent |
Required. The LFP provider account Format: |
lfp_ |
Required. The store to insert. |
LfpInventory
Local Inventory for the merchant.
Fields | |
---|---|
name |
Output only. Identifier. The name for the |
target_ |
Required. The Merchant Center ID of the merchant to submit the inventory for. |
store_ |
Required. The identifier of the merchant's store. Either the store code inserted through |
offer_ |
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_ |
Required. The CLDR territory code for the country where the product is sold. |
content_ |
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_ |
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_ |
Optional. Supported pickup method for this offer. Unless the value is "not supported", this field must be submitted together with |
pickup_ |
Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with |
feed_ |
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_ |
Required. The Merchant Center ID of the merchant to submit the sale for. |
store_ |
Required. The identifier of the merchant's store. Either a |
offer_ |
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_ |
Required. The CLDR territory code for the country where the product is sold. |
content_ |
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_ |
Required. The timestamp for the sale. |
uid |
Output only. System generated globally unique ID for the |
feed_ |
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_ |
Required. The Merchant Center id of the merchant to submit the store for. |
store_ |
Required. Immutable. A store identifier that is unique for the target merchant. |
store_ |
Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA. |
gcid_ |
Optional. Google My Business category id. |
matching_ |
Optional. Output only. The state of matching to a Google Business Profile. See |
store_ |
Optional. The merchant or store name. |
phone_ |
Optional. The store phone number in E.164 format. Example: |
website_ |
Optional. The website URL for the store or merchant. |
place_ |
Optional. The Google Place Id of the store location. |
matching_ |
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_ |
Required. The Merchant Center id of the merchant to list stores for. |
page_ |
Optional. The maximum number of |
page_ |
Optional. A page token, received from a previous |
ListLfpStoresResponse
Response message for the ListLfpStores method.
Fields | |
---|---|
lfp_ |
The stores from the specified merchant. |
next_ |
A token, which can be sent as |