API referenceSections

NoticeTemplate

NoticeTemplate object
  • kind string required
    Allowed values: "quota.warning" "quota.exceeded" "quota.suspended"
  • lang string required
    Allowed values: "vi" "en"
  • subject string required
  • body string required

    Plain text; {{.Field}} and {{if .Field}}...{{end}} only

  • custom boolean required
  • fields array<string> required
  • updated_at string (date-time) optional

Used by

GET/api/v1/tenants/{tid}/notice-templatesThe quota notice templates of this seller, each kind in vi and en
PUT/api/v1/tenants/{tid}/notice-templates/{kind}/{lang}Save a notice template after trying it; empty subject and body restore the default