Sjablonen
Sjabloon bijwerken
Werkt de velden bij die vanuit de sjabloon zijn verzonden.
PATCH
/templates/{id}templates:writeVerzoek
idstring · pathResource-ID.verplichtnamestring · bodySjabloonnaam.optioneelbodystring · bodyHoofdtekst met Achadu variabelen.optioneelmarketplacestring · bodyOptionele marktplaats.optioneelwith_previewboolean · bodyInclusief productvoorbeeld.optioneelVoorbeeld
curl
curl -X PATCH 'https://achadu.com/api/v1/templates/resource_id' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"body": "string",
"marketplace": "string"
}'Antwoord
200Operatie voltooid4xxFout met code, bericht en request_id