Creates an in progress standard order as a booking

Licenses Required

  • Vista.Ocapi
Request
header Parameters
Connect-Region-Code
string

Region Code

Request Body schema:
required

Details of the order to be created

siteId
required
string non-empty

Gets the unique identifier of the site

bookingMode
required
string (OrderBookingMode)

Gets the booking mode

Enum: "Paid" "Unpaid" "UnpaidConfirmed"
siteOrderLocationId
string or null

Gets the unique identifier of the site order location, if applicable.
If null, items will be ordered from the default site item profile

Responses
200

Success

400

Site does not exist.

post/ocapi/v1/orders/standard/booking
Request samples
{
  • "siteId": "string",
  • "bookingMode": "Paid",
  • "siteOrderLocationId": "string"
}
Response samples
application/json
{
  • "order": {
    },
  • "relatedData": {
    }
}