PUT api/TestOrder/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
id
No documentation available.

Define this parameter in the request URI.

testOrderDto
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "0ef87196-2db4-446b-a92b-0a6c29a1cef2",
  "Status": 2,
  "ReceivedDate": "2025-03-14T06:47:36.4732832-04:00",
  "CustomerId": 4,
  "CompanyId": "sample string 5",
  "SalesLocationId": 1,
  "ContactId": 6,
  "ShipToId": 7,
  "Taker": "sample string 8",
  "AutoApproveOrder": true,
  "Error": "sample string 10",
  "ExternalOrderNumber": "sample string 11",
  "PoNumber": "sample string 12",
  "OrderDate": "2025-03-14T06:47:36.4732832-04:00",
  "CarrierId": 14,
  "DeliveryInstructions": "sample string 15",
  "ShippingAddress_Id": "e90cd1a4-eef7-476e-9cfe-b18bf8389be7",
  "User_Id": "sample string 16",
  "SignatureRequired": true,
  "OrderNotes": "sample string 18",
  "ShippingOptionId": 19,
  "TestP21OrderLines": [
    {
      "Id": "7c8c7ec1-ba34-46ca-a204-5e2c6bbad4f8",
      "Sku": "sample string 2",
      "Quantity": 3,
      "UnitOfMeasure": "sample string 4",
      "Order_Id": "1b884dc7-7abc-4b2c-a8f7-13651fc287c9"
    },
    {
      "Id": "7c8c7ec1-ba34-46ca-a204-5e2c6bbad4f8",
      "Sku": "sample string 2",
      "Quantity": 3,
      "UnitOfMeasure": "sample string 4",
      "Order_Id": "1b884dc7-7abc-4b2c-a8f7-13651fc287c9"
    },
    {
      "Id": "7c8c7ec1-ba34-46ca-a204-5e2c6bbad4f8",
      "Sku": "sample string 2",
      "Quantity": 3,
      "UnitOfMeasure": "sample string 4",
      "Order_Id": "1b884dc7-7abc-4b2c-a8f7-13651fc287c9"
    }
  ],
  "ShippingAddress": {
    "Address1": "sample string 1",
    "Address2": "sample string 2",
    "City": "sample string 3",
    "State": "sample string 4",
    "PostalCode": "sample string 5",
    "Country": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<TestP21OrderDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>0ef87196-2db4-446b-a92b-0a6c29a1cef2</Id>
  <Status>2</Status>
  <ReceivedDate>2025-03-14T06:47:36.4732832-04:00</ReceivedDate>
  <CustomerId>4</CustomerId>
  <CompanyId>sample string 5</CompanyId>
  <SalesLocationId>1</SalesLocationId>
  <ContactId>6</ContactId>
  <ShipToId>7</ShipToId>
  <Taker>sample string 8</Taker>
  <AutoApproveOrder>true</AutoApproveOrder>
  <Error>sample string 10</Error>
  <ExternalOrderNumber>sample string 11</ExternalOrderNumber>
  <PoNumber>sample string 12</PoNumber>
  <OrderDate>2025-03-14T06:47:36.4732832-04:00</OrderDate>
  <CarrierId>14</CarrierId>
  <DeliveryInstructions>sample string 15</DeliveryInstructions>
  <ShippingAddress_Id>e90cd1a4-eef7-476e-9cfe-b18bf8389be7</ShippingAddress_Id>
  <User_Id>sample string 16</User_Id>
  <SignatureRequired>true</SignatureRequired>
  <OrderNotes>sample string 18</OrderNotes>
  <ShippingOptionId>19</ShippingOptionId>
  <TestP21OrderLines>
    <TestP21OrderLineDTO>
      <Id>7c8c7ec1-ba34-46ca-a204-5e2c6bbad4f8</Id>
      <Sku>sample string 2</Sku>
      <Quantity>3</Quantity>
      <UnitOfMeasure>sample string 4</UnitOfMeasure>
      <Order_Id>1b884dc7-7abc-4b2c-a8f7-13651fc287c9</Order_Id>
    </TestP21OrderLineDTO>
    <TestP21OrderLineDTO>
      <Id>7c8c7ec1-ba34-46ca-a204-5e2c6bbad4f8</Id>
      <Sku>sample string 2</Sku>
      <Quantity>3</Quantity>
      <UnitOfMeasure>sample string 4</UnitOfMeasure>
      <Order_Id>1b884dc7-7abc-4b2c-a8f7-13651fc287c9</Order_Id>
    </TestP21OrderLineDTO>
    <TestP21OrderLineDTO>
      <Id>7c8c7ec1-ba34-46ca-a204-5e2c6bbad4f8</Id>
      <Sku>sample string 2</Sku>
      <Quantity>3</Quantity>
      <UnitOfMeasure>sample string 4</UnitOfMeasure>
      <Order_Id>1b884dc7-7abc-4b2c-a8f7-13651fc287c9</Order_Id>
    </TestP21OrderLineDTO>
  </TestP21OrderLines>
  <ShippingAddress>
    <Address1>sample string 1</Address1>
    <Address2>sample string 2</Address2>
    <City>sample string 3</City>
    <State>sample string 4</State>
    <PostalCode>sample string 5</PostalCode>
    <Country>sample string 6</Country>
  </ShippingAddress>
</TestP21OrderDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:

Sample not available.