I was trying to use createCart to create a cart. It can return all the data I need, but the quantity is always 0.
Make sure the item has inventory in the store, otherwise this is what it does.