Home > @poq/sdk-sfcc > IPromotionsClient
Signature:
export interface IPromotionsClient
Method | Description |
---|---|
getPromotions(campaignId, startDate, endDate, currency, options) | Handles get promotion by filter criteria Returns an array of enabled promotions matching 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: omitting one causes the server to return a MissingParameterException fault. Each request returns only enabled promotions; the server does not consider promotion qualifiers or schedules. |
getPromotionsByID(id, locale, options) | Returns an enabled promotion using a specified id. Each request returns a response only for an enabled promotion; the server does not consider promotion qualifiers or schedules. |
getPromotionsByIDs(ids, locale, options) |