POST api/customers/{customerId}/innovation/group-orders

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

Body Parameters

CreateGroupOrderRequest
NameDescriptionTypeAdditional information
StoreId

integer

None.

ExpiresInMinutes

integer

None.

PaymentMode

string

None.

DeliveryAddress

string

None.

CustomerLat

decimal number

None.

CustomerLng

decimal number

None.

DisplayName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "storeId": 1,
  "expiresInMinutes": 2,
  "paymentMode": "sample string 3",
  "deliveryAddress": "sample string 4",
  "customerLat": 1.0,
  "customerLng": 1.0,
  "displayName": "sample string 5"
}

application/xml, text/xml

Sample:
<CreateGroupOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos">
  <CustomerLat>1</CustomerLat>
  <CustomerLng>1</CustomerLng>
  <DeliveryAddress>sample string 4</DeliveryAddress>
  <DisplayName>sample string 5</DisplayName>
  <ExpiresInMinutes>2</ExpiresInMinutes>
  <PaymentMode>sample string 3</PaymentMode>
  <StoreId>1</StoreId>
</CreateGroupOrderRequest>

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 'CreateGroupOrderRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.