快工助手跨境电商知识与商机助手

If I encounter the error "Wrong parameters, detail: order_sn is a required field." when calling the "v2.logistics.create_shipping_document" API, the "v2.logistics.get_shipping_document_result" API, or the "v2.logistics.download_shipping_document" API, what should I do next?

Shopee 官方资料 · Shopee Open Platform 常见问题(FAQ) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.faq
语言
en
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/help_centertopic/apitopic/developertopic/faqtopic/feature-apistopic/logistics

资料正文

§1 If I encounter the error "Wrong parameters, detail: order_sn is a required field." when calling the "v2.logistics.create_shipping_document" API, the "v2.logistics.get_shipping_document_result" API, or the "v2.logistics.download_shipping_document" API, what should I do next?

If I encounter the error "Wrong parameters, detail: order_sn is a required field." when calling the "v2.logistics.create_shipping_document" API, the "v2.logistics.get_shipping_document_result" API, or the "v2.logistics.download_shipping_document" API, what should I do next?

Please check if the content of each field in the request body contains spaces, especially the string-type fields. For example, if there are unintended spaces in the "order_sn" field, it could cause issues. According to the API documentation, the "order_sn" field is required in the request body.

#