Skip to main content

Create a new provider template

Creates a new template row with isActive=false. The template must go through the approval workflow (submit to provider, then call PUT /{uuid}/update-metadata) before it becomes active. Uniqueness is enforced on name+dealerUuid (across all valid rows) and on templateName+dealerUuid+language+channel (among active rows only).
ApiScope: manage.providertemplate.write
API Scope Level: MultiDealerScope

Request Body required
    dealerUuids string[]
    templateName string
    category string
    language string
    body string
    type string
    channel string
    isManual boolean
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    links object
    property name* string
    providerTemplates object[]
  • Array [
  • 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
  • ]
  • totalPages int32
    totalElements int64
    currentPage int32
    pageSize int32
Loading...