1.0.0 • Published 2 years ago

@sunrise-integration/postscript-sms v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Postscript SMS

Postscript SMS integrated for Shogun Frontend.

SMS marketing for growing Shopify stores

Postscript SMS website →

Installation

yarn add @frontend-sdk/postscript-sms

npm install @frontend-sdk/postscript-sms

Usage

First we need to install the Postscript SMS script - we need to make a call to usePostscriptSms with a valid shopId (00000) :

import { usePostscriptSms } from '@frontend-sdk/postscript-sms'

const App = () => {

    /**
     * shopId: This ID is not your store name, but a numerical number. 
     * You can locate your shop ID in your account settings.
     * Select your Shop Name in the side menu of your Postscript dashboard, then select Settings.
     * @type {string}
     */
    let shopId = '00000';
    usePostscriptSms(shopId);
    
  return <div>...</div>
}