updateInvoiceMetadata
Adds or updates metadata using either key and value together, or a non-empty metadata array. Do not mix the two forms. Explicit null arguments, incomplete pairs and duplicate keys (after sanitisation) are rejected. Keys may contain at most 40 characters and values at most 500 characters. The resulting resource may contain at most 50 metadata keys; overwriting existing keys does not consume additional capacity. Unspecified keys are preserved. The entire batch succeeds or fails together.
updateInvoiceMetadata(
invoiceId: ID!
key: String
value: String
metadata: [MetadataEntryInput!]
): NewInvoiceResponsePayload
Arguments
updateInvoiceMetadata.invoiceId ● ID! non-null scalar
updateInvoiceMetadata.key ● String scalar
updateInvoiceMetadata.value ● String scalar
updateInvoiceMetadata.metadata ● [MetadataEntryInput!] list input
Type
NewInvoiceResponsePayload object
The newly created invoice or an error related to the failed creation of the invoice.