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": "230a3c7b-456e-47cc-8685-d18c0a0cd578",
"CreationDateUtc": "2026-03-16T13:59:22.8579445+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "3df31e9b-38bf-4928-934d-e205b90fc975",
"Reference": "sample string 4",
"OrderId": "91f110c4-6cc9-454d-8212-7151d5739049"
}
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>3df31e9b-38bf-4928-934d-e205b90fc975</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2026-03-16T13:59:22.8579445+00:00</CreationDateUtc> <Id>230a3c7b-456e-47cc-8685-d18c0a0cd578</Id> <OrderId>91f110c4-6cc9-454d-8212-7151d5739049</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.