Saltar al contenido
AchaduDevelopers
Developers/API/template_create
Plantillas

Crear plantilla

Crea una plantilla de publicación reutilizable.

POST/templatestemplates:write

Solicitar

namestring · bodyNombre de la plantilla.obligatorio
bodystring · bodyCuerpo con variables Achadu.obligatorio
marketplacestring · bodyMercado opcional.opcional
with_previewboolean · bodyIncluye vista previa del producto.opcional

Ejemplo

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
}'

respuesta

201Recurso creado
4xxError con código, mensaje y request_id