Skip to main content

Reject an Order

PATCH 

/api/v1/orders/:id/reject

Reject an Order

Request

Path Parameters

    id int32required

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

Reject an Order

Schema

    any

Loading...