interface ClientConfiguration {
    auth: SellingPartnerApiAuth;
    logging?: {
        error?: true | ErrorLogConfig;
        request?: true | RequestLogConfig;
        response?: true | ResponseLogConfig;
    };
    rateLimiting?: {
        onRetry?: ((retryInfo) => void);
        retry: boolean;
    };
    region: SellingPartnerRegion;
    restrictedDataToken?: string;
    sandbox?: boolean;
    userAgent?: string;
}

Properties

logging?: {
    error?: true | ErrorLogConfig;
    request?: true | RequestLogConfig;
    response?: true | ResponseLogConfig;
}

Type declaration

rateLimiting?: {
    onRetry?: ((retryInfo) => void);
    retry: boolean;
}

Type declaration

  • Optional onRetry?: ((retryInfo) => void)
  • retry: boolean
restrictedDataToken?: string
sandbox?: boolean
userAgent?: string