@sunrise-integration/postscript-sms
v1.0.0
Published
Postscript SMS integrated for Shogun Frontend.
Downloads
2
Keywords
Readme
Postscript SMS
Postscript SMS integrated for Shogun Frontend.
SMS marketing for growing Shopify stores
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>
}