Skip to main content
PUT
Acknowledge Order

Overview

Marks an order as successfully received and acknowledged by your POS system. This prevents the order from repeating in subsequent /get-current calls.
Critical: Always call this endpoint immediately after importing an order into your POS to prevent duplicate processing!

Path Parameters

string
required
Order’s payment_key (UUID) from the /get-current response

Headers

string
required
Your API access token

Response

boolean
true if successful
string
"OK" on success

Examples

Success Response (200)

Error Responses

Order Repetition Behavior

Key Concept: Orders repeat in /get-current responses until acknowledged with this endpoint.

Example Timeline

Why This Matters

Without acknowledgment, the same order appears in every /get-current call, risking duplicate imports into your POS.
If your POS crashes after receiving an order but before acknowledging it, the order will reappear when you restart.
When an order’s status changes (RECEIVED → CONFIRMED → IN_DELIVERY), it appears again so you can track the progression.

When to Call

1

Fetch Order

Get order from /orders/get-current
2

Validate Data

Ensure order data is complete and valid
3

Import to POS

Save order in your local database/system
4

Acknowledge Immediately

Call /orders/success/{payment_key} right after successful import
Do NOT wait! Acknowledge immediately after importing. Don’t wait for staff to review or accept the order.

Integration Pattern

Best Practices

Error Handling

Common Issues

Cause: Order hasn’t been acknowledged.Solution:
  1. Verify you’re calling /success after importing
  2. Check for errors in the API response
  3. Ensure you’re using payment_key (UUID), not id (integer)
Cause: Using id (integer) instead of payment_key (UUID).Solution:
Cause: Order was acknowledged and status didn’t change yet.Solution: This is expected behavior! Order will reappear when status changes.

Get Current Orders

Fetch orders to acknowledge

Accept Order

Accept order after acknowledging

Order Lifecycle

Complete order flow guide