Commit a draft schema to live status in your SuprSend workspace. Until a draft is committed, your latest changes remain inactive and are not used for notification validation.
You do not need to run this command separately if you already used the --commit=true flag with the schema push command.

Syntax

suprsend schema commit <schema-slug> [flags]
Arguments:
  • <schema-slug> - Slug of the schema to commit (required)

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-m, --commit-message stringCommit message describing the changes

Example

# Commit a schema in staging workspace to live status
suprsend schema commit my-schema

# Commit schema in production workspace with commit message
suprsend schema commit notification-schema --workspace production --commit-message "Commit message"