reports-api-2021-06-30
The Selling Partner API for Reports lets you retrieve and manage a variety of reports that can help selling partners manage their businesses.
Installing
yarn add @sp-api-sdk/aplus-content-api-2020-11-01
npm install @sp-api-sdk/aplus-content-api-2020-11-01
Getting Started
import {SellingPartnerApiAuth} from '@sp-api-sdk/auth'
import {ReportsApiClient} from '@sp-api-sdk/reports-api-2021-06-30'
const auth = new SellingPartnerApiAuth({
clientId: '',
clientSecret: '',
refreshToken: '',
secretAccessKey: '',
accessKeyId: '',
region: '',
role: {
arn: '',
}
})
const client = new ReportsApiClient({
auth,
region: 'eu-west-1'
})
API documentation
See here