来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Buyer Info masking
尊敬的开发者,
请留意以下变动:
為了更好地保護買家隱私,Open API將上線Buyer Info Masking功能,對向賣家展示的買家資訊部分進行Mask。
1.對於shopee.orders.GetOrderDetails接口和v2.order.get_order_detail接口的phone、name、full_address按照不同站点或CB各自規則,分狀態進行mask,具体请依据后续各站点或CB的公告。
2.對於shopee.logistics.GetOrderLogistics接口和v2.logistics.get_shipping_document_info接口的phone、name、full_address,local訂單在調用時不會進行mask,而CB訂單除Seller Own Fleet -ส่งจากต่างประเทศ(Channel ID: 78015)和Standard Express Japan(Channel ID: 18045)外,無論是否集成,在調用自畫面單接口時都將會mask。
3.shopee.logistics.GetOrderLogistics接口和v2.logistics.get_shipping_document_info接口新增狀態限制邏輯,与get airwaybill接口保持一致,订单在shipped后将无法調用。
【Masking格式】
1.對於姓名和地址,一個欄位中,所有待馬賽克字元數不超過6個的,通過將待馬字元替換成“*”的管道來實現馬賽克。
例:James→Js,Atlas→At
2.對於姓名和地址,一個欄位中,所有待馬賽克字元數超過6個的,一律馬賽克成最多6個“*”號。
例:James Watson→Jn,Atlas Flat No. 221,52 South King's Street,London→At
3.對於電話號碼,一個欄位中,無論有多少待碼字元,一律馬賽克成6個“*”號+結尾2數位。
例:09901287→******87,09211232987→******87,09587→******87
上線時間:2021.08.26
影響接口:
Open API 1.0:
shopee.orders.GetOrderDetails
shopee.logistics.GetOrderLogistics
Open API 2.0:
v2.order.get_order_detail
v2.logistics.get_shipping_document_info
Dear Developer,
Please find below updates:
In order to better protect the privacy of buyers, the Open API will launch the buyer info masking function to mask the buyer information displayed to sellers.
-
For shopee.orders.GetOrderDetails and v2.order.get_order_detail's phone, name and full_address will be masked by status according to the rule configured by different regions or CB. The rule will be announced by each region or CB.
-
For shopee.logistics.GetOrderLogistics and v2.logistics.get_shipping_document_info's phone, name and full_ address, the local order will not be masked when calling, while the CB order will be masked except these 2 channels Seller Own Fleet -ส่งจากต่างประเทศ(Channel ID: 78015)and Standard Express Japan(Channel ID: 18045)regardless of whether the channel is integrated or not.
-
shopee.logistics.GetOrderLogistics and v2.logistics.get_shipping_document_info will add status restriction logic that order will be unable to call these 2 apis after being shipped and it's same with get airwaybill api.
[masking format]
- For name and address, if the number of all characters to be masked in a field does not exceed 6, masking is realized by replacing the characters to be masked with"*".
Example: James → Js, Atlas → At
- For name and address, if the number of characters to be masked exceeds 6 in a field, they shall be masked into a maximum of 6 "*".
Example: James Watson → Jn, Atlas flat No. 221, 52 South King's street, London → At
- For the telephone number, no matter how many characters to be coded in a field, they shall be masked into 6"*"+2 ending numbers.
Example: 09901287 → ******87, 09211232987 → ******87, 09587 → ******87
Effective Date on Live: 2021.8.26
Related APIs:
Open API 1.0:
shopee.orders.GetOrderDetails
shopee.logistics.GetOrderLogistics
Open API 2.0:
v2.order.get_order_detail
v2.logistics.get_shipping_document_info
