2023-12-05
▼ ▲ content.productstatuses.repricingreports.list
Path : {merchantId}/productstatuses/{productId}/repricingreports
Flat Path : {merchantId}/productstatuses/{productId}/repricingreports
HTTP Method : GET
Parameters :
merchantId
Description : Required. Id of the merchant who owns the Repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
productId
Description : Required. Id of the Repricing product. Also known as the [REST_ID](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.id)
Location : path
Required : Yes
Type : string
ruleId
Description : Id of the Repricing rule. If specified, only gets this rule's reports.
Location : query
Type : string
startDate
Description : Gets Repricing reports on and after this date in the merchant's timezone, up to one year ago. Do not use a start date later than 7 days ago (default). Format is YYYY-MM-DD.
Location : query
Type : string
endDate
Description : Gets Repricing reports on and before this date in the merchant's timezone. You can only retrieve data up to 7 days ago (default) or earlier. Format is YYYY-MM-DD.
Location : query
Type : string
pageSize
Description : Maximum number of days of reports to return. There can be more than one rule report returned per day. For example, if 3 rule types got applied to the same product within a 24-hour period, then a page_size of 1 will return 3 rule reports. The page size defaults to 50 and values above 1000 are coerced to 1000. This service may return fewer days of reports than this value, for example, if the time between your start and end date is less than the page size.
Location : query
Type : integer
Format : int32
pageToken
Description : Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
Location : query
Type : string
Parameter Order :
Scopes : https://www.googleapis.com/auth/content
Description : Lists the metrics report for a given Repricing product.
▼ ▲ content.repricingrules.get
Path : {merchantId}/repricingrules/{ruleId}
Flat Path : {merchantId}/repricingrules/{ruleId}
HTTP Method : GET
Parameters :
merchantId
Description : Required. The id of the merchant who owns the repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
ruleId
Description : Required. The id of the rule to retrieve.
Location : path
Required : Yes
Type : string
Parameter Order :
Scopes : https://www.googleapis.com/auth/content
Description : Retrieves a repricing rule from your Merchant Center account.
▼ ▲ content.repricingrules.list
Path : {merchantId}/repricingrules
Flat Path : {merchantId}/repricingrules
HTTP Method : GET
Parameters :
merchantId
Description : Required. The id of the merchant who owns the repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
pageSize
Description : The maximum number of repricing rules to return. The service may return fewer than this value. If unspecified, at most 50 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Location : query
Type : integer
Format : int32
pageToken
Description : A page token, received from a previous `ListRepricingRules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepricingRules` must match the call that provided the page token.
Location : query
Type : string
countryCode
Description : [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (for example, "US"), used as a filter on repricing rules.
Location : query
Type : string
languageCode
Description : The two-letter ISO 639-1 language code associated with the repricing rule, used as a filter.
Location : query
Type : string
Parameter Order : merchantId
Scopes : https://www.googleapis.com/auth/content
Description : Lists the repricing rules in your Merchant Center account.
▼ ▲ content.repricingrules.create
Path : {merchantId}/repricingrules
Flat Path : {merchantId}/repricingrules
HTTP Method : POST
Parameters :
merchantId
Description : Required. The id of the merchant who owns the repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
ruleId
Description : Required. The id of the rule to create.
Location : query
Type : string
Parameter Order : merchantId
Scopes : https://www.googleapis.com/auth/content
Description : Creates a repricing rule for your Merchant Center account.
▼ ▲ content.repricingrules.patch
Path : {merchantId}/repricingrules/{ruleId}
Flat Path : {merchantId}/repricingrules/{ruleId}
HTTP Method : PATCH
Parameters :
merchantId
Description : Required. The id of the merchant who owns the repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
ruleId
Description : Required. The id of the rule to update.
Location : path
Required : Yes
Type : string
Parameter Order :
Scopes : https://www.googleapis.com/auth/content
Description : Updates a repricing rule in your Merchant Center account. All mutable fields will be overwritten in each update request. In each update, you must provide all required mutable fields, or an error will be thrown. If you do not provide an optional field in the update request, if that field currently exists, it will be deleted from the rule.
▼ ▲ content.repricingrules.delete
Path : {merchantId}/repricingrules/{ruleId}
Flat Path : {merchantId}/repricingrules/{ruleId}
HTTP Method : DELETE
Parameters :
merchantId
Description : Required. The id of the merchant who owns the repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
ruleId
Description : Required. The id of the rule to Delete.
Location : path
Required : Yes
Type : string
Parameter Order :
Scopes : https://www.googleapis.com/auth/content
Description : Deletes a repricing rule in your Merchant Center account.
▼ ▲ content.repricingrules.repricingreports.list
Path : {merchantId}/repricingrules/{ruleId}/repricingreports
Flat Path : {merchantId}/repricingrules/{ruleId}/repricingreports
HTTP Method : GET
Parameters :
merchantId
Description : Required. Id of the merchant who owns the Repricing rule.
Location : path
Required : Yes
Type : string
Format : int64
ruleId
Description : Required. Id of the Repricing rule.
Location : path
Required : Yes
Type : string
startDate
Description : Gets Repricing reports on and after this date in the merchant's timezone, up to one year ago. Do not use a start date later than 7 days ago (default). Format: YYYY-MM-DD.
Location : query
Type : string
endDate
Description : Gets Repricing reports on and before this date in the merchant's timezone. You can only retrieve data up to 7 days ago (default) or earlier. Format: YYYY-MM-DD.
Location : query
Type : string
pageSize
Description : Maximum number of daily reports to return. Each report includes data from a single 24-hour period. The page size defaults to 50 and values above 1000 are coerced to 1000. This service may return fewer days than this value, for example, if the time between your start and end date is less than page size.
Location : query
Type : integer
Format : int32
pageToken
Description : Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.
Location : query
Type : string
Parameter Order :
Scopes : https://www.googleapis.com/auth/content
Description : *Deprecated*: New merchants can't start using this service. Lists the metrics report for a given Repricing rule.