Returns an array of enabled promotions for a list of specified IDs. In the request URL, you can specify up to 50 IDs. If you specify an ID that contains either parentheses or the separator characters, you must URL encode these characters. Each request returns only enabled promotions as the server does not consider promotion qualifiers or schedules.
If you would like to get a raw Response object use the other getPromotions function.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
A promise of type PromotionResult.
Returns an array of enabled promotions for a list of specified IDs. In the request URL, you can specify up to 50 IDs. If you specify an ID that contains either parentheses or the separator characters, you must URL encode these characters. Each request returns only enabled promotions as the server does not consider promotion qualifiers or schedules.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type PromotionResult otherwise.
Handles get promotion by filter criteria. Returns an array of enabled promotions matching the specified filter criteria. In the request URL, you must provide a campaign_id parameter, and you can optionally specify a date range by providing start_date and end_date parameters. Both parameters are required to specify a date range, as omitting one causes the server to return a MissingParameterException fault. Each request returns only enabled promotions, since the server does not consider promotion qualifiers or schedules.
If you would like to get a raw Response object use the other getPromotionsForCampaign function.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
A promise of type PromotionResult.
Handles get promotion by filter criteria. Returns an array of enabled promotions matching the specified filter criteria. In the request URL, you must provide a campaign_id parameter, and you can optionally specify a date range by providing start_date and end_date parameters. Both parameters are required to specify a date range, as omitting one causes the server to return a MissingParameterException fault. Each request returns only enabled promotions, since the server does not consider promotion qualifiers or schedules.
Optional
options: RequireParametersUnlessAllAreOptional<{ An object containing the options for this method.
Optional
rawResponse: TSet to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type PromotionResult otherwise.
Static
Readonly
default
Shopper Promotions
View details for active promotions.
Simple example:
API Version: 1.0.21Last Updated: