Home > @poq/sdk-sfcc > PromotionsClient > getPromotionsByID
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>>;
| 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>>