Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Sale__update Invoice

{ collectionName: 'sell__Invoice', permissions: ['*', 'update'], } Requires a signed-in staff user. Needs the `sale__Invoice` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONsale__updateInvoice(input: UpdateInvoiceInput!, where: CommonFindDocumentDto!): Boolean!

{ collectionName: 'sell__Invoice', permissions: ['*', 'update'], } Requires a signed-in staff user. Needs the sale__Invoice update permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

input*
where*

Returns

sale__updateInvoice*Boolean!
Example Request
mutation Sale__updateInvoice($input: UpdateInvoiceInput!, $where: CommonFindDocumentDto!) {  sale__updateInvoice(input: $input, where: $where)}
Variables
{  "input": {    "customFields": [      {        "key": "string"      }    ],    "customer": {      "name": "string"    }  },  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "sale__updateInvoice": true  }}