POST /v1/external/orders/print/invoice
Use this API to generate the invoice for your order by passing the respective Shiprocket order ids.
The generated invoice URL is displayed as a response. Multiple ids can be passed together as an array.
Note
- Order ids must be passed as an array.
Parameters:
PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|---|
ids | YES | integer | The Shiprocket order id of the orders whose invoices are to be created. Multiple ids can be passed together as an array. | [16255275,16255276] |
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 |
---|---|---|---|
ids |
String | 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.