Przejdź do głównej zawartości

Pobierz szablon wiadomości po ID

GET
/api/v3/Templates/{templateId}
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Templates/1 \
--header 'Authorization: Bearer <token>'
templateId
wymagane
integer format: int64

Success

object
id
integer format: int64
displayName
string
nullable
topic
string
nullable
content
string
nullable
isHtml
boolean
email
string
nullable
emailAccountId
integer format: int64
nullable
type
string
Dozwolone wartości: CSV TEXT PDF
attachments
Array<object>
nullable
object
id
integer format: int64
templateId
integer format: int64
name
string
nullable
blobKey
string
nullable
contentType
string
nullable
type
string
Dozwolone wartości: Invoice NewestShipmentLabel OrderAdditionalField LineItemProductComplexField LineItemAdditionalField CsvTemplate PdfTemplate AllInvoices
additionalFieldName
string
nullable
attachmentTemplateId
integer format: int64
nullable

Bad Request

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

Server Error