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)
{
"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
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
created_after | string · date-time | ISO 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_before | string · date-time | ISO 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_after | string · date-time | ISO 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_before | string · date-time | ISO 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_state | string | keeps only POs in this state. Allowed: New | Acknowledged | Closed.NewAcknowledgedClosed |
include_details | boolean | True = 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_code | string | Filter by sellingParty.partyId value. |
limit | integer · 1–100 | Max records returned, 1–100 (Amazon default 100). |
sort_order | string | ASC or DESC.ASCDESC |
po_item_state | string | Cancelled keeps only POs with an item Amazon cancelled (quantity now zero). |
is_po_changed | boolean | True = 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_token | string | the 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.