---
title: "Products Media list."
method: GET
path: "/rest/api/warehouse/product/media/"
tags: ["Warehouse"]
---

# Products Media list.

`GET /rest/api/warehouse/product/media/`

List of Product media

## Query parameters

- `onlyMain` boolean
- `productIds[]` integer[]
- `offset` integer — Position indicator (0-beginning, 1-skips one record, 256 - skips 256 records)
- `limit` integer — Limit of returned results, max 512 records

## Response `200`

Product media list

- object — This object represents list response.
  - `media` RestProductAttributeAttachmentItemDTO[]
    - `id` integer — Internal Attachment id
    - `isMain` boolean — Main attachment
    - `productId` integer — Internal product id
    - `uuid` string — UUID of media
    - `extension` string — Extension of media
    - `link` string — Link to Media
  - `totalCount` integer — Number of matching results
  - `currentOffset` integer — Current list offset
  - `pageResultCount` integer — Number of results per page

## Other responses

- `401` — Authorization failed
- `422` — Validation error

---

[API](https://skmtc.dev/apilo/apis/apilo-rest-api.md) · [All operations](https://skmtc.dev/apilo/apis/apilo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apilo/apilo-rest-api/revisions/a0f9dcdba6cc/schema)
