---
title: "Search all supplier's pickup bags"
method: POST
path: "/api/v{version}/pickup-bags/search"
tags: ["orders"]
---

# Search all supplier's pickup bags

`POST /api/v{version}/pickup-bags/search`

Search all supplier's pickup bags. Permissions requises : SupplierAdminRole, SupplierParcelsManagerRole.

## Path parameters

- `version` string, required

## Headers

- `X-Tenant` string, required

## Request body

- SearchSupplierPickupBagsRequest
  - `advancedSearch` Search
    - `fields` string[], nullable
    - `keyword` string, nullable
  - `keyword` string, nullable
  - `advancedFilter` Filter
    - `logic` string, nullable
    - `filters` Filter[], nullable
    - `field` string, nullable
    - `operator` string, nullable
    - `value` unknown
  - `pageSize` integer
  - `pageNumber` integer
  - `orderBy` string[], nullable
  - `onlyUnprocessed` boolean

## Response `200`

OK

- PagedListPickupBagResult
  - `items` PickupBagResult[], nullable
    - `id` string, uuid
    - `trackingNumber` string, nullable
    - `unprocessedParcelsCount` integer, nullable
    - `state` string, nullable
    - `supplier` PickupBagSupplierDto
      - `supplierName` string, nullable
      - `supplierCityTerritoryId` string, uuid
      - `supplierHubId` string, uuid
    - `driverId` string, uuid, nullable
    - `driver` DriverInfoDto
      - `id` string, uuid
      - `firstName` string, nullable
      - `lastName` string, nullable
    - `totalParcels` integer, nullable
    - `createdAt` string, date-time, nullable
  - `pageNumber` integer
  - `pageSize` integer
  - `totalCount` integer
  - `totalPages` integer
  - `hasPrevious` boolean
  - `hasNext` boolean

---

[API](https://skmtc.net/zrexpress/apis/zrexpress-api.md) · [All operations](https://skmtc.net/zrexpress/apis/zrexpress-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zrexpress/zrexpress-api/versions/99b075e0b641/schema)
