Update Template

Update a template for a product.

put
Path parameters
productIdstringRequired
idstringRequired
Body
namestringOptional
defaultboolean | nullableOptional
contentstringOptional
Responses
200
OK
application/json
put
PUT /public/v1/catalog/products/{productId}/templates/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "name": "text",
  "default": true,
  "content": "text"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-07-01T17:14:43.031Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-07-01T17:14:43.031Z",
      "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?