POST api/orders/consignmentNumber
Sets the consignment number of an order.
Request Information
URI Parameters
None.
Body Parameters
The model to set the consignment number with.
PayOrderConsignmentDetailDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDateUtc | date |
None. |
|
| ConsignmentNumber | string |
Required String length: inclusive between 0 and 512 |
|
| CampaignId | globally unique identifier |
None. |
|
| Reference | string |
String length: inclusive between 0 and 2048 |
|
| OrderId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "49e785d3-e473-48b4-9e38-223e4374998f",
"CreationDateUtc": "2026-08-28T13:46:01.3633401+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "9eb30a3d-4bbb-4250-98ac-c40f4a85bc2c",
"Reference": "sample string 4",
"OrderId": "26e2e15b-7189-4695-a17f-0715fe16a9c6"
}
application/xml, text/xml
Sample:
<PayOrderConsignmentDetailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Pay.Models"> <CampaignId>9eb30a3d-4bbb-4250-98ac-c40f4a85bc2c</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2026-08-28T13:46:01.3633401+00:00</CreationDateUtc> <Id>49e785d3-e473-48b4-9e38-223e4374998f</Id> <OrderId>26e2e15b-7189-4695-a17f-0715fe16a9c6</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.