Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ShopifyConnection

Index

Properties

Configuration of the shopify connection

current?: Shopify

Shopify client for the current in context shop or record

currentShopId?: bigint

ID of the shop set up as the current in-context tenant for this context

Methods

  • forShop(remoteIdentifier: string): Shopify
  • deprecated

    Use forShopId or forShopDomain instead

    Parameters

    • remoteIdentifier: string

      The Shopify domain

    Returns Shopify

    Shopify Client

  • forShopDomain(shopDomain: string): Promise<Shopify>
  • Parameters

    • shopDomain: string

      The Shopify domain

    Returns Promise<Shopify>

    Promise which resolves to a Shopify Client

  • forShopId(shopId: string | bigint): Promise<Shopify>
  • Parameters

    • shopId: string | bigint

      Shop ID from the Shop model

    Returns Promise<Shopify>

    Promise which resolves to a Shopify Client

  • setCurrentShop(shopId: bigint): Promise<void>
  • Parameters

    • shopId: bigint

      to set for the current context

    Returns Promise<void>

    Resolves when the shop context has been updated

Generated using TypeDoc