Tool reference
Orders and products
These tools read your orders, purchased labels, tracking and product catalog. A typical flow starts with list_orders to see what's ready to ship and opens one with get_order; once a label is bought, get_label returns it and track_order follows delivery, while list_products looks up product names and prices when you build an order. All five are read-only, work on every plan and every connection type, return only your own account's data, and read what Ship.com has stored without contacting carriers or sales platforms.
list_orders
Lists the orders in your account, newest first by order date. With no filter it returns the orders that are ready to ship, the unshipped work queue where rating and buying labels usually starts. Rows are compact; call get_order for an order's full detail.
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Which orders to return. Omit for orders ready to ship (ChooseShipping). Send active for every order except canceled and merged ones, or one status name from the table below, such as PrintLabel, InTransit or Delivered. One status per call. |
page | integer | No | 1-based page number. Default 1. Values below 1 are treated as 1. A page past the end returns an empty list. |
page_size | integer | No | Rows per page, 1 to 50. Default 25. Values outside that range are clamped, not rejected. |
Returns: orders, plus page and page_size as applied, total (all matching orders, not just this page) and status (the filter applied, as a status name or active). Each row has order_id (use it with the other tools in this section), order_number, name (the ship-to name stored on the order; may be empty), city, state, zip, country (US when blank), total, status and tracking_number.
Good to know: The filter takes a status name, but each row's status is the display label, so ready-to-ship rows read "Ready to ship", not ChooseShipping. active still includes finished orders, such as delivered and refunded ones. There is no date, customer or text-search filter. An unrecognized status returns an error that lists the accepted names, so send exactly one name, spelled as shown below. Rows are sorted by order date only and can shift if new orders import while you page. The row name is exactly what's on the order (a placeholder such as "Guest" shows as-is), so it can differ from ship_to.name in get_order.
Order statuses: filter by the name; results show the label.
| Status name | Shown in results as |
|---|---|
MissingEmail_InvoiceDraft | Missing Email |
InvoiceDraft | Invoice draft |
WaitingForPayment | Waiting for payment |
BackOrderedLiveSelling | Requested Order |
BackOrdered | Back Ordered |
ChooseShipping | Ready to ship |
LabelRefunded | Label Refunded |
PrintLabel | Label purchased |
LabelPrinted | Label printed |
WaitingForPickup | Waiting for pickup |
InTransit | In transit |
DeliveryFailure | Delivery failure |
ReturnedToSender | Returned to sender |
DeliveryFailureWait | Waiting for return |
Delivered | Delivered |
PrintReturnLabel | Purchase return label |
ReturnLabelRefunded | Return label refunded |
WaitingForReturn | Waiting for return |
ReturnInTransit | Return in transit |
ReturnDelivered | Return delivered |
ReturnReceived | Return received |
ReturnComplete | Return complete |
Refunded | Refunded |
WaitingForMerge | Merge in progress |
Merged | Merged |
Deleted | Canceled |
Labels aren't unique: DeliveryFailureWait and WaitingForReturn both show as "Waiting for return", so filter by name. A canceled order's status name is Deleted.
{"status": "active", "page": 1, "page_size": 2}get_order
Returns full detail for one order in your account: the ship-to address, totals, shipping and tracking fields, and line items. It works for an order in any status, including canceled and merged orders.
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | Yes | The order's ID, from list_orders. |
Returns: order_id, order_number, status (display label) and date (the order date); ship_to with name, company, street1, street2, city, state, zip, country (US when blank), phone and email; totals with subtotal, shipping (charged to your buyer), tax, total and weight_oz; shipping with method (the purchased label's carrier service), cost (what you paid for the label), ship_date and label_url, where method and label_url stay null until a label is bought (before then, cost can be null or hold an imported or estimated amount, so check label_url rather than cost); tracking_number and tracking_url (a Ship.com tracking page for labels bought through Ship.com); and items, one per line item, each with sku, upc, quantity and price.
Good to know: An ID that doesn't exist and an order in another account return the same error, Order {order_id} was not found in this account. Leaving out order_id returns order_id is required. Line items have no separate product name, style or size field. sku is the item code stored on the line, which can be null or, for some sales platforms, the product name. upc is often null and isn't always a real barcode: orders imported from some sales platforms carry a placeholder value there. price is the price recorded on the line; depending on where the order came from, it can be a unit price or a line total, so don't assume either. ship_to uses the order's saved shipping address when it has one. Otherwise it's built from the order, filling a missing or placeholder name (such as "Guest") and a missing email or phone from the customer's record, and uses "Current Resident" when no name can be found. company is often null. If a label is canceled, the order returns to "Ready to ship" and the label and tracking fields go back to null, though ship_date may keep the old date.
{"order_id": 4815162}get_label
Returns the label files and tracking details for an order's purchased label. It returns stored links only, and never regenerates, re-buys or fetches anything from the carrier. Calling it for an order with no label isn't an error: you get has_label: false and null links.
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | Yes | The order whose label you want. |
Returns: order_id; label_url, the printable label formatted for your account's print setting (if your account prints by QR code, USPS labels come back as a scannable QR image instead of a label PDF); raw_label_url, the carrier's original 4x6 label file, present only for some carrier PDF labels (currently certain USPS labels) and null otherwise; form_url, a separate customs form PDF when the carrier provides one (currently UPS international shipments); receipt_url, a carrier receipt when the carrier provides one (currently UPS); tracking_number; tracking_url; and has_label, true when label_url is present.
Good to know: Use has_label to decide whether an order has a live label. Canceling a label clears label_url, tracking_number and tracking_url, but the other links can keep pointing at the voided label's files, so ignore raw_label_url, form_url and receipt_url when has_label is false. Label links are HTTPS file URLs; treat them as opaque rather than relying on their host or format. This tool works on every connection type and returns the label however it was bought, including in the Ship.com web app. Unknown IDs and other accounts' orders return the same not-found error as get_order.
{"order_id": 4815101}track_order
Returns Ship.com's latest stored tracking status for an order. Ship.com keeps it updated automatically in the background; the tool doesn't query the carrier live, so calling it again won't refresh anything. An order without a label returns successfully with null tracking fields.
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | Yes | The order to check tracking for. |
Returns: order_id; status, the order's display status, such as "In transit", "Delivered", "Delivery failure" or "Returned to sender" (an order status, not a raw carrier event); tracking_number; tracking_url; ship_date, in_transit_date, delivered_date and exception_date; exception, the carrier's exception text; and last_tracking_update, when Ship.com last stored a tracking update for the order, in UTC.
Good to know: Check last_tracking_update to see how fresh the data is. Not every background update sets it, so it can be null even after status has moved; treat null as "freshness unknown", not "never updated". Other timestamps carry no time zone. If a label is canceled, the status returns to "Ready to ship" and tracking_number, tracking_url and in_transit_date are cleared, but the other dates and exception can keep old values, so read status and tracking_number first. Unknown IDs and other accounts' orders return the same not-found error as get_order.
{"order_id": 4815101}list_products
Lists the active products in your saved Ship.com product catalog, sorted by name from A to Z. Use it to look up product names, descriptions and prices when you build or edit an order. It reads your saved catalog only and doesn't pull products live from connected stores.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | No | Text to match against the product name or description, case-insensitive. It's a plain substring match: the whole text must appear as typed, with no wildcards. Leading and trailing spaces are ignored. Omit to list every active product. |
page | integer | No | 1-based page number. Default 1. Values below 1 are treated as 1. A page past the end returns an empty list. |
page_size | integer | No | Rows per page, 1 to 50. Default 25. Values outside that range are clamped, not rejected. |
Returns: products, plus page and page_size as applied and total (all matching active products, not just this page). Each product has product_id, name, catalog (an optional grouping label), description and price.
Good to know: Inactive products never appear. Products are identified by name: results have no SKU, image, stock, cost or weight fields. Line items in get_order do carry a sku.
{"query": "candle", "page": 1, "page_size": 10}