Sales Orders
Invoices
Convert a sales order to an invoice
Changed onPlan: Paid API.
The request has no body. The conversion copies the customer, the contact, the addresses, the charges, the tags and the line items with their prices and taxes, as the web app does. It does not calculate the prices again. Each line item gets the quantity that is not on an invoice yet. The term code of the sales order sets the due date. The sales order links to the new invoice and its invoiced status changes. The jobs do not change. Each call makes a new invoice.
A sales order that is void, deleted or fully invoiced returns 422 with the reason in base. An account on the Pro or Express plan of the old web app also gets 422.
post/sales_orders/{id}/to_invoice
Request
- Base URLhttps://api.shopvox.com/v1
- AuthAPI key in query parameter account_id and API key in query parameter authToken
Response
Created.
Changes
- info
endpoint added
- info