You're viewing a demo portfolio

Join the waitlist
PRSM

get_order

Active

Tool of Synchronity

declared in 0.2.0

Retrieve details for an order by its ID, including items, status, shipping, and tracking information. Orders are buyer-private — pass `buyer_delegation_token` (the delegation token from this buyer's checkout approval) so the gateway can confirm the buyer owns this order. If checking if an order is paid: a status of 'pending' or 'pending_payment' means the order has NOT been paid. Do NOT assume that the vendor storefront has synchronization delays or database lag; treat 'pending' as unpaid. When an order is unpaid, offer to collect payment in the chat by starting the in-chat payment flow (get_payment_methods → initiate_payment → get_payment_status) rather than only pointing the user at the payment_url. Do not mark the purchase task as successful until the status updates to 'processing' or 'completed'.

Parameters schema

{
  "type": "object",
  "required": [
    "site_id",
    "order_id"
  ],
  "properties": {
    "site_id": {
      "type": "string",
      "description": "Registered site ID"
    },
    "order_id": {
      "type": "string",
      "description": "Order ID"
    },
    "buyer_delegation_token": {
      "type": "string",
      "description": "The buyer's delegation token (from their checkout approval); required to read their order."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Synchronity

https://github.com/themewireco/synchronity

2/7 registries
View full server →