Skip to content

Has anyone here successfully used GET_LEDGER_SUMMARY_VIEW_DATA and can help me #832

Answered by nordinho
nordinho asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out if anyone else is having problems with it, you need to add dataStartTime and dataEndTime in ISO 8601 date time format. This is the full python code I used for reference :

from sp_api.base import Marketplaces
from sp_api.base import Granularity, ReportType, ProcessingStatus
from sp_api.base.reportTypes import ReportType
from sp_api.api import Reports
from datetime import datetime, timedelta, timezone
from datetime import date
import pandas as pd
import gzip

credentials = dict(
refresh_token='refreshtoken',
lwa_app_id='appid',
# From Seller Central, named CLIENT IDENTIFIER on website.
lwa_client_secret=clientsecret',
# From Seller Central, named CLIENT SECRET on website.
aw…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nordinho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant