ws
Click here for a complete list of operations.
InsertOrderV2
Insert order v2
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ws.asmx HTTP/1.1 Host: betawebservices.solidcommerce.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.liquidatedirect.com/InsertOrderV2" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <InsertOrderV2 xmlns="http://webservices.liquidatedirect.com/"> <appKey>string</appKey> <devKey>string</devKey> <orders> <GeneralOrderModel> <ShipToAddress> <City>string</City> <Country>string</Country> <Email>string</Email> <Name>string</Name> <Company>string</Company> <Phone>string</Phone> <State>string</State> <Street1>string</Street1> <Street2>string</Street2> <Zip>string</Zip> </ShipToAddress> <AllowBackOrder>boolean</AllowBackOrder> <InsuranceFee>decimal</InsuranceFee> <InsuranceRequested>boolean</InsuranceRequested> <OrderDatetime>dateTime</OrderDatetime> <OrderTotal>decimal</OrderTotal> <SalesTaxAmount>decimal</SalesTaxAmount> <SalesTaxPercent>decimal</SalesTaxPercent> <MarketplaceShippingMethod>string</MarketplaceShippingMethod> <TotalShippingFee>decimal</TotalShippingFee> <SalesChannelOrderId>string</SalesChannelOrderId> <GiftMessage>string</GiftMessage> <RecipientInstructions>string</RecipientInstructions> <SalesChannel>string</SalesChannel> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <OrderItems> <OrderItemModel xsi:nil="true" /> <OrderItemModel xsi:nil="true" /> </OrderItems> <PaymentsDetails> <PaymentModel xsi:nil="true" /> <PaymentModel xsi:nil="true" /> </PaymentsDetails> <UpdateLastMarketplaceQty>boolean</UpdateLastMarketplaceQty> </GeneralOrderModel> <GeneralOrderModel> <ShipToAddress> <City>string</City> <Country>string</Country> <Email>string</Email> <Name>string</Name> <Company>string</Company> <Phone>string</Phone> <State>string</State> <Street1>string</Street1> <Street2>string</Street2> <Zip>string</Zip> </ShipToAddress> <AllowBackOrder>boolean</AllowBackOrder> <InsuranceFee>decimal</InsuranceFee> <InsuranceRequested>boolean</InsuranceRequested> <OrderDatetime>dateTime</OrderDatetime> <OrderTotal>decimal</OrderTotal> <SalesTaxAmount>decimal</SalesTaxAmount> <SalesTaxPercent>decimal</SalesTaxPercent> <MarketplaceShippingMethod>string</MarketplaceShippingMethod> <TotalShippingFee>decimal</TotalShippingFee> <SalesChannelOrderId>string</SalesChannelOrderId> <GiftMessage>string</GiftMessage> <RecipientInstructions>string</RecipientInstructions> <SalesChannel>string</SalesChannel> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <OrderItems> <OrderItemModel xsi:nil="true" /> <OrderItemModel xsi:nil="true" /> </OrderItems> <PaymentsDetails> <PaymentModel xsi:nil="true" /> <PaymentModel xsi:nil="true" /> </PaymentsDetails> <UpdateLastMarketplaceQty>boolean</UpdateLastMarketplaceQty> </GeneralOrderModel> </orders> </InsertOrderV2> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <InsertOrderV2Response xmlns="http://webservices.liquidatedirect.com/"> <InsertOrderV2Result> <GeneralResults>string</GeneralResults> <OrderResponseList> <OrderResponse> <OriginalOrderID>string</OriginalOrderID> <OrderID>int</OrderID> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <Message>string</Message> <PaymentID xsi:nil="true" /> <Result>Success or Fail or SuccessWithWarning or FailWithDataLayerError</Result> </OrderResponse> <OrderResponse> <OriginalOrderID>string</OriginalOrderID> <OrderID>int</OrderID> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <Message>string</Message> <PaymentID xsi:nil="true" /> <Result>Success or Fail or SuccessWithWarning or FailWithDataLayerError</Result> </OrderResponse> </OrderResponseList> </InsertOrderV2Result> </InsertOrderV2Response> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ws.asmx HTTP/1.1 Host: betawebservices.solidcommerce.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InsertOrderV2 xmlns="http://webservices.liquidatedirect.com/"> <appKey>string</appKey> <devKey>string</devKey> <orders> <GeneralOrderModel> <ShipToAddress> <City>string</City> <Country>string</Country> <Email>string</Email> <Name>string</Name> <Company>string</Company> <Phone>string</Phone> <State>string</State> <Street1>string</Street1> <Street2>string</Street2> <Zip>string</Zip> </ShipToAddress> <AllowBackOrder>boolean</AllowBackOrder> <InsuranceFee>decimal</InsuranceFee> <InsuranceRequested>boolean</InsuranceRequested> <OrderDatetime>dateTime</OrderDatetime> <OrderTotal>decimal</OrderTotal> <SalesTaxAmount>decimal</SalesTaxAmount> <SalesTaxPercent>decimal</SalesTaxPercent> <MarketplaceShippingMethod>string</MarketplaceShippingMethod> <TotalShippingFee>decimal</TotalShippingFee> <SalesChannelOrderId>string</SalesChannelOrderId> <GiftMessage>string</GiftMessage> <RecipientInstructions>string</RecipientInstructions> <SalesChannel>string</SalesChannel> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <OrderItems> <OrderItemModel xsi:nil="true" /> <OrderItemModel xsi:nil="true" /> </OrderItems> <PaymentsDetails> <PaymentModel xsi:nil="true" /> <PaymentModel xsi:nil="true" /> </PaymentsDetails> <UpdateLastMarketplaceQty>boolean</UpdateLastMarketplaceQty> </GeneralOrderModel> <GeneralOrderModel> <ShipToAddress> <City>string</City> <Country>string</Country> <Email>string</Email> <Name>string</Name> <Company>string</Company> <Phone>string</Phone> <State>string</State> <Street1>string</Street1> <Street2>string</Street2> <Zip>string</Zip> </ShipToAddress> <AllowBackOrder>boolean</AllowBackOrder> <InsuranceFee>decimal</InsuranceFee> <InsuranceRequested>boolean</InsuranceRequested> <OrderDatetime>dateTime</OrderDatetime> <OrderTotal>decimal</OrderTotal> <SalesTaxAmount>decimal</SalesTaxAmount> <SalesTaxPercent>decimal</SalesTaxPercent> <MarketplaceShippingMethod>string</MarketplaceShippingMethod> <TotalShippingFee>decimal</TotalShippingFee> <SalesChannelOrderId>string</SalesChannelOrderId> <GiftMessage>string</GiftMessage> <RecipientInstructions>string</RecipientInstructions> <SalesChannel>string</SalesChannel> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <OrderItems> <OrderItemModel xsi:nil="true" /> <OrderItemModel xsi:nil="true" /> </OrderItems> <PaymentsDetails> <PaymentModel xsi:nil="true" /> <PaymentModel xsi:nil="true" /> </PaymentsDetails> <UpdateLastMarketplaceQty>boolean</UpdateLastMarketplaceQty> </GeneralOrderModel> </orders> </InsertOrderV2> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InsertOrderV2Response xmlns="http://webservices.liquidatedirect.com/"> <InsertOrderV2Result> <GeneralResults>string</GeneralResults> <OrderResponseList> <OrderResponse> <OriginalOrderID>string</OriginalOrderID> <OrderID>int</OrderID> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <Message>string</Message> <PaymentID xsi:nil="true" /> <Result>Success or Fail or SuccessWithWarning or FailWithDataLayerError</Result> </OrderResponse> <OrderResponse> <OriginalOrderID>string</OriginalOrderID> <OrderID>int</OrderID> <Status>NOTAVAILABLE or COMPLETED or PAID or WAITINGFORBUYER or WAITINGFORSELLER or CANCELLED or PARTIALLYCOMPLETED</Status> <Message>string</Message> <PaymentID xsi:nil="true" /> <Result>Success or Fail or SuccessWithWarning or FailWithDataLayerError</Result> </OrderResponse> </OrderResponseList> </InsertOrderV2Result> </InsertOrderV2Response> </soap12:Body> </soap12:Envelope>