cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use the Trading API-ReviseItem interface to modify ReturnsWithinOption?

I tried to modify part of Item using ReviseItem method, for return policy, I want to modify <ReturnsWithinOption> property, but it never works, I tried to modify <InternationalReturnsWithinOption> property, and it works. I don't quite understand what is the reason for this.

Message 1 of 4
latest reply
3 REPLIES 3

How to use the Trading API-ReviseItem interface to modify ReturnsWithinOption?

I responded to this a few days ago, but my message was removed by the system. I will try again.

 

Are you incuding:

<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>

 

?


That changes the Error (Ack:Failure):

 

<ShortMessage>Return policy value is not valid.</ShortMessage>
<LongMessage>Please specify a valid return policy.</LongMessage>
<ErrorCode>21916328</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorClassification>RequestError</ErrorClassification>

 

to a Warning (Ack:Warning):

 


<ShortMessage>Return policy option deprecated.</ShortMessage>
<LongMessage>The value specified is no longer supported in certain categories or sites.</LongMessage>
<ErrorCode>21920203</ErrorCode>
<SeverityCode>Warning</SeverityCode>
<ErrorParameters ParamID="0">
<Value>ReturnsWithinOption</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>

 

As you can see from the message though, return policies options are deprecated, so you probably want to look in to using Business Policies / Return Policies through use of the REST Account API v1.

Message 2 of 4
latest reply

How to use the Trading API-ReviseItem interface to modify ReturnsWithinOption?

Additionally from the docs:

For ReviseItem only: You cannot change the value of this field if the listing has bids or sales, or if the listing ends within 12 hours. For more details, see the ReturnPolicy description.

Message 3 of 4
latest reply

How to use the Trading API-ReviseItem interface to modify ReturnsWithinOption?

I make sure my listing end time is not less than 12 hours.

Message 4 of 4
latest reply