Reject an Order
PATCH/api/v1/orders/:id/reject
Reject an Order
Request
Path Parameters
id int32required
- application/vnd.api+json
Body
required
data
object
id stringrequired
type stringrequired
Possible values: [orders]
attributes
object
reject_reason stringrequired
Possible values: [other, dishes_unavailable, kitchen_full, no_delivery_person, almost_closing_time]
other_rejection_reason string
Written reason not fitting to other categories
unavailable_elements string
Unavailable elements UUIDs delimited by comma
Responses
- 200
Reject an Order
- application/vnd.api+json
- Schema
Schema
any
Loading...