Skip to content

eBay

This module allows interacting with eBay’s REST APIs to manage a seller’s operations. It covers the main APIs: Fulfillment API (orders, shipments, refunds), Inventory API (items, offers/listings, inventory CRUD), Browse API (public item search), Finances API (transactions, payouts), Notification API (event subscriptions and webhooks), and Account API (seller information and policies).

Authentication is performed via OAuth2 with access tokens managed by the credentials module. The module uses HTTP helper functions (ebayGet, ebayPost, ebayPut, ebayDelete) to build requests.

ParameterTypeRequiredDescription
credentials_idcredentialsYeseBay credential (OAuth2)
operationtextYesOperation: getOrders, getOrder, createShippingFulfillment, issueRefund, getInventoryItems, getInventoryItem, createOrUpdateInventoryItem, deleteInventoryItem, getOffers, browseSearch, browseGetItem, getTransactions, getPayouts, createDestination, createSubscription, getSubscriptions, getSellerInfo
order_idtextConditionalOrder ID
skutextConditionalProduct SKU
limitnumberNoResult limit (varies by operation, max 200)
offsetnumberNoPagination offset
order_statusselectNoOrder status: ACTIVE, COMPLETED, CANCELLED
querytextConditionalSearch text (Browse API)
sortselectNoSorting: BEST_MATCH, PRICE, -PRICE, NEWLY_LISTED, ENDING_SOONEST
tracking_numbertextNoShipment tracking number
shipping_carrierselectNoCarrier: USPS, UPS, FEDEX, DHL, CORREOS, etc.
titletextConditionalProduct title (for create/update item)
conditionselectNoCondition: NEW, LIKE_NEW, USED_EXCELLENT, USED_GOOD, etc.
pricetextConditionalProduct price
quantitynumberConditionalInventory quantity

Service type: ebay. Stored in the servicecredentials table.

Configuration fields:

  • clientId: eBay App ID
  • clientSecret: eBay Cert ID
  • refreshToken: OAuth2 refresh token
  • marketplace_id: Marketplace ID (e.g.: EBAY_US, EBAY_ES)
  • environment: sandbox or production
{
"nextModule": null,
"data": [
{
"orderId": "12-12345-12345",
"orderFulfillmentStatus": "NOT_STARTED",
"pricingSummary": {
"total": { "value": "49.99", "currency": "USD" }
}
}
],
"_meta_": {
"operation": "getOrders",
"recordCount": 1,
"executionTime": "320ms"
}
}
{
"credentials_id": 1,
"operation": "getOrders",
"limit": 50,
"order_status": "ACTIVE"
}
  • eBay Fulfillment API v1, Inventory API v1, Browse API v1
  • eBay Finances API v1, Notification API v1, Account API v1
  • Documentation: https://developer.ebay.com/docs
  • The maximum result limit varies: 200 for orders/transactions, 100 for inventory
  • The Browse API is public and does not require a user refresh token
  • Creating/updating inventory items uses upsert by SKU (PUT operation)
  • Refunds are processed through the Fulfillment API
  • Notifications require first creating a destination endpoint and then the subscription
  • The EBAY_US marketplace is the default value if not specified
  • The request timeout is 30 seconds
  • Get Orders, Get Order, Mark Shipped, Issue Refund
  • Get Inventory, Get Inventory Item, Create/Update Item, Delete Item
  • Browse Items (Browse), Get Item (Browse), Active Listings
  • Get Transactions, Get Payouts
  • Create Notification Destination, Create Notification Subscription, Get Subscriptions
  • Seller Info