ShipmentPickup
Used by
Fields
shipmentIdstring (uuid)requiredstatestringrequiredone of: label_created · pickup_requested · pickup_confirmed · pickup_not_assigned · picked_up · pickup_cancelled · dropped_off
label_created (no pickup asked), pickup_requested (IDS is asking, or will when the carrier books that day — not confirmed), pickup_confirmed, pickup_not_assigned (refused, no window, retries exhausted, the courier did not come), picked_up (the carrier's scan), pickup_cancelled, dropped_off.
readyAtstring (date-time)requirednullableWhen the parcels are ready — from the payment, the place's hours, holidays and preparation time; apart from the pickup window.
locationobjectrequirednullableThe pickup place as it was at booking.
externalIdstringrequirednamestringrequiredrequestobjectrequirednullableidstring (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)requirederrorstringrequirednullableWhat IDS handles, in a sentence (never the carrier's own words).