Przejdź do głównej zawartości

Wygeneruj tekst z szablonu

POST
/api/v3/Renderer/RenderText
curl --request POST \
--url https://twoja-instancja-renderer-api.enterprise.sellrocket.pl/api/v3/Renderer/RenderText \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "templateId": 1000000000, "objects": { "type": "Order", "streamSubType": "Order", "ids": [ "example" ], "filter": "example" } }'

Renderuje szablon tekstowy dla wskazanych obiektów.

Example

{
   "templateId": 1000000000,
   "objects": {
        "type": "Order",
        "ids": ["129575", "654321"]
    }
}
Typ treściapplication/json
object
templateId
wymagane
integer format: int64
Example
1000000000
objects
object
type
string
Dozwolone wartości: Order Connection Status LineItem LineItems EmailTemplate User OrderStats PimProduct PimProductsPage PimCatalog UserEvents StatusHistory ImageGalleryGetMany PimPriceGroup OrderShipmentConnections PimManufacturer PimManufacturers PimBundle PimBundles PimCategory PimCategories PimProductImage Connections ConnectionDefinitions ConnectionsAllGrouped PimComplexFields PimAllLanguages OrderHistory PimPriceGroups PimWarehouses
streamSubType
string
Dozwolone wartości: Order Connection Status LineItem LineItems EmailTemplate User OrderStats PimProduct PimProductsPage PimCatalog UserEvents StatusHistory ImageGalleryGetMany PimPriceGroup OrderShipmentConnections PimManufacturer PimManufacturers PimBundle PimBundles PimCategory PimCategories PimProductImage Connections ConnectionDefinitions ConnectionsAllGrouped PimComplexFields PimAllLanguages OrderHistory PimPriceGroups PimWarehouses
ids
Array<string>
nullable
filter
string
nullable

Success