Skip to main content

Label PDF Generation API:

Use this API to generate Label PDF.

Basic Information

NAMEDETAILS
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"]
}'

ParametersRequirementRemarkValidation
{
shipmentIdMandatoryOrder ID created on Rapid ShypShould 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."
}
]
}