Validate cart

Validate a cart without creating anything. Use this to render a
"review your order" screen showing taxes and any platform-charged fees
the customer will pay, plus warn the customer about out‑of‑stock
items.

Caveats

  • The endpoint always returns 200 even when there are validation
    errors. Always inspect data.errors (top level) and
    data.lines[].error (per line)
    before continuing to POST /orders.
  • Numeric totals can drift by ±0.01 between two calls if the merchant
    changes prices in between. Always re-validate immediately before
    placing.
  • Disabled / removed products on the location are reported as
    Item not available and won't appear in data.lines. Their absence
    will appear in data.errors.
  • Validate is read-only — nothing is persisted on Ewity's side.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int64
required

The store / location to validate against.

string
enum

Defaults to the location's default if omitted.

Allowed:
lines
array of objects
required
length ≥ 1
lines*
fees
array of objects

Platform-charged fees you'll pass through (e.g. delivery fee). When
present, replaces any auto-applied location fees in the response.

fees
Responses

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