Methods

  • post - Add product image

Resource

{
    "img": {
        "id": "int64",
        "itemUrl": "string",
        "largeSizeUrl": "string",
        "mediumSizeUrl": "string",
        "thumbnailUrl": "string"
    },
    "requestStatus": {
        "error": {
            "errorCode": "string",
            "errorMessage": "string"
        },
        "success": "boolean",
        "version": "string",
        "warning": {
            "warningMessage": "string"
        }
    }
}

Properties

Name Type Description Additional
img object

Image links.

Optional
img.id int64

Id of the image. Can be used for DELETE /{productCode}/image/{mediaId} service

Optional
img.itemUrl string

Full size image link

Optional
img.largeSizeUrl string

Large size image link (1280px)

Optional
img.mediumSizeUrl string

Medium size image link (480px)

Optional
img.thumbnailUrl string

Thumbnail image link (240px)

Optional
requestStatus object RequestStatus Required
requestStatus.error object Error Optional
requestStatus.error.errorCode string Required
requestStatus.error.errorMessage string Optional
requestStatus.success boolean Required
requestStatus.version string Optional
requestStatus.warning object Warning Optional
requestStatus.warning.warningMessage string Optional