POST api/order/placeorder_simple

简单下单接口(忽略库存)

Request Information

URI Parameters

None.

Body Parameters

PlaceOrder
NameDescriptionTypeAdditional information
SourceId

第三方用户ID

integer

None.

SourceOrderId

来源订单号

string

None.

PoCode

提货单号

string

None.

ReceiveWay

收货方式(1送货 2自提)

integer

None.

ProvinceId

省份ID

integer

None.

CityId

城市ID

integer

None.

AreaId

区域ID

integer

None.

Address

详细地址

string

None.

ZipCode

邮编

string

None.

Receiver

收货人

string

None.

TelPhone

收货人联系方式

string

None.

PaymentTypeId

支付方式-1 货到付款 0 在线支付

integer

None.

PaymentType

支付方式名称

string

None.

OrderTotal

订单总金额

decimal number

None.

ProductAmount

商品总金额

decimal number

None.

Freight

运费

decimal number

None.

IsOpenInvoice

是否开发票(1:是,0:否)

integer

None.

Memo

备注

string

None.

PList

商品的json格式

string

None.

IsManager

是否后台下单(1:是,0:否)

integer

None.

OrderType

订单类型:1 电商 2 自营

integer

None.

SourceType

订单来源类型:1 第三方平台 2 经销商系统

integer

None.

ProvinceName

string

None.

CityName

string

None.

AreaName

string

None.

CoupanSerialNumber

string

None.

DiscountAmount

decimal number

None.

SourceName

来源名称

string

None.

IsReplace

是否代发

boolean

None.

SourcePlat

来源平台

integer

None.

InvoiceInvoiceType

发票类型:1 普通 2 增值税

integer

None.

InvoiceOpenType

开票方式:1、订单完成后开票

integer

None.

InvoiceCompanyName

单位名称

string

None.

InvoiceInvoiceContent

发票内容

string

None.

InvoiceIdentifyNumber

纳税人识别码

string

None.

InvoiceAddress

注册地址

string

None.

InvoicePhone

注册电话

string

None.

InvoiceBankAccount

开户行

string

None.

InvoiceAccountNumber

银行账户

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceId": 1,
  "SourceOrderId": "sample string 2",
  "PoCode": "sample string 3",
  "ReceiveWay": 4,
  "ProvinceId": 5,
  "CityId": 6,
  "AreaId": 7,
  "Address": "sample string 8",
  "ZipCode": "sample string 9",
  "Receiver": "sample string 10",
  "TelPhone": "sample string 11",
  "PaymentTypeId": 12,
  "PaymentType": "sample string 13",
  "OrderTotal": 14.0,
  "ProductAmount": 15.0,
  "Freight": 16.0,
  "IsOpenInvoice": 17,
  "Memo": "sample string 18",
  "PList": "sample string 19",
  "IsManager": 20,
  "OrderType": 21,
  "SourceType": 25,
  "ProvinceName": "sample string 26",
  "CityName": "sample string 27",
  "AreaName": "sample string 28",
  "CoupanSerialNumber": "sample string 29",
  "DiscountAmount": 30.0,
  "SourceName": "sample string 31",
  "IsReplace": true,
  "SourcePlat": 33,
  "InvoiceInvoiceType": 34,
  "InvoiceOpenType": 35,
  "InvoiceCompanyName": "sample string 36",
  "InvoiceInvoiceContent": "sample string 37",
  "InvoiceIdentifyNumber": "sample string 38",
  "InvoiceAddress": "sample string 39",
  "InvoicePhone": "sample string 40",
  "InvoiceBankAccount": "sample string 41",
  "InvoiceAccountNumber": "sample string 42"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

{"status":"success","result":"{\"OrderCode\":\"订单号\"}"}

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.