Sale__remove Discount
{ collectionName: 'sale__Discount', permissions: ['*', 'delete'], } Requires a signed-in staff user. Needs the `sale__Discount` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
sale__removeDiscount(where: CommonFindDocumentDto!): Boolean!{ collectionName: 'sale__Discount', permissions: ['*', 'delete'], } Requires a signed-in staff user. Needs the sale__Discount delete permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
sale__removeDiscount*Boolean!mutation Sale__removeDiscount($where: CommonFindDocumentDto!) { sale__removeDiscount(where: $where)}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "sale__removeDiscount": true }}Sale__remove Abandoned Cart MUTATION
{ collectionName: 'sale__Invoice', permissions: ['*', 'delete'], } Requires a signed-in staff user. Needs the `sale__Invoice` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Sale__remove Invoice MUTATION
Permanently deletes an order. `confirmInvoiceUID` must match the order's invoiceUID. { collectionName: 'sale__Invoice', permissions: ['*', 'delete'], } Requires a signed-in staff user. Needs the `sale__Invoice` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).