From 8762e2c5ca67a7d1a4e1f5207c24d7b359ea00ff Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 14 Jul 2026 23:55:17 -0700 Subject: [PATCH] feat: export custom_attributes field in LocalInventory and RegionalInventory feat: add base64_encoded_name field to LocalInventory and RegionalInventory PiperOrigin-RevId: 948140824 --- .../inventories/v1/inventories_common.proto | 18 ++++++++++ .../inventories/v1/merchantapi_v1.yaml | 33 ++++++++++--------- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/google/shopping/merchant/inventories/v1/inventories_common.proto b/google/shopping/merchant/inventories/v1/inventories_common.proto index 30f0ada91f..9a7055452a 100644 --- a/google/shopping/merchant/inventories/v1/inventories_common.proto +++ b/google/shopping/merchant/inventories/v1/inventories_common.proto @@ -146,6 +146,13 @@ message LocalInventoryAttributes { optional string instore_product_location = 8 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies a label associated with the shipping for the + // `LocalInventory` resource. Can be used to group local shipping services to + // this particular inventory item. For accepted field format, see the [Local + // delivery](https://support.google.com/merchants/answer/14819809#localdelivery) + optional string local_shipping_label = 9 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. An optional list of loyalty programs containing applicable // loyalty member prices for this product at this store. // @@ -163,6 +170,17 @@ message LocalInventoryAttributes { // specification](https://support.google.com/merchants/answer/3061342). repeated InventoryLoyaltyProgram loyalty_programs = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A list of custom (merchant-provided) attributes. It can also be + // used for submitting any attribute of the data specification in its generic + // form (for example, `{ "name": "size type", "value": "regular" }`). This is + // useful for submitting attributes not explicitly exposed by the API. Maximum + // allowed number of characters for each custom attribute is 10240 (represents + // sum of characters for name and value). Maximum 2500 custom attributes can + // be set, with total size of 102.4kB. Underscores in custom + // attribute names are replaced by spaces upon insertion. + repeated google.shopping.type.CustomAttribute custom_attributes = 11 + [(google.api.field_behavior) = OPTIONAL]; } // A message that represents loyalty program. diff --git a/google/shopping/merchant/inventories/v1/merchantapi_v1.yaml b/google/shopping/merchant/inventories/v1/merchantapi_v1.yaml index c9c8c3193c..1edba14440 100644 --- a/google/shopping/merchant/inventories/v1/merchantapi_v1.yaml +++ b/google/shopping/merchant/inventories/v1/merchantapi_v1.yaml @@ -10,21 +10,24 @@ apis: documentation: summary: Programmatically manage your Merchant Center Accounts. overview: |- - Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables you - to programmatically manage your accounts. Conversions Sub-API: Enables you - to programmatically manage your conversion sources for a merchant account. - Datasources Sub-API: Enables you to programmatically manage your - datasources. Inventories Sub-API: This bundle enables you to - programmatically manage your local and regional inventories. Local Feeds - Partnerships Sub-API: This bundle enables LFP partners to submit local - inventories for a merchant. Notifications Sub-API: This bundle enables you - to programmatically manage your notification subscriptions. Products - Sub-API: This bundle enables you to programmatically manage your products. - Promotions Sub-API: This bundle enables you to programmatically manage - your promotions for products. Quota Sub-API: This bundle enables you to - list your quotas for all APIs you are using. Reports Sub-API: This bundle - enables you to programmatically retrieve reports and insights about - products, their performance and their competitive environment. + Merchant API consists of multiple Sub-APIs: + + * **Accounts Sub-API**: Enables you to programmatically manage your + accounts. * **Conversions Sub-API**: Enables you to programmatically + manage your conversion sources for a merchant account. * **Datasources + Sub-API**: Enables you to programmatically manage your datasources. * + **Inventories Sub-API**: This bundle enables you to programmatically + manage your local and regional inventories. * **Local Feeds Partnerships + Sub-API**: This bundle enables LFP partners to submit local inventories + for a merchant. * **Notifications Sub-API**: This bundle enables you to + programmatically manage your notification subscriptions. * **Products + Sub-API**: This bundle enables you to programmatically manage your + products. * **Promotions Sub-API**: This bundle enables you to + programmatically manage your promotions for products. * **Quota + Sub-API**: This bundle enables you to list your quotas for all APIs you + are using. * **Reports Sub-API**: This bundle enables you to + programmatically retrieve reports and insights about products, their + performance and their competitive environment. authentication: rules: