---
title: "Get product details"
method: POST
path: "/api/v{version}/products/{id}"
tags: ["catalog"]
---

# Get product details

`POST /api/v{version}/products/{id}`

Get the details of a product by its ID. Permissions requises : tous les SupplierRoles.

## Path parameters

- `version` string, required
- `id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- GetProductRequest
  - `id` string, uuid
  - `includeReceipts` boolean
  - `includeStockMovement` boolean
  - `includeWarehouseStock` boolean

## Response `200`

OK

- GetProductResponse
  - `id` string, uuid
  - `name` string, nullable
  - `sku` string, nullable
  - `category` CategoryResponse
    - `id` string, uuid
    - `name` string, nullable
    - `subCategories` SubCategoryResponse[], nullable
      - `id` string, uuid
      - `name` string, nullable
  - `subCategory` SubCategoryResponse
    - `id` string, uuid
    - `name` string, nullable
  - `price` PriceResponse
    - `base` number, double
    - `promotional` number, double, nullable
    - `promotionStart` string, date-time, nullable
    - `promotionEnd` string, date-time, nullable
  - `purchasePrice` number, double, nullable
  - `dimensions` DimensionsResponse
    - `length` number, double, nullable
    - `width` number, double, nullable
    - `height` number, double, nullable
  - `localStock` integer
  - `warehouseStocks` WarehouseStockResponse[], nullable
    - `damageQuantity` integer
    - `availableQuantity` integer
    - `pendingReceptionQuantity` integer
    - `withdrawalQuantity` integer
    - `underDeliveryQuantity` integer
    - `deliveredQuantity` integer
    - `hubId` string, uuid, nullable
    - `hubName` string, nullable
  - `weight` number, double, nullable
  - `variants` VariantResponse[], nullable
    - `id` string, uuid
    - `color` string, nullable
    - `stockQuantity` integer
    - `price` PriceResponse
      - `base` number, double
      - `promotional` number, double, nullable
      - `promotionStart` string, date-time, nullable
      - `promotionEnd` string, date-time, nullable
  - `stockMovements` StockMovementResponse[], nullable
    - `id` string, uuid
    - `type` string, nullable
    - `quantity` integer
    - `productInfo` ProductInfoResponse
      - `name` string, nullable
      - `price` number, double
    - `receipt` ReceiptResponse
      - `id` string, uuid
      - `type` string, nullable
      - `totalProducts` integer
      - `referenceId` string, nullable

---

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