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.
invoiceRequest(
number: String
orderId: ID!
): InvoiceRequest

Arguments

invoiceRequest.number ● String scalar miscellaneous

Invoice number, if not provided it will be generated.

invoiceRequest.orderId ● ID! non-null scalar miscellaneous

ID of the order related to invoice.

Type

InvoiceRequest object orders

Request an invoice for the order using plugin.

Requires MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_REQUESTED (async): An invoice was requested.