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

Retrieve a product image

Returns a single product image by its identifier.

get
/product_image/{id}/
Authorizations
AuthorizationstringRequired

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

Path parameters
idintegerRequired

The unique identifier of the product image.

Responses
200

The requested product image.

application/json

An image attached to a product, together with its display order and stored dimensions.

pkintegerRequired

Unique identifier of the product image.

Example: 55
productintegerRequired

Identifier of the product the image belongs to.

Example: 1024
imagestringRequired

Path of the stored image file within the platform's media storage. Generated by the platform when the file content is sent in image, or the value supplied in image_path when an already stored file is referenced.

Example: products/2026/01/15/1024/6f1c2a48-9b3e-4d17-8f2a-0c5d7e9a1b34.jpg
orderintegerRequired

Position of the image within the product's gallery. Lower values are shown first.

Example: 0
heightinteger · nullableRequired

Height of the image in pixels. null when the record was created by sending the file content in image, or when no dimension was ever recorded for it.

Example: 1200
widthinteger · nullableRequired

Width of the image in pixels. null when the record was created by sending the file content in image, or when no dimension was ever recorded for it.

Example: 800
get/product_image/{id}/
GET /api/v1/remote/1/product_image/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 55,
  "product": 1024,
  "image": "products/2026/01/15/1024/6f1c2a48-9b3e-4d17-8f2a-0c5d7e9a1b34.jpg",
  "order": 0,
  "height": 1200,
  "width": 800
}

Last updated

Was this helpful?