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
NameDescriptionTypeAdditional 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": "fe6e1279-399c-456d-8cb3-fb2c18f214f4",
  "CreationDateUtc": "2025-12-06T02:24:55.1759112+00:00",
  "ConsignmentNumber": "sample string 3",
  "CampaignId": "027b133b-4717-40ae-9e07-e581cee885e6",
  "Reference": "sample string 4",
  "OrderId": "7cc668cd-e7d6-4f63-af94-74bf2be3877d"
}

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>027b133b-4717-40ae-9e07-e581cee885e6</CampaignId>
  <ConsignmentNumber>sample string 3</ConsignmentNumber>
  <CreationDateUtc>2025-12-06T02:24:55.1759112+00:00</CreationDateUtc>
  <Id>fe6e1279-399c-456d-8cb3-fb2c18f214f4</Id>
  <OrderId>7cc668cd-e7d6-4f63-af94-74bf2be3877d</OrderId>
  <Reference>sample string 4</Reference>
</PayOrderConsignmentDetailDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.