Files
medusa-store/packages/medusa-plugin-twilio-sms
Sebastian RindomandOliver Windall Juhl f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
..
2020-09-09 10:52:58 +02:00
2020-12-17 10:54:42 +01:00
2020-09-09 10:52:58 +02:00
2020-09-09 11:47:30 +02:00

medusa-plugin-sendgrid

Twilio SMS / Messaging plugin.

Plugin Options

{
  account_sid: [twilio messaging account sid] (required),
  auth_token: [twilio massaging authentication token] (required),
  from_number: [the number used as sender SMS],
}

Dynamic usage

You can resolve the Twilio SMS service to dynamically send SMS's via Twilio.

Example:

const twilioSmsService = scope.resolve("twilioSmsService")
twilioSmsService.sendSms({ to: "+4500112233", body: "Hello world!" })