POST api/Helper/PRODUCT_VARIANT_EDIT
Request Information
URI Parameters
None.
Body Parameters
ZProductVariantEditRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Options | string |
None. |
|
| OptionName1 | string |
None. |
|
| OptionValue1 | string |
None. |
|
| OptionName2 | string |
None. |
|
| OptionValue2 | string |
None. |
|
| OptionName3 | string |
None. |
|
| OptionValue3 | string |
None. |
|
| SKU | string |
None. |
|
| Barcode | string |
None. |
|
| Avatar | string |
None. |
|
| Price | integer |
None. |
|
| Weight | integer |
None. |
|
| Size | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| ShopID | integer |
None. |
|
| BatchNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Options": "sample string 2",
"OptionName1": "sample string 3",
"OptionValue1": "sample string 4",
"OptionName2": "sample string 5",
"OptionValue2": "sample string 6",
"OptionName3": "sample string 7",
"OptionValue3": "sample string 8",
"SKU": "sample string 9",
"Barcode": "sample string 10",
"Avatar": "sample string 11",
"Price": 12,
"Weight": 13,
"Size": "sample string 14",
"UpdatedBy": 15,
"ShopID": 16,
"BatchNumber": "sample string 17"
}
application/xml, text/xml
Sample:
<ZProductVariantEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity"> <Avatar>sample string 11</Avatar> <Barcode>sample string 10</Barcode> <BatchNumber>sample string 17</BatchNumber> <ID>1</ID> <OptionName1>sample string 3</OptionName1> <OptionName2>sample string 5</OptionName2> <OptionName3>sample string 7</OptionName3> <OptionValue1>sample string 4</OptionValue1> <OptionValue2>sample string 6</OptionValue2> <OptionValue3>sample string 8</OptionValue3> <Options>sample string 2</Options> <Price>12</Price> <SKU>sample string 9</SKU> <ShopID>16</ShopID> <Size>sample string 14</Size> <UpdatedBy>15</UpdatedBy> <Weight>13</Weight> </ZProductVariantEditRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>