Skip to content

请问zto.open.createOrder对“区”的校验具体是怎么做的呢,有些城市本来就是没有区的,但是调用这个接口会报错“收件人区不能为空” #15

Description

@WXie1031

如题
我们现在有部分收件人来自没有“区”的城市,或者是县级市/镇级市。这种情况我们不可避免地receiverDistrict是null。
但是在调用zto.open.createOrder接口时会报错“收件人区不能为空”,请问这种情况具体怎么避免。
能不能给我们提供一个解法

我不清楚直接传个" "给zto.open.createOrder是不是可以通过校验的。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions