[lightMode]
Create Order Invoice
POST
/orders/{order_id}/print-invoice[updatedIn] 2 months ago
This endpoint allows you to create / print the Order Invoice by passing the order_id
as the path parameter.
Request
[message.pathParameter]
order_id
integer
required
A unique alphanumeric code or identifier assigned to a specific order. List of Order ID can be found here
Example:
289032373
Request samples
[api.label.responses]
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
status
integer
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
success
boolean
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
object
optional
url
string
optional
Order PDF File URL
[api.label.example]
{
"status": 200,
"success": true,
"data": {
"url": "temp/adaisjdos/order-123123-invoice.pdf"
}
}
[updatedIn] 2 months ago