Idempotency
Two Generals' Problem
Idempotency Support
The Prio API supports idempotency, which ensures that repeated requests do not result in duplicate actions. This is especially useful when you need to retry a request due to failures or errors, such as a timeout.
For example, if you encounter a timeout error while making a Create Order request, you can safely retry the request multiple times. The API will ensure that the order is only created once, regardless of how many times the request is retried.
Idempotency is supported for POST requests. Other HTTP methods like GET, DELETE, and PUT are idempotent by definition, so retries on those requests will also not result in unintended duplicate actions.
Last updated
Was this helpful?