POST api/store/{storeID}/product/{id}/image

Save or add product image

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Product identifier

globally unique identifier

Required

storeID

Store identifier

integer

Default value is 0

Body Parameters

Product image

ProductImage
NameDescriptionTypeAdditional information
ImagePosition

integer

None.

PLUG_UID

Collection of byte

None.

PluGuid

globally unique identifier

None.

ImageName

string

None.

Description

string

Relation. This field may not always be loaded or used for updates.

StoreIDs

Collection of integer

Relation. This field may not always be loaded or used for updates.

Request Formats

application/json, text/json

Sample:
{
  "imagePosition": 1,
  "pluG_UID": "1MmljqZOKUabpiyZcZON8w==",
  "pluGuid": "8ea5c9d4-4ea6-4629-9ba6-2c9971938df3",
  "imageName": "sample string 2",
  "description": "sample string 3",
  "storeIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ProductImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
  <Description>sample string 3</Description>
  <ImageName>sample string 2</ImageName>
  <ImagePosition>1</ImagePosition>
  <PLUG_UID>1MmljqZOKUabpiyZcZON8w==</PLUG_UID>
  <PluGuid>8ea5c9d4-4ea6-4629-9ba6-2c9971938df3</PluGuid>
  <StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </StoreIDs>
</ProductImage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Product images for product

None.