POST Order

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

None.

order
Documentation for 'order'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "LocationId": "sample string 2",
  "OrderNumber": "sample string 3",
  "PONumber": "sample string 4",
  "CarrierCode": "sample string 5",
  "Terms": "sample string 6",
  "CardholderName": "sample string 7",
  "CCTransactionID": "sample string 8",
  "CCTransactionTag": "sample string 9",
  "CCToken": "sample string 10",
  "CCExpirationDate": "sample string 11",
  "CCAuthAmount": 12.0,
  "CCAuthTime": "2025-04-29T02:21:36.9074562-05:00",
  "CreditCardType": "sample string 13",
  "CCAvsCode": "sample string 14",
  "Notes": "sample string 15",
  "Name": "sample string 16",
  "Address": "sample string 17",
  "Unit": "sample string 18",
  "City": "sample string 19",
  "State": "sample string 20",
  "ZipCode": "sample string 21",
  "Phone": "sample string 22"
}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyId>1</CompanyId>
  <LocationId>sample string 2</LocationId>
  <OrderNumber>sample string 3</OrderNumber>
  <PONumber>sample string 4</PONumber>
  <CarrierCode>sample string 5</CarrierCode>
  <Terms>sample string 6</Terms>
  <CardholderName>sample string 7</CardholderName>
  <CCTransactionID>sample string 8</CCTransactionID>
  <CCTransactionTag>sample string 9</CCTransactionTag>
  <CCToken>sample string 10</CCToken>
  <CCExpirationDate>sample string 11</CCExpirationDate>
  <CCAuthAmount>12</CCAuthAmount>
  <CCAuthTime>2025-04-29T02:21:36.9074562-05:00</CCAuthTime>
  <CreditCardType>sample string 13</CreditCardType>
  <CCAvsCode>sample string 14</CCAvsCode>
  <Notes>sample string 15</Notes>
  <Name>sample string 16</Name>
  <Address>sample string 17</Address>
  <Unit>sample string 18</Unit>
  <City>sample string 19</City>
  <State>sample string 20</State>
  <ZipCode>sample string 21</ZipCode>
  <Phone>sample string 22</Phone>
</Order>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'Order'.