@sunrise-integration/postscript-sms
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Postscript SMS

Postscript SMS integrated for Shogun Frontend.

SMS marketing for growing Shopify stores

⚠️ This package runs on Shogun Frontend.

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>
}

Readme

Keywords

none

Package Sidebar

Install

npm i @sunrise-integration/postscript-sms

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.34 kB

Total Files

8

Last publish

Collaborators

  • eduardo-sunrise
  • seandro
  • sunriseintegration