cartjs icon indicating copy to clipboard operation
cartjs copied to clipboard

Unable to update line item properties.

Open gavinballard opened this issue 8 years ago • 1 comments

Our documentation currently suggests that you could use updateItem or updateItemById to change the line item properties of an existing line item, but that's not actually possible with the Shopify Ajax API.

We need to update the documentation to reflect this and suggest the workaround of removing the line item, then re-adding it.

gavinballard avatar Jul 06 '16 06:07 gavinballard

My experience here is that updateItem will work with a properties parameter, but updateItemById does not. Also, it will overwrite existing line item properties.

austinhutchison avatar May 15 '18 15:05 austinhutchison