| Field | Value |
|---|---|
| Type URI | https://developer-next.ingrid.com/ingrid-api/errors/delivery/offer-mismatch |
| Title | Offer Mismatch |
| Recommended Status | 422 Unprocessable Entity |
The offer-mismatch error is returned when creating an order with a token whose offer hash does not match the submitted request. This means the fulfillmentGroups or destination sent to POST /v1/delivery/orders differ from what was originally sent to POST /v1/delivery/options when the token was generated.
- The shopping cart contents changed after delivery options were fetched (items added, removed, or quantities changed)
- The fulfillment group structure was modified (e.g., different SKUs, quantities, or group references)
- The destination postal code or country code was altered between fetching options and creating the order
- Re-fetch delivery options by calling
POST /v1/delivery/optionswith the current cart and destination - Present the updated delivery options to the customer
- Retry order creation with the fresh token from the new options response
{
"type": "https://developer-next.ingrid.com/ingrid-api/errors/delivery/offer-mismatch",
"title": "Offer Mismatch",
"status": 422,
"detail": "The submitted fulfillment groups or destination do not match the offer encoded in the token. Please re-fetch delivery options and retry.",
"trace_id": "abc-123-def-456"
}