mirror of
https://github.com/twirl/The-API-Book.git
synced 2025-03-17 20:42:26 +02:00
fix random typo
This commit is contained in:
parent
dc00b61871
commit
9cde07d38c
@ -251,7 +251,7 @@ PUT /v1/orders/drafts/{draft_id}
|
||||
|
||||
Creating order drafts is a non-binding operation since it doesn't entail any consequences, so it's fine to create drafts without idempotency token.
|
||||
|
||||
Confirming drafts is a naturally idempotent operation, with `draft_if` being its idempotency key.
|
||||
Confirming drafts is a naturally idempotent operation, with `draft_id` being its idempotency key.
|
||||
|
||||
Also worth mentioning that adding idempotency tokens to naturally idempotent handlers isn't meaningless either, since it allows to distinguish two situations:
|
||||
* a client didn't get the response because of some network issues, and is now repeating the request;
|
||||
|
Loading…
x
Reference in New Issue
Block a user