Closed beta · run Worlds on your machineBrowse worlds →
Docs menu · Amazon Seller Central API

Worlds / Commerce

Amazon Seller Central API

A local Seller Central account with listings, FBA inventory, orders, returns and account health metrics. Test the agent that confirms shipments, updates listings and handles returns without hurting account health.

Base path
/
Auth
LWA access token in x-amz-access-token, the world key
Endpoints
13
Status
Active today

This reference previews the surface the Amazon Seller Central world serves in the closed beta. Paths mirror the public Amazon Seller Central API; the exact subset is confirmed when your workflow is scoped.

Connect

The run gives your agent these bindings. Keep your SDK; change only where it sends requests.

bindingmeaning
WORLDS_AMAZON_SELLER_CENTRAL_URLThis world's origin followed by /
WORLDS_API_KEYThe world key, accepted wherever Amazon Seller Central expects a credential
WORLDS_WORLD_IDThe isolated world's identity
js · fetch
const base = process.env.WORLDS_AMAZON_SELLER_CENTRAL_URL;
const headers = { "x-amz-access-token": process.env.WORLDS_API_KEY };

const res = await fetch(
  base + "/orders/v0/orders?MarketplaceIds=ATVPDKIKX0DER&CreatedAfter=2025-01-01T00:00:00Z",
  { headers }
);
const { payload } = await res.json();

API reference

Orders

Customer orders on the marketplace.

  • GET/orders/v0/ordersGet orders
  • GET/orders/v0/orders/{orderId}Get an order
  • GET/orders/v0/orders/{orderId}/orderItemsGet order items
Fields · 5
AmazonOrderIdstringOrder id
OrderStatusstringPending, Unshipped, Shipped, Canceled
PurchaseDatestringISO 8601 timestamp
OrderTotalobjectCurrency and amount
FulfillmentChannelstringAFN or MFN

Listings

Seller offers for a product.

  • GET/listings/2021-08-01/items/{sellerId}/{sku}Get a listing
  • PUT/listings/2021-08-01/items/{sellerId}/{sku}Create or replace a listing
  • PATCH/listings/2021-08-01/items/{sellerId}/{sku}Update a listing
  • DELETE/listings/2021-08-01/items/{sellerId}/{sku}Delete a listing
Fields · 5
skustringSeller SKU
productTypestringProduct type
summariesarrayStatus and ASIN
attributesobjectListing attributes
issuesarrayValidation issues

FBA inventory

Stock held in fulfillment centers.

  • GET/fba/inventory/v1/summariesGet inventory summaries
Fields · 4
sellerSkustringSeller SKU
asinstringASIN
totalQuantityintegerUnits on hand
fulfillableQuantityintegerUnits available to ship

Feeds

Bulk uploads for listings, prices and shipments.

  • POST/feeds/2021-06-30/feedsCreate a feed
  • GET/feeds/2021-06-30/feeds/{feedId}Get a feed
  • POST/feeds/2021-06-30/documentsCreate a feed document
Fields · 4
feedIdstringFeed id
feedTypestringFeed type
processingStatusstringIN_QUEUE, DONE, FATAL and so on
resultFeedDocumentIdstringResult document

Catalog

Product details by ASIN.

  • GET/catalog/2022-04-01/itemsSearch catalog items
  • GET/catalog/2022-04-01/items/{asin}Get a catalog item
Fields · 4
asinstringASIN
summariesarrayBrand, name and classification
imagesarrayProduct images
salesRanksarraySales ranks

Test workflow

  1. Prepare. Select the Amazon Seller Central setup for your workflow and review its starting records, including orders, listings, fba inventory.
  2. Connect. Configure your agent with this world's URL and key using the SDK example. Check that it reaches the intended API before running a test.
  3. Define. Describe the task, expected final changes and records that must stay untouched. Keep expected outcomes separate from the agent's instructions.
  4. Run and inspect. Use the dashboard or your workflow's generated CLI setup. Review final records and changes, then rerun from the same starting setup with the relevant failure conditions. Use Deployment and CI to automate the same workflow.

What to verify

  • 112-0041-771 Shipped with UPS tracking
  • 112-0041-773 has a valid tracking number or is still Unshipped
  • 112-0041-775 canceled with reason Buyer canceled
  • 112-0041-774 still Pending
  • Valid tracking rate unchanged

Test file

A task file names the jobs, the policy your agent is given and what the grader reads back from the world's final state. The agent never sees the expected outcomes.

yaml · worlds/tasks.yaml
# worlds/tasks.yaml · Amazon Seller Central
version: 2
connector: amazon-seller-central
seed: amazon-seller-central-starter
mode: isolated
policy: >
  Ship today's merchant fulfilled orders. Confirm every shipment with carrier
  and tracking. Cancel only what the buyer asked to cancel, with reason Buyer
  canceled. Do not touch Pending orders.
tasks:
  - id: confirm-shipment-with-carrier-and-tracking
    prompt: Confirm shipment with carrier and tracking
  - id: update-price-and-quantity-on-a-listing
    prompt: Update price and quantity on a listing
  - id: approve-or-close-a-return-request
    prompt: Approve or close a return request
expected:
  - 112-0041-771 Shipped with UPS tracking
  - 112-0041-773 has a valid tracking number or is still Unshipped
  - 112-0041-775 canceled with reason Buyer canceled
  - 112-0041-774 still Pending
  - Valid tracking rate unchanged
scenarios:
  - quota-exceeded
  - token-expired
  - invalid-input

See Tasks and outcomes for every field, and Deployment and CI to run the file on every pull request.

Failure conditions

Each one fires before the handler, at the same step on every run.

conditionwhat the agent sees
quota-exceeded429 QuotaExceeded on the orders operation
token-expiredThe LWA access token expires after an hour and returns 403
invalid-input400 InvalidInput on a malformed tracking number
feed-errorThe listings feed finishes with errors on 2 SKUs
listing-suppressedA price change trips the pricing check and suppresses the listing

Starting data

Start each run from the same records and relationships. The overview below describes the Amazon Seller Central starter; use the setup supplied for your workflow when preparing your own snapshot.

RecordsStarting setup
listings40 SKUs mapped to ASINs, Active, Inactive and Suppressed
FBA inventoryFulfillable, inbound and reserved units
orders60 merchant fulfilled and FBA, Pending, Unshipped and Shipped
returns8 authorized and pending
account healthOrder defect rate, late shipment rate, valid tracking rate

The record shapes below reuse this world's API field definitions. They show illustrative values and placeholders, not an importable seed. API responses and seed input can differ; include all required records and references in the accepted import format for your workflow.

Orders records

Orders

Customer orders on the marketplace.

FieldTypeMeaning / relationship
AmazonOrderIdstringOrder id
OrderStatusstringPending, Unshipped, Shipped, Canceled
PurchaseDatestringISO 8601 timestamp
OrderTotalobjectCurrency and amount
FulfillmentChannelstringAFN or MFN
json · illustrative record shape
{
  "AmazonOrderId": "<Order id>",
  "OrderStatus": "<Pending, Unshipped, Shipped, Canceled>",
  "PurchaseDate": "<ISO 8601 timestamp>",
  "OrderTotal": {},
  "FulfillmentChannel": "<AFN or MFN>"
}

See orders operations

Listings records

Listings

Seller offers for a product.

FieldTypeMeaning / relationship
skustringSeller SKU
productTypestringProduct type
summariesarrayStatus and ASIN
attributesobjectListing attributes
issuesarrayValidation issues
json · illustrative record shape
{
  "sku": "<Seller SKU>",
  "productType": "<Product type>",
  "summaries": [],
  "attributes": {},
  "issues": []
}

See listings operations

FBA inventory records

FBA inventory

Stock held in fulfillment centers.

FieldTypeMeaning / relationship
sellerSkustringSeller SKU
asinstringASIN
totalQuantityintegerUnits on hand
fulfillableQuantityintegerUnits available to ship
json · illustrative record shape
{
  "sellerSku": "<Seller SKU>",
  "asin": "<ASIN>",
  "totalQuantity": 1,
  "fulfillableQuantity": 1
}

See fba inventory operations

Feeds records

Feeds

Bulk uploads for listings, prices and shipments.

FieldTypeMeaning / relationship
feedIdstringFeed id
feedTypestringFeed type
processingStatusstringIN_QUEUE, DONE, FATAL and so on
resultFeedDocumentIdstringResult document
json · illustrative record shape
{
  "feedId": "<Feed id>",
  "feedType": "<Feed type>",
  "processingStatus": "<IN_QUEUE, DONE, FATAL and so on>",
  "resultFeedDocumentId": "<Result document>"
}

See feeds operations

Catalog records

Catalog

Product details by ASIN.

FieldTypeMeaning / relationship
asinstringASIN
summariesarrayBrand, name and classification
imagesarrayProduct images
salesRanksarraySales ranks
json · illustrative record shape
{
  "asin": "<ASIN>",
  "summaries": [],
  "images": [],
  "salesRanks": []
}

See catalog operations

See the Amazon Seller Central world in the catalog