miss rec:session:9b718ccc023efa67f988b089724d44b73338e464a6b217c494dddf795ac3256a
PATCH /v1/customer/account
- Status
- 200
- Duration
- 22.0 ms
- Started (UTC)
- 2026-10-07 15:10:32.087
- Route
- /v1/customer/account
- Request ID
- 584e9caa-d3ba-48c0-881d-358292b04768
- Subject
- customer:01a116ea-86a0-72d2-b7a5-8fc8297c73d0
- IP
- 37.19.196.100
- User agent
- curl/8.7.1
- Language
- ar
- Queries
- 4 (9.6 ms)
- Cache hit / miss
- 0 / 2
Timeline
select `id`, `subject_type`, `subject_id`, `token_hash`, `device_name`, `ip`, `user_agent`, `created_at`, `last_used_at`, `expires_at`, `revoked_at`, `revoked_reason` from `sessions` where `sessions`.`token_hash` = '9b718ccc023efa67f988b089724d44b73338e464a6b217c494dddf795ac3256a'
Parameters
[ "9b718ccc023efa67f988b089724d44b73338e464a6b217c494dddf795ac3256a" ]
1 rows
set rec:session:9b718ccc023efa67f988b089724d44b73338e464a6b217c494dddf795ac3256a
miss rec:subject:customer:01a116ea-86a0-72d2-b7a5-8fc8297c73d0
select `id`, `mobile`, `status`, `language`, `last_sign_in_at`, `disabled_reason`, `created_at`, `updated_at`, `deleted_at`, `name`, `email`, `avatar_file_id`, `gender`, `date_of_birth`, `terms_accepted_at` from `customers` where (`customers`.`id` = '01a116ea-86a0-72d2-b7a5-8fc8297c73d0' and `customers`.`deleted_at` is null)
Parameters
[ "01a116ea-86a0-72d2-b7a5-8fc8297c73d0" ]
1 rows
set rec:subject:customer:01a116ea-86a0-72d2-b7a5-8fc8297c73d0
update `customers` set `language` = 'en', `updated_at` = '2026-10-07 15:10:32.102' where (`customers`.`id` = '01a116ea-86a0-72d2-b7a5-8fc8297c73d0' and `customers`.`deleted_at` is null)
Parameters
[ "en", "2026-10-07 15:10:32.102", "01a116ea-86a0-72d2-b7a5-8fc8297c73d0" ]
1 rows
select `id`, `mobile`, `status`, `language`, `last_sign_in_at`, `disabled_reason`, `created_at`, `updated_at`, `deleted_at`, `name`, `email`, `avatar_file_id`, `gender`, `date_of_birth`, `terms_accepted_at` from `customers` where (`customers`.`id` = '01a116ea-86a0-72d2-b7a5-8fc8297c73d0' and `customers`.`deleted_at` is null)
Parameters
[ "01a116ea-86a0-72d2-b7a5-8fc8297c73d0" ]
1 rows
update rec:subject:customer:01a116ea-86a0-72d2-b7a5-8fc8297c73d0
invalidate rec:subject:customer:01a116ea-86a0-72d2-b7a5-8fc8297c73d0
Request
Headers
{
"host": "maqsed-api.dev-moltaqa.cloud",
"user-agent": "curl/8.7.1",
"content-length": "17",
"accept": "*/*",
"authorization": "********",
"content-type": "application/json",
"x-forwarded-for": "37.19.196.100",
"x-forwarded-host": "maqsed-api.dev-moltaqa.cloud",
"x-forwarded-port": "443",
"x-forwarded-proto": "https",
"x-forwarded-server": "2608fbae9cc2",
"x-real-ip": "37.19.196.100",
"accept-encoding": "gzip"
}Query
{}Body
{
"language": "en"
}Response
Body
{
"id": "01a116ea-86a0-72d2-b7a5-8fc8297c73d0",
"mobile": "+966572345441",
"language": "en",
"createdAt": "2026-10-07T15:10:31.072Z"
}