getConversionRate( )


Returns the conversion rate between 2 currencies.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Currencies
Manage Stores - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
identifiersGetConversionRateIdentifiersRequired

Identifying details needed to get the conversion rate. The combination of the from and to properties together comprise the unique ID.

Returns
Return Type:Promise<ConversionRateResponse>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?