Przejdź do głównej zawartości

Pobierz tagi dostępne w szablonach dokumentów

GET
/api/v3/Renderer/SupportedTags
curl --request GET \
--url https://twoja-instancja-renderer-api.enterprise.sellrocket.pl/api/v3/Renderer/SupportedTags \
--header 'Authorization: Bearer <token>'

Zwraca tagi (zmienne), których można używać w szablonach dokumentów – odpowiednik listy znaczników w szablonach BaseLinkera.

Success

Typ treściapplication/json
object
rootScopeTags
Array<string>
nullable
orderScopeTags
Array<string>
nullable
orderShipmentScopeTags
Array<string>
nullable
lineItemScopeTags
Array<string>
nullable
paymentsHistoryTags
Array<string>
nullable
statusHistoryTags
Array<string>
nullable
invoiceTags
Array<string>
nullable
lineItemsListScopeTags
Array<string>
nullable
lineItemsSummaryScopeTags
Array<string>
nullable
statisticsScopeTags
Array<string>
nullable
Examplegenerated
{
"rootScopeTags": [
"example"
],
"orderScopeTags": [
"example"
],
"orderShipmentScopeTags": [
"example"
],
"lineItemScopeTags": [
"example"
],
"paymentsHistoryTags": [
"example"
],
"statusHistoryTags": [
"example"
],
"invoiceTags": [
"example"
],
"lineItemsListScopeTags": [
"example"
],
"lineItemsSummaryScopeTags": [
"example"
],
"statisticsScopeTags": [
"example"
]
}

Server Error