02-12-2023 10:10 PM
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.
02-21-2023 12:40 AM
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.
02-21-2023 12:49 AM
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.
02-24-2023 12:15 AM
I make sure my listing end time is not less than 12 hours.