Skip to main content
POST
Create a new order

Body

application/json
date
string<date>
required
session
object
required
location
string
required
latitude
number
required
longitude
number
required
cropType
object
required
area
number
required
Required range: x >= 1
paymentMethod
enum<string>
required
Available options:
cash,
visa,
mastercard
confirmed
boolean

Response

200 - */*

OK

id
integer<int64>
receptionist
object
date
string<date>
session
object
location
string
latitude
number
longitude
number
cropType
object
area
number
cost
number
orderStatus
enum<string>
Available options:
pending,
cancelled,
confirmed,
assigned,
in_progress,
completed
paymentStatus
enum<string>
Available options:
pending,
paid,
failed
paymentMethod
enum<string>
Available options:
cash,
visa,
mastercard
completionDate
string<date>
confirmed
boolean
creationDate
string<date>