From a52f2c77edab063734abcd1cc736367d3d1d4be5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 1 Aug 2021 11:41:55 +0200 Subject: -update spec following #6942 --- core/api-merchant.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/api-merchant.rst b/core/api-merchant.rst index ac2ba864..8a39278d 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -1477,9 +1477,8 @@ Reserving inventory interface LockRequest { // UUID that identifies the frontend performing the lock - // It is suggested that clients use a timeflake for this, - // see https://github.com/anthonynsimon/timeflake - lock_uuid: UUID; + // Must be unique for the lifetime of the lock. + lock_uuid: String; // How long does the frontend intend to hold the lock? duration: RelativeTime; @@ -1603,7 +1602,7 @@ Creating orders // be used in case different UUIDs were used for different // products (i.e. in case the user started with multiple // shopping sessions that were combined during checkout). - lock_uuids?: UUID[]; + lock_uuids: String[]; // Should a token for claiming the order be generated? // False can make sense if the ORDER_ID is sufficiently -- cgit v1.2.3