Body
Required
-
Content
-
Created at
-
Custom delimiter
-
Default mapping
Values are
custom
orroyalMail
. Default value iscustom
. -
Delivery
Values are
email
orwebhook
. Default value isemail
. -
Format
Values are
csv
,json
,html
,xml
,csv_mapping
, orjson_mapping
. Default value iscsv
. -
Id
-
Name
-
Resource
Values are
sales
,purchases
,variants
,sale_items
, orpurchase_items
. -
Updated at
-
Visible
Default value is
true
. -
Webhook endpoint
-
Xml date dormat
PUT
/templates/{id}.json
curl \
--request PUT 'http://api.example.com/v1/templates/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"content":"string","createdAt":"2025-05-04T09:42:00Z","customDelimiter":"string","defaultMapping":"custom","delivery":"email","format":"csv","id":42,"name":"string","resource":"sales","updatedAt":"2025-05-04T09:42:00Z","visible":true,"webhookEndpoint":"string","xmlDateDormat":"string"}'
Request examples
{
"content": "string",
"createdAt": "2025-05-04T09:42:00Z",
"customDelimiter": "string",
"defaultMapping": "custom",
"delivery": "email",
"format": "csv",
"id": 42,
"name": "string",
"resource": "sales",
"updatedAt": "2025-05-04T09:42:00Z",
"visible": true,
"webhookEndpoint": "string",
"xmlDateDormat": "string"
}