WEBVTT

00:00:00.260 --> 00:00:01.550
Your agent hits retry.

00:00:01.822 --> 00:00:02.800
Is that a second order?

00:00:05.272 --> 00:00:06.812
Start with one approved order.

00:00:07.085 --> 00:00:07.948
Give that operation

00:00:07.948 --> 00:00:09.012
one stable key.

00:00:11.272 --> 00:00:12.085
The first request

00:00:12.085 --> 00:00:13.025
creates an order.

00:00:13.298 --> 00:00:14.238
Two hundred and one.

00:00:14.510 --> 00:00:15.575
Keep that order ID.

00:00:18.260 --> 00:00:19.762
The network is uncertain.

00:00:20.035 --> 00:00:21.148
Send the same body

00:00:21.148 --> 00:00:21.975
and key again.

00:00:22.260 --> 00:00:22.950
Same order.

00:00:25.260 --> 00:00:26.225
Change the quantity.

00:00:26.498 --> 00:00:27.463
Reuse the key.

00:00:27.798 --> 00:00:29.662
Four hundred and nine: conflict.

00:00:29.947 --> 00:00:31.188
The change is rejected.

00:00:32.261 --> 00:00:32.564
This is a

00:00:32.564 --> 00:00:33.861
real sandbox test.

00:00:34.092 --> 00:00:34.614
Created.

00:00:34.845 --> 00:00:35.378
Replayed.

00:00:35.609 --> 00:00:36.209
Conflict.

00:00:36.451 --> 00:00:37.456
One order identity.

00:00:38.272 --> 00:00:39.887
One key per intended order.

00:00:40.160 --> 00:00:41.400
Make retries boring.

00:00:41.672 --> 00:00:42.875
Build with OrderCore.
