Skip to main content
GET
/
v1
/
sessions
/
:id
Get Session
curl --request GET \
  --url https://api.example.com/v1/sessions/:id
{
  "id": "<string>",
  "cartId": "<string>",
  "metadata": {}
}

Response

id
string
The session ID.
cartId
string
The ID of the shopping cart associated with this session.
metadata
object
Custom merchant or user metadata stored in the session.