Body
Required
-
Attribute
-
Column type
Values are
attribute
,placeholder
, ororderFlag
. -
Country format
Values are
full
,alpha2
, oralpha3
. Default value isalpha2
. -
Created at
-
Date format
-
Format reference
Default value is
false
. -
Header
-
Id
-
Object
Values are
channel
,company
,currency
,customer
,dropship_provider
,inventory_feed_variant
,product
,purchase_item
,purchase_shipping_rate
,purchase
,sale_item
,sale_shipping_rate
,sale
,tracking_event
,transfer_refund
,transfer
,variant
, orvendor
. -
Order end
-
Order middle
-
Order start
-
Placeholder
-
Position
-
Property name
-
State format
Values are
original
,full
, orabbreviation
. Default value isoriginal
. -
Template
-
Updated at
-
Weight unit
Values are
g
,kg
,oz
, orlb
.
PUT
/template-mappings/{id}.json
curl \
--request PUT 'http://api.example.com/v1/template-mappings/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"attribute":"string","columnType":"attribute","countryFormat":"alpha2","createdAt":"2025-05-04T09:42:00Z","dateFormat":"string","formatReference":false,"header":"string","id":42,"object":"channel","orderEnd":"string","orderMiddle":"string","orderStart":"string","placeholder":"string","position":42,"propertyName":"string","stateFormat":"original","templateId":42,"updatedAt":"2025-05-04T09:42:00Z","weightUnit":"g"}'
Request examples
{
"attribute": "string",
"columnType": "attribute",
"countryFormat": "alpha2",
"createdAt": "2025-05-04T09:42:00Z",
"dateFormat": "string",
"formatReference": false,
"header": "string",
"id": 42,
"object": "channel",
"orderEnd": "string",
"orderMiddle": "string",
"orderStart": "string",
"placeholder": "string",
"position": 42,
"propertyName": "string",
"stateFormat": "original",
"templateId": 42,
"updatedAt": "2025-05-04T09:42:00Z",
"weightUnit": "g"
}