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.
addressobjectrequiredWhere 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}$contactobjectrequirednamestringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$The person the courier asks for.
companystringlength ≤ 100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$phonestringrequiredlength 5–30With the country code (+40…); IDS adds the country's code to a national number.
emailstring (email)length ≤ 254placeTypestringrequiredone of: warehouse · office · store · residential · other
warehouse, office, store, residential (a home — some carriers do not collect there), other.
timezonestringrequiredlength 1–64The place's IANA time zone — its schedule is read in it.
scheduleobjectrequiredThe 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 ≤ 4fromstringrequiredtostringrequiredtue[]array of objectitems ≤ 4fromstringrequiredtostringrequiredwed[]array of objectitems ≤ 4fromstringrequiredtostringrequiredthu[]array of objectitems ≤ 4fromstringrequiredtostringrequiredfri[]array of objectitems ≤ 4fromstringrequiredtostringrequiredsat[]array of objectitems ≤ 4fromstringrequiredtostringrequiredsun[]array of objectitems ≤ 4fromstringrequiredtostringrequiredexceptions[]array of objectitems ≤ 400Dated 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 ≤ 4The working intervals of that day; [] — closed (a holiday, inventory, …).
fromstringrequiredtostringrequirednotestringlength ≤ 200pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]*$preparationMinutesintegerrequired≥ 0≤ 1440How 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.
observesPublicHolidaysbooleanClosed 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 2Where returns of parcels sent from here go: this place (default) or another place of yours (RET).
- to = thisobject
tostringrequiredone of: this
- to = locationobject
tostringrequiredone 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.
activebooleanfalse: no new booking may name it (default true).