API reference › Schemas

PickupRequest

Fields

  • idstring (uuid)required
  • statusstringrequired

    one 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).

  • scheduledBystringrequired

    one 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.

  • carrierstringrequired

    The carrier's pickup code (FDXE; SIMULATED for a test key).

  • datestringrequired

    YYYY-MM-DD, the pickup day in the place's time zone.

  • windowobjectrequirednullable

    The 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.

  • timezonestringrequired
  • bookAfterstring (date-time)requirednullable

    planned only: when IDS asks the carrier (never shown as confirmed before).

  • confirmationCodestringrequirednullable
  • requestedAtstring (date-time)requirednullable
  • confirmedAtstring (date-time)requirednullable
  • pickedUpAtstring (date-time)requirednullable
  • shipmentCountintegerrequirednullable≥ 0

    Shipments waiting for this pickup (yours and the place's other ones of the day).

  • packageCountintegerrequired≥ 0
  • attemptsintegerrequired≥ 0
  • locationobjectrequirednullable
  • externalIdstringrequired
  • namestringrequired
  • alerts[]array of objectrequired

    What the carrier said with its confirmation (e.g. PICKUP.SCHEDULE.LATE).

  • codestringrequired
  • alertTypestringrequired
  • messagestringrequired
  • problemobjectrequirednullable

    An open problem IDS handles (refused, no_window, window_missed, outcome_unknown, booking_failed, carrier_alert, courier_missed).

  • kindstringrequired
  • openedAtstring (date-time)required