I am trying to use Postman to make an API call to get the revenue generated by a specific campaign. Per this doc, I am making a GET request to the following endpoint:
In my Klaviyo account, I have navigated to a URL that looks like this:
So in the endpoint URL I have replaced PLACEDORDERMETRIC with KDbUXb
For params I am following the exact suggestion of the doc:
api_key=API_KEY (I have replaced API_KEY with my API key)
But it seems I am getting two errors, here is the response:
"message": "* unit\n * Select a valid choice. 'week' is not one of the available choices.\n* __all__\n * Invalid where clause."
Any ideas what I am doing wrong?
Best answer by stephen.trumbleView original