solicitations-api-v1
With the Solicitations API you can build applications that send non-critical solicitations to buyers. You can get a list of solicitation types that are available for an order that you specify, then call an operation that sends a solicitation to the buyer for that order. Buyers cannot respond to solicitations sent by this API, and these solicitations do not appear in the Messaging section of Seller Central or in the recipient's Message Center. The Solicitations API returns responses that are formed according to the <a href=https://tools.ietf.org/html/draft-kelly-json-hal-08>JSON Hypertext Application Language (HAL) standard.

Documentation
Learn more about this Selling Partner API by visiting the official documentation.
Also, see the generated documentation for this API client.
Installing
yarn add @sp-api-sdk/solicitations-api-v1
npm install @sp-api-sdk/solicitations-api-v1
Getting Started
import {SellingPartnerApiAuth} from '@sp-api-sdk/auth'
import {SolicitationsApiClient} from '@sp-api-sdk/solicitations-api-v1'
const auth = new SellingPartnerApiAuth({
clientId: process.env.LWA_CLIENT_ID,
clientSecret: process.env.LWA_CLIENT_SECRET,
refreshToken: 'Atzr|…',
accessKeyId: '',
secretAccessKey: '',
role: {
arn: 'arn:aws:iam::…',
},
})
const client = new SolicitationsApiClient({
auth,
region: 'eu',
})
Rate Limiting
In order to retry rate limited requests (HTTP 429), you can configure the API client as such:
const client = new SolicitationsApiClient({
auth,
region: 'eu',
rateLimiting: {
retry: true,
onRetry: (retryInfo) => {
console.log(retryInfo)
},
},
})
The rate limits used for each route are specified in the API documentation.
License
MIT
Miscellaneous
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝