Php 使用易趣SOAP请求添加固定价格商品返回错误37
我正在尝试使用eBay API提交新产品,但无论我如何尝试,都会出现以下错误:Php 使用易趣SOAP请求添加固定价格商品返回错误37,php,soap,ebay-api,Php,Soap,Ebay Api,我正在尝试使用eBay API提交新产品,但无论我如何尝试,都会出现以下错误: 标记的输入数据无效或丢失。 请查看API文档。(错误代码37) 它不显示“ShippingDetails”中的哪个字段无效。我什么都试过了,但没有成功 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns
标记的输入数据无效或丢失。 请查看API文档。(错误代码37) 它不显示“ShippingDetails”中的哪个字段无效。我什么都试过了,但没有成功
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:ebay:apis:eBLBaseComponents">
<SOAP-ENV:Header>
<ns1:RequesterCredentials>
<ns1:eBayAuthToken>(hidden)</ns1:eBayAuthToken>
<ns1:Credentials>
<ns1:AppId>(hidden)</ns1:AppId>
<ns1:DevId>(hidden)</ns1:DevId>
<ns1:AuthCert>(hidden)</ns1:AuthCert>
</ns1:Credentials>
</ns1:RequesterCredentials>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:AddFixedPriceItemRequest>
<ns1:ErrorLanguage>en_US</ns1:ErrorLanguage>
<ns1:Version>837</ns1:Version>
<ns1:Item>
<ns1:Country>NL</ns1:Country>
<ns1:Currency>EUR</ns1:Currency>
<ns1:Description><div style="font-family: Arial, sans-serif; font-size: 13px; line-height: 20px;"></div></ns1:Description>
<ns1:ListingDuration>GTC</ns1:ListingDuration>
<ns1:Location>Oirsbeek</ns1:Location>
<ns1:PaymentMethods>PayPal</ns1:PaymentMethods>
<ns1:PayPalEmailAddress>info@sfeerleven.nl</ns1:PayPalEmailAddress>
<ns1:PrimaryCategory>
<ns1:CategoryID>11700</ns1:CategoryID>
</ns1:PrimaryCategory>
<ns1:Quantity>20</ns1:Quantity>
<ns1:ShippingDetails>
<ns1:ShippingServiceOptions>
<ns1:ShippingService>DE_GLSInternational</ns1:ShippingService>
<ns1:ShippingServiceCost>5.95</ns1:ShippingServiceCost>
<ns1:ShippingServicePriority>1</ns1:ShippingServicePriority>
<ns1:FreeShipping>false</ns1:FreeShipping>
</ns1:ShippingServiceOptions>
<ns1:ShippingType>Flat</ns1:ShippingType>
</ns1:ShippingDetails>
<ns1:StartPrice>85.95</ns1:StartPrice>
<ns1:Title>Clayre &amp; Eef Bett&uuml;berwurf 180x260 | Q103.060</ns1:Title>
<ns1:VATDetails>
<ns1:VATPercent>21</ns1:VATPercent>
</ns1:VATDetails>
<ns1:SKU>Q103.060</ns1:SKU>
<ns1:CategoryBasedAttributesPrefill>true</ns1:CategoryBasedAttributesPrefill>
<ns1:PostalCode>6438 BB</ns1:PostalCode>
<ns1:PictureDetails>
<ns1:PictureURL>https://sfeerleven.nl/perry/Afbeeldingen/originals/Q103.060.jpg</ns1:PictureURL>
</ns1:PictureDetails>
<ns1:DispatchTimeMax>0</ns1:DispatchTimeMax>
<ns1:ReturnPolicy>
<ns1:ReturnsAcceptedOption>ReturnsAccepted</ns1:ReturnsAcceptedOption>
</ns1:ReturnPolicy>
<ns1:ConditionID>1000</ns1:ConditionID>
</ns1:Item>
</ns1:AddFixedPriceItemRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
(隐藏)
(隐藏)
(隐藏)
(隐藏)
恩努斯
837
NL
欧元
div style=“font-family:Arial,无衬线;字体大小:13px;线条高度:20px;”/div
GTC
奥斯比克
贝宝
info@sfeerleven.nl
11700
20
德乌格尔辛国际酒店
5.95
1.
假的
平的
85.95
克莱尔;amp;Eef Bett&;uuml;berwurf 180x260|Q103.060
21
Q103.060
真的
6438 BB
https://sfeerleven.nl/perry/Afbeeldingen/originals/Q103.060.jpg
0
接受退货
1000
国际价值不是有效的运输服务。易趣上提供的服务会随着时间的推移而变化,因此获取最新信息的最佳方式如下
- 为您要登录的站点拨打电话
- 在请求中,确保设置为ShippingServiceDetails
- 在响应中,遍历每个元素并检查是否存在李>
- 如果ValidForSellingFlow存在且值为“true”,则读取的值
- 您还可以检查的值,以查看该服务是否可用于国际运输