Hi, I’m from a company that develops product feeds for different platforms including Klaviyo.
In the specification: https://developers.klaviyo.com/en/v1-2/docs/guide-to-syncing-a-custom-catalog-feed-to-klaviyo (https://github.com/klaviyo/devportal/blob/master/custom_catalog_example.xml)
it doesn’t state how the price should be formatted (other than it shouldn’t include currency), but what about the decimal separator?
If the price 11 dollars and 95 cents, how should it the be displayed?
11,95 or 11.95
Hope my question make sense :)
Best answer by Brian TurcotteView original
@jacobmolby, welcome to the community!
For what it’s worth, and with a bit of selection bias here, I’ve only seen it represented as a decimal (e.g. 11.95). If you look at the examples in the API, all the numeric and float values are represented this way - so I’m at least confident that would work. If it is indifferent to your code, I’d just use decimals instead of commas unless there are some regionalization/localization requirements.
Interested to hear an official answer here!
But an official answer would be nice (and it should probably be added to the spec.)
Thanks for using the Community!