Tradera Developer Program

OrderService

Documentation Version 3 > OrderService > GetSellerOrders

GetSellerOrders |WebMethod|

Returns all orders that have taken place within the specified constraints. The seller in this case is the user for which the call is made for.

Parameters
  1. request, Holds request information for this call, see GetSellerOrdersRequest for detailed information.
Returns

Array of found SellerOrder objects

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 /v3/OrderService.asmx HTTP/1.1
Host: api.tradera.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.tradera.com/GetSellerOrders"

<?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:Header>
    <AuthenticationHeader xmlns="http://api.tradera.com">
      <AppId>int</AppId>
      <AppKey>string</AppKey>
    </AuthenticationHeader>
    <AuthorizationHeader xmlns="http://api.tradera.com">
      <UserId>int</UserId>
      <Token>string</Token>
    </AuthorizationHeader>
    <ConfigurationHeader xmlns="http://api.tradera.com">
      <Sandbox>int</Sandbox>
      <MaxResultAge>int</MaxResultAge>
    </ConfigurationHeader>
  </soap:Header>
  <soap:Body>
    <GetSellerOrders xmlns="http://api.tradera.com">
      <request>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <QueryDateMode>CreatedDate or LastUpdatedDate</QueryDateMode>
      </request>
    </GetSellerOrders>
  </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>
    <GetSellerOrdersResponse xmlns="http://api.tradera.com">
      <GetSellerOrdersResult>
        <SellerOrders>
          <SellerOrder>
            <OrderId>int</OrderId>
            <CreatedDate>dateTime</CreatedDate>
            <ExpiresDate>dateTime</ExpiresDate>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SubTotal>int</SubTotal>
            <Seller>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Seller>
            <Buyer>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Buyer>
            <ShipTo>
              <Name>string</Name>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
            </ShipTo>
            <Items>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
            </Items>
            <SellerOrderPayments>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
            </SellerOrderPayments>
            <ShippingType>string</ShippingType>
            <ShippingCost>int</ShippingCost>
            <ShippingWeight>decimal</ShippingWeight>
            <PurchaseOrderId>guid</PurchaseOrderId>
          </SellerOrder>
          <SellerOrder>
            <OrderId>int</OrderId>
            <CreatedDate>dateTime</CreatedDate>
            <ExpiresDate>dateTime</ExpiresDate>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SubTotal>int</SubTotal>
            <Seller>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Seller>
            <Buyer>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Buyer>
            <ShipTo>
              <Name>string</Name>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
            </ShipTo>
            <Items>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
            </Items>
            <SellerOrderPayments>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
            </SellerOrderPayments>
            <ShippingType>string</ShippingType>
            <ShippingCost>int</ShippingCost>
            <ShippingWeight>decimal</ShippingWeight>
            <PurchaseOrderId>guid</PurchaseOrderId>
          </SellerOrder>
        </SellerOrders>
      </GetSellerOrdersResult>
    </GetSellerOrdersResponse>
  </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 /v3/OrderService.asmx HTTP/1.1
Host: api.tradera.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:Header>
    <AuthenticationHeader xmlns="http://api.tradera.com">
      <AppId>int</AppId>
      <AppKey>string</AppKey>
    </AuthenticationHeader>
    <AuthorizationHeader xmlns="http://api.tradera.com">
      <UserId>int</UserId>
      <Token>string</Token>
    </AuthorizationHeader>
    <ConfigurationHeader xmlns="http://api.tradera.com">
      <Sandbox>int</Sandbox>
      <MaxResultAge>int</MaxResultAge>
    </ConfigurationHeader>
  </soap12:Header>
  <soap12:Body>
    <GetSellerOrders xmlns="http://api.tradera.com">
      <request>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <QueryDateMode>CreatedDate or LastUpdatedDate</QueryDateMode>
      </request>
    </GetSellerOrders>
  </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>
    <GetSellerOrdersResponse xmlns="http://api.tradera.com">
      <GetSellerOrdersResult>
        <SellerOrders>
          <SellerOrder>
            <OrderId>int</OrderId>
            <CreatedDate>dateTime</CreatedDate>
            <ExpiresDate>dateTime</ExpiresDate>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SubTotal>int</SubTotal>
            <Seller>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Seller>
            <Buyer>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Buyer>
            <ShipTo>
              <Name>string</Name>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
            </ShipTo>
            <Items>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
            </Items>
            <SellerOrderPayments>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
            </SellerOrderPayments>
            <ShippingType>string</ShippingType>
            <ShippingCost>int</ShippingCost>
            <ShippingWeight>decimal</ShippingWeight>
            <PurchaseOrderId>guid</PurchaseOrderId>
          </SellerOrder>
          <SellerOrder>
            <OrderId>int</OrderId>
            <CreatedDate>dateTime</CreatedDate>
            <ExpiresDate>dateTime</ExpiresDate>
            <LastUpdatedDate>dateTime</LastUpdatedDate>
            <SubTotal>int</SubTotal>
            <Seller>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Seller>
            <Buyer>
              <UserId>int</UserId>
              <FirstName>string</FirstName>
              <LastName>string</LastName>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
              <Email>string</Email>
              <Phone>string</Phone>
              <Alias>string</Alias>
            </Buyer>
            <ShipTo>
              <Name>string</Name>
              <AddressLine1>string</AddressLine1>
              <AddressLine2>string</AddressLine2>
              <ZipCode>string</ZipCode>
              <City>string</City>
              <CountryName>string</CountryName>
            </ShipTo>
            <Items>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
              <SellerOrderItem>
                <ItemId>int</ItemId>
                <Type>Auction or PureBuyItNow or ShopItem or ContactOnly</Type>
                <Title>string</Title>
                <Quantity>int</Quantity>
                <UnitPrice>int</UnitPrice>
                <VatRate>int</VatRate>
                <OwnReferences xsi:nil="true" />
                <MerchantPartNumber>string</MerchantPartNumber>
              </SellerOrderItem>
            </Items>
            <SellerOrderPayments>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
              <SellerOrderPayment>
                <PaymentType>string</PaymentType>
                <Reference>string</Reference>
                <AdditionalInfo xsi:nil="true" />
                <Amount>int</Amount>
                <PaidDate>dateTime</PaidDate>
                <PaymentCost>int</PaymentCost>
              </SellerOrderPayment>
            </SellerOrderPayments>
            <ShippingType>string</ShippingType>
            <ShippingCost>int</ShippingCost>
            <ShippingWeight>decimal</ShippingWeight>
            <PurchaseOrderId>guid</PurchaseOrderId>
          </SellerOrder>
        </SellerOrders>
      </GetSellerOrdersResult>
    </GetSellerOrdersResponse>
  </soap12:Body>
</soap12:Envelope>

XHTML CSS