changeCurrency( )
Deprecated. This function will continue to work until November 8, 2024, but a newer version is available at changeCurrency()
.
Migration Instructions.
If this function is already in your code, it will continue to work. To stay compatible with future changes, migrate to changeCurrency()
.
To migrate to the new function:
- Add the new import statement:
Copy
1
- Look for any code that uses
ticketDefinitions.changeCurrency()
, and replace it withticketDefinitionsV2.changeCurrency()
. Update your code to work with the newchangeCurrency()
response properties. - Test your changes to make sure your code behaves as expected.
Changes the currency for all tickets per event.
Admin Method
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Permission Scopes
For app development, you must have one of the following permission scopes:Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
optionsChangeCurrencyOptions
Was this helpful?
Yes
No