Home Reference Source

Variable

Static Public Summary
public

MARKET_CURRENCY: {"US": string, "CA": string}

A list of the default currency codes for markets, indexed by country code.

public

MWS_ENDPOINTS: {"NA": string, "BR": string, "EU": string, "IN": string, "CN": string, "AU": string, "JP": string}

A list of hosts you can use with the mws-advanced "host" option, hashed by MWS Region Name.

public

MWS_MARKETPLACES: {"CA": string, "MX": string, "US": string, "BR": string, "DE": string, "ES": string, "FR": string, "IT": string, "UK": string, "IN": string, "CN": string, "AU": string, "JP": string, "TR": string}

A list of Marketplace IDs hashed by their country code.

public

status indicators for report processing status updates

public

List of all valid request report types.

Static Public

public MARKET_CURRENCY: {"US": string, "CA": string} source

import {MARKET_CURRENCY} from '@ericblade/mws-advanced/lib/constants.js'

A list of the default currency codes for markets, indexed by country code. Calling, for example, getMyFeesEstimate in Canada, using USD will fail with "status":"ClientError", "error":{ "code":"InvalidParameterValue", "message":"There is an client-side error. Please verify your inputs." } so you need to use CAD when calling getMyFeesEstimate for Canada.

public MWS_ENDPOINTS: {"NA": string, "BR": string, "EU": string, "IN": string, "CN": string, "AU": string, "JP": string} source

import {MWS_ENDPOINTS} from '@ericblade/mws-advanced/lib/constants.js'

A list of hosts you can use with the mws-advanced "host" option, hashed by MWS Region Name.

public MWS_MARKETPLACES: {"CA": string, "MX": string, "US": string, "BR": string, "DE": string, "ES": string, "FR": string, "IT": string, "UK": string, "IN": string, "CN": string, "AU": string, "JP": string, "TR": string} source

import {MWS_MARKETPLACES} from '@ericblade/mws-advanced/lib/constants.js'

A list of Marketplace IDs hashed by their country code.

public REPORT_PROCESSING_STATUS_TYPES: string[] source

import {REPORT_PROCESSING_STATUS_TYPES} from '@ericblade/mws-advanced/lib/endpoints/constants.js'

status indicators for report processing status updates

public REQUEST_REPORT_TYPES: string[] source

import {REQUEST_REPORT_TYPES} from '@ericblade/mws-advanced/lib/endpoints/constants.js'

List of all valid request report types. This should probably be a hash map from sane values into values that Amazon understands, but we don't really have reporting done very well yet.