Invoices
Process Invoice
Changed onProcesses a pending, confirming or out-of-stock invoice, delivering its items. Pass <code>mark_as_paid</code> to also set the paid amount to the invoice price.
get/v1/shops/{shopId}/invoices/{invoiceId}/process
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
mark_as_paidboolean
Set the paid amount to the invoice price if nothing was paid yet.
Response
Example response
{
"success": "Invoice processed"
}Changes
- breaking
added
subschema #1subschema #2to the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status
- breaking