使用接口调试工具postman
请求描述
温馨提示:
1、修改订单信息时,需提供产品ID,举例:("id": 3055883,)。
2、产品ID后面填入需修改的字段和值即可,无需填充多余上传请求
HTPP请求格式
POST /client/Product/ HTTP/1.1
Host: {{Bird_URL}}
Headres:
api_key: {{api_key}}
company_id: {{company_id}}
Cookie: PHPSESSID=3s3nejv43u9bhirsrvq9nge254
Body
raw
{
"price_internal": null,
"product_volume_level_code": null,
"product_stock_volume_level_code": null,
"product_sales_level_code": null,
"directional_share_total": null,
"total": null,
"price": null,
"cost": null,
"is_shared_internal": null,
"is_shared_external": null,
"client_dispatch_product_id": null,
"product_stock_level_code": null,
"company_id": null,
"warehouse_id": null,
"live_volume": null,
"sales_quantity": null,
"sales_volume": null,
"volume": null,
"id": 3055883,
"client_id": 4790,
"crossing_harbor_name_id": null,
"customs_clear_name_id": null,
"name": "null",
"name_customs": "null",
"material": "",
"usage": "test",
"brand": "test",
"url": "http://www.test.com/aaa",
"color": "red",
"model": "test",
"country_of_origin": null,
"shape_type": "NORMAL_SHAPE",
"product_risk_level": "LOW",
"customs_value_level": "LOW",
"customs_category_id": 1519,
"commodity_code": null,
"note": "测试测试",
"description": "测试产品",
"price_customs_import": "0",
"price_customs_export": "5",
"price_customs_export_internal": "0",
"sales_price": null,
"handling_fee": "0.00",
"delivery_fee_adjustment": "0.00",
"client_ref": "1621838764",
"company_ref": null,
"weight": "0.00",
"length": "0.00",
"width": "0.00",
"depth": "0.00",
"dimension_lock": "0",
"live_stock": "0",
"frozen_stock": "0",
"pending_stock": "0",
"low_stock_level": "0",
"inventory_time": "0",
"is_use_delivery_cost": "0",
"is_no_handling_fee": "0",
"is_vip": "0",
"is_dynamic_warehouse_unsalable_product": "0",
"is_need_to_record_sn": "0",
"last_info_check_time": null,
"last_stock_update_time": null,
"last_in_stock_time": null,
"last_out_stock_time": null,
"last_update_status_time": "2021-05-24 14:46:04",
"create_time": "2021-05-24 14:46:04",
"update_time": "2021-05-24 14:46:04",
"note_internal": "",
"dynamic_warehouse_stock_sequence": "DYNAMIC_WAREHOUSE_STOCK_FIRST",
"return_action": null,
"status": "PREPARING",
"primary_keys": [
"id"
]
}
JSON格式返回结果
{
"data": {
"price_internal": null,
"product_volume_level_code": null,
"product_stock_volume_level_code": null,
"product_sales_level_code": null,
"directional_share_total": null,
"total": null,
"price": null,
"cost": null,
"is_shared_internal": null,
"is_shared_external": null,
"client_dispatch_product_id": null,
"product_stock_level_code": null,
"company_id": null,
"warehouse_id": null,
"live_volume": null,
"sales_quantity": null,
"sales_volume": null,
"volume": null,
"id": 3055883,
"client_id": 4790,
"crossing_harbor_name_id": null,
"customs_clear_name_id": null,
"name": "null",
"name_customs": "null",
"material": "",
"usage": "test",
"brand": "test",
"url": "http://www.test.com/aaa",
"color": "red",
"model": "test",
"country_of_origin": null,
"shape_type": "NORMAL_SHAPE",
"product_risk_level": "LOW",
"customs_value_level": "LOW",
"customs_category_id": 1519,
"commodity_code": null,
"note": "测试测试",
"description": "测试产品",
"price_customs_import": null,
"price_customs_export": "5.000",
"price_customs_export_internal": "0.000",
"sales_price": null,
"handling_fee": "0.00",
"delivery_fee_adjustment": "0.00",
"client_ref": "1621838764",
"company_ref": null,
"weight": "0.00",
"length": "0.00",
"width": "0.00",
"depth": "0.00",
"dimension_lock": "0",
"live_stock": "0",
"frozen_stock": "0",
"pending_stock": "0",
"low_stock_level": "0",
"inventory_time": "0",
"is_use_delivery_cost": "0",
"is_no_handling_fee": "0",
"is_vip": "0",
"is_dynamic_warehouse_unsalable_product": "0",
"is_need_to_record_sn": "0",
"last_info_check_time": null,
"last_stock_update_time": null,
"last_in_stock_time": null,
"last_out_stock_time": null,
"last_update_status_time": "2021-05-24 14:46:04",
"create_time": "2021-05-24 14:46:04",
"update_time": "2021-05-24 15:19:45",
"note_internal": "",
"dynamic_warehouse_stock_sequence": "DYNAMIC_WAREHOUSE_STOCK_FIRST",
"return_action": null,
"status": "PREPARING",
"primary_keys": [
"id"
]
},
"success": true,
"moduleName": "client"
}