POST api/MallOrder/CreateMallOrder

会员中心 - 创建订单,不要再使用CreateOrder接口,该接口已结合了该操作

Request Information

URI Parameters

None.

Body Parameters

MallOrderCreateDto
NameDescriptionTypeAdditional information
ProductId

商品标识

integer

None.

Num

购买数量

integer

None.

BuyerName

购买人姓名

string

None.

BuyerContact

购买人联系方式

string

None.

BuyerAddress

购买人地址

string

None.

SuperCardServiceId

超级会员卡服务标识

integer

None.

Remark

订单备注

string

None.

ProductCategories

产品分类Id集合

Collection of integer

None.

ProductMultiPriceId

商品多价格标识

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<MallOrderCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Order.Member">
  <BuyerAddress>sample string 5</BuyerAddress>
  <BuyerContact>sample string 4</BuyerContact>
  <BuyerName>sample string 3</BuyerName>
  <Num>2</Num>
  <ProductCategories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProductCategories>
  <ProductId>1</ProductId>
  <ProductMultiPriceId>8</ProductMultiPriceId>
  <Remark>sample string 7</Remark>
  <SuperCardServiceId>6</SuperCardServiceId>
</MallOrderCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

会员中心 - 创建订单,不要再使用CreateOrder接口,该接口已结合了该操作

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />