Cart Calculate v2

This endpoint takes a CartRequest, performs calculations and validations on it, and returns a signed version that can be submitted to the Checkout endpoint.
It is important to note that there are some options that may apply depending on your environment, corporate, venue or vendor configuration:

  • Calculate Fees: enable or disable fees calculation that comes from connect.
  • Calculate Reductions: enable or disable reductions calculation that comes from connect.
  • Calculate Taxes: enable or disable taxes calculation that comes from connect.
  • Calculate Modifier Items: enable or disable modifiers items calculation that comes from connect.
  • Calculate Payment Partner Integrations also know as PPI Discounts: enable or disable PPI Discounts calculation that is used by AX/IX to integrate Stored Values (SV) and Loaded Values (LV) payments easily.
  • Validate Prices: validate each item if the price is correct and if it belongs to the venue/vendor station
  • Validate Cart Totals: validate if calculated subtotal is what is expected, you can not use this along with (Fees, Reductions, Taxes, Modifiers or PPI Discounts)

Additional note: When passing in a cart, use tip_status_closed=false to force the tip status to be left open on cart checkout, allowing for a tip to be added in a subsequent tip adjustment endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
≥ 1

Identifier for a given venue (revenue center)

int64
required
≥ 1

Connect's vendor identifier inside for a given vendor (revenue center)

Body Params

Calculate Cart Request

Include cart items, associated payments, and the user with all discount codes that can be applied, also we can add use item modifiers and nested modifiers.

cart
object
required

Data object in which all item and calculation information for a given transaction is contained. This is used for carts where nested modifiers are present.

user
object

User properties that can be used in an order, such as discount codes.

Headers
string
enum
Defaults to application/com.appetize.oapi.cart.v2+json

Generated from available response content types

Allowed:
string
enum
Defaults to application/com.appetize.oapi.cart.v2+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/com.appetize.oapi.cart.v2+json
application/com.appetize.oapi.cart.v1+json
application/vnd.appetize+json;version=1
application/json