Update a provider template (creates a new version)
Creates a new template row with updated fields, inheriting templateName, dealerUuid, and isManual from the existing row. The new row is created with isActive=false — it must go through the approval and activation workflow before replacing the current active version. Only provided fields are updated; null fields fall back to the existing row's values.
ApiScope: manage.providertemplate.write
API Scope Level: DealerScope
Path Parameters
dealerUUID string required
Dealer UUID
providerTemplateUuid string required
UUID of the template to update
application/json
Request Body required
body 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...