v1

latestOpenAPI 3.0.42026-07-2499260182.5 KB
orders

Creates a parcel

Creates a parcel with products. The StockType parameter indicates the type of stock and accepts 'local' or 'warehouse'. Defaults to 'local' if not specified. the 'DeliveryType' parameter indicates the type of delivery and accepts 'home' or 'pickup-point'. Permissions requises : SupplierAdminRole, SupplierParcelsManagerRole.

post/api/v{version}/parcels

Path parameters

versionstring required

The requested API version

Headers

X-Tenantstring required

Input your tenant Id to access this API

Request body

hubIdstring uuid nullable
deliveryTypestring nullable
descriptionstring nullable
stateIdstring uuid nullable
amountnumber double
externalIdstring nullable
hubStockIdstring uuid nullable

Response

Created

idstring uuid