Mutation / commerce
createInvoice
Create a new invoice. Requires invoice:write permission.
Arguments
inputCreateInvoiceInput!Invoice data for new invoice
Returns UpsertInvoicePayload!
Explore in a view
View exact SDL
"""Create a new invoice. Requires invoice:write permission."""
createInvoice(
"""Invoice data for new invoice"""
input: CreateInvoiceInput!
): UpsertInvoicePayload! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.