Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

获取Pending的临时订单

http://test.birdsystem.co.uk/client/Temp-Consignment-Info?filter=[{"type":"list","value":["PENDING"],"field":"status"}]

{
    "total": 1,
    "data": [
        {
            "id": 13770378,
            "company_id": 11,
            "client_id": 47,
            "contact": "Norman Drury",
            "business_name": null,
            "address_line1": "3, Northam Close",
            "address_line2": "Marshside",
            "address_line3": null,
            "city": "Southport",
            "county": "Merseyside",
            "post_code": "PR9 9GA",
            "country_name": "United Kingdom",
            "telephone": "01704 226830",
            "email": null,
            "sales_reference": "2",
            "payment_reference": "Royal Mail 1st Class Standard",
            "special_instruction": null,
            "product_name": null,
            "product_company_ref": "15591*1+215312*1",
            "quantity": "0",
            "delivery_service_name": "Royal Mail 1st Class Standard",
            "error_description": null,
            "is_urgent": "0",
            "import_time": "2016-07-12 14:02:53",
            "type": "LOCAL",
            "status": "PENDING",
            "primary_keys": [
                "id"
            ]
        }
    ],
    "success": true
}

查询临时订单列表时可直接使用的过滤字段: 

字段名说明类型
status临时订单状态

字符串,只能是'DELETED','PENDING','PROBLEM','FINISHED' 这些值中的任意一个

type临时订单类型字符串,只能是 'LOCAL','DIRECT','RETURN','AGENT_DIRECT' 这些值中的任意一个
sales_reference销售跟踪号字符串
post_code邮编字符串
email邮箱字符串
contact收件人字符串
telephone电话字符串
  • No labels