Shopee SDK API Reference - v2.14.1
    Preparing search index...

    Hierarchy (View Summary)

    Index
    config: ShopeeConfig
    • Exchange a code; userId selects an entry from the returned user_id_list locally.

      Parameters

      • code: string
      • OptionalshopId: number
      • OptionalmainAccountId: number
      • OptionaluserId: number

      Returns Promise<AccessToken>

    • Refresh one identity. For users, pass undefined shop/merchant IDs and the userId; for principals, pass only the principalId.

      Parameters

      • refreshToken: string
      • OptionalshopId: number
      • OptionalmerchantId: number
      • OptionaluserId: number
      • OptionalprincipalId: number

      Returns Promise<AccessToken>