UnmatchRetailTransaction
Mutation to manually unmatch a retail transaction from its linked Monarch transaction.
Reverses the effects of matchRetailTransaction:
- Removes the Receipt Import / Retail Sync tag from the transaction
- Resets updated_by_retail_sync_at so the transaction can be re-matched
- Removes the receipt attachment copy from the transaction (best-effort)
- Unlinks the retail transaction from the Monarch transaction
- Recalculates the retail sync status (back to PENDING_MATCHES if applicable)
type UnmatchRetailTransaction {
errors: PayloadError
retailSync: RetailSync
}
Fields
UnmatchRetailTransaction.errors ● PayloadError object
UnmatchRetailTransaction.retailSync ● RetailSync object
Returned By
unmatchRetailTransaction mutation