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

Assistance Required for eBay API Integration – Error 500 on Policy Creation

I successfully called the createOrReplaceInventoryItem API to create an inventory item record. Now, I'm trying to proceed with the createOffer API to add details like price, marketplace, category, quantity, and listing policies (payment, fulfillment, and return policy).

However, I'm encountering a 500 error when trying to create payment, fulfillment, and return policies using the API. My request body is a slightly modified version of the sample. There are already policies created via the eBay Seller site on my eBay UK account.

Can I use these existing GUI-created policy IDs in the API? If so, how can I retrieve and utilize them effectively?

Message 1 of 5
latest reply
4 REPLIES 4

Assistance Required for eBay API Integration – Error 500 on Policy Creation

You can create policies manually via the browser, these are just 3 policies and then use their id in the offer.

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 2 of 5
latest reply

Assistance Required for eBay API Integration – Error 500 on Policy Creation

Hi @finediamonds-r-us 

 

Business policies can be created and managed in My eBay or with the Account API.

 

You can use the get calls like getFulfillmentPolicies getPaymentPolicies and getReturnPolicies to fetch the business policies created with API or from the "My eBay" section. 

Best Regards,
eBay Developer Support
Message 3 of 5
latest reply

Assistance Required for eBay API Integration – Error 500 on Policy Creation

ld be nice if that was true.  When I log into the sandbox nothing works there either.  Can't get to an account page, can't list an item manually, can't alter anything.  It's just as broken as their API most of the time.  Ridiculous.

Message 4 of 5
latest reply

Assistance Required for eBay API Integration – Error 500 on Policy Creation

I've given up using the sandbox for development.   Test in production because that's the only thing that really works.

Message 5 of 5
latest reply