Light Mode
Send Order Invoice
POST
/orders/{order_id}/send-invoiceLast modified: 19 days ago
This endpoint allows you to send the order invoice to the customer's email by passing the order_id
as a path parameter.
:::tip[Note]
To send the invoice, the email address should be recorded on the invoice.
:::
Request
Path Params
order_id
number
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
No schema defined
ExampleOk
{
"status": 200,
"success": true,
"data": {
"message": "تم ارسال رسالة الفاتورة بنجاح"
}
}
Last modified: 19 days ago