Campaigns

PUT /v1/campaigns/templates/{templateId}

Edit a campaign template.

બધા Campaigns એન્ડપૉઇન્ટ્સ

પ્રમાણીકરણ

બિયરર ટૉકન તરીકે API કી મોકલો. આ એન્ડપૉઇન્ટ સ્પેશિફિકેશનમાં કોઈ ચોક્કસ પરવાનગી જણાવતું નથી, તેથી ધારણા બાંધવાને બદલે તમારી કીને તેની જરૂરિયાત મુજબ ન્યૂનતમ પરવાનગી આપો અને રિસ્પોન્સ તપાસો.

જ્યાં તમારી સંસ્થા આઈડી જાય છે

આ એન્ડપૉઇન્ટ JSON બોડીમાં એક ફીલ્ડ તરીકે org_id લે છે.

તમારી સંસ્થાની આઈડી તમારા ડેશબોર્ડ પર API કી સ્ક્રીન પર, કી ની બાજુમાં જ છે. તે તમે કરો છો તે દરેક કૉલમાં સમાન આઈડી છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

curl -X PUT https://api.zinndigital.com/v1/campaigns/templates/{templateId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string>, "subject": <string>, "body": <string> }'

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

Editing the copy marks every locale stale and re-translates it, so a template and its 58 translations cannot drift.

પેરામીટર્સ

નામપ્રકારજરૂરીતે શું છે
templateId (path)stringહા

રિકવેસ્ટ બોડી

નામપ્રકારજરૂરીતે શું છે
fallbacksbooleanનાPreview only. Render with NO merge values, so every tag falls back and the author reads what a customer we know nothing about reads. It exists because a normal preview substitut…
namestringહા
subjectstringહા
bodystringહા
purposestring<marketing, transactional>ના
channelsstring<email, in_app, slack, telegram>[]ના
org_idstringના

જવાબ

નામપ્રકારજરૂરીતે શું છે
idstringહા
org_idstringહા
namestringહા
purposestring<marketing, transactional>હા
subjectstringહા
bodystringહા
channelsstring[]હા
archivedbooleanહા
created_atstringહા
updated_atstringહા

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

401 · 403 · 404 · 422