The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Create / update template
PUT
https://api.pack.cloud/v1/organizations/{organizationId}/brands/{brandId}/templates/{templateType}/{countryCode}
Request
Path parameters
organizationIdstring
brandIdstring
templateTypestring
countryCodestring
Payload
variablesobject
Template specific variables
Response
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
OK
Body
type_code
Code of the template type
Example:fulfillment_shipped_email
country_codestring
Country code
Example:NL
variablesobject
Template specific variables
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource