Use a Carrier Service
While we technically covered this in Quickstart: Create a Label we didn't break out and explain what was happening.
When creating a label, a few things can happen where we figure out how you want to ship.
We'll expand and highlight the changes we made to the request body from the Quickstart. Let's say we really need to get this package to it's destination quickly, so we want to use Priority Mail Express™.
We can use the service_code
provided in the carrier services list.
Example
POST /v1/labels/
Notice we had already included a service_code
in the Quickstart example. We changed that to another service that corresponds with our carrier_id
.