vendor-invoices-api-v1
The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.
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 {VendorInvoicesApiClient} from '@sp-api-sdk/vendor-invoices-api-v1'
const auth = new SellingPartnerApiAuth({
clientId: '',
clientSecret: '',
refreshToken: '',
secretAccessKey: '',
accessKeyId: '',
region: '',
role: {
arn: '',
}
})
const client = new VendorInvoicesApiClient({
auth,
region: 'eu-west-1'
})
API documentation
See here