Poq.SDK.Node

Home > @poq/sdk-sfcc > BasketsClient > patchBasketsByIDGiftCertificateItemsByID

BasketsClient.patchBasketsByIDGiftCertificateItemsByID() method

Updates a gift certificate item of an existing basket.

Signature:

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

Parameters

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

Returns:

Promise<PoqResponse<Basket>>