Documentation

Pickup Schedule

We provide two shipping methods, namely pickup and drop-off. If you are interested in using our pickup service, then read this documentation for a good implementation

POST
Information

If your company prefers a fixed daily pickup process, you can set custom pickup hours and skip this endpoint.

You can use your own working-hours pickup schedule, as long as pickup is requested before 16:00 (4:00 PM) local time.

Response

{
  "status": true,
  "method": "schedules",
  "text": "Success",
  "schedules": [
    {
      "clock": "2021-02-15 14:00:00",
      "until": "16:00",
      "expired": 1613385000,
      "libur": false
    },
    {
      "clock": "2021-02-16 08:00:00",
      "until": "11:00",
      "expired": 1613457000,
      "libur": false
    }
  ]
}
ParamDataTypeRemark
statusBooleanRequest result status
methodStringAPI method name (schedules)
textStringResponse message
schedulesArray of ObjectAvailable pickup schedule windows

Schedules Object

ParamDataTypeRemark
clockStringPickup start datetime in local timezone (YYYY-MM-DD HH:mm:ss)
untilStringPickup window end time (HH:mm)
expiredIntegerUnix timestamp when this schedule option expires
liburBooleanHoliday flag (true means holiday / not available for regular pickup)