question

nagemant0 avatar image
1 Like"
nagemant0 asked ·

createReturnPolicy bad request - 400 error

Hello all,

When I tried to create a return policy using createReturnPolicy API, it returns me 400-bad request error(sand box api explorer).

Even I tried with the same request data they provided in the sandbox api explorer but no use.

any one have experienced such issue. any solutions?

API endpoint: https://api.sandbox.ebay.com/sell/account/v1/return_policy

request body:

{

"name": "minimal return policy, US marketplace",

"marketplaceId": "EBAY_US",

"refundMethod": "MONEY_BACK",

"returnsAccepted": true,

"returnShippingCostPayer": "SELLER",

"returnPeriod": {

"value": 30,

"unit": "DAY"

}

}

response body:

Status: 400 Bad RequestTime: 1539 ms


{

"errors": []

}

selleraccount apireturn policy
· 1
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.

Guys, Any help?

0 Likes 0 · ·

1 Answer

· Write an Answer
mamods0 avatar image
1 Like"
mamods0 answered ·

I think this is a duplicate ticket. The error has already been reported and is taken by one of the dev-support. Unfortunately no answer when the issue is fixed or which workaround is existing...


https://forums.developer.ebay.com/questions/37057/how-to-define-return-policy-for-publishing-my-offe.html


· 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.