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": "cac31af9-0131-429b-8631-e3497270107f",
"CreationDateUtc": "2026-01-21T09:38:55.2433068+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "f2860e68-3d54-48b4-bb99-87ac42853d59",
"Reference": "sample string 4",
"OrderId": "917d98b0-30bd-4dd0-a52d-9e6b2d629de7"
}
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>f2860e68-3d54-48b4-bb99-87ac42853d59</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2026-01-21T09:38:55.2433068+00:00</CreationDateUtc> <Id>cac31af9-0131-429b-8631-e3497270107f</Id> <OrderId>917d98b0-30bd-4dd0-a52d-9e6b2d629de7</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.