Skip to main content

invoiceRequest Mutation

Request an invoice for the order using plugin.

Requires the MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_REQUESTED (async): An invoice was requested.
invoiceRequest(
number: String
orderId: ID!
): InvoiceRequest
Show return type

Arguments

number ● String

Invoice number, if not provided it will be generated.

orderId ● ID!

ID of the order related to invoice.

Type

InvoiceRequest

Request an invoice for the order using plugin.

Requires the MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_REQUESTED (async): An invoice was requested.