Skip to content

Order Confirmation

Request

This endpoint allows the third party to inform the Keeta ordering application that an order has been accepted and food preparation will begin shortly.

Notes:

  1. Timing Requirements
  • Developers must call this endpoint immediately upon receiving new order notifications from Keeta.
  • The Keeta platform will automatically cancel any order that remains unconfirmed after 5 minutes.
  1. State Management
  • The endpoint rejects requests under these conditions:
  • The order was already accepted through a Keeta POS terminal - The order status has already progressed beyond the initial state
Bodyapplication/jsonrequired
orderViewIdinteger, (int64)required

Unique identifier for orders on Keeta platform

Example:756823555555859
shopIdinteger, (int64)required

Unique identifier of the Keeta store

Example:466663
curl -i -X POST \
  https://open.mykeeta.com/api/open/order/confirm \
  -H 'Content-Type: application/json' \
  -d '{
    "orderViewId": 756823555555859,
    "shopId": 466663
  }'

Responses

Request executed successfully

Bodyapplication/json
codeintegerrequired

A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.

Enum ValueDescription
0

The request was executed successfully.

Non-zero value

The request execution failed. Specific error details can be viewed in the message field.

Example:0
messagestringrequired

Text description corresponding to the status code, explaining the operation result or error cause to users.

Example:"Success"
Response
{ "code": 0, "message": "Success" }