Modelli
Crea modello
Crea un modello di pubblicazione riutilizzabile.
POST
/templatestemplates:writeRichiesta
namestring · bodyNome del modello.obbligatoriobodystring · bodyCorpo con variabili Achadu.obbligatoriomarketplacestring · bodyMercato facoltativo.facoltativowith_previewboolean · bodyInclude l'anteprima del prodotto.facoltativoEsempio
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
}'Rispondi
201Risorsa creata4xxErrore con codice, messaggio e request_id