# Order API

Order API

1.Error response message: "order status is not in a valid state for XXXX"

The order endpoint cannot be called repeatedly (e.g., an order that is already in the CONFIRMED state cannot be confirm again; repeated calls will return the above error). Please check if the merchant has completed operations such as confirm the order or dispatching the order in Merchant Portal, or if there is a repeated call.

2.Unable to get complete customer information (e.g., phone number, address, name, coordinates) via order details endpoint.

To comply with local laws and protect customers' personal privacy data, Keeta will return encrypted or desensitized customer personal data for platform-delivered orders (customer information is not required for fulfilling the contract in this scenario). For orders self-delivered by the merchant, Keeta will return encrypted data, and the software service can decrypt it via the data decryption endpoint POST /v1/batchDecrypt to get complete customer information.