Ebay Sell Metadata
The eBay Sell Metadata API is an interface for retrieving eBay marketplace metadata such as policies, categories, and selling configuration information.
- Base URL:
https://api.ebay.com/sell/metadata/v1 - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://api.ebay.com/identity/v1/oauth2/tokenusing yourclientId/clientSecret, then calls the API.
Operations
getsalestaxjurisdictions— GET /country/{countryCode}/sales_tax_jurisdiction — This method retrieves all the sales tax jurisdictions for the country that you sgetautomotivepartscompatibilitypolicies— GET /marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies — This method returns the eBay policies that define how to list automotive-parts-cgetextendedproducerresponsibilitypolicies— GET /marketplace/{marketplace_id}/get_extended_producer_responsibility_policies — This method returns the Extended Producer Responsibility policies for one, multigethazardousmaterialslabels— GET /marketplace/{marketplace_id}/get_hazardous_materials_labels — This method returns hazardous materials label information for the specified eBaygetitemconditionpolicies— GET /marketplace/{marketplace_id}/get_item_condition_policies — This method returns item condition metadata on one, multiple, or all eBay categogetlistingstructurepolicies— GET /marketplace/{marketplace_id}/get_listing_structure_policies — This method returns the eBay policies that define the allowed listing structures
Inputs
clientId/clientSecret— your ebay-sell-metadata OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getsalestaxjurisdictions
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for ebay-sell-metadata. |
clientSecret |
string | yes | — | OAuth client secret for ebay-sell-metadata. |
operation |
string | yes | — | One of: getsalestaxjurisdictions, getautomotivepartscompatibilitypolicies, getextendedproducerresponsibilitypolicies, gethazardousmaterialslabels, getitemconditionpolicies, getlistingstructurepolicies |
scope |
string | no | https://api.ebay.com/oauth/api_scope |
OAuth scopes (space-separated); default from the spec. |
countryCode |
string | no | — | Path parameter countryCode (required by some operations). |
marketplace_id |
string | no | — | Path parameter marketplace_id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |