API reference › Schemas

PickupLocationRequest

Fields

  • namestringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$

    The place's name as people know it (shown to the admin; not on the label).

  • sellerExternalIdstringlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$

    A platform's key only: the seller the place belongs to, as the platform knows them — an opaque code.

  • addressobjectrequired

    Where the courier comes. IDS keeps it as the carrier will get it (Latin letters; GET answers both).

  • line1stringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$
  • line2stringlength ≤ 100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$
  • line3stringlength ≤ 100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$
  • citystringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$
  • stateCodestringlength ≤ 20pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$
  • postalCodestringrequiredlength 1–20pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$
  • countryCodestringrequiredpattern ^[A-Za-z]{2}$
  • contactobjectrequired
  • namestringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$

    The person the courier asks for.

  • companystringlength ≤ 100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$
  • phonestringrequiredlength 5–30

    With the country code (+40…); IDS adds the country's code to a national number.

  • emailstring (email)length ≤ 254
  • placeTypestringrequired

    one of: warehouse · office · store · residential · other

    warehouse, office, store, residential (a home — some carriers do not collect there), other.

  • timezonestringrequiredlength 1–64

    The place's IANA time zone — its schedule is read in it.

  • scheduleobjectrequired

    The working intervals of each weekday in the place's own time (mon … sun); a day left out or [] is closed. Up to 4 intervals a day.

  • mon[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • tue[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • wed[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • thu[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • fri[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • sat[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • sun[]array of objectitems ≤ 4
  • fromstringrequired
  • tostringrequired
  • exceptions[]array of objectitems ≤ 400

    Dated exceptions (holidays of the place, special hours) — they win over the week and over the country's public holidays.

  • datestringrequiredpattern ^\d{4}-\d{2}-\d{2}$
  • intervals[]array of objectrequireditems ≤ 4

    The working intervals of that day; [] — closed (a holiday, inventory, …).

  • fromstringrequired
  • tostringrequired
  • notestringlength ≤ 200pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$
  • preparationMinutesintegerrequired≥ 0≤ 1440

    How long, in the place's working time, from the paid order to parcels ready to hand over. At most one working day: the readiness never ends later than the same time of the next working day of the place.

  • observesPublicHolidaysboolean

    Closed on the public holidays of its country (default true); an exception opens such a day.

  • instructionsstringlength ≤ 200pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$

    For the courier (where to ring, which gate) — sent with the pickup.

  • returnsone of 2

    Where returns of parcels sent from here go: this place (default) or another place of yours (RET).

  • to = thisobject
  • tostringrequired

    one of: this

  • to = locationobject
  • tostringrequired

    one of: location

  • locationExternalIdstringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$

    Your own id of the place (1–100 characters), unique per account and environment.

  • activeboolean

    false: no new booking may name it (default true).