Retrieve an easy return shipping company
Returns a single easy return shipping company by its identifier, including its stored credentials and rules.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the easy return shipping company.
The requested easy return shipping company.
An easy return shipping company returned by the API.
Unique identifier of the easy return shipping company.
Whether the carrier is offered for return collection. Deactivated records are retained and still listed.
trueNumber of days after a return code is issued before its collection window opens. 0 means the code is valid immediately.
0Example: 0Number of days the collection window stays open, counted from its start.
14Example: 14Prefix added to the return codes issued for this carrier. May be an empty string.
RETName used to tell records of the same carrier apart. May be an empty string.
UPS — Oversized ItemsAuthentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested easy return shipping company does not exist.
GET /api/v1/remote/1/easy_return_shipping_companies/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"shipping_company": {
"value": "ups",
"label": "UPS"
},
"auth": {
"url": "https://carrier.example.com/service",
"customer_code": "123456",
"username": "akinon",
"password": "secret"
},
"is_active": true,
"start_date_gap": 0,
"duration": 14,
"prefix": "RET",
"rules": {
"package_rule": "product",
"product": {
"field_key": "attributes__size",
"field_values": [
[
"XL",
"L"
]
]
},
"max_count": 5
},
"name": "UPS — Oversized Items"
}Last updated
Was this helpful?

