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

Business Policies (ShippingProfileID etc.) for Sandbox not working

I am developing an interface for a client ERP. The client uses ShippingProfileID/ReturnProfileID/PaymentProfileID.

I want to use IDs as well during development and testing for e.g., AddFixedPriceItem.

What has worked in the past was configuring a sandbox user using https://www.bizpolicy.sandbox.ebay.com/businesspolicy/policyoptin

Now, not only were my previous IDs/profiles deleted, I also cannot add new policies again.

Any ideas?

Message 1 of 4
latest reply
3 REPLIES 3

Business Policies (ShippingProfileID etc.) for Sandbox not working

Hi @franzh2016 

 

The Account API allows merchants to create business policies that describe how they conduct their customer-facing business. Please use the Account API to set up all your fulfillment, payment, and return business policies.

 

 eBay business policies Guide: https://developer.ebay.com/api-docs/sell/static/seller-accounts/business-policies.html

Best Regards,
eBay Developer Support
Message 2 of 4
latest reply

Business Policies (ShippingProfileID etc.) for Sandbox not working

I am aware of that, I am talking about simulating this using the sandbox environment. E.g., using

https://api.sandbox.ebay.com/sell/account/v1/return_policy?marketplace_id=EBAY_US

I receive

"returnPolicyId": "xxxxxxx"

 

However, using "xxxxxxx" in AddFixedPriceItem gives the error

 

   A return option is missing or not valid. Update your return options.

 

In production, everything works fine. But for regression testing, I need a working sandbox.

Message 3 of 4
latest reply

Business Policies (ShippingProfileID etc.) for Sandbox not working

Hi @franzh2016 

 

Please make sure you are creating and using the correct return policy as per the specified site and category. 

 

getReturnPolicies call of the Metadata API can be used to retrieve return policy metadata for one, multiple, or all eBay leaf categories for a given eBay marketplace.

Best Regards,
eBay Developer Support
Message 4 of 4
latest reply