Selling Partner API SDK for JavaScript
    Preparing search index...

    Interface SellingPartnerAuthParameters

    Configuration parameters for Selling Partner API authentication.

    Both clientId and clientSecret fall back to the LWA_CLIENT_ID and LWA_CLIENT_SECRET environment variables when omitted. refreshToken falls back to LWA_REFRESH_TOKEN.

    interface SellingPartnerAuthParameters {
        clientId?: string;
        clientSecret?: string;
        refreshToken?: string;
        scopes?: AuthorizationScope[];
    }
    Index

    Properties

    clientId?: string

    LWA client identifier. Defaults to the LWA_CLIENT_ID environment variable.

    clientSecret?: string

    LWA client secret. Defaults to the LWA_CLIENT_SECRET environment variable.

    refreshToken?: string

    LWA refresh token. Defaults to the LWA_REFRESH_TOKEN environment variable. Mutually exclusive with scopes.

    Authorization scopes for grantless operations. Mutually exclusive with refreshToken.