lock API used to acquire lock/request for edit access.

Acquires or requests edit access lock on a cart.

Required Fields:

  • cartId (route) - required
  • User context (authenticated user) - required

Responses

  • 200 OK: the lock was acquired or the edit access request was queued.
  • 400 Bad Request: invalid input or concurrent access feature not enabled.
  • 500 Internal Server Error: an unexpected error occurred.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

cart Id

Query Params
boolean
Defaults to false

Flag to decide acquire/request for edit access.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

500

Internal Server Error

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json