vendorOrders_getPurchaseOrders

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

readamazon_vendorsp.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. Purchase orders that became available after this time will be included in the result. Must be in ISO-8601 date/time format.
created_beforestring · date-timeISO 8601. POs created before this time. Purchase orders that became available before this time will be included in the result. Must be in ISO-8601 date/time format.
changed_afterstring · date-timeISO 8601. POs changed after this time. Purchase orders that changed after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
changed_beforestring · date-timeISO 8601. POs changed before this time. Purchase orders that changed before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
purchase_order_statestringkeeps only POs in this state. Allowed: New | Acknowledged | Closed.NewAcknowledgedClosed
include_detailsbooleanTrue = full PO body, False = PO numbers only (default True). When true, returns purchase orders with complete details. Otherwise, only purchase order numbers are returned. Default value is 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. When true, returns purchase orders which were modified after the order was placed. Vendors are required to pull the changed purchase order and fulfill the updated purchase order and not the original one. Default value is false.
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