bird email templates versions languages update
Usage
कोड उदाहरण
bird email templates versions languages update <template-ref> <version-id> <language> [flags]Description
Update one language of a draft
Change some fields of one language on a template's draft, leaving the rest as they are. The response carries compatibility for the language as saved, the same advisory report the full save returns.
Build the request from flags, a JSON EmailTemplateLanguageUpdate body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.
Examples
कोड उदाहरण
# print the body shape (no credentials needed)
bird email templates versions languages update --example
# the body it prints:कोड उदाहरण
{
"html": "<h1>Hi {{ bird.contact.first_name }}</h1>",
"preview_text": "{{ bird.contact.first_name }}, your order is on its way",
"subject": "Welcome to Acme, {{ bird.contact.first_name }}!"
}Options
Request
| Name | Description |
|---|---|
| --body-file | Read the JSON request body from this file; "-" reads stdin |
| --example | Print a complete example request body, then exit |
| --dry-run | Print the resolved request without sending it, then exit |
| --idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
| --subject | A new email subject line for this language. |
| --preview-text | A new line for the inbox to show after the subject in the message list. Send null to clear it, and the inbox shows the opening words of the body instead. |
| --html | A new HTML body for this language. |
| --text | A new plain-text body for this language. Send null to clear it, and a plain-text alternative is derived from the HTML when you submit. |
| --revision <n> | The revision you last read for this language, to detect a concurrent edit. The edit is rejected with a conflict if the language moved on since. Omit it to apply the edit unconditionally. |
| --response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
| bird email templates versions languages delete | Delete one language from a draft |
| bird email templates versions languages get | Get one language of a version |
| bird email templates versions languages list | List a version's languages |
| bird email templates versions languages set | Upsert one language of a draft |
संबंधित संसाधन
इस विषय के लिए डॉक्यूमेंटेशन, गाइड और उदाहरणों के साथ आगे बढ़ें। संसाधन अंग्रेज़ी में हैं।
गाइड देखेंHow to build an email templateक्षमता जानेंEmail templatesलर्निंग पाथ फ़ॉलो करेंBuild your first integrationइम्प्लीमेंटेशन गाइडEmail templates
अभ्यास करें और इम्प्लीमेंटेशन ब्रीफ़ पाएँ