Skip to main content
GET
/
v1
/
product_medias
List
curl --request GET \
  --url https://{defaultHost}/v1/product_medias \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/product_medias"
  },
  "data": [
    {
      "id": "44673c50-3c5c-44ec-a833-6a21772888ed",
      "object": "product_media",
      "alt": null,
      "position": 0,
      "title": null,
      "url": null,
      "media": "f0e38e05-8292-4867-9259-8eafd0f6272d",
      "product": "f1ee01c4-d8d5-4aff-b591-e54df53db1a9",
      "created_at": 1767909737,
      "updated_at": 1767909737
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

page
integer

The page of items you want returned.

product_ids[]
string[]

Only return objects that belong to the given products.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.