Discussions
Request a Pickup - not available
over 2 years ago by Sharon Doron
I send the function "Get Available Pickup Slots"
Selects a pick-up slot and the "Request a Pickup" function returns that the selected date is not available.
Request Url:
https://api.easyship.com/pickup/v1/pickup_slots/3da5e847-c889-46c2-aaac-ec6d6f70f5c0
Response:
{
"courier_id": "3da5e847-c889-46c2-aaac-ec6d6f70f5c0",
"courier_name": "Aramex - Parcel",
"message": "This Courier provides a pickup service. The available time slots are shown in local time, for the coming 7 days.",
"pickup": {
"provider_name": "USPS",
"slots": {
"2022-08-24": [
{
"min_time": 8,
"max_time": 20
}
],
"2022-08-25": [
{
"min_time": 8,
"max_time": 20
}
],
"2022-08-26": [
{
"min_time": 8,
"max_time": 20
}
],
"2022-08-27": [
],
"2022-08-28": [
],
"2022-08-29": [
{
"min_time": 8,
"max_time": 20
}
],
"2022-08-30": [
{
"min_time": 8,
"max_time": 20
}
],
"2022-08-31": [
{
"min_time": 8,
"max_time": 20
}
]
}
}
}