JSPM

  • Created
  • Published
  • Downloads 491
  • Score
    100M100P100Q100639F
  • License MIT

The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.

Package Exports

  • @sp-api-sdk/sellers-api-v1

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sp-api-sdk/sellers-api-v1) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sellers-api-v1

The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.

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 {SellersApiClient} from '@sp-api-sdk/sellers-api-v1'

const auth = new SellingPartnerApiAuth({
  clientId: '',
  clientSecret: '',
  refreshToken: '',
  secretAccessKey: '',
  accessKeyId: '',
  region: '',
  role: {
    arn: '',
  }
})

const client = new SellersApiClient({
  auth,
  region: 'eu-west-1'
})

API documentation

See here