IKAS icon

IKAS

Consume IKAS e-commerce platform API

Product → Upload Image

AI-generated

Overview

This node operation uploads an image to specified product variants in the IKAS e-commerce platform. It supports uploading images either from a URL or from Base64 encoded data. Users can specify which product variants to associate the image with, set the order/position of the image, and mark the image as the main/primary image for the product. This operation is useful for managing product images programmatically, such as bulk updating product visuals or automating image uploads from external sources.

Use Case Examples

  1. Uploading a product image from a URL to multiple product variants.
  2. Uploading a Base64 encoded image as the main image for a product variant.
  3. Setting the order of images for product variants to control display sequence.

Properties

Name Meaning
Product Variants Select the product variants to upload the image to. This is required and supports multiple selections loaded dynamically from available product variants.
Image Source Choose the source of the image to upload, either from a URL or Base64 encoded data.
Image URL The URL of the image to upload. Required if the image source is URL.
Image Base64 Base64 encoded image data to upload. Required if the image source is Base64.
Image Order Order or position of the image among other images for the product. 0 means the first image.
Is Main Image Boolean flag indicating whether this image should be set as the main or primary image for the product.

Output

JSON

  • id - The unique identifier of the uploaded image.
  • url - The URL where the uploaded image is accessible.
  • order - The order or position of the image among product images.
  • isMain - Indicates if the image is set as the main image for the product.

Dependencies

  • IKAS e-commerce platform API

Troubleshooting

  • Ensure the product variant IDs are valid and exist in the IKAS platform to avoid upload failures.
  • Verify the image URL is accessible and correctly formatted if using URL as the image source.
  • Check that the Base64 image data is properly encoded and complete if using Base64 as the image source.
  • Handle API errors gracefully, especially for network issues or authentication failures with the IKAS API.

Discussion