@api-emulator/ebay-seller
v0.2.2
Published
eBay Seller APIs provide OAuth, inventory item, offer, and marketplace selling workflows.
Readme
@api-emulator/ebay-seller
eBay Seller APIs provide OAuth, inventory item, offer, and marketplace selling workflows.
Use this emulator for local tests, CI, and offline agent runs. It keeps your tests separate from the production API.
Start the emulator
- Install the package.
npm install @api-emulator/ebay-seller- From this registry, start the emulator.
npx -p api-emulator api --plugin ./providers/@ebay-seller/api-emulator.mjs --service ebay-sellerThe emulator uses the local URL that api-emulator prints. Set your client base URL to this local URL.
Supported API
POST /identity/v1/oauth2/tokenGET /sell/inventory/v1/inventory_item/:skuPUT /sell/inventory/v1/inventory_item/:skuGET /sell/inventory/v1/inventory_itemPOST /sell/inventory/v1/offerGET /ebay-seller/inspect/state
Coverage
- Level:
smoke-only - Meaning: A smoke test starts the emulator and checks its main behavior.
- Evidence: a direct smoke test exists, but a conformance manifest does not exist.
Credentials
You do not need production credentials. Use fixed local credentials if your client requires them.
Test data
Add repeatable test data to the provider configuration.
ebay-seller:
# Add provider-specific seed state here.