canonical: https://jentic.com/apis/ebay.com/sell-account

# Ebay Account v1 API

The eBay Sell Account API gives sellers programmatic control over their account configuration - eBay business policies (fulfillment, payment, return), custom seller-defined policies, sales-tax tables, opt-in to eBay seller programmes, KYC status, advertising eligibility, and rate-table lookups. Most write endpoints require a User access token issued through the OAuth Authorization Code grant; the API is designed to be the configuration layer that listing flows depend on, so policy IDs returned here are referenced from the Sell Inventory and Sell Marketing APIs.

## For AI agents

Configure an eBay seller account programmatically - create and manage fulfillment, payment, and return policies, custom policies, sales tax tables, and seller programme opt-ins.

## Scope

Does not handle listing creation, order processing, or financial reporting - use for seller account configuration (policies, tax, programmes) only.

## Capabilities

- Create and update fulfillment policies that define handling time and shipping options
- Create and update payment policies that control how a seller accepts payment on listings
- Create and update return policies covering return windows, restocking fees, and refund methods
- Define custom seller policies for product compliance, take-back, and regional disclosures
- Configure per-jurisdiction sales tax tables to attach to listings
- Opt a seller in or out of eBay seller programmes (e.g., eBay for Charity, Out of Stock Control)
- Read KYC and advertising-eligibility status to gate features in a third-party tool

## Use cases

### Onboarding wizard for a multi-channel SaaS

A multi-channel seller tool walks new users through eBay setup: create a fulfillment policy via POST /fulfillment_policy, a payment policy via POST /payment_policy, and a return policy via POST /return_policy, each tied to the user's marketplace_id. The returned policy IDs are stored in the SaaS profile and re-used on every listing the tool publishes through the Inventory API.

Example prompt: POST a fulfillment_policy with marketplaceId=EBAY_US, name='Standard 1-day', handlingTime PT1D, then store the returned fulfillmentPolicyId on the tenant

### Bulk policy migration during a marketplace expansion

A seller expanding from EBAY_US to EBAY_GB uses the Sell Account API to read every existing US policy via GET /fulfillment_policy, /payment_policy, /return_policy, then POST equivalent policies for the GB marketplace with adjusted shipping options and currency. The integration runs once per expansion and produces an audit log of created policy IDs.

Example prompt: List all fulfillment policies for EBAY_US, then for each one POST an EBAY_GB equivalent with currency GBP and a Royal Mail shipping service

### Sales-tax table sync from an accounting system

Sellers operating in multiple US states use PUT /sales_tax/{countryCode}/{jurisdictionId} to push current state-level sales-tax rates from their accounting tool onto eBay listings. Running the sync nightly keeps eBay's automatically applied tax in step with rate changes from the seller's books of record.

Example prompt: For each US state in the local tax table, PUT /sales_tax/US/{state-code} with the current rate and shippingAndHandlingTaxed flag

### Seller programme self-service

A seller dashboard lets users toggle eBay programme participation - eBay for Charity, Out of Stock Control, Promoted Listings - by calling POST /program/opt_in or POST /program/opt_out. GET /program/get_opted_in_programs reads the current state to drive the toggle UI, and GET /advertising_eligibility surfaces which advertising programmes the seller currently qualifies for.

Example prompt: Read /program/get_opted_in_programs, then for each toggle the user changes call /program/opt_in or /program/opt_out

### AI agent integration via Jentic

An AI agent configuring a new seller's account searches Jentic for 'create eBay fulfillment policy'. Jentic returns the POST /fulfillment_policy operation with its required schema (marketplaceId, name, handlingTime, shippingOptions). The agent loads the schema, executes the call with a User access token issued through Jentic's vault, and stores the returned policy ID for downstream listing creation.

Example prompt: Use Jentic to search 'create eBay fulfillment policy', load POST /fulfillment_policy, and execute it with marketplaceId=EBAY_US and name='Standard 1-day'

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /fulfillment_policy/ | Create a fulfillment policy |
| GET | /fulfillment_policy | List fulfillment policies for a marketplace |
| POST | /payment_policy | Create a payment policy |
| POST | /return_policy | Create a return policy |
| POST | /program/opt_in | Opt the seller into an eBay programme |
| GET | /program/get_opted_in_programs | List programmes the seller is currently opted into |
| PUT | /sales_tax/{countryCode}/{jurisdictionId} | Set the sales-tax rate for a jurisdiction |
| GET | /kyc | Get seller KYC verification status |

## Key resources

- **fulfillment_policy** — Create, read, update, delete fulfillment policies
- **payment_policy** — Create, read, update, delete payment policies
- **return_policy** — Create, read, update, delete return policies
- **custom_policy** — Create and update seller-defined custom policies
- **sales_tax** — Per-jurisdiction sales-tax tables
- **program** — Opt-in and opt-out endpoints for eBay seller programmes
- **kyc** — Read seller KYC verification status
- **rate_table** — Read shipping-rate tables linked to fulfillment policies

## Why Jentic

- **Setup:** Wiring the eBay Account API by hand means implementing eBay's OAuth 2.0 authorization-code flow for a seller user token, refreshing it, and pointing requests at the api.ebay.com sell/account host across 36 policy and programme endpoints. Through Jentic you install once, import the Account API from the API Directory, store the eBay OAuth credentials once, and your agent calls it.
- **Permission scoping:** Some Account operations put the resource id in the URL path, such as sales tax at /sales_tax/{countryCode}/{jurisdictionId}, so a rule can pin your agent to one tax jurisdiction. You choose the operations it may call, so you can allow reading and creating fulfilment or payment policies while leaving programme opt-in out unless you add it.
- **Credential handling:** Your eBay OAuth seller credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'create an eBay fulfillment policy' or 'set eBay sales tax', and Jentic returns the matching policy operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **eBay Sell Fulfillment API** — Sell Account creates the policies; Sell Fulfillment uses them when processing real orders.
- **eBay Sell Compliance API** — Sell Compliance flags listings violating policies; Sell Account fixes the underlying policy.
- **eBay Sell Feed API** — Sell Feed bulk-loads listings that reference Sell Account policy IDs.

## FAQ

### What authentication does the Sell Account API use?

The Sell Account API uses OAuth 2.0 with the Authorization Code grant - every endpoint operates in the authenticated seller's context, so a User access token is required. Through Jentic, the seller's refresh token sits in your Jentic One instance and the agent receives a scoped access token for the sell.account scope only.

### Can I create a fulfillment policy with the Sell Account API?

Yes. POST /fulfillment_policy with marketplaceId, name, handlingTime, and shippingOptions creates a policy and returns its fulfillmentPolicyId. That ID is then attached to listings via the Sell Inventory API. PUT /fulfillment_policy/{fulfillmentPolicyId} updates an existing policy.

### What are the rate limits for the Sell Account API?

Sell Account falls under eBay's Sell API user-context daily quota, issued per application-and-user pair. Use /user_rate_limit on the Developer Analytics API, looking at the sell.account entry, to read the live remaining count for the authenticated seller.

### How do I opt a seller into the eBay for Charity programme through Jentic?

Search Jentic for 'opt in to an eBay seller program', load POST /program/opt_in, and execute it with the program code for the eBay for Charity programme. Use GET /program/get_opted_in_programs afterwards to confirm the change. Install with pip install jentic. Get started with Jentic One, the self-hosted execution layer.

### Does the Sell Account API support custom seller policies?

Yes. POST /custom_policy/ creates a custom policy (e.g., a regional take-back disclosure) and PUT /custom_policy/{custom_policy_id} updates it. Custom policies are referenced from listings the same way as built-in fulfillment, payment, and return policies.

### Can I read a seller's KYC status with the Sell Account API?

Yes. GET /kyc returns the authenticated seller's KYC verification status, useful for gating advanced features in a third-party tool until verification is complete. The endpoint requires the standard sell.account scope.

### Can I limit what my agent is allowed to do with the eBay Sell Account API?

Yes. Jentic One is self-hosted, so your own rules decide which Sell Account operations and credentials the agent may use. You can allow it to read and create fulfillment or payment policies while leaving programme opt-in out unless you explicitly add it, and because operations like sales tax carry the resource id in the path (/sales_tax/{countryCode}/{jurisdictionId}), a rule can pin the agent to a single tax jurisdiction. Your eBay OAuth seller credentials are injected only at execution time and never reach the agent's prompt or context.
