How to update Shopper Input using store APIs?
Unable to update shopper input using addItemsToCart and updateCartItem actions
We are working on implementing a per-line item shipping address. For this, I'm using a custom shopper input WAT_shippingAddress. When the user selects one of the addresses listed beside the line item, I call 'updateCartItems' action with this added to payload:
However, I was getting an error:
Shopper input: WAT_shippingAddress, does not belong to watRod.
I tried setting the shopper input on adding the item to cart, by appending the same into payload of 'addItemsToCart' action. However, I am getting the same error. I verified and made sure the shopper input defined via ccadmin/v1/shopperInputs/WAT_shippingAddress.