Shippings
Unique identifier of the data source
1Successfully retrieved shipping options. Returns an empty array if the data source does not exist or has no active shipping options.
Shipping option available for a specific data source
Unique identifier for the shipping option
123Display name of the shipping option
Standard DeliveryUnique identifier of the associated data source
1Optional description providing additional details about the shipping option
Standard shipping option for this data sourceGET /shippings/data-source-shipping-options/{data_source_id} HTTP/1.1
Host: sandbox.akinon.com
Accept: */*
Successfully retrieved shipping options. Returns an empty array if the data source does not exist or has no active shipping options.
[
{
"pk": 123,
"name": "Standard Delivery",
"data_source": 1,
"description": "Standard shipping option for this data source"
},
{
"pk": 124,
"name": "Express Delivery",
"data_source": 1,
"description": "Fast shipping option with expedited handling"
}
]Session cookie header (e.g. sessionid=abc123 or osessionid=abc123)
sessionid=abc123def456CSRF token for request validation
csrftoken1234567890abcdefRequest payload for retrieving available appointment dates
Unique identifier of the shipping company to use for the return. Must be an active easy return shipping company configured for user-selected appointments.
5Unique identifier of the pickup address. Must be an active customer address belonging to the authenticated user.
42Start date of the date range to search for available appointments. Must be today or a future date.
2024-03-27End date of the date range to search for available appointments. Must be after the start date and must be today or a future date.
2024-04-10Successfully retrieved appointment dates
Available appointment date with time slots
The appointment date
2024-03-27Bad request
Unauthorized
Forbidden
Too many requests
POST /shippings/easy-return-appointment-dates HTTP/1.1
Host: sandbox.akinon.com
Cookie: sessionid=abc123def456
X-CSRFToken: csrftoken1234567890abcdef
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"shipping_company": 5,
"pickup_address": 42,
"start_datetime": "2024-03-27",
"end_datetime": "2024-04-10"
}[
{
"date": "2024-03-27",
"hour_ranges": [
{
"start": "09:00",
"end": "13:00"
},
{
"start": "13:00",
"end": "18:00"
},
{
"start": "18:00",
"end": "23:00"
}
]
},
{
"date": "2024-03-28",
"hour_ranges": [
{
"start": "09:00",
"end": "23:00"
}
]
}
]Last updated
Was this helpful?

