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": "d9cb1f3e-2194-49c0-a95d-63f651273aab",
"CreationDateUtc": "2026-07-04T13:54:31.1215628+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "88ae695f-fd7d-48bc-b98b-0e5bc407799d",
"Reference": "sample string 4",
"OrderId": "14ed00e6-95c0-47aa-9762-2e1cba2282c5"
}
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>88ae695f-fd7d-48bc-b98b-0e5bc407799d</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2026-07-04T13:54:31.1215628+00:00</CreationDateUtc> <Id>d9cb1f3e-2194-49c0-a95d-63f651273aab</Id> <OrderId>14ed00e6-95c0-47aa-9762-2e1cba2282c5</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.