Specify a Carrier Service
A shipment must specify the carrier and service that will be used to deliver the shipment to the recipient. These values are defined by the carrier_id (the carrier that will deliver the package) and service_code (the service class to use for the delivery, which also determines the transit time and the cost of the label).
While this was breifly covered in the create a label guide, here we'll provide a more detailed explanation about using these properties to create shipments and labels.
You can retrieve the carrier_id (and carrier_code) when you list carriers and the service_code when you ist carrier services.
Example Label Request & Response
In our create a label guide example, we used UPS as the carrier and ups_ground as the service. In the following example, we've determined we really need to get this package to it's destination quickly, so we'll use USPS Priority Mail Expressâ„¢ as the carrier and service to accomplish this.
POST /v1/labels/
Example Response