vendorOrders_getPurchaseOrders

List vendor purchase orders created or changed in a window of at most 7 days, no older than 6 months.

readAmazon Seller (SP-API)sp.vendorOrders

Amazon SP-API · getPurchaseOrders · GET /vendor/orders/v1/purchaseOrders

Call it

In an AI client (MCP)

tools/call
{
  "name": "vendorOrders_getPurchaseOrders",
  "arguments": {
    "store": "myStore-US"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/vendorOrders_getPurchaseOrders \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
storerequiredstringthe store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim.
created_afterstring · date-timeISO 8601. POs created after this time.
created_beforestring · date-timeISO 8601. POs created before this time.
changed_afterstring · date-timeISO 8601. POs changed after this time.
changed_beforestring · date-timeISO 8601. POs changed before this time.
purchase_order_statestringkeeps only POs in this state. Allowed: New | Acknowledged | Closed.NewAcknowledgedClosed
include_detailsbooleanTrue = full PO body, False = PO numbers only (default True).Default: true
ordering_vendor_codestringFilter by sellingParty.partyId value.
limitinteger · 1–100Max records returned, 1–100 (Amazon default 100).
sort_orderstringASC or DESC.ASCDESC
po_item_statestringCancelled keeps only POs with an item Amazon cancelled (quantity now zero).
is_po_changedbooleanTrue = changed POs only.
next_tokenstringthe cursor from the previous call's data.nextToken; omit for the first page.

Result

Every tool answers {notification, data, human_action}; data carries:

  • data.orders — list of purchase order dicts.
  • data.count — number of orders in this page.
  • data.nextToken — pass to next call if present.

Workflow

  • 1. Call with created_after/created_before for new POs, or changed_after/changed_before for changed POs (window ≤ 7 days). 2. While data.nextToken is present, call again with it as next_token. 3. For each new PO, call vendorOrders_getPurchaseOrder for full item details. 4. Call vendorOrders_submitAcknowledgement to accept/reject items.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude