UploadImages
Definition
Use this call to upload multiple image files and accept binary stream with file content. Allowed image formats are JPG and PNG. The maximum size of an image file is 1MB.
Request URI: https://api.sellercenter.lazada.sg/?Action=UploadImages
Parameters
Field | Type | Description |
---|---|---|
Action | string | UploadImages Name of the API that is to be called. Mandatory. |
Format | string | The response format, with XML as the default. Can be XML or JSON. Optional. |
Timestamp | datetime | The current time in ISO8601 format (e.g., Timestamp=2016-04-01T10:00:00+02:00 for Berlin). Mandatory. |
UserID | string | The ID of the user making the call. Mandatory. |
Version | string | The API version against which this call is to be executed. The current version is "1.0". Mandatory. |
Signature | string | The cryptographic signature, authenticating the request. You must create this value by computing the SHA256 hash of the request, using the API key of the user specified in the UserID parameter. Mandatory. |
Request body
Body contains binary image content.
Code sample, response, result sample
The code sample, response, and result sample are similar with those of the UploadImage call.
Error messages
Error code | Message |
---|---|
30 | E030: Empty Request |
300 | E300: Upload Image Failed |
303 | E303: The image is too large |
1000 | Internal Application Error. |
Updated almost 7 years ago