question

hado3671 avatar image
0 Likes"
hado3671 asked

how to define return policy for publishing my offer?

I have created inventory and created list and offer when i try to publish the offer using sell API [publishoffer]. it gives me error that "return policy not found". when i try to create return policy using ACCOUNT API. and create return policy it gives me error..

{

"errors": []

}

its the complete error. i dont know how to create return policy. i have tried everything.

sandboxsell apireturn policy
10 |600

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

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @hado3671,

When creating an offer for a specific inventory item on a specific eBay marketplace updates or updating an existing offer, please use the listingPolicies.returnPolicyId field for setting up the return policy.

Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer#request.listingPolicies.returnPolicyIdhttps://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/updateOffer#request.listingPolicies.returnPolicyId

Best Regards
eBay developer support

· 1
10 |600

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

I know that, it's not my problem.

here is my problem

Request ->

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

{
    "name": "m53453y",
    "marketplaceId": "EBAY_US",
    "returnsAccepted": false
}

Response ->

400 Bad Request
{
    "errors": []
}


I can't create a return policy. 404 Bad Request error returns. Please help
Rlogid = t6pitf%60quq%60%28ciuoopu0asu%60pkal%3C%3Dosutowgdwvpd.mt%7D%7B%7D%2Bsfvu7371-17d6a4b6208-0x14e

0 Likes 0 ·
hado3671 avatar image
0 Likes"
hado3671 answered

How can I resolve this error.




10 |600

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.