Prerequisites
You need WordPress 6.0 or later, PHP 8.0 or later, WooCommerce, and an UrbnBox secret API key.Install the plugin
1
Download the plugin
While signed in to the UrbnBox portal, download the plugin archive from:Extract
urbnbox-shipping.php into:2
Activate the plugin
In WordPress, open Plugins and activate UrbnBox Locker Shipping.
3
Add the shipping method
In WooCommerce, open Settings → Shipping → Shipping zones.
Edit a zone and add UrbnBox Locker Pickup.
4
Configure credentials
Enter your UrbnBox secret key. Keep the API URL set to:
How rates work
The plugin converts the cart weight to an UrbnBox weight tier and calls the shipment quote endpoint. It adds a checkout rate only when the response contains"available": true.
The plugin reads the destination from WooCommerce’s city field. Keep product
weights and store city settings complete.
How shipment creation works
The plugin callsPOST /api/partner/v1/shipments after WooCommerce fires the
woocommerce_order_status_completed action.
The plugin maps the WooCommerce order ID to external_reference, the billing
phone to recipient_phone, and the store and shipping cities to the route.