Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

获取Pending的临时订单

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

...

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

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

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


更新

url

method

post 

content-typeapplication/json

body


Code Block
{ "id":"41019", "contact": "Norman asdfeaf" }


注意,最外层没有[ ]

返回


Code Block
{
    "data": {
        "id": 41019,
        "company_id": 2,
        "client_id": 1,
        "contact": "Norman asdfeaf",
        "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": "12121221",
        "sales_price": "0.000",
        "sales_order_id": "110222319566-0",
        "custom_identity_reference": null,
        "payment_reference": "D Colissimo FR",
        "special_instruction": null,
        "product_name": null,
        "product_company_ref": "15591*1+215312*1",
        "quantity": 0,
        "delivery_service_name": "D Colissimo FR",
        "error_description": null,
        "is_urgent": 0,
        "import_time": "2018-12-19 19:58:46",
        "type": "DIRECT",
        "status": "PENDING",
        "primary_keys": [
            "id"
        ]
    },
    "success": true,
    "moduleName": "client"
}

参数

id [必填]

其他要修改的参数, 如contact, post_code等

根据id删除

url

method

delete

content-type

params

ids=1_2_3

可以批量删除多个, id用_隔开

返回


Code Block
{
    "success": true,
    "message": "Delete successfully",
    "refresh": false,
    "moduleName": "client"
}


参数

ids [必填]

根据custom_identity_reference删除

url

method

post

content-type

params

custom_identity_reference=abcdefh

返回


Code Block
{
    "success": true,
    "refresh": false,
    "moduleName": "client"
}


参数

custom_identity_reference [必填]