PostSession
Set customer session cookies after authentication using JWT tokens to maintain secure access to Medusa e-commerce platform data.
Instructions
Set the cookie session ID of a customer. The customer must be previously authenticated with the /auth/customer/{provider} API route first, as the JWT token is required in the header of the request.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "PostSession"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||