Download Sale Order Invoice
Once a sale order is generated an invoice gets created.
Request
You can download the invoice PDF by making a GET
request to sale-orders
resource with the sale order id and the api key.
curl -i https://services.rxrise.com/api/v1/sale-orders/1/invoice?apiKey=YOUR_API_KEY
Response
The endpoint returns a PDF buffer file.
Error list
These are the errors returned by this endpoint:
Code | Message | Reason |
---|---|---|
403 | Forbidden | You Don't Have Permission |
404 | Not Found | Sale Order Not Found |
500 | Internal Server Error | Service Not Available |