klaviyo-api-python icon indicating copy to clipboard operation
klaviyo-api-python copied to clipboard

Events.create_event doesn't seem to send the value_currency parameter

Open nburt opened this issue 2 years ago • 2 comments

Based on the Create Event docs and the events integration doc it seems like I should be able to pass a value_currency when creating an event. In this case I'm trying to create a "Started Checkout" event.

It seems like that parameter is missing in this file so it is left out. We track sales in several countries so it is important for us to be able to track this attribute. Is it possible to add this parameter in?

nburt avatar Apr 23 '24 23:04 nburt

hello! this value_currency field was added after our most recent API release 2024-02-15, so we will have to do a point release of the SDK to add this in. we will update this thread when its done!

sanfordj avatar Apr 26 '24 14:04 sanfordj

Hello! as we are preparing for a new API revision release soon, we've decided to bundle this change in with that release. Sorry for any confusion. That will be the 2024-05-15 API revision. I will update this thread again if anything changes.

sanfordj avatar May 08 '24 18:05 sanfordj

this is in the most recent release: https://github.com/klaviyo/klaviyo-api-python/blob/main/src/openapi_client/models/event_create_query_v2_resource_object_attributes.py#L36

sanfordj avatar May 23 '24 16:05 sanfordj

addressed ^

sanfordj avatar May 23 '24 16:05 sanfordj