POST Carriers

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,
  "CustomerId": 2,
  "Source": "sample string 3",
  "LocationId": "sample string 4",
  "OrderDiscountTotal": 5.0,
  "Name": "sample string 6",
  "Address": "sample string 7",
  "Unit": "sample string 8",
  "City": "sample string 9",
  "State": "sample string 10",
  "ZipCode": "sample string 11",
  "Country": "sample string 12",
  "Items": [
    {
      "SKU": "sample string 1",
      "Quantity": 2,
      "PriceOverride": 1.0
    },
    {
      "SKU": "sample string 1",
      "Quantity": 2,
      "PriceOverride": 1.0
    },
    {
      "SKU": "sample string 1",
      "Quantity": 2,
      "PriceOverride": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyId>1</CompanyId>
  <CustomerId>2</CustomerId>
  <Source>sample string 3</Source>
  <LocationId>sample string 4</LocationId>
  <OrderDiscountTotal>5</OrderDiscountTotal>
  <Name>sample string 6</Name>
  <Address>sample string 7</Address>
  <Unit>sample string 8</Unit>
  <City>sample string 9</City>
  <State>sample string 10</State>
  <ZipCode>sample string 11</ZipCode>
  <Country>sample string 12</Country>
  <Items>
    <Item>
      <SKU>sample string 1</SKU>
      <Quantity>2</Quantity>
      <PriceOverride>1</PriceOverride>
    </Item>
    <Item>
      <SKU>sample string 1</SKU>
      <Quantity>2</Quantity>
      <PriceOverride>1</PriceOverride>
    </Item>
    <Item>
      <SKU>sample string 1</SKU>
      <Quantity>2</Quantity>
      <PriceOverride>1</PriceOverride>
    </Item>
  </Items>
</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'.