diff options
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r-- | core/api-merchant.rst | 7 |
1 files 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 |