ebay api xml GetMyeBay销售数量已售

时间:2019-12-17 06:39:51

标签: php xml ebay-api

我有这个XML代码。我无法获取ActiveList.ItemArray.Item.SellingStatus.QuantitySold中的QuantitySold值,如何使用XML获取“ QuantitySold”值。谢谢

// Generate XML request
$call_name = 'GetMyeBaySelling';
$xml_request = "<?xml version=\"1.0\" encoding=\"utf-8\"?>
               <".$call_name."Request xmlns=\"urn:ebay:apis:eBLBaseComponents\">
                   <RequesterCredentials>
                       <eBayAuthToken>" . $auth_token . "</eBayAuthToken>
                   </RequesterCredentials>
                  <ActiveList>
                  <QuantitySold> int </QuantitySold>
                    <Sort>TimeLeft</Sort>
                    <Pagination>
                      <EntriesPerPage>1</EntriesPerPage>
                      <PageNumber>1</PageNumber>
                    </Pagination>
                  </ActiveList>
               </".$call_name."Request>";

0 个答案:

没有答案