merchantapi/promotions_v1 library

Merchant API - promotions_v1

Programmatically manage your Merchant Center Accounts.

For more information, see developers.google.com/merchant/api

Create an instance of MerchantApi to access these resources:

Classes

AccountsPromotionsResource
AccountsResource
Attributes
Attributes.
CustomAttribute
A message that represents custom attributes.
DestinationStatus
The status for the specified destination.
InsertPromotionRequest
Request message for the InsertPromotion method.
ItemLevelIssue
The issue associated with the promotion.
ListPromotionsResponse
Response message for the ListPromotions method.
MerchantApi
Programmatically manage your Merchant Center Accounts.
Promotion
Represents a promotion.
PromotionStatus
The status of the promotion.

Typedefs

Interval = $Interval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
Price = $Price
The price represented as a number and currency.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.