订单修改 (通用)

订单信息修改接口描述

URL

1

接口功能

订单修改

 

 

2

支持格式

JSON

开发人员

数据已丢失

3

请求方式

POST

发布日期

数据已丢失

参数描述

返回字段

字段类型

说明

返回字段

字段类型

说明

1

commodity_code

VARCHAR

客户专线订单包裹代码

2

total_price_customs_export

float(‘%.2f’)

海关报关价格

3

name_customs

VARCHAR

产品英文名称

4

total_quantity

VARCHAR

总数量

5

weight

VARCHAR

重量

6

price

float(‘%.2f’)

价格

7

price_customs_export

float('%.2f')

海关出口价格

8

period

DATA

订单所在期间

9

total_of_consignments

float(‘%.2f’)

总邮递费用

10

type

VARCHAR

订单类型

11

total

int

拣货单产品总数

12

external_code

VARCHAR

外部服务代码

13

external_code1

VARCHAR

外部服务代码1

14

external_code2

VARCHAR

外部服务代码2

15

max_length

INT

最大长度

16

max_width

INT

最大宽度

17

max_depth

INT

最大高度

18

handling_fee_first_item

float('%.2f')

第一件产品手续费

19

handling_fee_other_item

float('%.2f')

其他产品手续费

20

handling_fee_first_product

float('%.2f')

第一件SKU手续费

21

handling_fee_other_product

float('%.2f')

其他SKU手续费

22

handling_fee

float('%.2f')

手续费

23

handling_fee_urgent_consignment

float('%.2f')

订单紧急手续费

24

handling_fee_limit

float('%.2f')

手续费列表

25

delivery_fee

float('%.2f')

邮递费用

26

delivery_fee_type

int

邮递费用类型

27

return_consignment_id

INT

退货订单ID

28

return_consignment_action_type

VARCHAR

退货订单类型

29

return_consignment_action_name

VARCHAR

退货服务名称

30

quantity

INT

产品数量

31

total_price_customs_export_INTernal

float('%.3f')

国际出口总报关价

32

battery_type_name_list

VARCHAR

电池类型名称

33

battery_type_id_list

INT

电池类型ID

34

delivery_service_name

VARCHAR

邮递服务名称

35

sku_count

INT

SKU数量

36

product_company_ref

VARCHAR

批量订单产品代码

37

id

INT

订单ID

38

company_id

INT

站点ID

39

client_id

INT

客户ID

40

warehouse_id

INT

仓库ID

41

consignment_product_quantity

INT

订单产品数量

42

consignment_product_reference

VARCHAR

订单产品英文名称

43

delivery_service_id

INT

邮递服务ID

44

delivery_service_id_INTernal

INT

邮递服务ID内部

45

delivery_package_size_id

INT

包裹尺寸ID

46

delivery_package_size_id_INTernal

INT

包裹尺寸ID内部

47

total_price

float('%.2f')

产品总价格

48

total_price_INTernal

float('%.2f')

内部总价格

49

total_cost

float('%.2f')

产品成本

50

total_delivery_fee

float('%.2f')

总邮递服务费用

51

total_delivery_cost

float('%.3f')

总邮递服务成本

52

total_handling_fee

float('%.2f')

手续费

53

total_handling_cost

float('%.3f')

手续成本

54

length

float('%.2f')

55

width

float('%.2f')

56

depth

float('%.2f')

57

total_weight

float('%.2f')

总重量

58

total_volume

float('%.2f')

总体积

59

total_volume_weight

float('%.2f')

总体积重

60

total_fee_weight

float('%.2f')

计费重

61

actual_cost

float('%.2f')

实际成本

62

guarantee_percentage

VARCHAR

担保比例

63

contact

VARCHAR

联系人

64

business_name

VARCHAR

公司名称

65

address_line1

VARCHAR

地址行1

66

address_line2

VARCHAR

地址行2

67

address_line3

VARCHAR

地址行3

68

city

VARCHAR

城市

69

county

VARCHAR

省/郡

70

post_code

VARCHAR

邮编

71

country_iso

CHAR(2)

国家

72

telephone

VARCHAR

电话号码

73

email

VARCHAR

电子邮箱

74

sender_contact

VARCHAR

发件人

75

sender_business_name

VARCHAR

发件公司名称

76

sender_address_line1

VARCHAR

发件地址行1

77

sender_address_line2

VARCHAR

发件地址行2

78

sender_address_line3

VARCHAR

发件地址行3

79

sender_city

VARCHAR

发件城市

80

sender_county

VARCHAR

发件省/郡

81

sender_post_code

VARCHAR

发件邮编

82

sender_country_iso

CHAR(2)

发件国家

83

sender_email

VARCHAR

发件人电子邮箱

84

sender_telephone

CARCHAR

发件人电话号码

85

sales_reference

VARCHAR

销售跟踪号

86

sales_price

float('%.2f')

销售价格

87

customs_price

float('%.2f')

报关价格

88

sales_order_id

VARCHAR

销售订单ID

89

custom_identity_reference

VARCHAR

自定义唯一标识

90

omp_name

VARCHAR

销售平台名称

91

omp_vat_number

VARCHAR

销售平台vat号

92

shipper_eori

VARCHAR

eori号

93

payment_reference

VARCHAR

付款凭证

94

delivery_reference

VARCHAR

运输跟踪号

95

tracking_reference

VARCHAR

17tarck运输跟踪号

96

special_instruction

VARCHAR

备注1

97

neighbour_instruction

VARCHAR

备注2

98

temp_consignment_info_id

VARCHAR

批量订单ID

99

is_urgent

BOOL

是否为紧急订单

100

is_forced_delivery_service

BOOL

是否强制选择一种邮递服务

101

create_time

DATATIME

创建时间

102

finish_time

DATATIME

完成时间

103

arrive_time

DATATIME

抵达时间

104

update_time

DATATIME

更新时间

105

status

VARCHAR

订单状态

106

stock_status

VARCHAR

库存状态

107

reason_for_expot

VARCHAR

出口原因

108

content_type

VARCHAR

包裹类型

109

primary_keys

VARCHAR(ID)

主键

请求描述

(以下为折叠内容,签署合同时以下信息无需参考,仅供第三方对接参考)

使用接口调试工具postman
请求描述
温馨提示:
1、修改订单信息时,需提供订单ID,举例:(\r\n\"id\":2103100360017748,)。

2、订单ID后面填入需修改的字段和值即可,无需填充多余上传请求

Http请求格式:

POST /client/consignment/ HTTP/1.1 Host: {{Bird_URL}} Headres: api_key: {{api_key}} company_id: {{company_id}} Cookie: PHPSESSID=3s3nejv43u9bhirsrvq9nge254 Body raw { "id":"2105240360032744", "commodity_code": null, "total_price_customs_export": null, "name_customs": null, "total_quantity": null, "weight": null, "price": null, "price_customs_export": null, "period": null, "total_of_consignments": null, "type": "AGENT_DIRECT", "total": null, "external_code": null, "external_code1": null, "external_code2": null, "max_length": null, "max_width": null, "max_depth": null, "handling_fee_first_item": null, "handling_fee_other_item": null, "handling_fee_first_product": null, "handling_fee_other_product": null, "handling_fee": null, "handling_fee_urgent_consignment": null, "handling_fee_limit": null, "delivery_fee": null, "delivery_fee_type": null, "return_consignment_id": null, "return_consignment_action_type": null, "return_consignment_action_name": null, "quantity": null, "total_price_customs_export_internal": null, "battery_type_name_list": null, "battery_type_id_list": null, "delivery_service_name": "D \u4e2d\u5fb7\u8ddf\u8e2aHermes", "sku_count": null, "product_company_ref": null, "id": 2105240360032744, "company_id": null, "client_id": 4790, "warehouse_id": null, "consignment_product_quantity": null, "consignment_product_reference": "3apple297777777,3apple2988888,3apple299999999", "delivery_service_id": 5904, "delivery_service_id_internal": null, "delivery_package_size_id": null, "delivery_package_size_id_internal": null, "total_price": null, "total_price_internal": null, "total_sales_price": null, "total_cost": null, "total_delivery_fee": "0.00", "total_delivery_cost": null, "total_handling_fee": null, "total_handling_cost": null, "length": null, "width": null, "depth": null, "total_weight": "900.00", "total_volume": null, "total_volume_weight": null, "total_fee_weight": "900.0000", "actual_cost": null, "guarantee_percentage": null, "contact": "bird", "business_name": "Feiniao", "address_line1": "bantian guojizhongxin", "address_line2": "D dong 607/610", "address_line3": null, "city": null, "county": null, "post_code": "888888", "country_iso": null, "telephone": null, "email": null, "sender_contact": null, "sender_business_name": null, "sender_address_line1": null, "sender_address_line2": null, "sender_address_line3": null, "sender_city": null, "sender_county": null, "sender_post_code": null, "sender_country_iso": null, "sender_email": null, "sender_telephone": null, "sales_reference": "2", "sales_price": null, "customs_price": "7.02", "sales_order_id": null, "custom_identity_reference": null, "payment_reference": null, "delivery_reference": null, "tracking_reference": "111", "special_instruction": null, "neighbour_instruction": null, "omp_name": null, "omp_vat_number": null, "shipper_eori": null, "temp_consignment_info_id": null, "is_urgent": null, "is_forced_delivery_service": null, "create_time": "2021-05-24 11:17:54", "finish_time": null, "arrive_time": null, "update_time": "2021-05-24 11:18:03", "status": "PENDING", "stock_status": null, "reason_for_export": null, "content_type": null, "primary_keys": [ "id" ] }

Json格式返回结果:

{ "data": { "commodity_code": null, "total_price_customs_export": null, "name_customs": null, "total_quantity": null, "weight": null, "price": null, "price_customs_export": null, "period": null, "total_of_consignments": null, "type": "AGENT_DIRECT", "total": null, "external_code": null, "external_code1": null, "external_code2": null, "max_length": null, "max_width": null, "max_depth": null, "handling_fee_first_item": null, "handling_fee_other_item": null, "handling_fee_first_product": null, "handling_fee_other_product": null, "handling_fee": null, "handling_fee_urgent_consignment": null, "handling_fee_limit": null, "delivery_fee": null, "delivery_fee_type": null, "return_consignment_id": null, "return_consignment_action_type": null, "return_consignment_action_name": null, "quantity": null, "total_price_customs_export_internal": null, "battery_type_name_list": null, "battery_type_id_list": null, "delivery_service_name": null, "sku_count": null, "product_company_ref": null, "id": 2105240360032744, "company_id": 36, "client_id": 4790, "warehouse_id": null, "consignment_product_quantity": "0", "consignment_product_reference": "3apple297777777,3apple2988888,3apple299999999", "delivery_service_id": 5904, "delivery_service_id_internal": null, "delivery_package_size_id": 617, "delivery_package_size_id_internal": 617, "total_price": "0.00", "total_price_internal": "0.00", "total_sales_price": null, "total_cost": "0.000", "total_delivery_fee": "0.00", "total_delivery_cost": "0.000", "total_handling_fee": "0.00", "total_handling_cost": "0.000", "length": "0.00", "width": "0.00", "depth": "0.00", "total_weight": "900.00", "total_volume": "0.00", "total_volume_weight": "0.0000", "total_fee_weight": "900.0000", "actual_cost": "0.000", "guarantee_percentage": "0.00", "contact": "bird", "business_name": "Feiniao", "address_line1": "bantian guojizhongxin", "address_line2": "D dong 607/610", "address_line3": null, "city": null, "county": null, "post_code": "888888", "country_iso": "GB", "telephone": null, "email": null, "sender_contact": null, "sender_business_name": null, "sender_address_line1": null, "sender_address_line2": null, "sender_address_line3": null, "sender_city": null, "sender_county": null, "sender_post_code": null, "sender_country_iso": null, "sender_email": null, "sender_telephone": null, "sales_reference": "2", "sales_price": "0.000", "customs_price": "7.020", "sales_order_id": null, "custom_identity_reference": null, "payment_reference": null, "delivery_reference": null, "tracking_reference": "BSLAA1052400003YQ", "special_instruction": null, "neighbour_instruction": null, "omp_name": null, "omp_vat_number": null, "shipper_eori": null, "temp_consignment_info_id": null, "is_urgent": "0", "is_forced_delivery_service": "0", "create_time": "2021-05-24 11:17:54", "finish_time": null, "arrive_time": null, "update_time": "2021-05-24 11:45:08", "status": "PENDING", "stock_status": "ONLY_ORI_STOCK_ENOUGH", "reason_for_export": null, "content_type": null, "primary_keys": [ "id" ] }, "success": true, "moduleName": "client" }