Skip to main content
Version: 3.x

invoiceRequest

Request an invoice for the order using plugin.

Requires MANAGE_ORDERSpermission.

Triggers the following webhook events:

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

Arguments

invoiceRequest.number ● String scalar

Invoice number, if not provided it will be generated.

invoiceRequest.orderId ● ID! non-null scalar

ID of the order related to invoice.

Type

InvoiceRequest object

Request an invoice for the order using plugin.

Requires MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_REQUESTED (async): An invoice was requested.

Was this page helpful?