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

Same here I am getting the same result in the API Explorer. I cant call it in code either.

0 Likes 0 ·
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


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.

gormys0 avatar image
0 Likes"
gormys0 answered

I have the same issue with findItemsByKeywords. Cant find any reason why it happens suddenly. Is it the fault of ebay and it is still not fixed for over 2 months ?

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.

elettroniccisa avatar image
0 Likes"
elettroniccisa answered

Anyone solved ? I'm stuck in sandbox !!!

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.