Method: accounts.cssProductInputs.patch

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.

HTTP request

PATCH https://css.googleapis.com/v1/{cssProductInput.name=accounts/*/cssProductInputs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
cssProductInput.name

string

The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{cssProductInput}

Query parameters

Parameters
updateMask

string (FieldMask format)

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

The request body contains an instance of CssProductInput.

Response body

If successful, the response body contains an instance of CssProductInput.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.