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": "f9bcbeea-fef1-444e-9af7-b84db1cec1fd",
      "object": "product_media",
      "alt": null,
      "position": 0,
      "title": null,
      "url": null,
      "media": "e8ecfc62-68b1-45dc-a25a-76ec087f1ffe",
      "product": "83912ab2-b150-414b-beb7-f85ac5e64b4b",
      "created_at": 1773903570,
      "updated_at": 1773903570
    }
  ]
}

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.