Retrieve pricing information for a cart (prices, discounts, taxes, etc.)
totalPrice
credits[].description: credits[].amountUsed
discounts[].description: discounts[].amountUsed
adjustments[].description: adjustments[].amount
taxes[].description: taxes[].amount
Total: customerGrandTotal
Screenshot from our backend app:

The key assigned to your company and provided via Meadow
The key generated and provided by our mutual client
The type of the order
delivery, pickup An array of products to buy
The customer for this order. This object is optional, but if provided, must have a firstName, lastName and either an email or phone.
The postal code for this order. This will take into account an organization’s order minimums
A fee that will be passed through and added onto the customerGrandTotal
A passthrough title for the delivery fee
Order cart pricing response
The line items of this cart
The subtotal price before discounts, credits, adjustments are taken into account.
The final price of the order before payment & delivery fees.
The cost of the order that the customer will pay
An array of order level discounts
An array of credits applied. May be store credit or promo codes attached to the customers account.
An array of adjustments made to the order. May be a tax exemption or other future Meadow POS behavior.
All of the taxes that will be applied if an order is placed with this cart
The order minimum for this dispensary and postal code
Whether this cart has met the order minimum or not
A string that should be used when creating an order to ensure idempotency and avoid double orders due to server miscommunication.