Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

get
/attribute_based_shipping_options/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
pkintegerOptional

Filter by the exact identifier of an attribute based shipping option.

pk__instringOptional

Filter by a comma-separated list of identifiers. Returns only records whose identifier is in the list.

Example: 1,2,3
namestringOptional

Filter 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.

shipping_optionintegerOptional

Filter by the identifier of the linked shipping option.

is_activebooleanOptional

Filter by active status.

sort_orderintegerOptional

Filter by exact sort order value.

created_datestring · date-timeOptional

Filter by the exact creation timestamp.

modified_datestring · date-timeOptional

Filter by the exact last-modification timestamp.

Responses
200

A page of attribute based shipping options.

application/json

A paginated list of attribute based shipping options.

countintegerOptional

Total number of attribute based shipping options matching the query.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/attribute_based_shipping_options/
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?