GetSoldItems Response
Home / API Calls Reference / GetSoldItems > GetSoldItems Response

GetSoldItems Response



The following characters are converted to HTML compliant special characters:
Code:
">" becomes ">"

Code:
"<" becomes "&lt;"

Code:
""" becomes "&quot;"

Code:
"'" becomes "&apos;"

Code:
"&" becomes "&amp;"


Response XML:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Afterbuy>
    <CallStatus> String </CallStatus>
    <CallName> String </CallName>
    <Result>
      <HasMoreItems> Integer </HasMoreItems>
      <OrdersCount> Integer </OrdersCount>
      <LastOrderID> Integer </LastOrderID>
      <ItemsCount> Integer </ItemsCount>
      <Orders>
        <Order>
          <InvoiceNumber> Integer </InvoiceNumber>
          <OrderID> Integer </OrderID>
          <EbayAccount> String </EbayAccount>
          <AmazonAccount> String </AmazonAccount>
          <Anr> Float </Anr>
          <AlternativeItemNumber1> String </AlternativeItemNumber1>
          <FeedbackDate> Date </FeedbackDate>
          <UserComment><![CDATA[ String ]]></UserComment>
          <AdditionalInfo><![CDATA[ String ]]></AdditionalInfo>
          <TrackingLink><![CDATA[ String ]]></TrackingLink>
          <Memo><![CDATA[ String ]]></Memo>
          <InvoiceMemo><![CDATA[ String ]]></InvoiceMemo>
          <FeedbackLink> String </FeedbackLink>
          <OrderDate> Date </OrderDate>
          <OrderIDAlt> String </OrderIDAlt>
          <PaymentInfo>
            <PaymentID> String </PaymentID>
            <PaymentMethod><![CDATA[ String ]]></PaymentMethod>
            <PaymentFunction><![CDATA[ String ]]></PaymentFunction>
            <PaymentData>
                  <BankCode><![CDATA[ String ]]></BankCode>
                  <AccountHolder><![CDATA[ String ]]></AccountHolder>
                  <BankName><![CDATA[ String ]]></BankName>
                  <AccountNumber><![CDATA[ String ]]></AccountNumber>
                  <Iban><![CDATA[ String ]]></Iban>
                  <Bic><![CDATA[ String ]]></Bic>
                  <ReferenceNumber>Referenznummer</ReferenceNumber>
            </PaymentData>
            <PaymentTransactionID><![CDATA[ String ]]></PaymentTransactionID>
            <PaymentStatus><![CDATA[ String ]]></PaymentStatus>
            <PaymentDate> Date </PaymentDate>
            <AlreadyPaid> Float </AlreadyPaid>
            <FullAmount> Float </FullAmount>
            <PaymentInstruction><![CDATA[ String ]]></PaymentInstruction>
            <InvoiceDate> Date </InvoiceDate>
            <EFTID><![CDATA[ String ]]></EFTID>
            <PayoutIds>
                <PayoutId>
                     <PlatformSpecificOrderId><![CDATA[ String ]]></PlatformSpecificOrderId>
                     <PayoutId><![CDATA[ String ]]></PayoutId>
                </PayoutId>
            </PayoutIds>
          </PaymentInfo>
          <BuyerInfo>
            <BillingAddress>
              <AfterbuyUserID> Integer </AfterbuyUserID>
              <AfterbuyUserIDAlt> Integer </AfterbuyUserIDAlt>
              <UserIDPlattform> String </UserIDPlattform>
              <FirstName> String </FirstName>
              <LastName> String </LastName>
              <Title> String </Title>
              <Company> String </Company>
              <Street> String </Street>
              <Street2> String </Street2>
              <PostalCode> String </PostalCode>
              <StateOrProvince> String </StateOrProvince>
              <City> String </City>
              <Country> String </Country>
              <CountryISO> String </CountryISO>
              <Phone> String </Phone>
              <Fax> String </Fax>
              <Mail> String </Mail>
              <IsMerchant> Boolean </IsMerchant>
              <TaxIDNumber> String </TaxIDNumber>
            </BillingAddress>
            <ShippingAddress>
              <FirstName> String </FirstName>
              <LastName> String </LastName>
              <Company> String </Company>
              <Street> String </Street>
              <Street2> String </Street2>
              <PostalCode> String </PostalCode>
              <City> String </City>
              <StateOrProvince> String </StateOrProvince>
              <Phone> String </Phone>
              <Country> String </Country>
              <CountryISO> String </CountryISO>
              <TaxIDNumber> String </TaxIDNumber>
            </ShippingAddress>
          </BuyerInfo>
          <SoldItems>
            <SoldItem>
              <ItemDetailsDone>  Boolean </ItemDetailsDone>
              <ItemID> Integer </ItemID>
              <Anr> Float </Anr>
              <IsAmazonBusiness>  Boolean </IsAmazonBusiness>
              <IsAmazonPrime>  Boolean </IsAmazonPrime>
              <FulfillmentServiceLevel>  Integer  </FulfillmentServiceLevel>
              <eBayTransactionID> Integer </eBayTransactionID>
              <AlternativeItemNumber1> String </AlternativeItemNumber1>
              <AlternativeItemNumber> String </AlternativeItemNumber>
              <InternalItemType> Integer </InternalItemType>
              <UserDefinedFlag> Integer </UserDefinedFlag>
              <ItemTitle> String </ItemTitle>
              <ItemQuantity> Integer </ItemQuantity>              
              <ItemPrice> Float </ItemPrice>
              <ItemEndDate> Float </ItemEndDate>
              <TaxRate> Float </TaxRate>
              <ItemWeight> Float </ItemWeight>
              <ItemXmlDate> Date </ItemXmlDate>
              <ItemModDate> Date </ItemModDate>
              <ItemPlatformName> String </ItemPlatformName>
              <ItemLink> String </ItemLink>
              <eBayFeedbackCompleted> Boolean </eBayFeedbackCompleted>
              <eBayFeedbackReceived> Boolean </eBayFeedbackReceived>
              <eBayFeedbackCommentType><![CDATA[ String ]]></eBayFeedbackCommentType>
              <ShopProductDetails>
                <ProductID> Integer </ProductID>
                <EAN> String </EAN>
                <Anr> Float </Anr>
                <UnitOfQuantity> String </UnitOfQuantity>
                <BasepriceFactor> Float </BasepriceFactor>
                <BaseProductData>
                  <BaseProductType> Integer </BaseProductType>
                  <ChildProduct>
                    <ProductID> Integer </ProductID>
                    <ProductEAN> String </ProductEAN>
                    <ProductANr> Integer </ProductANr>
                    <ProductName> String </ProductName>
                    <ProductQuantity> Integer </ProductQuantity>
                    <ProductVAT> Float </ProductVAT>
                    <ProductWeight> Float </ProductWeight>
                    <ProductUnitPrice> Float </ProductUnitPrice>
                  </ChildProduct>
                </BaseProductData>
              </ShopProductDetails>
              <SoldItemAttributes>
                  <SoldItemAttribute>
                     <AttributeName><![CDATA[ String ]]></AttributeName>
                     <AttributeValue><![CDATA[ String ]]></AttributeValue>
                     <AttributePosition> Integer </AttributePosition>
                  </SoldItemAttribute>
             </SoldItemAttributes>
            </SoldItem>    
            <ItemsInOrder> Integer </ItemsInOrder>
          </SoldItems>
          <ShippingInfo>
            <ShippingMethod> String </ShippingMethod>
            <ShippingReturnMethod> String </ShippingReturnMethod>
            <ShippingCost> Float </ShippingCost>
            <ShippingAdditionalCost> Float </ShippingAdditionalCost>
            <ShippingTotalCost> Float </ShippingTotalCost>
            <ShippingTaxRate> Float </ShippingTaxRate>
            <DeliveryDate> Date </DeliveryDate>
          </ShippingInfo>
          <Tags>
            <Tag><![CDATA[ String ]]></Tag>
            <Tag><![CDATA[ String ]]></Tag>
          </Tags>
          <IsCheckoutConfirmedByCustomer> Integer </IsCheckoutConfirmedByCustomer>
        </Order>
      </Orders>
    </Result>
</Afterbuy>


Response Definition:

ItemData typeMaximum field lengthMeaning
CallStatusStringStatus of the requested action
CallNameStringExecuted action
ResultContainerContainer with requested data
OrdersCountIntegerNumber of operations in the query
LastOrderIDIntegerThe largest VorgangsID in the query
ItemsCountIntegerTotal number of items in all orders
OrdersContainerContainer with operations
OrderContainerContainer with operation data
...InvoiceNumberIntegerInvoice number
...OrderIDIntegerVorgangsID (If the request tag 'RequestAllItems' = 1, this value can be 0).
...EbayAccountStringName of the eBay account for which the item was created.
...AmazonAccountStringAmazon merchant name for which the item was created, if it is an Amazon sale.
...AnrIntegerItem number
...AlternativeItemNumber1StringAlternative item number (used as OrderID for Amazon imports). Will only be returned if it is an Amazon item.
...FeedbackDateDateFeedback date
...UserCommentStringBuyer's comment
...AdditionalInfoStringAdditional info/package number
...TrackingLinkStringTracking Link
...MemoStringMemo
...InvoiceMemoStringInvoice note
...FeedbackLinkStringLink to the feedback page of the operation
...IsCheckoutConfirmedByCustomerIntegerConfirmation to pass on the e-mail or phone number for store sales
...OrderDateDateDate of the operation
...OrderIDAltStringAlternative operation ID (This tag is not free to use)
...Order.PaymentInfoContainerContainer with payment data
...PaymentInfo.PaymentIDStringPaymentID.
Possible values are:
    INVOICE - prepayment/bank transfer
    CREDIT_CARD - Credit card
    DIRECT_DEBIT - Direct debit
    
...PaymentInfo.PaymentMethodStringName of the payment method
...PaymentInfo.PaymentFunctionStringFunction of the payment type
Possible values are:
    TRANSFER - Bank transfer
    CASH_PAID - Cash/collection
    CASH_ON_DELIVERY - Cash on delivery
    PAYPAL - PayPal
    INVOICE_TRANSFER - Bank transfer/invoice
    DIRECT_DEBIT - Direct debit
    CLICKANDBUY - ClickAndBuy
    EXPRESS_CREDITWORTHINESS - Express Purchase/Bonicheck
    PAYNET - Instant bank transfer (PayNet)
    COD_CREDITWORTHINESS - Cash on delivery/confirmation check
    EBAY_EXPRESS - Ebay Express
    MONEYBOOKERS - Moneybookers
    CREDIT_CARD_MB - Credit card Moneybookers
    DIRECT_DEBIT_MB - Direct debit Moneybookers
    OTHERS - Other
...PaymentInfo.PaymentTransactionIDStringTransactionID of the payment system
...PaymentInfo.PaymentStatusStringPayment system status
...PaymentInfo.PaymentDateStringPayment date
...PaymentInfo.AlreadyPaidFloatAlready paid
...PaymentInfo.FullAmountFloatComplete transaction price
...PaymentInfo.InvoiceDateDateInvoice date
...PaymentInfo.PaymentInstructionStringeBay "Purchase on invoice" - payment instructions for the buyer
...PaymentInfo.EFTIDStringeBay purpose of use
...Order.PaymentInfo.PayoutIdsContainerContainer with Ebay payout Ids
...PayoutIds.PayoutIdContainerContainer with eBay PayoutID/Ebay OrderId
... ... PayoutId.PayoutIdStringeBay PayoutID
... ... PayoutId.PlatformSpecificOrderIdStringeBay OrderID which belongs to the PayoutID
...Order.PaymentInfo.PaymentDataContainerContainer with payment data
...PaymentData.BankCodeStringBank code
...PaymentData.AccountHolderStringAccount owner
...PaymentData.BankNameStringBank name
...PaymentData.AccountNumberStringBank account number
...PaymentData.IbanStringIBAN
...PaymentData.BicStringBIC
...PaymentData.ReferenceNumberStringSEPA Reference number
...Order.BuyerInfoContainerContainer with buyer data
...Order.BuyerInfo.BillingAddressContainerContainer with invoice data
... ...BillingAddress.AfterbuyUserIDIntegerAfterbuy CustomerID
... ...BillingAddress.AfterbuyUserIDAltIntegerAfterbuy CustomerID (own number range)
... ...BillingAddress.UserIDPlattformStringUsername on the respective platform (eBay, Azubo, Elimbo, ...)
... ...BillingAddress.FirstNameString150 ZeichenFirst name
... ...BillingAddress.LastNameString150 ZeichenLast name
... ...BillingAddress.TitleString50 ZeichenTitle
... ...BillingAddress.CompanyString150 ZeichenCompany name
... ...BillingAddress.StreetString150 ZeichenStreet
... ...BillingAddress.Street2String255 ZeichenAddress 2
... ...BillingAddress.PostalCodeString150 ZeichenPostal code
... ...BillingAddress.CityString150 ZeichenCity
... ...BillingAddress.CountryString50 ZeichenCountry
... ...BillingAddress.CountryISOString50 ZeichenCountry as ISO 3166-1 alpha-2
... ...BillingAddress.PhoneString150 ZeichenPhone number
... ...BillingAddress.FaxString50 ZeichenFax number
... ...BillingAddress.MailString150 ZeichenEmail address
... ...BillingAddress.IsMerchantBooleanDealer status labeling
... ...BillingAddress.TaxIDNumberStringVAT identification number
...Order.BuyerInfo.ShippingAddressContainerContainer with delivery data
... ...ShippingAddress.FirstNameString255 ZeichenFirst name
... ...ShippingAddress.LastNameString255 ZeichenLast name
... ...ShippingAddress.CompanyString255 ZeichenCompany name
... ...ShippingAddress.StreetString255 ZeichenStreet
... ...ShippingAddress.Street2String255 ZeichenAddress 2
... ...ShippingAddress.StateOrProvinceString50 ZeichenState
... ...ShippingAddress.PostalCodeString255 ZeichenPostal code
... ...ShippingAddress.CityString150 ZeichenCity
... ...ShippingAddress.PhoneString150 ZeichenPhone number
... ...ShippingAddress.CountryString255 ZeichenCountry
... ...ShippingAddress.CountryISOString50 ZeichenCountry as ISO 3166-1 alpha-2
... ...ShippingAddress.TaxIDNumberStringVAT identification number
...Order.SoldItemsContainerContainer with articles of the operation
... SoldItems.ItemsInOrderIntegerNumber of items in this order
...Order.SoldItemContainerContainer with article data
... ...SoldItem.ItemDetailsDoneBooleanAre item details selected? (0/-1)
... ...SoldItem.ItemIDIntegerUnique Afterbuy ItemID
... ...SoldItem.AnrFloatItem number of the sold item
... ...SoldItem.IsAmazonBusinessBooleanAmazon B2B status (only if 'true')
... ...SoldItem.IsAmazonPrimeBooleanAmazon Prime Status (only if 'true')
... ...SoldItem.FulfillmentServiceLevelIntegerAmazon Fulfillment ServiceLevel
Possible values:
- 0 (None)
- 1 (Standard)
- 2 (Expedited)
- 3 (Scheduled)
- 10 (Next)
- 11 (NextDay)
- 20 (Second)
- 21 (SecondDay)
... ...SoldItem.eBayTransactionIDIntegerinternal eBay TransactionID. This can be used to identify each Buy It now item.

Note: Sales of type "Auction" (see XML element "InternalItemType" = 1) have no TransactionID and the output is empty in this case.
... ...SoldItem.AlternativeItemNumber1StringAlternative article number 1. Is filled automatically for Amazon imports. When transferring the store sales, this field can be used independently.
... ...SoldItem.AlternativeItemNumberStringAlternative article number. Is filled automatically for Amazon imports. When transferring the store sales, this field can be used independently.
... ...SoldItem.InternalItemTypeIntegerInternal article type
Possible values:
Type list eBay
- 1 (Auction)
- 2 (Power auction)
- 7 (Shop no longer exists)
- 8 (Offer to losing bidder, SecondChance)
- 9 (Buy It now)

Typen-Liste Amazon
• 101 (Seller Central)
• 201 (Fulfillment By Amazon Seller Central)
• 301 (Fulfillment By Amazon Marketplace)
• 401 (Marketplace Web Services)
• 501 (Fulfillment By Amazon Marketplace über Marketplace Web Services)
• 666 (Marketplace)
... ...SoldItem.UserDefinedFlagIntegerID of the seller defined flag
... ...SoldItem.ItemTitleStringItem name
... ...SoldItem.ItemQuantityIntegerSold quantity
... ...SoldItem.ItemPriceFloatItem unit price
... ...SoldItem.ItemEndDateDateItem sale date
... ...SoldItem.TaxRateFloatVAT
... ...SoldItem.TaxCollectedByIntegerIndicates who withheld the taxes and is responsible for remitting them.
0 - Default (Seller)
1 - Marketplace
... ...SoldItem.PlatformTaxReferenceString50 ZeichenPlatform tax reference
... ...SoldItem.ItemWeightFloatIndividual weight of the item
... ...SoldItem.ItemXmlDateDateXML export date of the item
... ...SoldItem.ItemModDateDateArticle Change date
... ...SoldItem.ItemPlatFormNameStringName of the platform on which the item was sold.
   Possible values:

  - add (sales via the "add" function)
  - amazon
  - amprice
  - auvito
  - azubo
  - creator (sales via the EOA mailcreator that have not been created as an Ebay transaction)
  - cross (sales via cross-selling)
  - ebay
  - real (sales via Auxion)
  - elimbo
  - hood
  - import (sales through item data import)
  - ricardo
  - sellcreator
  - store (sales through Afterbuy-Shop)
  - Unister (sales via Auvito)
  - VA_Module (as commission article sales agent module created manually)
  - VA_Provision accounting (created as commission sales agent module automatically during import)
  - Yatego

If an interface was ordered via Afterbuy, the name that was generated can be used as a filter.

This name will be put in front of buyer username for all sales.
... ...SoldItem.ItemLinkStringLink to the article on the sales platform
... ...SoldItem.eBayFeedbackCompletedBooleanIndicates whether an eBay rating has been submitted.
... ...SoldItem.eBayFeedbackReceivedBooleanIndicates whether an eBay rating has been received.
... ...SoldItem.eBayFeedbackTypeStringeBay rating type
... ...SoldItem.ItemOriginalCurrencyContainerContainer with original currency
... ...SoldItem.ItemOriginalCurrency.ItemPriceFloatPrice of the item in original currency
... ...SoldItem.ItemOriginalCurrency.ItemPriceCodeStringCurrency abbreviation of the original currency
... ...SoldItem.ItemOriginalCurrency.ItemShippingFloatShipping costs in original currency
... ...SoldItem.ShopProductDetailsConainerContainer with shop product data
... ...ShopProductDetails.ProductIDIntegerProductID
... ...ShopProductDetails.EANStringEAN
... ...ShopProductDetails.AnrFloatItem number
... ...ShopProductDetails.UnitOfQuantityStringUnit
... ...ShopProductDetails.BasepriceFactorFloatContent
... .ShopProductDetails.BaseProductDataConainerContainer with set data
... ...BaseProductData.BaseProductTypeIntegerMarking of the set product
1 - Variation set
2 - Product set
... ...BaseProductData.ChildProductConainerContainer with product data of the set products
... ...ChildProduct.ProductIDIntegerProductID of the set product
... ...ChildProduct.ProductEANStringEAN of the set product
... ...ChildProduct.ProductANrIntegerItem number of the set product
... ...ChildProduct.ProductNameStringName of the set product
... ...ChildProduct.ProductQuantityIntegerQuantity
... ...ChildProduct.ProductVATFloatVAT
... ...ChildProduct.ProductWeightFloatWeight
... ...ChildProduct.ProductUnitPriceFloatUnit price of the child product in the set
...Order.ShippingInfoConainerContainer with shipping information
... ...ShippingInfo.ShippingMethodStringShipping method
... ...ShippingInfo.ShippingReturnMethodStringReturns shipping method
... ...ShippingInfo.ShippingCostFloatShipping costs
... ...ShippingInfo.ShippingAdditionalCostFloatShipping costs for other items
... ...ShippingInfo.ShippingTotalCostFloatTotal shipping costs
... ...ShippingInfo.ShippingTaxRateFloatVAT
... ...ShippingInfo.DeliveryDateDateShipping date
© Copyright 2003 - 2023 ViA-Online GmbH – All rights reserved | www.afterbuy.de