Poq.SDK.Node

Home > @poq/sdk-sfcc > IBasketsClient > postBasketsByIDGiftCertificateItems

IBasketsClient.postBasketsByIDGiftCertificateItems() method

Adds a gift certificate item to an existing basket.

Signature:

postBasketsByIDGiftCertificateItems(basketId: string, body: GiftCertificateItem, options?: RequestOptions): Promise<PoqResponse<Basket>>;

Parameters

Parameter Type Description
basketId string the id of the basket to be modified
body GiftCertificateItem  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Basket>>