List attribute based shipping options
Returns a paginated list of attribute based shipping options, including inactive ones. Each entry contains the rule and calculator stored on the record together with the linked shipping option as a nested object.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by the exact identifier of an attribute based shipping option.
Filter by a comma-separated list of identifiers. Returns only records whose identifier is in the list.
1,2,3Filter by name. Case-insensitive partial match. Send NULL_VALUE to return only records without a name, or NOT_NULL_VALUE to return only records that have one.
Filter by the identifier of the linked shipping option.
Filter by active status.
Filter by exact sort order value.
Filter by the exact creation timestamp.
Filter by the exact last-modification timestamp.
A page of attribute based shipping options.
A paginated list of attribute based shipping options.
Total number of attribute based shipping options matching the query.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
GET /api/v1/remote/1/attribute_based_shipping_options/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 12,
"name": "Vendor A — Standard",
"is_active": true,
"calculator": {
"slug": "fixed-price-calculator",
"fixed_price": "14.99"
},
"rule": {
"slug": "any-rule",
"name": "Any Rule"
},
"sort_order": 0,
"shipping_option": {
"pk": 4,
"name": "Vendor Standard Shipping",
"slug": "vendor-standard-shipping",
"is_active": true,
"sort_order": 0,
"description": null,
"kwargs": {
"required_fields": []
},
"delivery_type": {
"value": "standard",
"label": "Standard Delivery"
}
}
}
]
}Last updated
Was this helpful?

