Sjablonen
Sjabloon maken
Creëert een herbruikbare publicatiesjabloon.
POST
/templatestemplates:writeVerzoek
namestring · bodySjabloonnaam.verplichtbodystring · bodyHoofdtekst met Achadu variabelen.verplichtmarketplacestring · bodyOptionele marktplaats.optioneelwith_previewboolean · bodyInclusief productvoorbeeld.optioneelVoorbeeld
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
}'Antwoord
201Bron gemaakt4xxFout met code, bericht en request_id