@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Class CampaignsResource

    Index
    • Get a single campaign by its code

      Parameters

      • code: string
      • Optionallocale: string

      Returns Promise<StorefrontCampaign>

    • Get all active campaigns for the current market

      Parameters

      • Optionallocale: string

      Returns Promise<StorefrontCampaign[]>