Adds a product variant to the cart with automatic shipment grouping based on fulfillment requirements
add_to_cart_ref object directly from catalog API responsesstaging.luma.gift)true, clears the cart before adding the new itemvariant_id (string, required): Product variant identifierproduct_id (string, optional): Parent product identifiervariant_handles (array, optional): Array of variant configuration handles (e.g., ["color:blue", "size:large"])add_to_cart_ref object should be passed directly from catalog API responses:
400 Bad Request
404 Not Found
409 Conflict
422 Unprocessable Entity