adjustments to cart api