Poq.SDK.Node

Home > @poq/sdk-sfcc > PromotionsClient > getPromotionsByID

PromotionsClient.getPromotionsByID() method

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.

Signature:

getPromotionsByID(id: string, locale?: string, options?: RequestOptions): Promise<PoqResponse<Promotion>>;

Parameters

Parameter Type Description
id string The id of the requested promotion.
locale string (Optional)
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Promotion>>