POST /v1/external/courier/generate/label
Generate the label of order by passing the shipment id in the form of an array. This API displays the URL of the generated label.
Note:
- The AWB must be assigned to the shipment to generate the label.
- 'shipment_id' must be passed as an array.
Parameters:
PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|---|
shipment_id | YES | integer | The shipment id of the order whose label is to be generated. Multiple ids can be passed together as an array. | [16104408,16104409] |
Servers
- https://apiv2.shiprocket.in
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
shipment_id[] |
Array | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.