cURL
curl --request GET \ --url https://api.example.com/api/stores \ --cookie better-auth.session_token=
[ { "id": "<string>", "userId": "<string>", "name": "<string>", "active": true, "createdAt": "<string>", "updatedAt": "<string>", "organizationId": "<string>", "description": "<string>" } ]
Returns all stores owned by the authenticated user. Admins receive all stores.
Default Response
Was this page helpful?