Chameleoon MAX · Receipts
removeReceiptExternalRef mutation
removeReceiptExternalRef is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Removes the receipt's reference in an external source. Call it when the reference recorded
with setReceiptExternalRef no longer applies.
- Returns
changed: falsewhen the receipt had no reference in that external source. - Works for an archived external source too.
- The permissions and
NOT_FOUNDare those ofsetReceiptExternalRef.
An error whose path runs below this field does not mean the call failed: the reference was removed, so do not retry. See
Mutation.
Arguments
id:UUID!· requiredsource:String!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.