POST api/ProductAdmin/updateSku

“updateSku”的文档。

Request Information

Parameters

NameDescriptionAdditional information
sku
“sku”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "Name": "sample string 2",
  "Desc": "sample string 3",
  "Price": 4.0,
  "AdvicePrice": 5.0,
  "OnlinePrice": 6.0,
  "CostPrice": 7.0,
  "OldPrice": 8.0,
  "Stock": 9,
  "ImgSrc": "sample string 10",
  "Id": 11,
  "PlatformId": 12,
  "Manufacturer": "sample string 13",
  "CompayNo": "sample string 14",
  "TBDate": "sample string 15"
}

application/xml, text/xml

Sample:
<SKuModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin">
  <AdvicePrice>5</AdvicePrice>
  <CompayNo>sample string 14</CompayNo>
  <CostPrice>7</CostPrice>
  <Desc>sample string 3</Desc>
  <Id>11</Id>
  <ImgSrc>sample string 10</ImgSrc>
  <Manufacturer>sample string 13</Manufacturer>
  <Name>sample string 2</Name>
  <OldPrice>8</OldPrice>
  <OnlinePrice>6</OnlinePrice>
  <PlatformId>12</PlatformId>
  <Price>4</Price>
  <ProductId>1</ProductId>
  <Stock>9</Stock>
  <TBDate>sample string 15</TBDate>
</SKuModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Message": "sample string 2",
  "DataId": "sample string 3",
  "Uid": "sample string 4",
  "UserId": 5
}

application/xml, text/xml

Sample:
<ReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin">
  <DataId>sample string 3</DataId>
  <Message>sample string 2</Message>
  <Success>1</Success>
  <Uid>sample string 4</Uid>
  <UserId>5</UserId>
</ReturnModel>