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": "8ff47a49-71f5-475b-8c50-2e83ee20d678",
"CreationDateUtc": "2026-10-23T12:42:58.8446888+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "109f0374-607b-4d82-a028-4d25d1c5d666",
"Reference": "sample string 4",
"OrderId": "f66377f0-e8c3-4518-84cf-e12ee9a6def6"
}
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>109f0374-607b-4d82-a028-4d25d1c5d666</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2026-10-23T12:42:58.8446888+00:00</CreationDateUtc> <Id>8ff47a49-71f5-475b-8c50-2e83ee20d678</Id> <OrderId>f66377f0-e8c3-4518-84cf-e12ee9a6def6</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.