eBay
App · E-Commerce · 20 actions
Manage your eBay seller account: inventory, listings, orders and business policies.
Actions
| Action | What it does |
|---|---|
| Create inventory location | Create a location to ship from. |
| Create offer | Create an unpublished offer for a SKU on one marketplace. |
| Create or replace inventory item | Create an inventory item for a SKU, or replace it if the SKU already exists. |
| Delete inventory item | Delete an inventory item and any unpublished offers against it. |
| Delete inventory location | Delete an inventory location. |
| Delete offer | Delete an offer. |
| Get inventory item | Fetch one inventory item by its SKU. |
| Get listing fees | Preview the fees eBay would charge to publish an unpublished offer. |
| Get offer | Fetch one offer by its id. |
| Get order | Fetch one order, including its line items and buyer. |
| List business policies | List your shipping, payment or return policies for one marketplace. |
| List inventory items | List the SKUs defined on your eBay seller account. |
| List inventory locations | List the warehouses and stores you ship from. |
| List offers for a SKU | List every offer defined against one SKU. |
| List orders | List orders placed with your seller account. |
| List shipments for an order | List the shipments recorded against an order, with tracking numbers. |
| Publish offer | Publish an offer, creating the live eBay listing. |
| Update offer | Change an offer's price, quantity or description. |
| Update price and quantity | Change a SKU's available quantity, an offer's price, or both. |
| Withdraw offer | End the live listing for an offer. |
Create inventory location
Create a location to ship from. An offer cannot be published without one.
Inputs
- Merchant location key
merchant_location_keytextRequired - Your own key for this location, e.g. main-warehouse.
- Name
nametextRequired - Display name for the location.
- Country
countrytextRequired - Two-letter country code, e.g. US.Default:
US. - Postal code
postal_codetext - Postal or ZIP code.
- City
citytext - City.
- State or province
state_or_provincetext - State or province.
- Address line1
address_line1text - Street address.
Outputs
createdtrue/falsemerchantLocationKeytext
Example output
{
"created": true,
"merchantLocationKey": "example_value"
}Create offer
Create an unpublished offer for a SKU on one marketplace. Publish it afterwards to create the live listing.
Inputs
- SKU
skutextRequired - The seller-defined SKU of the inventory item. Use 'List inventory items' to find one.
- Marketplace ID
marketplace_idtext - The eBay marketplace to list on.One of:
EBAY_US(United States),EBAY_GB(United Kingdom),EBAY_DE(Germany),EBAY_AU(Australia),EBAY_CA(Canada),EBAY_FR(France),EBAY_IT(Italy),EBAY_ES(Spain),EBAY_AT(Austria),EBAY_BE(Belgium), and 8 more. Default:EBAY_US. - Category ID
category_idtextRequired - eBay leaf category id, e.g. 9355. Find it by looking at a similar live listing, or in eBay's category lookup.
- Price
pricenumberRequired - Listing price, e.g. 19.99.At least 0.
- Currency
currencytext - Currency for the price (3-letter code).Default:
USD. - Quantity
quantitynumber - How many units this offer makes available.At least 0. Default:
1. - Merchant location key
merchant_location_keytextRequired - The inventory location this offer ships from.
- Listing format
listing_formattext - Fixed price or auction.One of:
FIXED_PRICE(Fixed Price),AUCTION. Default:FIXED_PRICE. - Listing description
listing_descriptiontext - Listing description. Falls back to the inventory item's description when empty.
- Fulfillment policy ID
fulfillment_policy_idtext - Shipping policy to apply. Required to publish.
- Payment policy ID
payment_policy_idtext - Payment policy to apply. Required to publish.
- Return policy ID
return_policy_idtext - Return policy to apply. Required to publish.
Outputs
createdtrue/falseofferIdtext
Example output
{
"created": true,
"offerId": "example_value"
}Create or replace inventory item
Create an inventory item for a SKU, or replace it if the SKU already exists. An inventory item is the product record; an offer turns it into a listing.
Inputs
- SKU
skutextRequired - Your own SKU for this product. Replaces the item if the SKU already exists.
- Title
titletextRequired - Product title shown on the listing (max 80 characters).
- Description
descriptiontext - Full product description. Accepts basic HTML.
- Condition
conditiontext - The item's condition.One of:
NEW,LIKE_NEW(Like New),NEW_OTHER(New Other),NEW_WITH_DEFECTS(New With Defects),MANUFACTURER_REFURBISHED(Manufacturer Refurbished),SELLER_REFURBISHED(Seller Refurbished),USED_EXCELLENT(Used Excellent),USED_VERY_GOOD(Used Very Good),USED_GOOD(Used Good),USED_ACCEPTABLE(Used Acceptable),FOR_PARTS_OR_NOT_WORKING(For Parts Or Not Working). Default:NEW. - Quantity
quantitynumber - How many units are available to ship.At least 0. Default:
1. - Image URLS
image_urlslist - Publicly reachable image URLs. eBay requires at least one image before an offer can be published.
- Brand
brandtext - Product brand. Supply with MPN, or leave both empty.
- Mpn
mpntext - Manufacturer part number. Supply with Brand.
- Aspects
aspectsobject - Item specifics, as an object of name to value, for example {"Type": "Tablet", "Screen Size": "10 in"}. Most eBay categories require their own; an offer missing one is rejected when its fees are previewed or it is published.
- Locale
localetext - Language the product details are written in.One of:
en_US(En Us),en_GB(En Gb),en_AU(En Au),en_CA(En Ca),fr_CA(Fr Ca),de_DE(De De),fr_FR(Fr Fr),it_IT(It It),es_ES(Es Es),nl_NL(Nl Nl).
Outputs
createdtrue/falseskutext
Example output
{
"created": true,
"sku": "example_value"
}Delete inventory item
Delete an inventory item and any unpublished offers against it.
Inputs
- SKU
skutextRequired - The seller-defined SKU of the inventory item. Use 'List inventory items' to find one.
Outputs
deletedtrue/falseskutext
Example output
{
"deleted": true,
"sku": "example_value"
}Delete inventory location
Delete an inventory location.
Inputs
- Merchant location key
merchant_location_keytextRequired - The location's key.
Outputs
deletedtrue/falsemerchantLocationKeytext
Example output
{
"deleted": true,
"merchantLocationKey": "example_value"
}Delete offer
Delete an offer. Withdraw it first if it is published.
Inputs
- Offer ID
offer_idtextRequired - The offer's eBay id. Comes from 'Create offer' or 'List offers for a SKU'.
Outputs
deletedtrue/falseofferIdtext
Example output
{
"deleted": true,
"offerId": "example_value"
}Get inventory item
Fetch one inventory item by its SKU.
Inputs
- SKU
skutextRequired - The seller-defined SKU of the inventory item. Use 'List inventory items' to find one.
Outputs
itemobject
Example output
{
"item": {
"availability": {
"shipToLocationAvailability": {
"allocationByFormat": {
"auction": 1,
"fixedPrice": 1
},
"quantity": 1
}
},
"condition": "example_value",
"conditionDescription": "example_value",
"locale": "example_value",
"packageWeightAndSize": {
"dimensions": {
"height": 1,
"length": 1,
"unit": "example_value",
"width": 1
},
"packageType": "example_value",
"weight": {
"unit": "example_value",
"value": 1
}
},
"product": {
"aspects": {},
"brand": "example_value",
"description": "example_value",
"epid": "example_value",
"imageUrls": [],
"mpn": "example_value",
"title": "example_value"
},
"sku": "example_value"
}
}Get listing fees
Preview the fees eBay would charge to publish an unpublished offer.
Inputs
- Offer ID
offer_idtextRequired - The offer's eBay id. Comes from 'Create offer' or 'List offers for a SKU'.
Outputs
feeSummarieslistofferIdtext
Example output
{
"feeSummaries": [],
"offerId": "example_value"
}Get offer
Fetch one offer by its id.
Inputs
- Offer ID
offer_idtextRequired - The offer's eBay id. Comes from 'Create offer' or 'List offers for a SKU'.
Outputs
offerobject
Example output
{
"offer": {
"availableQuantity": 1,
"categoryId": "example_value",
"format": "example_value",
"listingDescription": "example_value",
"listingId": "example_value",
"listingPolicies": {
"fulfillmentPolicyId": "example_value",
"paymentPolicyId": "example_value",
"returnPolicyId": "example_value"
},
"marketplaceId": "example_value",
"merchantLocationKey": "example_value",
"offerId": "example_value",
"pricingSummary": {
"minimumAdvertisedPrice": {
"currency": "example_value",
"value": "example_value"
},
"originallySoldForRetailPriceOn": "example_value",
"price": {
"currency": "example_value",
"value": "example_value"
}
},
"sku": "example_value",
"status": "example_value",
"tax": {
"applyTax": true,
"thirdPartyTaxCategory": "example_value",
"vatPercentage": 1
}
}
}Get order
Fetch one order, including its line items and buyer.
Inputs
- Order ID
order_idtextRequired - The order id, from 'List orders'.
Outputs
orderobject
Example output
{
"order": {
"buyer": {
"taxAddress": {
"countryCode": "example_value"
},
"username": "example_value"
},
"creationDate": "example_value",
"fulfillmentStartInstructions": [],
"lastModifiedDate": "example_value",
"legacyOrderId": "example_value",
"lineItems": [],
"orderFulfillmentStatus": "example_value",
"orderId": "example_value",
"orderPaymentStatus": "example_value",
"pricingSummary": {
"deliveryCost": {
"currency": "example_value",
"value": "example_value"
},
"priceSubtotal": {
"currency": "example_value",
"value": "example_value"
},
"tax": {
"currency": "example_value",
"value": "example_value"
},
"total": {
"currency": "example_value",
"value": "example_value"
}
},
"sellerId": "example_value"
}
}List business policies
List your shipping, payment or return policies for one marketplace. An offer references these by id.
Inputs
- Policy type
policy_typetext - Which kind of policy to list.One of:
fulfillment,payment,return. Default:fulfillment. - Marketplace ID
marketplace_idtext - The marketplace the policies apply to.One of:
EBAY_US(United States),EBAY_GB(United Kingdom),EBAY_DE(Germany),EBAY_AU(Australia),EBAY_CA(Canada),EBAY_FR(France),EBAY_IT(Italy),EBAY_ES(Spain),EBAY_AT(Austria),EBAY_BE(Belgium), and 8 more. Default:EBAY_US.
Outputs
policieslistpolicyTypetexttotalnumber
Example output
{
"policies": [],
"policyType": "example_value",
"total": 1
}List inventory items
List the SKUs defined on your eBay seller account.
Inputs
- Limit
limitnumber - How many records to return (1-200).From 1 to 200. Default:
25. - Offset
offsetnumber - How many records to skip, for paging through results.At least 0. Default:
0.
Outputs
itemslisttotalnumber
Example output
{
"items": [],
"total": 1
}List inventory locations
List the warehouses and stores you ship from.
Inputs
- Limit
limitnumber - How many records to return (1-200).From 1 to 200. Default:
25. - Offset
offsetnumber - How many records to skip, for paging through results.At least 0. Default:
0.
Outputs
locationslisttotalnumber
Example output
{
"locations": [],
"total": 1
}List offers for a SKU
List every offer defined against one SKU.
Inputs
- SKU
skutextRequired - The seller-defined SKU of the inventory item. Use 'List inventory items' to find one.
- Limit
limitnumber - How many records to return (1-200).From 1 to 200. Default:
25. - Offset
offsetnumber - How many records to skip, for paging through results.At least 0. Default:
0.
Outputs
offerslisttotalnumber
Example output
{
"offers": [],
"total": 1
}List orders
List orders placed with your seller account.
Inputs
- Order status
order_statustext - Only return orders with this fulfillment status. Leave empty for all.One of:
ACTIVE,COMPLETED,CANCELLED. - Limit
limitnumber - How many records to return (1-200).From 1 to 200. Default:
25. - Offset
offsetnumber - How many records to skip, for paging through results.At least 0. Default:
0.
Outputs
orderslisttotalnumber
Example output
{
"orders": [],
"total": 1
}List shipments for an order
List the shipments recorded against an order, with tracking numbers.
Inputs
- Order ID
order_idtextRequired - The order id, from 'List orders'.
Outputs
fulfillmentslistorderIdtext
Example output
{
"fulfillments": [],
"orderId": "example_value"
}Publish offer
Publish an offer, creating the live eBay listing. The offer needs a category, price, quantity, location and business policies first.
Inputs
- Offer ID
offer_idtextRequired - The offer's eBay id. Comes from 'Create offer' or 'List offers for a SKU'.
Outputs
listingIdtextofferIdtextpublishedtrue/false
Example output
{
"listingId": "example_value",
"offerId": "example_value",
"published": true
}Update offer
Change an offer's price, quantity or description. Other settings are preserved.
Inputs
- Offer ID
offer_idtextRequired - The offer's eBay id. Comes from 'Create offer' or 'List offers for a SKU'.
- Price
pricenumber - New price, e.g. 24.99. Leave empty to keep it.At least 0.
- Currency
currencytext - Currency for the new price (3-letter code).
- Quantity
quantitynumber - New available quantity. Leave empty to keep it.At least 0.
- Listing description
listing_descriptiontext - New listing description. Leave empty to keep it.
Outputs
offerIdtextupdatedtrue/false
Example output
{
"offerId": "example_value",
"updated": true
}Update price and quantity
Change a SKU's available quantity, an offer's price, or both. Changing a price needs the offer id, because price belongs to the offer rather than to the inventory item.
Inputs
- SKU
skutextRequired - The seller-defined SKU of the inventory item. Use 'List inventory items' to find one.
- Quantity
quantitynumber - New available quantity. Leave empty to keep it.At least 0.
- Price
pricenumber - New price, e.g. 19.99. Requires the offer id below.At least 0.
- Currency
currencytext - Currency for the new price (3-letter code).Default:
USD. - Offer ID
offer_idtext - The offer whose price to change. Required with price.
Outputs
skutextupdatedtrue/false
Example output
{
"sku": "example_value",
"updated": true
}Withdraw offer
End the live listing for an offer. The offer itself is kept and can be published again.
Inputs
- Offer ID
offer_idtextRequired - The offer's eBay id. Comes from 'Create offer' or 'List offers for a SKU'.
Outputs
listingIdtextofferIdtextwithdrawntrue/false
Example output
{
"listingId": "example_value",
"offerId": "example_value",
"withdrawn": true
}