Closed Shaharbad closed 11 months ago
The general approach would be to download the report and then parse it for display as you are doing. There is no API method for reading the report data directly, it must be downloaded as an intermediary.
The general approach would be to download the report and then parse it for display as you are doing. There is no API method for reading the report data directly, it must be downloaded as an intermediary.
Are you familiar with a way to do so? I tried a few with no success
There is example code here for running and downloading a report. Note that by default the file is gzipped, so you'll need to decompress it before reading it as a TSV.
There is example code here for running and downloading a report. Note that by default the file is gzipped, so you'll need to decompress it before reading it as a TSV.
I meant a way to show it in the UI
@christopherseeley Can you please help with this? I looked everywhere for a method to display it instead of downloading it.
You must download the report and read the downloaded data to display it in a UI. There is no API method to get the data directly.
@christopherseeley Thank you for that. My last question is whether there's a way to create a pricing rule using the API. I've been looking at the documentation for a while but haven't found a method.
There is not currently a way to create pricing rules via the API.
thanks
There is not currently a way to create pricing rules via the API.
Sorry in advance if my question is silly:
I understand that creating new pricing rules is not possible, but modifying existing pricing rules is possible? or is there any future plan to have this option?
There is no support in the API for reading or writing pricing rules, but it is being considered for future API versions.
Hey Everyone, can someone help me with loading the generated report in a table on the UI instead of downloading it? Here's my code: