---
title: "Get all suppliers with details for a specific partner."
method: GET
path: "/suppliers"
tags: ["Supplier"]
---

# Get all suppliers with details for a specific partner.

`GET /suppliers`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/suppliers`
- Auth: OAuth 2
  - Authorization code: `https://localhost/oauth2/authorize`
  - Token URL: `https://localhost/oauth2/authorize`

Get all suppliers with details for a specific partner.

## Query parameters

- `page` integer
- `pageSize` integer

## Response `200`

Successful response

- SuppliersPage
  - `meta` Page
    - `totalItems` integer
    - `totalPages` integer
    - `page` integer
    - `size` integer
  - `suppliers` Supplier[]
    - `id` string: Supplier id in the GrubTech platform
    - `createdAt` string, date-time: Supplier created date and time in the GrubTech platform
    - `companyName` string: Supplier's company name
    - `contactInfo` Contact: Contact information in the GrubTech platform
      - `name` string: Name of the contact
      - `email` string: Email address of the contact
      - `telphone` ContactTelephone: Telephone number information.
        - `countryCode` string: Country code of the telephone number.
        - `number` string: Telephone number without country code.
      - `address` string: Address of the contact.
    - `suppliedItemList` CatalogItem[]: List of supplied items.
      - `sku` string: Stock keeping units(IDs) in thrid party inventory platform
      - `id` string: Catalog item id in GrubTech platform
      - `name` string: Catalog item name
      - `type` string: Catalog item type

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/grubtech/apis/inventory-service.md) - [All operations](https://skmtc.dev/grubtech/apis/inventory-service/llms.txt) - [OpenAPI document](https://skmtc.dev/grubtech/apis/inventory-service/revisions/8e275e5431a4?raw)
