1
0
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:
lynxknight 2020-12-11 20:13:26 +03:00 committed by GitHub
parent dc00b61871
commit 9cde07d38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;