Update Template

Update a template for a product.

PUThttps://api.platform.softwareone.com/public/v1/products/{productId}/templates/{id}
Path parameters
productId*string
id*string
Body
namestring
defaultboolean
contentstring
Response

Success

Body
idstring
auditobject
$metaobject
hrefstring
namestring
contentstring
typeenum
OrderProcessingOrderQueryingOrderCompletedRequestProcessing
defaultboolean
productobject
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/products/{productId}/templates/{id}', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "name": "text",
  "content": "text",
  "type": "OrderProcessing",
  "default": false
}

Last updated

SoftwareOne is a trademark of SoftwareOne, Inc. "The Software Licensing Experts" is a service mark of SoftwareOne, Inc. VAR assist is a trademark of SoftwareOne, Inc. "It pays to partner" is a service mark of SoftwareOne, Incorporated.