- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
为货件中的称重商品添加重量
POST
/v2/posting/fbs/product/change
FBS
请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
items
array[object (object) {2}]
商品信息。
sku
integer <int64>
可选
weightReal
array[number <double>]
可选
posting_number
string
货运ID。
示例
{
"items": [
{
"sku": 1231428352,
"weightReal": [
0.3
]
}
],
"posting_number": "33920158-0006-1"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-seller.ozon.ru/v2/posting/fbs/product/change' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"items": [
{
"sku": 1231428352,
"weightReal": [
0.3
]
}
],
"posting_number": "33920158-0006-1"
}'
返回响应
🟢200信息已增加
application/json
Body
result
string
货运ID。
示例
{
"result": "33920158-0006-1"
}
🟠400参数有误
🟠403访问拒绝
🟠404无响应
🟠409请求冲突
🔴500服务器内部错误
修改于 2023-11-03 06:04:11