v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13102443.0 KB
accounts

Updates the existing Css Product input in your CSS Center account. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed Css Product can be retrieved.

patch/v1/{+name}

Path parameters

namestring required

Identifier. The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguagefeedLabelofferId. Example: accounts/123/cssProductInputs/deDErawProvidedId123

Query parameters

updateMaskstring

The list of CSS product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the custom_attribute. prefix. Providing special "*" value for full CSS product replacement is not supported.

Request body

namestring

Identifier. The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{css_product_input}, where the last section css_product_input consists of 3 parts: contentLanguagefeedLabelofferId. Example: accounts/123/cssProductInputs/deDErawProvidedId123

freshnessTimestring google-datetime

DEPRECATED. Use expiration_date instead. Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown.

rawProvidedIdstring

Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the products feed specification for details.

feedLabelstring

Required. The feed label for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France.

finalNamestring

Output only. The name of the processed CSS Product. Format: accounts/{account}/cssProducts/{css_product} "

contentLanguagestring

Required. The two-letter ISO 639-1 language code for the CSS Product.

Response

Successful response