Multi-Currency
To accommodate additional currency pricing, we will introduce an additional parameter to every API request.
- priceFieldSuffix
See: Modify Request Overview for details on preparing for Klevu JS overriding
See : Klevu API Documentation for Customer Groups
The additional currency pricing data must be supplied at the product level during catalog indexing.
Below is a FEED XML example for product additional currencies
Below is a FEED XML example for specific group additional currencies
The desired currency/prices are applied to all queries via overrides using the "all" scope value.
See: Modify Request Overview for details on preparing for Klevu JS overriding
Apply the selected currency for all products
API Parameter | Description | Format |
---|---|---|
priceFieldSuffix | Fetch prices in a specific currency | {CURRENCY} |
Apply the selected currency for a specific customer group
API Parameter | Description | Format |
---|---|---|
priceFieldSuffix | Fetch prices/currency specific to a customer group | {CURRENCY}-{GROUPID} |
See : Klevu API Documentation for Customer Groups
For Klevu Smart Recommendations use the Recommendations klevu_processRECSRecordQueries function for the outgoing query modifications
See : Modify Recommendations Overview for more details