eBay API:类别5356仅接受自定义项目详细信息

时间:2018-07-11 18:42:34

标签: php ebay-api php-curl

Ebay API始终返回Ebay Motors类别仅接受自定义项目详细信息。我已经通过xml如下

<? xml version = "1.0" encoding = "UTF-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>'.$userToken.'</eBayAuthToken>
</RequesterCredentials>
<DetailLevel>ReturnAll</DetailLevel>
<ErrorLanguage>en_US</ErrorLanguage>
<Version>941</Version>
<Item>
 <Site>US</Site>
    <ItemSpecifics>
        <NameValueList>
            <Name>Vehicle Title</Name>
            <Value><![CDATA[Clear]]></Value>
        </NameValueList>
        <NameValueList>
            <Name>Year</Name>
            <Value>1980</Value>
        </NameValueList>
        <NameValueList>
            <Name>Model</Name>
            <Value>Honda VTX-1800T</Value>
        </NameValueList>
        <NameValueList>
            <Name>Mileage</Name>
            <Value>36000</Value>
        </NameValueList>
    </ItemSpecifics>
    <PrimaryCategory>
        <CategoryID>5356</CategoryID>
    </PrimaryCategory>
    <Country>US</Country>
    <Currency>USD</Currency>
    <DispatchTimeMax>1</DispatchTimeMax>
    <ListingDuration>Days_5</ListingDuration>
    <ListingType>FixedPriceItem</ListingType>
    <Location><![CDATA[Greensboro, North Carolina, United States]]></Location>
    <PaymentDetails>
        <DaysToFullPayment>7</DaysToFullPayment>
        <DepositAmount currencyID="USD">500</DepositAmount>
        <DepositType>OtherMethod</DepositType>
        <HoursToDeposit>24</HoursToDeposit>
    </PaymentDetails>
    <PaymentMethods>PayPal</PaymentMethods>
    <PaymentMethods>CreditCard</PaymentMethods>
    <PaymentMethods>LoanCheck</PaymentMethods>
    <PaymentMethods>PersonalCheck</PaymentMethods>
    <PaymentMethods>CashInPerson</PaymentMethods>
    <PayPalEmailAddress>test@gmail.com</PayPalEmailAddress>
    <PostalCode>27406</PostalCode>
    <Quantity>1</Quantity>
    <RegionID>0</RegionID>
    <StartPrice currencyID="USD">6000.00</StartPrice>
    <ShippingTermsInDescription>True</ShippingTermsInDescription>
    <ConditionID>3000</ConditionID>
    <Title><![CDATA[2008 Honda VTX-1800T]]></Title>
    <VIN>WP0AB29911S63556</VIN>
    <SellerProvidedTitle><![CDATA[2008 Honda VTX-1800T]]></SellerProvidedTitle>
    <Description><![CDATA[<p>
            <strong>PRICE REDUCTION !!!</strong></p>
        <p>
            2008 Honda VTX-1800T</p>
        <p>
            Dark Red/ Black</p>
        <p>
            Stock # A600120</p>
        <p>
        </p>
        <p>
            Very Clean Honda VTX !!!!</p>
        <p>
        </p>
        <p>
        </p>]]>
    </Description>

    </Item>
    </AddItemRequest>

我已经尝试过多次使用不同的类别。我使用的是兼容版本1067。最近几天,我尝试使用许多Ebay链接。 https://forums.developer.ebay.com/questions/13205/21916516-category-requires-custom-item-specifics.html在此URL中,一位开发人员表示工作成功。但是不为我工作

0 个答案:

没有答案