Finalize checkout with applied promotions

Submit a cart to apply final promotion calculations and complete the checkout process.

Similar to /cart, the engine will:

  • Calculate applicable promotions
  • Apply relevant discounts to items
  • Return the adjusted cart with pricing breakdowns

Additionally, when submitting to the this endpoint, any promotion usage limits (if any) are enforced — meaning:

  • The promotions are applied and counted toward their application limits
  • The cart cannot be resubmitted with the same cartId

This endpoint can be used directly without first calling the /cart endpoint if you don't require prior simulation.

Body Params

Cart request

string
required

Unique identifier for the cart, used to track and recalculate promotions across multiple requests.

string
required

Identifier of the specific store where the cart originates.

string
required

Identifier for the group of the store where the cart originates.

string

Optional customer identifier.

string
enum
Defaults to biggestDiscount

Defines how promotions are selected when multiple apply. Currently supports selecting the promotion offering the biggest discount.

Allowed:
string
enum
Defaults to automatic

Method by which promotions are applied. Currently supports 'automatic', meaning that promotions are applied without manual intervention.

Allowed:
string
enum
required

Specifies the rounding strategy to apply on price calculations: standard mathematical rounding, always down (floor), or always up (ceiling).

Allowed:
integer
required
0 to 10
Defaults to 2

Number of decimal places to use in price and discount calculations.

string

Optional promo code to apply specific promotions tied to codes.

string
required
length ≤ 3

ISO currency code for monetary values in the cart.

cart
object
required
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json