Shipment Management
POST /public/purchase-label
Purchases a label for an existing order & returns the ShippingLabelURL.
**Request:**
POST /public/purchase-labelContent-Type: application/jsonAuthorization: Bearer <token>
Field |
Type |
Required |
Default |
orderID |
integer |
Yes |
— |
rateID |
string |
Yes |
— |
packageID |
string |
Yes |
— |
shippingMethod |
string |
Yes |
— |
serviceLevel |
string |
Yes |
— |
shipDate |
DateTime |
No |
now (UTC) |
signature |
boolean |
No |
false |
insurance |
boolean |
No |
false |
customPackageSelectedValue |
string |
No |
null |
additionalHandlingUPS |
boolean |
No |
false |
saturdayDeliveryUPS |
boolean |
No |
false |
packageTypeUPS |
string |
No |
null |
weight |
number |
No |
0 |
hsItems |
string |
No |
null |
eelPfc |
string |
No |
null |
additionalComments |
string |
No |
null |
insureShipping |
boolean |
No |
false |
insuredValue |
number |
No |
0 |
Successful Response
HTTP 200
{
"success": true,
"shippingLabelURL": "https://cdn.ship.com/labels/abcd1234.pdf"
}