Mutation updateStatusOnPassWithDynamicBarcode

Update the status on a pass with a dynamic barcode.

Parameters: dynamicBarcodeData and stamps

Use stamps to specify the number of punches or tickets you want to remove from the pass.

mutation UpdateStatusOnPassWithDynamicBarcode($dynamicBarcodeData: DynamicBarcodeDataInput!, $stamps: Int) {
  updateStatusOnPassWithDynamicBarcode(
		dynamicBarcodeData: $dynamicBarcodeData, stamps: $stamps
	) {
    id
  }
}
{
	"dynamicBarcodeData": 
	{
			"uuid": "de35b7e5-056c-47d1-ad7c-ab16df915230", 
			"date": "2021-08-29T00:00:00Z"
	}, 
	"stamps": 5
}

<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."

"Stamps parameter is missing."

"Not enough stamps left."