Validate order
POST/order/validate
Validates a cart before order placement. Returns pricing breakdown (subtotal, taxes, fees, total) and any validation errors.
Always validate before placing an order to:
- Get accurate pricing including taxes and fees
- Check item availability (items may become unavailable)
- Verify store can fulfill the order
- Catch modifier/quantity issues
The response includes a validatedOrderToken that must be passed to the place order endpoint.
Request
Responses
- 200
- 400
Order validation result
Validation failed - see errors array for details