How to pass reportOptions on report request? #572
-
Hi,
Reference: https://developer-docs.amazon.com/sp-api/docs/report-type-values#seller-retail-analytics-reports Note: The dataStartTime value provided when requesting this report must not be more than two years before the date of the request. Failing this condition will result in the request being cancelled. This report accepts the following reportOptions values: dateGranularity - Data is available at different date range aggregation levels: DAY, WEEK, MONTH. Default: DAY. When dateGranularity is WEEK or MONTH the dataStartTime and dataEndTime values are expanded to that level of granularity. For WEEK the beginning is Sunday and the end is Saturday, and for MONTH the beginning is the first day of the month and the end is the last day of the month. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
create_report(reportType=cfg_report_type, dataStartTime=start_date_time, dataEndTime=end_date_time, reportOptions=cfg_report_options) Is exactly how, and is working as expected. |
Beta Was this translation helpful? Give feedback.
create_report(reportType=cfg_report_type, dataStartTime=start_date_time, dataEndTime=end_date_time, reportOptions=cfg_report_options)
Is exactly how, and is working as expected.