01-04-2024 12:39 PM
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?
01-17-2024 11:37 AM
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
01-17-2024 12:57 PM
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.
01-18-2024 10:53 AM
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.