- babel-preset-medusa-package@1.1.19 - @medusajs/medusa-cli@1.1.24 - medusa-core-utils@1.1.31 - medusa-dev-cli@0.0.24 - medusa-file-minio@1.0.1 - medusa-file-s3@1.0.9 - medusa-file-spaces@1.1.34 - medusa-fulfillment-manual@1.1.31 - medusa-fulfillment-webshipper@1.1.35 - medusa-interfaces@1.1.32 - @medusajs/medusa-js@1.0.6 - medusa-payment-adyen@1.1.36 - medusa-payment-klarna@1.1.36 - medusa-payment-manual@1.0.13 - medusa-payment-paypal@1.0.35 - medusa-payment-stripe@1.1.35 - medusa-plugin-add-ons@1.1.34 - medusa-plugin-algolia@0.0.6 - medusa-plugin-brightpearl@1.1.40 - medusa-plugin-contentful@1.1.37 - medusa-plugin-economic@1.1.34 - medusa-plugin-mailchimp@1.1.34 - medusa-plugin-meilisearch@0.0.12 - medusa-plugin-permissions@1.1.34 - medusa-plugin-restock-notification@0.0.27 - medusa-plugin-segment@1.1.37 - medusa-plugin-sendgrid@1.1.35 - medusa-plugin-slack-notification@1.1.34 - medusa-plugin-twilio-sms@1.1.34 - medusa-plugin-wishlist@1.1.34 - medusa-source-shopify@1.0.0 - medusa-telemetry@0.0.11 - medusa-test-utils@1.1.34 - @medusajs/medusa@1.1.58
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!" })