Documentation
ShipLabel
REST API

REST API

ShipLabel registers a REST API namespace (/wp-json/shiplabel/v1/).

Endpoints

EndpointMethodDescription
/orders/{order_id}/generatePOSTGenerate a label for an order
/orders/{order_id}/labelsGETList all labels generated for an order
/labels/{label_id}GETGet a single label's details
/labels/{label_id}/voidPOSTCancel/void a label
/labels/{label_id}/trackingGETGet current tracking status for a label
/labels/{label_id}/downloadGETDownload the label file
/validate-addressPOSTValidate an address against USPS or FedEx
/ratesPOSTGet a live rate estimate for a package

Authentication

All endpoints require an authenticated WordPress session (cookie + nonce, or Application Passwords) for a user with the manage_woocommerce capability. There is no separate API key - access follows standard WordPress REST API authentication.

This is separate from the tracking webhook, which is a plain (non-REST) endpoint secured by its own secret rather than WordPress user authentication.