POST api/v{version}/Wonder/ConvertOfferToOrder?key={key}

Converts an existing offer into a real order and links it to the selected timeslot.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

The API key.

string

Required

version

string

None.

Body Parameters

The offer to convert and the timeslot to link it to.

ConvertWonderOfferToOrder
NameDescriptionTypeAdditional information
OrderId

string

Required

String length: inclusive between 0 and 50

TimeslotId

integer

Range: inclusive between 1 and 2147483647

Request Formats

application/json, text/json

Sample:
{
  "OrderId": "sample string 1",
  "TimeslotId": 2
}

Response Information

Resource Description

CreateWonderOrderResponse
NameDescriptionTypeAdditional information
Errors

Collection of string

None.

OrderId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "OrderId": "sample string 1"
}