orders-api-v0
The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
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 {OrdersApiClient} from '@sp-api-sdk/orders-api-v0'
const auth = new SellingPartnerApiAuth({
clientId: '',
clientSecret: '',
refreshToken: '',
secretAccessKey: '',
accessKeyId: '',
region: '',
role: {
arn: '',
}
})
const client = new OrdersApiClient({
auth,
region: 'eu-west-1'
})
API documentation
See here