Modèles
Créer un modèle
Crée un modèle de publication réutilisable.
POST
/templatestemplates:writeDemande
namestring · bodyNom du modèle.obligatoirebodystring · bodyCorps avec des variables Achadu.obligatoiremarketplacestring · bodyMarché facultatif.facultatifwith_previewboolean · bodyComprend un aperçu du produit.facultatifExemple
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
}'Réponse
201Ressource créée4xxErreur avec le code, le message et request_id