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": "6c163891-0466-4b7a-89cb-467f3e11ff6b",
      "object": "product_media",
      "alt": null,
      "position": 0,
      "title": null,
      "url": null,
      "media": "81cd8986-d463-4c67-b604-679b76f45d76",
      "product": "97b4fd92-0f8c-4653-a532-f5a477218a9a",
      "created_at": 1771429886,
      "updated_at": 1771429886
    }
  ]
}

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.