v1

latestOpenAPI 3.0.02026-07-24182211348.4 KB
Builder external data component

Create an external data component

post/builder/externaldatacomponent

Request body

Namestring

Name of the component

Urlstring

Source url for the external component data

RequestType'GET' | 'POST'

Request type that the call should be to the url

AttributeIdinteger

Id of the tweakwise attribute

JsonMappingstring

Mapping in Json between external url attributes and tweakwise attributes

Icon'Bag' | 'BoxHeart' | 'Brand' | 'BrandHeart' | 'Diamond' | 'Eye' | 'EyePlus' | 'Fire' | 'Heart' | 'LabelNew' | 'New' | 'Person' | 'PersonHeart' | 'Repeat' | 'Star' | 'Stars' | 'Top' | 'Trending' | 'Basket' | 'BasketPlus' | 'Label' | 'AIPersonal'

Tweakwise icon that will be used for the component

AuthorizationIdinteger

Id of the authorization

RequestTimeoutMsinteger

Maximum requesttime in milliseconds before timeout

PostBodyMappingstring

POST requestbody payload mapping

Response

Id of the created external data component

integer required