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": "67bef6a0-0af5-4e31-8a9b-42a4842c6cd3",
"CreationDateUtc": "2026-07-04T14:01:56.7505902+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "fd9b9ad1-b9a5-4898-b826-cfdcfbbabe46",
"Reference": "sample string 4",
"OrderId": "07bb644b-8994-4494-8dd0-44529d546722"
}
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>fd9b9ad1-b9a5-4898-b826-cfdcfbbabe46</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2026-07-04T14:01:56.7505902+00:00</CreationDateUtc> <Id>67bef6a0-0af5-4e31-8a9b-42a4842c6cd3</Id> <OrderId>07bb644b-8994-4494-8dd0-44529d546722</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.