PickupRequest
Fields
idstring (uuid)requiredstatusstringrequiredone of: planned · requesting · confirmed · failed · outcome_unknown · missed · picked_up · cancelled · dropped_off
planned — IDS asks the carrier on bookAfter (the carrier books that day only later); requesting — being asked (or retried after a temporary failure); confirmed — the carrier's confirmationCode; failed — refused, no window, retries exhausted; outcome_unknown — the carrier's answer was lost (IDS checks before asking again); missed — confirmed, the courier did not come; picked_up; cancelled; dropped_off — the seller handed the parcels in (an exception IDS agreed).
scheduledBystringrequiredone of: ids · booking
ids — IDS scheduled it (a pickup place, or the booking's own window); booking — a pickup made with the booking before PCK.
carrierstringrequiredThe carrier's pickup code (FDXE; SIMULATED for a test key).
datestringrequiredYYYY-MM-DD, the pickup day in the place's time zone.
windowobjectrequirednullableThe window asked of the carrier: from readyTime (the parcels ready) to closeTime (the latest the courier may come); null — none found.
readyTimestringrequiredpattern ^\d{2}:\d{2}$HH:mm in the place's time zone.
closeTimestringrequiredpattern ^\d{2}:\d{2}$HH:mm in the place's time zone.
timezonestringrequiredbookAfterstring (date-time)requirednullableplanned only: when IDS asks the carrier (never shown as confirmed before).
confirmationCodestringrequirednullablerequestedAtstring (date-time)requirednullableconfirmedAtstring (date-time)requirednullablepickedUpAtstring (date-time)requirednullableshipmentCountintegerrequirednullable≥ 0Shipments waiting for this pickup (yours and the place's other ones of the day).
packageCountintegerrequired≥ 0attemptsintegerrequired≥ 0locationobjectrequirednullableexternalIdstringrequirednamestringrequiredalerts[]array of objectrequiredWhat the carrier said with its confirmation (e.g. PICKUP.SCHEDULE.LATE).
codestringrequiredalertTypestringrequiredmessagestringrequiredproblemobjectrequirednullableAn open problem IDS handles (refused, no_window, window_missed, outcome_unknown, booking_failed, carrier_alert, courier_missed).
kindstringrequiredopenedAtstring (date-time)required