Mutation updateStatusOnPass

Makes the pass with a dynamic barcode invalid.

Parameters: passId

mutation UpdateStatusOnPassWithDynamicBarcode($passId: String!) {
  updateStatusOnPassWithDynamicBarcode(passId: $passId) {
    id
  }
}
{
	"passId": "54bc9bda-8a6d-41f9-ae31-00ee589f0f94"
}

<aside> 💡 You can use the https://api.passi.is/playground to test the mutation and see the docs and schema for updateStatusOnPassWithDynamicBarcode.

</aside>


Error message

If there is an error with your request or the pass, these are available error messages:

"Pass is expired."

"Pass is voided."

“Invalid barcode. Please try to refresh the pass.”

"Expired barcode. Please refresh the pass."