Install
openclaw skills install @lvsao/yuntu-yw-shippingYunExpress(云途物流)与 Yanwen(燕文物流)的跨境物流查单、报价和制单工具。Use when an ecommerce seller asks to track a YunExpress or Yanwen package, check where a parcel is, look up a w...
openclaw skills install @lvsao/yuntu-yw-shippingyunexpress-shipping.env or yanwen-shipping.env in the user's working directory; never paste them into chat, source files, command history, reports, or Git.--execute.Ask the merchant to obtain their own credentials:
yunexpress-shipping.env using init-env below. Set YUNTU_OMS_BASE_URL=http://oms.api.yunexpress.com for production. For UAT, use only the UAT URL supplied by YunExpress with matching UAT credentials.Run the read-only check before all other work. It validates authentication by loading countries, product methods, goods types, and a quote; it never creates an order.
Ask the merchant to obtain their own Yanwen 制单账号 and secret:
yanwen-shipping.env using yanwen_shipping.py init-env. Use https://open.yw56.com.cn/api/order for production or https://open-fat.yw56.com.cn/api/order for Yanwen testing.Run check before quoting, tracking, or creating a Yanwen order. A Yanwen shipping account can be frozen even when its signature is valid; report the carrier error and direct the merchant to Yanwen sales or support instead of retrying a create request.
references/yunexpress-api.md for YunExpress or references/yanwen-api.md for Yanwen before preparing the selected operation.check.get quote with dimensions, weight, postal code, package type, and optional services.get order, get tracking, get all-tracking, get tracking-number, or get fee-detail; use post carrier or post label with an identifier-array payload when required.--execute, and show the redacted request plan and validation findings.--execute.get order; verify tracking changes with the relevant subscription listing. Keep the response RequestId for support, but redact personal data in summaries.python <absolute-path-to-skill>/scripts/yunexpress_shipping.py init-env --env yunexpress-shipping.env
python <absolute-path-to-skill>/scripts/yunexpress_shipping.py check --env yunexpress-shipping.env
python <absolute-path-to-skill>/scripts/yunexpress_shipping.py get countries --env yunexpress-shipping.env
python <absolute-path-to-skill>/scripts/yunexpress_shipping.py get quote --env yunexpress-shipping.env --query CountryCode=GB Weight=0.125 Length=1 Width=1 Height=1 PackageType=0
python <absolute-path-to-skill>/scripts/yunexpress_shipping.py get order --env yunexpress-shipping.env --query OrderNumber=<waybill-or-order-or-tracking-number>
python <absolute-path-to-skill>/scripts/yunexpress_shipping.py post create-order --env yunexpress-shipping.env --input shipment.json
python <absolute-path-to-skill>/scripts/yunexpress_shipping.py post create-order --env yunexpress-shipping.env --input shipment.json --execute
python <absolute-path-to-skill>/scripts/yanwen_shipping.py init-env --env yanwen-shipping.env
python <absolute-path-to-skill>/scripts/yanwen_shipping.py check --env yanwen-shipping.env
python <absolute-path-to-skill>/scripts/yanwen_shipping.py get channels --env yanwen-shipping.env
python <absolute-path-to-skill>/scripts/yanwen_shipping.py get track --env yanwen-shipping.env --numbers <waybill-or-last-mile-number>
python <absolute-path-to-skill>/scripts/yanwen_shipping.py post create-order --env yanwen-shipping.env --input shipment.json
python <absolute-path-to-skill>/scripts/yanwen_shipping.py post create-order --env yanwen-shipping.env --input shipment.json --execute
Use --help to list all supported operations. post prints a redacted preview for a write until --execute is present. It sends JSON with UTF-8, derives Authorization: Basic from Base64(customer-code & API-secret), and never logs that token.
0000 response codes with references/yunexpress-api.md and Yanwen non-0 response codes with references/yanwen-api.md; escalate account, product-permission, frozen-account, address, or clearance decisions to the merchant or relevant carrier.