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

List special images

Returns a paginated list of special images. Use the query parameters to filter by image type or by the underlying product image, and to page and order the results.

get
/special_image/
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
image_typestring · enumOptional

The role a special image plays for its product. Each type is unique per product.

  • base — the product's primary/base image
  • swatch — a color or material swatch image
  • listing — the image used in product listings
  • picto — a pictogram / icon image
Possible values:
product_imageintegerOptional

Filter by the identifier of the underlying product image.

Responses
200

A paginated list of special images.

application/json

A paginated list of special images.

countintegerOptional

Total number of special images.

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/special_image/
GET /api/v1/remote/1/special_image/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 12,
      "product": 340,
      "product_image": 981,
      "image_type": "base"
    }
  ]
}

Last updated

Was this helpful?