HTTP Method
POSTURL
Purchase from created Shipment
This is a flow where we first create a shipment object (and get rates for a given shipment). Then, we purchase a label for the providedrate.
Request Payload
| Parameter | Description |
|---|---|
| rate* | object_id of the rate object we get in the create shipments call response. |
| label_file_type* | Allowed values: PDF, PDF_A4 |
| async | Set to true if you want to poll for the result and receive faster response |
Example
Request Sample
cURL
Response Sample
Sample Label
Below is a sample PDF label for a Royal Mail C2C MCA Tracked 48 for Post Office Drop.