cURL
curl --request PATCH \ --url https://api.example.com/api/stores/{id} \ --header 'Content-Type: application/json' \ --cookie better-auth.session_token= \ --data ' { "name": "<string>", "description": "<string>", "active": true } '
{ "id": "<string>", "userId": "<string>", "name": "<string>", "active": true, "createdAt": "<string>", "updatedAt": "<string>", "organizationId": "<string>", "description": "<string>" }
Updates a store’s name, description, or active status. Changing active triggers billing metering events.
1
Default Response
Was this page helpful?