POST api/pop/PopUpdateStockMain?app_key={app_key}&access_token={access_token}&timestamp={timestamp}&sign={sign}

同步商品库存

Request Information

URI Parameters

NameDescriptionTypeAdditional information
app_key

app_key

string

None.

access_token

access_token

string

None.

timestamp

timestamp

string

None.

sign

sign

string

None.

Body Parameters

Collection of PopProduct
NameDescriptionTypeAdditional information
StockId

integer

None.

StockCount

integer

None.

SalePrice

decimal number

None.

InPrice

decimal number

None.

TradePrice

decimal number

None.

IsEnable

boolean

None.

ProdQuality

integer

None.

ProdBrandName

string

None.

SpecialNote

string

None.

BmNo

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StockId": 1,
    "StockCount": 2,
    "SalePrice": 3.0,
    "InPrice": 4.0,
    "TradePrice": 5.0,
    "IsEnable": true,
    "ProdQuality": 7,
    "ProdBrandName": "sample string 8",
    "SpecialNote": "sample string 9",
    "BmNo": 10
  },
  {
    "StockId": 1,
    "StockCount": 2,
    "SalePrice": 3.0,
    "InPrice": 4.0,
    "TradePrice": 5.0,
    "IsEnable": true,
    "ProdQuality": 7,
    "ProdBrandName": "sample string 8",
    "SpecialNote": "sample string 9",
    "BmNo": 10
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.