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

FieldTypeDescription
ActionstringUploadImages
Name of the API that is to be called. Mandatory.
FormatstringThe response format, with XML as the default. Can be XML or JSON. Optional.
TimestampdatetimeThe current time in ISO8601 format (e.g., Timestamp=2016-04-01T10:00:00+02:00 for Berlin). Mandatory.
UserIDstringThe ID of the user making the call. Mandatory.
VersionstringThe API version against which this call is to be executed. The current version is "1.0". Mandatory.
SignaturestringThe 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 codeMessage
30E030: Empty Request
300E300: Upload Image Failed
303E303: The image is too large
1000Internal Application Error.