Get Label API:
Description: Generates shipment label PDFs.
Basic Information
| NAME | DETAILS |
|---|---|
| Usage: | Mandatory |
| URL: | https://api.rapidshyp.com/rapidshyp/apis/v1/b2b/orders/get_label |
| Request Type: | POST |
| Scheme: | HTTPS |
| Header (content-type): | application/json |
| Header (rapidshyp-token): | API-Key |
Curl
curl --location 'https://api.rapidshyp.com/rapidshyp/apis/v1/b2b/orders/get_label'
--header 'rapidshyp-token: <API_KEY>'
--header 'Content-Type: application/json'
--data '{
"shipmentId": "BS2601483"
}'
Request Parameters:
| Parameter | Required | Remark | Validation |
|---|---|---|---|
| shipmentId | Yes | Shipment ID | Valid shipment |
Response:
JSON
{
"status": true,
"remarks": "Label(s) generated successfully."
}