Poq.SDK.Node

Home > @poq/sdk-sfcc > ICustomersClient > patchCustomersByIDProductListsByIDItemsByID

ICustomersClient.patchCustomersByIDProductListsByIDItemsByID() method

Updates an item of a customers product list. Considered values from the request body are: priority: This is the priority of the customers product list item. public: This is the flag whether the customers product list item is public. quantity: used for product item type only. This is the quantity of the customers product list item. custom properties in the form c_<CUSTOM_NAME>: the custom property must correspond to a custom attribute (<CUSTOM_NAME>) defined for ProductListItem. The value of this property must be valid for the type of custom attribute defined for ProductListItem.

Signature:

patchCustomersByIDProductListsByIDItemsByID(customerId: string, listId: string, itemId: string, body: CustomerProductListItem, options?: RequestOptions): Promise<PoqResponse<CustomerProductListItem>>;

Parameters

Parameter Type Description
customerId string The id of the owner of the product list.
listId string The id of the product list.
itemId string The id of the product list item to update.
body CustomerProductListItem  
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<CustomerProductListItem>>