| POST | /Catalog_UpdateItems |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | body | List<CatalogUpdateItemRequestModel> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| uid | form | string | No | |
| item_set | form | List<ItemSet> | No | |
| stock_fbo | form | List<StockFbo> | No | |
| price_marketplaces | form | List<PriceMarketplaces> | No | |
| item_matches | form | List<ItemMatches> | No | |
| repricer | form | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| uid | form | string | No | |
| quantity | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| shop | form | string | No | |
| shop_id | form | string | No | |
| marketplace | form | string | No | |
| stock | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| shop | form | string | No | |
| shop_id | form | string | No | |
| marketplace | form | string | No | |
| retail_price | form | decimal | No | |
| retail_action_price | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| shop | form | string | No | |
| shop_id | form | string | No | |
| marketplace | form | string | No | |
| market_id | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| errCode | form | int | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Catalog_UpdateItems HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Items:
[
{
uid: String,
item_set:
[
{
uid: String,
quantity: 0
}
],
stock_fbo:
[
{
shop: String,
shop_id: String,
marketplace: String,
stock: 0
}
],
price_marketplaces:
[
{
shop: String,
shop_id: String,
marketplace: String,
retail_price: 0,
retail_action_price: 0
}
],
item_matches:
[
{
shop: String,
shop_id: String,
marketplace: String,
market_id: String
}
],
repricer: False
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
errCode: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}