---
title: "gets supplier item by id"
method: POST
path: "/api/v{version}/supplier/{supplierId}"
tags: ["supplier"]
---

# gets supplier item by id

`POST /api/v{version}/supplier/{supplierId}`

gets supplier item by id. Permissions requises : GlobalAdminRole, GlobalViewerRole, HubAdminRole, HubSuppliersManagerRole, et tous les SupplierRoles.

## Path parameters

- `version` string, required
- `supplierId` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- GetSupplierRequest
  - `supplierId` string, uuid
  - `includeServices` boolean
  - `includeTerritories` boolean

## Response `200`

OK

- GetSupplierResponse
  - `id` string, uuid
  - `name` string, nullable
  - `codeName` string, nullable
  - `type` string, nullable
  - `assignedPriceListId` string, uuid, nullable
  - `hubName` string, nullable
  - `address` AddressDto
    - `street` string, nullable
    - `city` string, nullable
    - `cityTerritoryId` string, uuid
    - `district` string, nullable
    - `districtTerritoryId` string, uuid
    - `postalCode` string, nullable
    - `country` string, nullable
    - `coordinates` Coordinates
      - `lat` number, double, nullable
      - `lng` number, double, nullable
  - `phone` PhoneDto
    - `number1` string, nullable
    - `number2` string, nullable
    - `number3` string, nullable
  - `supportPhone` PhoneDto
    - `number1` string, nullable
    - `number2` string, nullable
    - `number3` string, nullable
  - `legalInformation` SupplierLegalInformationDto
    - `rc` string, nullable
    - `nif` string, nullable
    - `ai` string, nullable
    - `nis` string, nullable
  - `owner` GetSupplierOwnerDto
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `email` string, nullable
  - `paymentDays` string[], nullable
  - `certificationCode` string, nullable
  - `services` SupplierServiceDto[], nullable
    - `id` string, uuid
    - `type` string, nullable
  - `territories` TerritoryResponse[], nullable
    - `id` string, uuid
    - `code` integer
    - `name` string, nullable
    - `postalCode` string, nullable
    - `level` string, nullable
    - `parentId` string, uuid, nullable
    - `delivery` DeliveryCapability
      - `hasHomeDelivery` boolean
      - `hasPickupPoint` 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/revisions/99b075e0b641/schema)
