Vorlagen
Vorlage erstellen
Erstellt eine wiederverwendbare Veröffentlichungsvorlage.
POST
/templatestemplates:writeAnfrage
namestring · bodyVorlagenname.obligatorischbodystring · bodyTextkörper mit Achadu-Variablen.obligatorischmarketplacestring · bodyOptionaler Marktplatz.optionalwith_previewboolean · bodyInklusive Produktvorschau.optionalBeispiel
curl
curl -X POST 'https://achadu.com/api/v1/templates' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"body": "string",
"marketplace": "string",
"with_preview": true
}'Antwort
201Ressource erstellt4xxFehler mit Code, Nachricht und request_id