Update provider template metadata
Updates metadata fields on a provider template without modifying the template body. Supported fields: contentSid (write-once), approvalStatus (UNAPPROVED, PENDING, APPROVED, REJECTED, PAUSED, DISABLED, UNRESPONSIVE), isActive, dateCreated, dateUpdated, rejectionReason, friendlyName, metaDisplayName. Only provided (non-null) fields are updated. contentSid is immutable — once set, it cannot be changed. When isActive is set to true: deactivates any existing active template with the same templateName+dealerUuid+language+channel before activating this one.
ApiScope: manage.providertemplate.metadata.write
API Scope Level: ServiceSubscriberScope
Path Parameters
providerTemplateUuid string required
UUID of the template to update metadata for
application/json
Request Body required
contentSid string
approvalStatus string
isActive boolean
dateCreated string
dateUpdated string
rejectionReason string
friendlyName string
metaDisplayName string
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
links object
property name* string
providerTemplate object
uuid string
dealerUuid string
templateName string
friendlyName string
metaDisplayName string
category string
contentSid string
language string
body string
approvalStatus string
type string
channel string
isValid boolean
rejectionReason string
isManual boolean
isActive boolean
dateCreated string
dateUpdated string
insertTs string
updateTs string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"links": {},
"providerTemplate": {
"uuid": "string",
"dealerUuid": "string",
"templateName": "string",
"friendlyName": "string",
"metaDisplayName": "string",
"category": "string",
"contentSid": "string",
"language": "string",
"body": "string",
"approvalStatus": "string",
"type": "string",
"channel": "string",
"isValid": true,
"rejectionReason": "string",
"isManual": true,
"isActive": true,
"dateCreated": "string",
"dateUpdated": "string",
"insertTs": "string",
"updateTs": "string"
}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
errors object[]
errorCode int32
errorTitle string
errorMessage string
warnings object[]
warningCode int32
warningTitle string
warningMessage string
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Loading...