Discussions

Ask a Question
Back to All

Not Allowed to book timeslot for courier

I am trying to use this endpoint https://api.easyship.com/2023-01/pickups

Before calling this, I first get the courier's available pickup slots using https://api.easyship.com/2023-01/couriers/{courier_id}/pickup_slots (My courier ID is 64b5d8b2-4c60-4faf-bf1b-9f7b1b7ca1c8)

However, the "pickups" endpoint then states that the slot I have selected can no longer be booked. So why does it appear it appear in the list!?

Also, the same timeslot is available when I book the pickup manually (which suggests that the api endpoint is returning incorrect information - is it using the correct time - i.e. Hong Kong?)