Skip to main content

InvoiceRequest

Request an invoice for the order using plugin.

Requires MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_REQUESTED (async): An invoice was requested.
type InvoiceRequest {
order: Order
invoiceErrors: [InvoiceError!]! @deprecated
errors: [InvoiceError!]!
invoice: Invoice
}

Fields

InvoiceRequest.order ● Order object orders

Order related to an invoice.

InvoiceRequest.invoiceErrors ● [InvoiceError!]! deprecated non-null object orders

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

InvoiceRequest.errors ● [InvoiceError!]! non-null object orders

InvoiceRequest.invoice ● Invoice object orders

Returned By

invoiceRequest mutation