Card Shipments
Remove card from draft
https://api.firstleeward.com/v0/card-shipments/:id/cards/:memberIdRemove a card from a shipment in DRAFT status. Removing the last remaining card is not allowed - delete the shipment instead.
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>requiredmemberIdstring<uuid>requiredResponse
200Card shipment resource
idstring<uuid>requiredUnique shipment identifier
statusstringrequiredShipment lifecycle status
DRAFTPLACEDIN_PRODUCTIONREADY_TO_SHIPIN_TRANSITOUT_FOR_DELIVERYDELIVEREDDELIVERY_FAILEDEXCEPTIONCANCELEDdestinationAddressobjectrequiredShipping address
Show child attributes
line1stringrequiredStreet address line 1
line2string | nullrequiredStreet address line 2
zonestring | nullrequiredState, province, or zone
citystringrequiredCity
postalCodestringrequiredPostal code
countrystringrequiredISO 3166-1 alpha-2 country code
recipientobjectrequiredRecipient details
Show child attributes
firstNamestringrequiredRecipient first name
lastNamestringrequiredRecipient last name
phoneNumberstringrequiredRecipient phone number
dialCodeintegerrequiredPhone dial code
emailstring<email>requiredRecipient email address
courierobjectrequiredCourier on the shipment
Show child attributes
Option 1 · Postal
typestringrequiredOption 2 · Courier
typestringrequirednamestringrequiredCourier name. May be manufacturer-assigned after submit.
DHLFEDEXSFEXPRESStrackingNumberstring | nullrequiredCourier tracking number
trackingUrlstring | nullrequiredCourier tracking URL
cutoffDatestring | nullrequiredISO 8601 cutoff date returned by the manufacturer
createdAtstringrequiredISO 8601 creation timestamp
updatedAtstringrequiredISO 8601 last update timestamp
submittedAtstring | nullrequiredISO 8601 timestamp when submitted to the manufacturer
deliveredAtstring | nullrequiredISO 8601 timestamp when all cards were delivered
400Card shipment must contain at least one card
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404Response for status 404
Option 1 · CardShipmentNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · CardShipmentMemberNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired409Shipment is no longer in DRAFT status
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired