---
title: "Update products of an parcel"
method: PATCH
path: "/api/v{version}/parcels/{parcelId}/products"
tags: ["orders"]
---

# Update products of an parcel

`PATCH /api/v{version}/parcels/{parcelId}/products`

Update products of an parcel. The `StockType` parameter indicates the type of stock and accepts 'local' or 'warehouse'. Defaults to 'local' if not specified. Permissions requises : SupplierAdminRole, SupplierParcelsManagerRole.

## Path parameters

- `version` string, required
- `parcelId` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- UpdateOrderedProductsRequest
  - `parcelId` string, uuid
  - `orderedProducts` OrderedProductDto[], nullable
    - `productId` string, uuid
    - `productName` string, nullable
    - `productSku` string, nullable
    - `unitPrice` number, double
    - `quantity` integer
    - `length` number, double
    - `width` number, double
    - `height` number, double
    - `weight` number, double, nullable
    - `stockType` string, nullable
  - `amount` number, double, nullable
  - `description` string, nullable
  - `hubStockId` string, uuid, nullable

## Response `202`

Accepted

- UpdateOrderProductsResponse
  - `parcelId` string, uuid

---

[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)
