Pobierz listę szablonów produktowych
GET
/api/v1/PimTemplates/List
const url = 'https://twoja-instancja-renderer-api.enterprise.sellrocket.pl/api/v1/PimTemplates/List?offset=0&limit=100&isSystem=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://twoja-instancja-renderer-api.enterprise.sellrocket.pl/api/v1/PimTemplates/List?offset=0&limit=100&isSystem=false' \ --header 'Authorization: Bearer <token>'Parametr isSystem pozwala filtrować szablony systemowe.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”offset
integer format: int32
limit
integer format: int32
isSystem
boolean
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
list
Array<object>
object
id
integer format: int64
name
string
body
string
lang
string
tableTemplateType
string
createdAt
string format: date-time
updatedAt
string format: date-time
scope
string
settings
object
id
integer format: int64
pdfHeight
string
pdfWidth
string
pdfMarginTop
string
pdfMarginBottom
string
pdfMarginLeftRight
string
type
string
createdAt
string format: date-time
updatedAt
string format: date-time
sections
object
product
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
parameter
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
relation
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
source
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
variant
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
bundle
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
manufacturer
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
supplier
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
category
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
stats
object
name
string
body
string
enabled
boolean
orderBy
string
groupBy
string
ownedTags
Array<object>
object
id
integer format: int64
name
string
value
string
createdAt
string format: date-time
updatedAt
string format: date-time
modifiers
Array<object>
object
id
integer format: int64
parentId
integer format: int64
tag
string
operator
string
condition
string
newValue
string
position
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
pageNumber
integer format: int32
total
integer format: int32
Example
{ "list": [ { "scope": "Orders", "settings": { "type": "CSV" } } ]}Bad Request
Typ treściapplication/json
object
error
string
Examplegenerated
{ "error": "example"}Server Error

