Simulation
Simulate shipment status
POST
https://api.firstleeward.com/v0/simulation/card-shipments/:id/statusSimulates a card shipment status change in sandbox. Drives production and shipping progress for a submitted shipment. Returns 204; observe the change via CARD_SHIPMENT_STATUS_UPDATED.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Path Parameters
idstring<uuid>requiredBody
application/json
statusstringrequiredTarget shipment status to simulate
Available options:
IN_PRODUCTIONREADY_TO_SHIPIN_TRANSITOUT_FOR_DELIVERYDELIVEREDDELIVERY_FAILEDEXCEPTIONCANCELEDResponse
204Response for status 204
400The resource is not in a valid state for the requested simulation
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404Card shipment not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired