POST V2/DefaultOrder/CreateDefaultOrder

Request Information

URI Parameters

None.

Body Parameters

ReceiveOrder
NameDescriptionTypeAdditional information
AddressId

string

None.

DeliveryType

string

None.

ExpressId

string

None.

ExpressPointId

string

None.

PaymentMethod

string

None.

PickupDate

string

None.

PickupCompanyName

string

None.

PickupAddress

string

None.

PickupAddressPhone

string

None.

PickupTime

string

None.

PickUpName

string

None.

PickUpPhone

string

None.

DeliveryDate

string

None.

DeliveryTime

string

None.

ComeFrom

integer

None.

TimeRangeId

integer

None.

CouponIds

Collection of string

None.

PromotionCode

string

None.

Remark

string

None.

MemberPromotiomCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": "sample string 1",
  "DeliveryType": "sample string 2",
  "ExpressId": "sample string 3",
  "ExpressPointId": "sample string 4",
  "PaymentMethod": "sample string 5",
  "PickupDate": "sample string 6",
  "PickupCompanyName": "sample string 7",
  "PickupAddress": "sample string 8",
  "PickupAddressPhone": "sample string 9",
  "PickupTime": "sample string 10",
  "PickUpName": "sample string 11",
  "PickUpPhone": "sample string 12",
  "DeliveryDate": "sample string 13",
  "DeliveryTime": "sample string 14",
  "ComeFrom": 1,
  "TimeRangeId": 15,
  "CouponIds": [
    "sample string 1",
    "sample string 2"
  ],
  "PromotionCode": "sample string 16",
  "Remark": "sample string 17",
  "MemberPromotiomCode": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReceiveOrder'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}