Light Mode
Create Order Invoice
Production
POST
https://api.salla.dev/admin/v2/orders/{order_id}/print-invoiceLast modified: 2 months ago
This endpoint allows you to create / print the Order Invoice by passing the order_id
as the path parameter.
Request
Path Params
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
Responses
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
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
Example
{
"status": 200,
"success": true,
"data": {
"url": "temp/adaisjdos/order-123123-invoice.pdf"
}
}
Last modified: 2 months ago