datafeeds

PUT /{merchantId}/datafeeds/{datafeedId}

Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.

Request

  • Base URL
    https://shoppingcontent.googleapis.com/content/v2.1
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/content
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/content
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

merchantIdstring required

The ID of the account that manages the datafeed. This account cannot be a multi-client account.

datafeedIdstring required

The ID of the datafeed.

Request body

namestring

Required for insert. A descriptive name of the data feed.

kindstring

Identifies what kind of resource this is. Value: the fixed string "content#datafeed"

idstring int64

Required for update. The ID of the data feed.

attributeLanguagestring

The two-letter ISO 639-1 language in which the attributes are defined in the data feed.

fileNamestring

Required. The filename of the feed. All feeds must have a unique file name.

contentTypestring

Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - "local products" - "product inventory" - "products"

Response

Successful response

namestring

Required for insert. A descriptive name of the data feed.

kindstring

Identifies what kind of resource this is. Value: the fixed string "content#datafeed"

idstring int64

Required for update. The ID of the data feed.

attributeLanguagestring

The two-letter ISO 639-1 language in which the attributes are defined in the data feed.

fileNamestring

Required. The filename of the feed. All feeds must have a unique file name.

contentTypestring

Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - "local products" - "product inventory" - "products"

Changes

No recorded changes to this operation across all 1 revision of this API.