Pobierz tagi dostępne w szablonach dokumentów
GET
/api/v3/Renderer/SupportedTags
const url = 'https://twoja-instancja-renderer-api.enterprise.sellrocket.pl/api/v3/Renderer/SupportedTags';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/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.
Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
rootScopeTags
Array<string>
orderScopeTags
Array<string>
orderShipmentScopeTags
Array<string>
lineItemScopeTags
Array<string>
paymentsHistoryTags
Array<string>
statusHistoryTags
Array<string>
invoiceTags
Array<string>
lineItemsListScopeTags
Array<string>
lineItemsSummaryScopeTags
Array<string>
statisticsScopeTags
Array<string>
Examplegenerated
{ "rootScopeTags": [ "example" ], "orderScopeTags": [ "example" ], "orderShipmentScopeTags": [ "example" ], "lineItemScopeTags": [ "example" ], "paymentsHistoryTags": [ "example" ], "statusHistoryTags": [ "example" ], "invoiceTags": [ "example" ], "lineItemsListScopeTags": [ "example" ], "lineItemsSummaryScopeTags": [ "example" ], "statisticsScopeTags": [ "example" ]}Server Error

