Create Template
Create a template for a product.
post
Path parameters
productIdstringRequired
Body
namestring · min: 1Required
typestring · enumOptionalPossible values:
defaultboolean | nullableOptional
contentstring · min: 1Required
Responses
201
Created
application/json
400
Bad Request
application/json
403
Forbidden
application/json
500
Internal Server Error
post
POST /public/v1/catalog/products/{productId}/templates HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"name": "text",
"type": "OrderProcessing",
"default": true,
"content": "text"
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-08-06T09:18:27.519Z",
"by": "[Circular Reference]"
},
"updated": {
"at": "2025-08-06T09:18:27.519Z",
"by": "[Circular Reference]"
}
},
"$meta": {
"omitted": [
"text"
]
},
"name": "text",
"content": "text",
"type": "OrderProcessing",
"default": true,
"product": {
"id": "text",
"name": "text",
"externalIds": {
"operations": "text"
},
"icon": "text",
"status": "text"
}
}
Last updated
Was this helpful?