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": "a3cfd989-a7c5-4e84-a091-fe0c01f4c886",
"CreationDateUtc": "2025-12-11T08:27:36.0010873+00:00",
"ConsignmentNumber": "sample string 3",
"CampaignId": "b4f8c732-ac2d-462b-a3c3-00cd9de56728",
"Reference": "sample string 4",
"OrderId": "6feee93a-8593-48f6-ae20-818130a9697f"
}
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>b4f8c732-ac2d-462b-a3c3-00cd9de56728</CampaignId> <ConsignmentNumber>sample string 3</ConsignmentNumber> <CreationDateUtc>2025-12-11T08:27:36.0010873+00:00</CreationDateUtc> <Id>a3cfd989-a7c5-4e84-a091-fe0c01f4c886</Id> <OrderId>6feee93a-8593-48f6-ae20-818130a9697f</OrderId> <Reference>sample string 4</Reference> </PayOrderConsignmentDetailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.