---
title: "List order items"
method: GET
path: "/api/v1/sa/inventory/purchase-order-items"
tags: ["Purchase Orders"]
---

# List order items

`GET /api/v1/sa/inventory/purchase-order-items`

## Request

- Base URL: `https://app.sellerassistant.app` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sellerassistant.app/api/v1/sa/inventory/purchase-order-items`
- Auth: one of:
  - API key in query parameter `api_key`
  - API key in header `X-Api-Key`

Lists the items of all purchase orders of the team. Filter by `purchase_order_id` to get the items of one order.

## Query parameters

- `filter[purchase_order_id][eq]` integer
- `search` string
- `sort` string
- `page` integer
- `per_page` integer

## Response `200`

One page of the items

- object
  - `data` PurchaseOrderItem[]
    - `id` integer
    - `purchase_order_id` integer
    - `internal_product_id` string, nullable: The inventory product the line points at. It is the same id the matches and the history of a product use.
    - `title` string, nullable
    - `image_url` string, nullable
    - `asin` string, nullable
    - `upc` string, nullable
    - `ean` string, nullable
    - `sku` string, nullable
    - `identifier` string, nullable
    - `unit_cost` number, float, nullable: Null means not known, which is not the same as zero.
    - `unit_count` integer
    - `total_cost` number, float, nullable
    - `selling_price` number, float, nullable
    - `profit_fba` number, float, nullable
    - `profit_marketplace_id` string, nullable
    - `profit_calculated_at` string, date-time, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
  - `meta` object
    - `pagination` ApiV1Pagination: The page the answer carries. Every list of the v1 answers it under `meta`.
      - `page` integer: The schemas every endpoint of the public API v1 shares. The envelope is the same on every endpoint, so it lives here once. An endpoint points at it with a `$ref`, and the generated collection stays small and consistent. The parameters live in ApiV1Parameters, not here. swagger-php drops the class level `OA\Schema` attributes of a class that also carries a class level `OA\Parameter`, so the two kinds need two classes. This class holds no code. swagger-php reads the attributes, and nothing calls it.
      - `per_page` integer
      - `total` integer
      - `last_page` integer
    - `trial_limit` ApiV1TrialLimit: Present only on trial, when the trial hides rows of the list. The trial shows the first rows of a list, and the pagination counts only these rows.
      - `max_rows` integer: The number of rows that the trial shows.
      - `total` integer, nullable: The true number of rows in the list. It is null for a list that does not count its rows.
      - `code` string
      - `message` string
      - `subscribe_url` string, uri

## Other responses

- `400`: Bad request - validation failed or invalid parameters
- `403`: Access denied - insufficient permissions, invalid API key, or the API request limit is used up (`public_api_key_limit`)
- `429`: Too many requests - rate limit exceeded

---

[API](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api.md) · [All operations](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sellerassistant/apis/seller-assistant-public-api/revisions/5b3ecdbcadb6?raw)
