v1

latestOpenAPI 3.0.42026-07-2499260182.5 KB
orders

Updates parcel state

Updates parcel state. Permissions requises : HubParcelsManagerRole, HubAdminRole, SupplierAdminRole, SupplierParcelsManagerRole.

patch/api/v{version}/parcels/{parcelId}/state

Path parameters

versionstring required

The requested API version

parcelIdstring uuid required

Headers

X-Tenantstring required

Input your tenant Id to access this API

Request body

parcelIdstring uuid
newStateIdstring uuid
deliveryPersonIdstring uuid nullable
arrivalHubIdstring uuid nullable
commentstring nullable

Response

OK

parcelIdstring uuid
newStateIdstring uuid
newStateNamestring nullable
trackingNumberstring nullable