Shopee SDK API Reference - v2.8.0
    Preparing search index...

    Interface UploadImageRequest

    Request parameters for upload_image

    Use this API to upload multiple image files (less than 9 images).

    interface UploadImageRequest {
        image: any;
        ratio?: string;
        scene?: string;
    }
    Index

    Properties

    Properties

    image: any

    image files. Max 10.0 MB each. Image format accepted: JPG, JPEG, PNG. image number should be less than 9

    ratio?: string

    only applicable to whitelisted sellers.only support 1:1 and 3:4; 1:1 by default.

    scene?: string

    The scene where the picture is used, The value range is normal or desc; normal: we will process the image as a square image, it is recommended to use when uploading item image; desc: we will not process the image, it is recommended to use when uploading the image of extend_description, if you do not upload this field, it will be normal.