ShippyPro MCP by usefulapi

v1.3.1
io.usefulapi/shippypro Checked 2 days ago Published 12 hours ago

Quote carrier rates, buy and void labels, track parcels and read orders in ShippyPro.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

shippypro_ping Check connection

Check that the ShippyPro API answers and accepts the connected API key. POST /v1/Ping.

shippypro_list_carriers List carriers

List the carrier connections of the account: carrier name, CarrierID (needed by rates, shipping and pickups), service, label and the list of services. Carrier credentials are never requested. POST /v1/GetCarriers.

ParameterTypeDescription
active1 = only active carriers, 0 = only inactive. Omit for all.

shippypro_get_carrier_options Get carrier options

The options a carrier connection supports (for example Saturday delivery, signature), with their parameters and prices. Give a recipient address to also get its pick-up/drop-off point options. Pass chosen options as carrier_options to rates and shipping. POST /v1/GetCarrierOptions.

ParameterTypeDescription
carrier_id *integerCarrierID from shippypro_list_carriers.
carrier_name *stringCarrier name as listed by shippypro_list_carriers.
to_addressobjectRecipient address (optional). name or company is required (max 255 each); country is a 2-letter ISO 3166-1 code.

shippypro_list_carrier_package_types List carrier package types

The predefined package types per carrier (name, dimensions and the numeric value used as a parcel's package). POST /v1/GetCarrierPackagesTypes.

shippypro_list_marketplaces List marketplaces

The sales channels (marketplaces, shops) connected to the account, with their MarketplaceID and label. POST /v1/GetMarketplaces.

ParameterTypeDescription
active1 = only active, 0 = only inactive. Omit for all.

shippypro_get_rates Get shipping rates

Quote the rates of the connected carriers for one shipment: carrier, CarrierID, service, price, delivery days and per-carrier errors. A quote only: nothing is bought. Use the result's carrier, service and CarrierID with shippypro_ship. Shipping rules of the account apply. POST /v1/GetRates.

ParameterTypeDescription
content_description *stringWhat is in the parcel (max 255, no backslash).
from_address *objectSender address.
parcels *arrayThe parcels (at least 1).
to_address *objectRecipient. name or company is required (max 255 each); country is a 2-letter ISO 3166-1 code.
carrier_optionsarrayCarrier-specific options as name/value pairs (see shippypro_get_carrier_options).
cash_on_deliverynumberCash on delivery amount.
cash_on_delivery_currencystring3-letter ISO 4217 currency code, e.g. EUR.
insurancenumberInsurance value.
insurance_currencystring3-letter ISO 4217 currency code, e.g. EUR.
is_returnbooleanTrue when the shipment is a return.
rate_carriersarrayRate only these carriers, each as "CarrierName|CarrierID".
shipping_servicestringCustomer-selected service name, e.g. Express (used by shipping rules). Default: Standard.
total_valuestringDeclared value with currency, e.g. "120.50 EUR". Required for international shipments.
transaction_idstringYour own reference for the order (the TransactionID).

shippypro_check_address Check address

Validate a delivery address with a carrier (GLS Italy, TNT Italy) or by geocoding, and return messages, suggestions, a corrected address and an accuracy score (95, 75, 60 or 40). Use carrier_name "Generic" to skip carrier-side validation. POST /v1/CheckAddress.

ParameterTypeDescription
address *objectThe address to validate. name or company is required (max 255 each); country is a 2-letter ISO 3166-1 code.
carrier_id *integerCarrierID of that connection.
carrier_name *stringCarrier name from shippypro_list_carriers, or "Generic" for geocoding only.
from_address *objectThe sender address.
skip_validation_fieldsarrayAddress fields that are not validated.

shippypro_is_residential_address Is residential address

Tell whether an address is a home (residential) address. Use a validated, well-formed address. POST /v1/IsResidentialAddress.

ParameterTypeDescription
address *objectThe address to classify. name or company is required (max 255 each); country is a 2-letter ISO 3166-1 code.

shippypro_get_dropoff_points Find drop-off points

Find the nearest pick-up and drop-off (PUDO) points of the connected carriers around a city/zip/country or a latitude/longitude. Give either city, zip and country together, or lat and lng. POST /v1/GetDropOffPoints.

ParameterTypeDescription
citystring
countrystringCountry code or name, with city and zip.
couriersarrayOnly these carriers.
latnumber
limitintegerMaximum points (default 20, max 50).
lngnumber
range_kmintegerSearch radius in km (1-20).
zipstring

shippypro_get_tracking Get tracking

Current tracking status of a shipment by tracking number: carrier, status code (1 info received, 2 in transit, 3 out for delivery, 4 missed delivery, 5 exception, 6 delivered), extended status code, estimated delivery and tracking events. ShippyPro advises webhooks, not this call, for bulk tracking. POST /v1/GetTracking.

ParameterTypeDescription
tracking_number *stringThe carrier tracking number.

shippypro_get_order Get order

One order or shipment by its ShippyPro OrderID: your TransactionID, carrier, tracking number and link, status and label URLs. POST /v1/GetOrder.

ParameterTypeDescription
order_id *integerShippyPro OrderID (the NewOrderID returned by shipping).

shippypro_get_label_url Get label URL

The label URL(s), tracking number, carrier and status of a shipped order. The base64 label data is not returned, only the URLs. LabelURL is an empty list when the order is in error, a string for one label, a list for several. POST /v1/GetLabelUrl.

ParameterTypeDescription
order_id *integerShippyPro OrderID.
label_typestringLabel format (conversion is automatic).
page_numberintegerIndex of the label to return, for multi-label orders.

shippypro_list_pending_orders List pending orders

Orders imported into ShippyPro that are not shipped yet (items, address, marketplace, status). Filter by order date or your TransactionID. The list is cut to `limit` records. POST /v1/GetPendingOrders.

ParameterTypeDescription
date_maxstringOnly orders up to this date (a bare date includes the whole day).
date_minstringOnly orders from this date or time.
exclude_returnsbooleanLeave out returns.
limitintegerReturn at most this many records (default 50, max 500); the reply says how many exist.
transaction_idstringYour own reference for the order (the TransactionID).

shippypro_list_shipped_orders List shipped orders

Orders with a generated label in a date range (addresses, carrier, service, tracking code, status, label URL). Filter by carrier, status, TransactionID or OrderIDs. Use it to check whether a label already exists before shipping again. The list is cut to `limit` records. POST /v1/GetShippedOrders.

ParameterTypeDescription
date_max *stringRange end (a bare date includes the whole day).
date_min *stringRange start (yyyy-mm-dd or ISO 8601 with timezone).
carrier_namestringOnly this carrier.
limitintegerReturn at most this many records (default 50, max 500); the reply says how many exist.
order_idsarrayOnly these ShippyPro OrderIDs.
order_statusstringOnly this order status.
transaction_idstringYour own reference for the order (the TransactionID).

shippypro_get_shipments_report Shipments report

Shipments and returns generated in a date range, with addresses, parcels, carrier, tracking and costs. Optional items and deleted orders. The list is cut to `limit` records. POST /v1/GetShipmentsReport.

ParameterTypeDescription
date_max *stringRange end (a bare date includes the whole day).
date_min *stringRange start (yyyy-mm-dd or ISO 8601 with timezone).
include_deletedbooleanInclude deleted orders.
include_itemsbooleanInclude the order line items.
limitintegerReturn at most this many records (default 50, max 500); the reply says how many exist.
returns_onlybooleanTrue = show return shipments.

shippypro_get_returns_report Returns report

Returns created in a date range: status, reason, date and the original outbound order. The list is cut to `limit` records. POST /v1/GetReturnsReport.

ParameterTypeDescription
date_max *stringRange end (a bare date includes the whole day).
date_min *stringRange start (yyyy-mm-dd or ISO 8601 with timezone).
limitintegerReturn at most this many records (default 50, max 500); the reply says how many exist.

shippypro_get_detailed_pricing Get detailed pricing

The estimated price breakdown (zone, weight range, tariff components) of an existing order. Only for carriers without live rates, with zones and prices configured in the account. POST /v1/GetDetailedPricing.

ParameterTypeDescription
order_id *integerShippyPro OrderID.

shippypro_list_pickups List pickups

Scheduled carrier pickups: carrier, date, time windows, address, ConfirmationID and orders. Without a filter, all scheduled pickups are returned. POST /v1/GetPickups.

ParameterTypeDescription
confirmation_idstringOnly the pickup with this ConfirmationID.
limitintegerReturn at most this many records (default 50, max 500); the reply says how many exist.
order_idintegerOnly the pickup of this ShippyPro OrderID.

shippypro_ship Buy a shipping label

WRITE, COSTS MONEY: creates a shipment and buys its shipping label from the chosen carrier; the carrier charge is billed to the user's ShippyPro/carrier account and the order counts toward the ShippyPro plan. Only call it after the user confirmed the carrier, service, price (from shippypro_get_rates), addresses and parcels. It is NOT retried. If the call fails or times out, first check shippypro_list_shipped_orders (by transaction_id) before trying again, or a second label may be bought. A label is reversed only with shippypro_void_shipments, which not every carrier supports and which may not…

ParameterTypeDescription
carrier_id *integerCarrierID, as in the chosen rate (carrier_id).
carrier_name *stringCarrier name, as in the chosen rate (carrier).
carrier_service *stringCarrier service, as in the chosen rate (service).
confirm_purchase *booleanMust be true: the user confirmed that this label is bought now.
content_description *stringWhat is in the parcel (max 255, no backslash).
from_address *objectSender address.
parcels *arrayThe parcels (at least 1).
to_address *objectRecipient. name or company is required (max 255 each); country is a 2-letter ISO 3166-1 code.
transaction_id *stringYour own unique reference for this order (the TransactionID). Use a new unique value for each label.
bill_account_numberstringThird-party account to bill. Required, and only allowed, when incoterm is EXW.
carrier_optionsarrayCarrier-specific options as name/value pairs (see shippypro_get_carrier_options).
cash_on_deliverynumberCash on delivery amount.
cash_on_delivery_currencystring3-letter ISO 4217 currency code, e.g. EUR.
customs_contents_typestringType of goods declared to customs (cross-border shipments).
customs_itemsarrayCustoms (CN22) line items for cross-border shipments.
incotermstringIncoterm for cross-border shipments (default DAP).
insurancenumberInsurance value.
insurance_currencystring3-letter ISO 4217 currency code, e.g. EUR.
is_returnbooleanTrue = create a return label.
label_typestringLabel format.
non_delivery_optionstringDutiable shipments only: return = send back to sender, abandon = parcel abandoned.
notestringNote for the shipment (max 255).
total_valuestringDeclared value with currency, e.g. "123 EUR". Required for international shipments.

shippypro_void_shipments Void shipments

WRITE, hard to undo: cancels (voids) previously created shipments in ShippyPro so their labels are no longer valid. Not every carrier supports voiding, and a refund is not guaranteed; for carriers without void support cancel at the carrier's site. A void cannot be undone and the label cannot be reused. Voiding one parcel of a progressive multiparcel group closes the whole group. Confirm the OrderIDs with the user first. POST /v1/VoidShipments.

ParameterTypeDescription
carrier_name *stringCarrier name of these shipments.
confirm_void *booleanMust be true: the user confirmed that these shipments are voided.
order_ids *arrayShippyPro OrderIDs to void.

shippypro_delete_pending_order Delete pending order

WRITE, destructive: deletes an order that is not shipped yet from ShippyPro. A shipped order cannot be deleted this way (void it). Confirm with the user first. Needs your TransactionID and, for API orders, the APIOrdersID of the marketplace (see shippypro_list_marketplaces). POST /v1/DeletePendingOrder.

ParameterTypeDescription
confirm_delete *booleanMust be true: the user confirmed that this order is deleted.
transaction_id *stringYour own reference for the order (the TransactionID).
api_orders_idintegerMarketplaceID of the API Orders channel.

shippypro_cancel_pickup Cancel pickup

WRITE, destructive: cancels a scheduled carrier pickup. Get carrier, CarrierID, ConfirmationID and the pickup time from shippypro_list_pickups. Confirm with the user first. POST /v1/CancelPickup.

ParameterTypeDescription
carrier_id *integerPickup CarrierID.
carrier_name *stringPickup carrier name.
confirm_cancel *booleanMust be true: the user confirmed that this pickup is cancelled.
confirmation_number *stringThe pickup ConfirmationID.
pickup_time *stringThe pickup date/time (the Date of the pickup; yyyy-mm-dd or ISO 8601 with timezone).