Versions Compared

Key

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

在上一步的返回结果信息中,我们会包含id字段作为订单ID. 这一步我们往这个ID所表示的订单中添加产品。

url

http://test.birdsystem.co.uk/client/Consignment-Product

method

post

body

form 参数如下:

product_id

产品ID

 必填

INT(10)

consignment_id

订单ID

 必填

BINGINT(16)

product_type

产品类型

 必填

'NORMAL'

quantity数量 必填SMALLINT(5)

is_directional_shared_product

是否定向共享产品 选填0


返回
{
    


Code Block
languagejs
{
    "success":true,
    

    "data":{
        

		"id":"1124955",
        

		"consignment_id":"2006143004830001",
        

		"product_id":"334422",
        

		"...":"..."
    

	}

}


请注意,一次请求只能添加一种产品,如果添加多种产品,请发多个请求。