Templates
Update template
Updates the fields sent from the template.
PATCH
/templates/{id}templates:writeRequest
idstring · pathResource identifier.mandatorynamestring · bodyTemplate name.optionalbodystring · bodyBody with Achadu variables.optionalmarketplacestring · bodyOptional marketplace.optionalwith_previewboolean · bodyIncludes product preview.optionalExample
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"
}'Answer
200Operation completed4xxError with code, message and request_id