question

franhuan6 avatar image
0 Likes"
franhuan6 asked ·

Trading API With Listing_Duration Problem

I'm try to list a fixed price item with **'GTC'** list term, but the web service returns me an Error message as below: ***Duration Invalid. The duration "GTC" day(s) isn't available for this listing type, or invalid for category 177831*** But I can list this item by using **Day_14** or **Day_7**, and I double check the category which is suitable for 'GTC' term. I'm currently using **AU** as **countryID** in my sandbox for development. Dose sandbox support **GTC** for Australian category?????
trading apiaddfixedpriceitemPHPtrading-apisdk-api
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1001jouetsfr avatar image
1 Like"
1001jouetsfr answered ·
@franhuan6, I had the same problem a few months ago. Access to GTC depends on the category on one hand, and on your suscription to a store in ebay (if you have some) on the other hand. See this article below : http://www.tagwith.com/question_252493_ebay-trading-api-additem-listingduration-as-gtc Regards
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

franhuan6 avatar image
1 Like"
franhuan6 answered ·
Thank you very much @1001jouetsfr, I've been search the result for a long time, your answer gives me the best understanding on this issue. Cheers!
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

prussianmotors avatar image
0 Likes"
prussianmotors answered ·
I meant to post an excerpt of the actual XML that is being sent to eBay. Looks like you posted your code that is generating the XML.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

franhuan6 avatar image
0 Likes"
franhuan6 answered ·
DTS\eBaySDK\Trading\Types\AddFixedPriceItemRequestType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [RequesterCredentials] => DTS\eBaySDK\Trading\Types\CustomSecurityHeaderType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [eBayAuthToken] => ********************************************* ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [Item] => DTS\eBaySDK\Trading\Types\ItemType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ListingType] => FixedPriceItem [Quantity] => 99 [ListingDuration] => GTC [StartPrice] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 19.99 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [BestOfferDetails] => DTS\eBaySDK\Trading\Types\BestOfferDetailsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [BestOfferEnabled] => 1 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ListingDetails] => DTS\eBaySDK\Trading\Types\ListingDetailsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [BestOfferAutoAcceptPrice] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 17.99 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [MinimumBestOfferPrice] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 15.99 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [Title] => Speedplay Zero Chrome-Moly Pedals - Pair White Zero CroMo (incl cleats) [Description] => A Fixed Price Item From MY Clsss [Currency] => AUD [Location] => Sydney [Country] => AU [SKU] => ABC-003-2 [PostalCode] => 2044 [PictureDetails] => DTS\eBaySDK\Trading\Types\PictureDetailsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [GalleryType] => Gallery [PictureURL] => DTS\eBaySDK\Types\UnboundType Object ( [data:DTS\eBaySDK\Types\UnboundType:private] => Array ( [0] => http://192.168.0.94/templates/magento/images/ribbon/blank-b.png ) [position:DTS\eBaySDK\Types\UnboundType:private] => 0 [class:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\PictureDetailsType [property:DTS\eBaySDK\Types\UnboundType:private] => PictureURL [expectedType:DTS\eBaySDK\Types\UnboundType:private] => string ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [PrimaryCategory] => DTS\eBaySDK\Trading\Types\CategoryType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [CategoryID] => 74469 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ConditionID] => 1000 [PaymentMethods] => DTS\eBaySDK\Types\UnboundType Object ( [data:DTS\eBaySDK\Types\UnboundType:private] => Array ( [0] => VisaMC [1] => PayPal ) [position:DTS\eBaySDK\Types\UnboundType:private] => 0 [class:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\ItemType [property:DTS\eBaySDK\Types\UnboundType:private] => PaymentMethods [expectedType:DTS\eBaySDK\Types\UnboundType:private] => string ) [PayPalEmailAddress] => example@example.com [DispatchTimeMax] => 1 [ShippingDetails] => DTS\eBaySDK\Trading\Types\ShippingDetailsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ShippingType] => Flat [ShippingServiceOptions] => DTS\eBaySDK\Types\UnboundType Object ( [data:DTS\eBaySDK\Types\UnboundType:private] => Array ( [0] => DTS\eBaySDK\Trading\Types\ShippingServiceOptionsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ShippingServicePriority] => 1 [ShippingService] => AU_StandardDelivery [ShippingServiceCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 2 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ShippingServiceAdditionalCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 1 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [1] => DTS\eBaySDK\Trading\Types\ShippingServiceOptionsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ShippingServicePriority] => 2 [ShippingService] => AU_Express [ShippingServiceCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 3 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ShippingServiceAdditionalCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 2 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [position:DTS\eBaySDK\Types\UnboundType:private] => 0 [class:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\ShippingDetailsType [property:DTS\eBaySDK\Types\UnboundType:private] => ShippingServiceOptions [expectedType:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\ShippingServiceOptionsType ) [InternationalShippingServiceOption] => DTS\eBaySDK\Types\UnboundType Object ( [data:DTS\eBaySDK\Types\UnboundType:private] => Array ( [0] => DTS\eBaySDK\Trading\Types\InternationalShippingServiceOptionsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ShippingServicePriority] => 1 [ShippingService] => AU_ExpressCourierInternational [ShippingServiceCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 4 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ShippingServiceAdditionalCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 3 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ShipToLocation] => DTS\eBaySDK\Types\UnboundType Object ( [data:DTS\eBaySDK\Types\UnboundType:private] => Array ( [0] => WorldWide ) [position:DTS\eBaySDK\Types\UnboundType:private] => 0 [class:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\InternationalShippingServiceOptionsType [property:DTS\eBaySDK\Types\UnboundType:private] => ShipToLocation [expectedType:DTS\eBaySDK\Types\UnboundType:private] => string ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [1] => DTS\eBaySDK\Trading\Types\InternationalShippingServiceOptionsType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ShippingServicePriority] => 2 [ShippingService] => AU_StandardInternational [ShippingServiceCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 5 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ShippingServiceAdditionalCost] => DTS\eBaySDK\Trading\Types\AmountType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [value] => 4 ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ShipToLocation] => DTS\eBaySDK\Types\UnboundType Object ( [data:DTS\eBaySDK\Types\UnboundType:private] => Array ( [0] => Americas [1] => CA [2] => Europe [3] => JP ) [position:DTS\eBaySDK\Types\UnboundType:private] => 0 [class:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\InternationalShippingServiceOptionsType [property:DTS\eBaySDK\Types\UnboundType:private] => ShipToLocation [expectedType:DTS\eBaySDK\Types\UnboundType:private] => string ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [position:DTS\eBaySDK\Types\UnboundType:private] => 0 [class:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\ShippingDetailsType [property:DTS\eBaySDK\Types\UnboundType:private] => InternationalShippingServiceOption [expectedType:DTS\eBaySDK\Types\UnboundType:private] => DTS\eBaySDK\Trading\Types\InternationalShippingServiceOptionsType ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) [ReturnPolicy] => DTS\eBaySDK\Trading\Types\ReturnPolicyType Object ( [values:DTS\eBaySDK\Types\BaseType:private] => Array ( [ReturnsAcceptedOption] => ReturnsAccepted [RefundOption] => MoneyBack [ReturnsWithinOption] => Days_14 [ShippingCostPaidByOption] => Buyer ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) ) ) [attachment:DTS\eBaySDK\Types\BaseType:private] => Array ( [data] => [mimeType] => ) )
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

prussianmotors avatar image
0 Likes"
prussianmotors answered ·
it might be helpful if you post an except of the XML request
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

franhuan6 avatar image
0 Likes"
franhuan6 answered ·
Thanks for any response in advance.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.