Home > @poq/sdk-sfcc > CustomersClient > patchCustomersByIDProductListsByIDItemsByID
Updates an item of a customer’s product list. Considered values from the request body are: priority: This is the priority of the customer’s product list item. public: This is the flag whether the customer’s product list item is public. quantity: used for product item type only. This is the quantity of the customer’s 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>>;
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>>