Create a VendorAsk AIpost https://{host}/api_gateway/rewards/core/v1/vendor/createBody ParamsnamestringrequiredUnique name identifier for the video.codestringUnique identification code for the vendor. In case the code is null or not provided, a random, unique code is assigned to the vendor. Maximum character limit is 255.brandIdint32requiredUnique brand ID of the organisation.typestringenumrequiredDefaults to REWARDSType of vendor.Allowed:REWARDSimagesarrayObject containing details of images associated with the vendor. You can add up to 5 images for a vendor.imagesaltTextstringBrief text description of the video.idstringUnique ID that is generated when a video is created. This ID is the file_handle for the associated video in the Capillary system. If isExternal is false, then this parameter is required. To add a video, raise a ticket to the support team.urlstringDirect link to the video. If isExternal is true, then this parameter is required.isExternalbooleanIndicate if the video is from an external source.videosarrayObject containing details of videos associated with the vendor. You can add up to 2 videos for a vendor.videosrankint32Assign a rank to the vendor. This can be used for ordering and prioritizing.descriptionstringDescription for the vendor. Maximum character limit is 1034.Responses 200200 400400Updated about 1 month ago