- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
- DeliveryFBS
- DeliveryrFBS
- Pass
- RFBSReturnsAPI
- BetaMethod
- Examples
- ReviewAPI
为货件中的称重商品添加重量
POST
/v2/posting/fbs/product/change
FBS
请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
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记录不存在
🟠409409
🔴500服务器错误
修改于 2025-06-10 08:30:17