Skip to main content
GET
/
dashboard
/
api
/
v1
/
trade-items
/
{organization_id}
/
{gtin}
/
images
List product images
curl --request GET \
  --url https://www.closient.com/dashboard/api/v1/trade-items/{organization_id}/{gtin}/images \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "title": "<string>",
      "is_primary": true,
      "priority": 1,
      "created": "2023-11-07T05:31:56Z",
      "image_url": "https://cdn.closient.com/products/00012345678905/hero.jpg"
    }
  ],
  "pagination": {
    "page": 2,
    "page_size": 2,
    "total_count": 1,
    "total_pages": 2,
    "has_next": true,
    "has_previous": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.closient.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

organization_id
string<shortuuid>
required

UUID of the organization that owns the product.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
gtin
string
required

GTIN-8/12/13/14 of the target product. Normalized to GTIN-14 by zero-padding before lookup.

Pattern: ^\d{8,14}$

Query Parameters

page
integer
default:1

Page number (1-indexed).

Required range: x >= 1
page_size
integer
default:25

Number of items per page (max 100).

Required range: 1 <= x <= 100

Response

200 - application/json

OK

data
ProductImageOut · object[]
required

Items on the current page, each conforming to the endpoint's item schema. Empty when the result set is empty or page is past the end.

pagination
PaginationMeta · object
required

Pagination envelope describing position within the full result set.

Example:
{
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 25,
"total_count": 342,
"total_pages": 14
}