chore: update docs/dyn (#1106)
diff --git a/docs/dyn/content_v2.pos.html b/docs/dyn/content_v2.pos.html
index 4b0dd02..b1d690a 100644
--- a/docs/dyn/content_v2.pos.html
+++ b/docs/dyn/content_v2.pos.html
@@ -115,43 +115,43 @@
{
"entries": [ # The request entries to be processed in the batch.
{
- "batchId": 42, # An entry ID, unique within the batch request.
- "storeCode": "A String", # The store code. This should be set only if the method is `delete` or `get`.
- "inventory": { # The absolute quantity of an item available at the given store. # The inventory to submit. This should be set only if the method is `inventory`.
+ "sale": { # The change of the available quantity of an item at the given store. # The sale information to submit. This should be set only if the method is `sale`.
"contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "price": { # Required. The price of the item.
+ "value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
+ },
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "gtin": "A String", # Global Trade Item Number.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ },
+ "inventory": { # The absolute quantity of an item available at the given store. # The inventory to submit. This should be set only if the method is `inventory`.
+ "price": { # Required. The current price of the item.
+ "value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
+ },
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
"quantity": "A String", # Required. The available quantity of the item.
"gtin": "A String", # Global Trade Item Number.
- "itemId": "A String", # Required. A unique identifier for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
- "price": { # Required. The current price of the item.
- "currency": "A String", # The currency of the price.
- "value": "A String", # The price represented as a number.
- },
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- },
- "merchantId": "A String", # The ID of the POS data provider.
- "targetMerchantId": "A String", # The ID of the account for which to get/submit data.
- "sale": { # The change of the available quantity of an item at the given store. # The sale information to submit. This should be set only if the method is `sale`.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
"itemId": "A String", # Required. A unique identifier for the item.
"contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "price": { # Required. The price of the item.
- "currency": "A String", # The currency of the price.
- "value": "A String", # The price represented as a number.
- },
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
"targetCountry": "A String", # Required. The CLDR territory code for the item.
- "saleId": "A String", # A unique ID to group items from the same sale event.
"timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "gtin": "A String", # Global Trade Item Number.
},
+ "storeCode": "A String", # The store code. This should be set only if the method is `delete` or `get`.
+ "batchId": 42, # An entry ID, unique within the batch request.
+ "targetMerchantId": "A String", # The ID of the account for which to get/submit data.
+ "merchantId": "A String", # The ID of the POS data provider.
"store": { # Store resource. # The store information to submit. This should be set only if the method is `insert`.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
- "storeAddress": "A String", # Required. The street address of the store.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
+ "storeAddress": "A String", # Required. The street address of the store.
},
"method": "A String", # The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" - "`inventory`" - "`sale`"
},
@@ -171,53 +171,53 @@
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posCustomBatchResponse".
"entries": [ # The result of the execution of the batch requests.
{
- "batchId": 42, # The ID of the request entry to which this entry responds.
- "inventory": { # The absolute quantity of an item available at the given store. # The updated inventory information.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "quantity": "A String", # Required. The available quantity of the item.
- "gtin": "A String", # Global Trade Item Number.
- "itemId": "A String", # Required. A unique identifier for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
- "price": { # Required. The current price of the item.
- "currency": "A String", # The currency of the price.
- "value": "A String", # The price represented as a number.
- },
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- },
- "sale": { # The change of the available quantity of an item at the given store. # The updated sale information.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "itemId": "A String", # Required. A unique identifier for the item.
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "price": { # Required. The price of the item.
- "currency": "A String", # The currency of the price.
- "value": "A String", # The price represented as a number.
- },
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "saleId": "A String", # A unique ID to group items from the same sale event.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "gtin": "A String", # Global Trade Item Number.
- },
"store": { # Store resource. # The retrieved or updated store information.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
- "storeAddress": "A String", # Required. The street address of the store.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
+ "storeAddress": "A String", # Required. The street address of the store.
},
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posCustomBatchResponseEntry`"
"errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if, and only if, the request failed.
- "code": 42, # The HTTP status of the first error in `errors`.
"errors": [ # A list of errors.
{ # An error returned by the API.
- "reason": "A String", # The error code.
"domain": "A String", # The domain of the error.
"message": "A String", # A description of the error.
+ "reason": "A String", # The error code.
},
],
"message": "A String", # The message of the first error in `errors`.
+ "code": 42, # The HTTP status of the first error in `errors`.
},
+ "sale": { # The change of the available quantity of an item at the given store. # The updated sale information.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posSale`"
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "price": { # Required. The price of the item.
+ "value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
+ },
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "gtin": "A String", # Global Trade Item Number.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ },
+ "batchId": 42, # The ID of the request entry to which this entry responds.
+ "inventory": { # The absolute quantity of an item available at the given store. # The updated inventory information.
+ "price": { # Required. The current price of the item.
+ "value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
+ },
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ "quantity": "A String", # Required. The available quantity of the item.
+ "gtin": "A String", # Global Trade Item Number.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posInventory`"
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ },
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posCustomBatchResponseEntry`"
},
],
}</pre>
@@ -257,8 +257,8 @@
{ # Store resource.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
- "storeAddress": "A String", # Required. The street address of the store.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
+ "storeAddress": "A String", # Required. The street address of the store.
}</pre>
</div>
@@ -274,8 +274,8 @@
{ # Store resource.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
- "storeAddress": "A String", # Required. The street address of the store.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
+ "storeAddress": "A String", # Required. The street address of the store.
}
dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
@@ -289,8 +289,8 @@
{ # Store resource.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
- "storeAddress": "A String", # Required. The street address of the store.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
+ "storeAddress": "A String", # Required. The street address of the store.
}</pre>
</div>
@@ -305,17 +305,17 @@
The object takes the form of:
{
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "itemId": "A String", # Required. A unique identifier for the item.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
"gtin": "A String", # Global Trade Item Number.
"quantity": "A String", # Required. The available quantity of the item.
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
"contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
"price": { # Required. The current price of the item.
- "currency": "A String", # The currency of the price.
"value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
},
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "itemId": "A String", # Required. A unique identifier for the item.
}
dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
@@ -328,17 +328,17 @@
An object of the form:
{
- "price": { # Required. The current price of the item.
- "currency": "A String", # The currency of the price.
- "value": "A String", # The price represented as a number.
- },
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "quantity": "A String", # Required. The available quantity of the item.
"targetCountry": "A String", # Required. The CLDR territory code for the item.
"gtin": "A String", # Global Trade Item Number.
+ "price": { # Required. The current price of the item.
+ "value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
+ },
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posInventoryResponse".
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
"timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
"storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posInventoryResponse".
+ "quantity": "A String", # Required. The available quantity of the item.
"itemId": "A String", # Required. A unique identifier for the item.
}</pre>
</div>
@@ -359,14 +359,14 @@
An object of the form:
{
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posListResponse".
"resources": [
{ # Store resource.
"storeCode": "A String", # Required. A store identifier that is unique for the given merchant.
- "storeAddress": "A String", # Required. The street address of the store.
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#posStore`"
+ "storeAddress": "A String", # Required. The street address of the store.
},
],
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posListResponse".
}</pre>
</div>
@@ -381,18 +381,18 @@
The object takes the form of:
{
- "saleId": "A String", # A unique ID to group items from the same sale event.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "gtin": "A String", # Global Trade Item Number.
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "price": { # Required. The price of the item.
- "currency": "A String", # The currency of the price.
- "value": "A String", # The price represented as a number.
- },
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
"storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "saleId": "A String", # A unique ID to group items from the same sale event.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
"itemId": "A String", # Required. A unique identifier for the item.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "price": { # Required. The price of the item.
+ "value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
+ },
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "gtin": "A String", # Global Trade Item Number.
}
dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).
@@ -405,19 +405,19 @@
An object of the form:
{
- "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
"saleId": "A String", # A unique ID to group items from the same sale event.
- "itemId": "A String", # Required. A unique identifier for the item.
- "gtin": "A String", # Global Trade Item Number.
- "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
- "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
- "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
- "targetCountry": "A String", # Required. The CLDR territory code for the item.
- "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posSaleResponse".
"price": { # Required. The price of the item.
- "currency": "A String", # The currency of the price.
"value": "A String", # The price represented as a number.
+ "currency": "A String", # The currency of the price.
},
+ "targetCountry": "A String", # Required. The CLDR territory code for the item.
+ "timestamp": "A String", # Required. The inventory timestamp, in ISO 8601 format.
+ "storeCode": "A String", # Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.
+ "quantity": "A String", # Required. The relative change of the available quantity. Negative for items returned.
+ "gtin": "A String", # Global Trade Item Number.
+ "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item.
+ "itemId": "A String", # Required. A unique identifier for the item.
+ "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#posSaleResponse".
}</pre>
</div>