SalesOrderService


Click here for a complete list of operations.

SearchSalesOrders

Retrieves the first page of salesorder results based on the given search parameters.

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 /Services/1.2/SalesOrderService.asmx HTTP/1.1
Host: ws.shipcompliant.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.shipcompliant.com/SearchSalesOrders"

<?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>
    <SearchSalesOrders xmlns="http://ws.shipcompliant.com/">
      <Request>
        <ComplianceStatus>Null or CompliantCommitted or LegacyCommitted</ComplianceStatus>
        <ExternalClubKey>string</ExternalClubKey>
        <ExternalOfferKey>string</ExternalOfferKey>
        <ExternalSalesOrderKeyMax>string</ExternalSalesOrderKeyMax>
        <ExternalSalesOrderKeyMin>string</ExternalSalesOrderKeyMin>
        <ExternalSalesOrderKeys>
          <string>string</string>
          <string>string</string>
        </ExternalSalesOrderKeys>
        <FulfillmentAccount>string</FulfillmentAccount>
        <FulfillmentExceptionType>string</FulfillmentExceptionType>
        <FulfillmentHouse>string</FulfillmentHouse>
        <FulfillmentStatus>string</FulfillmentStatus>
        <LicenseRelationship>Null or Default or Pickup or RetailerToConsumer or RetailerToThreeTier or SupplierToConsumer or SupplierToDistributor or SupplierToThreeTier or SelfDistribution</LicenseRelationship>
        <Partner>string</Partner>
        <PurchaseDateMax>dateTime</PurchaseDateMax>
        <PurchaseDateMin>dateTime</PurchaseDateMin>
        <RequestedShipDateMax>dateTime</RequestedShipDateMax>
        <RequestedShipDateMin>dateTime</RequestedShipDateMin>
        <SalesOrderKeyMax>string</SalesOrderKeyMax>
        <SalesOrderKeyMin>string</SalesOrderKeyMin>
        <SalesOrderKeys>
          <string>string</string>
          <string>string</string>
        </SalesOrderKeys>
        <SaleType>Null or Both or Offsite or Onsite</SaleType>
        <SettlementBatchNumber>string</SettlementBatchNumber>
        <ShipDateMax>dateTime</ShipDateMax>
        <ShipDateMin>dateTime</ShipDateMin>
        <ShipmentStatus>Null or Delivered or InProcess or Shipped or PaymentAccepted or SentToFulfillment or Voided</ShipmentStatus>
        <ShipToState>string</ShipToState>
        <Tag>string</Tag>
        <TrackingExistence>Null or HasTrackingNumbers or ZeroTrackingNumbers</TrackingExistence>
        <NotTag>string</NotTag>
        <Channel>string</Channel>
      </Request>
    </SearchSalesOrders>
  </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>
    <SearchSalesOrdersResponse xmlns="http://ws.shipcompliant.com/">
      <SearchSalesOrdersResult>
        <CountMoreSalesOrdersAvailable>int</CountMoreSalesOrdersAvailable>
        <CountSalesOrdersReturned>int</CountSalesOrdersReturned>
        <Errors>
          <Error>
            <Code>string</Code>
            <Data xsi:nil="true" />
            <Key>string</Key>
            <Message>string</Message>
            <Target>Null or Address or Age or Batch or Brand or Distributor or Product or SalesOrder or Shipment or Tax or SSO or License or HoldLocation</Target>
            <Type>Authentication or Server or Validation</Type>
          </Error>
          <Error>
            <Code>string</Code>
            <Data xsi:nil="true" />
            <Key>string</Key>
            <Message>string</Message>
            <Target>Null or Address or Age or Batch or Brand or Distributor or Product or SalesOrder or Shipment or Tax or SSO or License or HoldLocation</Target>
            <Type>Authentication or Server or Validation</Type>
          </Error>
        </Errors>
        <PagingCookie>string</PagingCookie>
        <PagingCookieExpires>dateTime</PagingCookieExpires>
        <ResponseStatus>Failure or Success</ResponseStatus>
        <SalesOrders>
          <SalesOrderSummary>
            <ExternalCustomerKey>string</ExternalCustomerKey>
            <ExternalOfferKeys xsi:nil="true" />
            <ExternalSalesOrderKey>string</ExternalSalesOrderKey>
            <PurchaseDate>dateTime</PurchaseDate>
            <SalesOrderKey>string</SalesOrderKey>
            <SettlementBatchNumber>string</SettlementBatchNumber>
            <Shipments xsi:nil="true" />
            <Tags xsi:nil="true" />
          </SalesOrderSummary>
          <SalesOrderSummary>
            <ExternalCustomerKey>string</ExternalCustomerKey>
            <ExternalOfferKeys xsi:nil="true" />
            <ExternalSalesOrderKey>string</ExternalSalesOrderKey>
            <PurchaseDate>dateTime</PurchaseDate>
            <SalesOrderKey>string</SalesOrderKey>
            <SettlementBatchNumber>string</SettlementBatchNumber>
            <Shipments xsi:nil="true" />
            <Tags xsi:nil="true" />
          </SalesOrderSummary>
        </SalesOrders>
      </SearchSalesOrdersResult>
    </SearchSalesOrdersResponse>
  </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 /Services/1.2/SalesOrderService.asmx HTTP/1.1
Host: ws.shipcompliant.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>
    <SearchSalesOrders xmlns="http://ws.shipcompliant.com/">
      <Request>
        <ComplianceStatus>Null or CompliantCommitted or LegacyCommitted</ComplianceStatus>
        <ExternalClubKey>string</ExternalClubKey>
        <ExternalOfferKey>string</ExternalOfferKey>
        <ExternalSalesOrderKeyMax>string</ExternalSalesOrderKeyMax>
        <ExternalSalesOrderKeyMin>string</ExternalSalesOrderKeyMin>
        <ExternalSalesOrderKeys>
          <string>string</string>
          <string>string</string>
        </ExternalSalesOrderKeys>
        <FulfillmentAccount>string</FulfillmentAccount>
        <FulfillmentExceptionType>string</FulfillmentExceptionType>
        <FulfillmentHouse>string</FulfillmentHouse>
        <FulfillmentStatus>string</FulfillmentStatus>
        <LicenseRelationship>Null or Default or Pickup or RetailerToConsumer or RetailerToThreeTier or SupplierToConsumer or SupplierToDistributor or SupplierToThreeTier or SelfDistribution</LicenseRelationship>
        <Partner>string</Partner>
        <PurchaseDateMax>dateTime</PurchaseDateMax>
        <PurchaseDateMin>dateTime</PurchaseDateMin>
        <RequestedShipDateMax>dateTime</RequestedShipDateMax>
        <RequestedShipDateMin>dateTime</RequestedShipDateMin>
        <SalesOrderKeyMax>string</SalesOrderKeyMax>
        <SalesOrderKeyMin>string</SalesOrderKeyMin>
        <SalesOrderKeys>
          <string>string</string>
          <string>string</string>
        </SalesOrderKeys>
        <SaleType>Null or Both or Offsite or Onsite</SaleType>
        <SettlementBatchNumber>string</SettlementBatchNumber>
        <ShipDateMax>dateTime</ShipDateMax>
        <ShipDateMin>dateTime</ShipDateMin>
        <ShipmentStatus>Null or Delivered or InProcess or Shipped or PaymentAccepted or SentToFulfillment or Voided</ShipmentStatus>
        <ShipToState>string</ShipToState>
        <Tag>string</Tag>
        <TrackingExistence>Null or HasTrackingNumbers or ZeroTrackingNumbers</TrackingExistence>
        <NotTag>string</NotTag>
        <Channel>string</Channel>
      </Request>
    </SearchSalesOrders>
  </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>
    <SearchSalesOrdersResponse xmlns="http://ws.shipcompliant.com/">
      <SearchSalesOrdersResult>
        <CountMoreSalesOrdersAvailable>int</CountMoreSalesOrdersAvailable>
        <CountSalesOrdersReturned>int</CountSalesOrdersReturned>
        <Errors>
          <Error>
            <Code>string</Code>
            <Data xsi:nil="true" />
            <Key>string</Key>
            <Message>string</Message>
            <Target>Null or Address or Age or Batch or Brand or Distributor or Product or SalesOrder or Shipment or Tax or SSO or License or HoldLocation</Target>
            <Type>Authentication or Server or Validation</Type>
          </Error>
          <Error>
            <Code>string</Code>
            <Data xsi:nil="true" />
            <Key>string</Key>
            <Message>string</Message>
            <Target>Null or Address or Age or Batch or Brand or Distributor or Product or SalesOrder or Shipment or Tax or SSO or License or HoldLocation</Target>
            <Type>Authentication or Server or Validation</Type>
          </Error>
        </Errors>
        <PagingCookie>string</PagingCookie>
        <PagingCookieExpires>dateTime</PagingCookieExpires>
        <ResponseStatus>Failure or Success</ResponseStatus>
        <SalesOrders>
          <SalesOrderSummary>
            <ExternalCustomerKey>string</ExternalCustomerKey>
            <ExternalOfferKeys xsi:nil="true" />
            <ExternalSalesOrderKey>string</ExternalSalesOrderKey>
            <PurchaseDate>dateTime</PurchaseDate>
            <SalesOrderKey>string</SalesOrderKey>
            <SettlementBatchNumber>string</SettlementBatchNumber>
            <Shipments xsi:nil="true" />
            <Tags xsi:nil="true" />
          </SalesOrderSummary>
          <SalesOrderSummary>
            <ExternalCustomerKey>string</ExternalCustomerKey>
            <ExternalOfferKeys xsi:nil="true" />
            <ExternalSalesOrderKey>string</ExternalSalesOrderKey>
            <PurchaseDate>dateTime</PurchaseDate>
            <SalesOrderKey>string</SalesOrderKey>
            <SettlementBatchNumber>string</SettlementBatchNumber>
            <Shipments xsi:nil="true" />
            <Tags xsi:nil="true" />
          </SalesOrderSummary>
        </SalesOrders>
      </SearchSalesOrdersResult>
    </SearchSalesOrdersResponse>
  </soap12:Body>
</soap12:Envelope>