Label PDF Generation API:
Use this API to generate Label PDF.
Basic Information
| NAME | DETAILS |
|---|---|
| Usage: | Mandatory |
| URL: | https://api.rapidshyp.com/rapidshyp/apis/v1/generate_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/generate_label' \
--header 'rapidshyp-token: HQ$fS*******KHoZ' \
--header 'Content-Type: application/json' \
--data '{
"shipmentId": ["1111111111"]
}'
| Parameters | Requirement | Remark | Validation |
|---|---|---|---|
{ | |||
| shipmentId | Mandatory | Order ID created on Rapid Shyp | Should be a valid order ID |
} |
Response:
JSON
{
"status": true,
"remarks": "Label(s) generated successfully.",
"labelData": [
{
"shipmentId": "1111111111",
"labelURL": "https://rapidshyp-public.s3.ap-south-1.amazona****************2:46PM.pdf",
"labelRemarks": "Label generated successfully."
}
]
}