hit rec:session:9b718ccc023efa67f988b089724d44b73338e464a6b217c494dddf795ac3256a
POST /v1/customer/account/mobile
- Status
- 200
- Duration
- 58.1 ms
- Started (UTC)
- 2026-10-07 15:10:35.525
- Route
- /v1/customer/account/mobile
- Request ID
- f6477aa5-7f88-4096-9bd1-767a1d6232b3
- Subject
- customer:01a116ea-86a0-72d2-b7a5-8fc8297c73d0
- IP
- 37.19.196.100
- User agent
- curl/8.7.1
- Language
- en
- Queries
- 6 (44.0 ms)
- Cache hit / miss
- 2 / 0
Timeline
hit 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`.`mobile` = '+966590909806'
Parameters
[ "+966590909806" ]
0 rows
select `id`, `namespace`, `purpose`, `mobile`, `code_hash`, `attempts`, `ip`, `created_at`, `expires_at`, `consumed_at` from `otp_codes` where (`otp_codes`.`namespace` = 'customer' and `otp_codes`.`purpose` = 'change_mobile' and `otp_codes`.`mobile` = '+966590909806') order by `otp_codes`.`created_at` desc limit 1
Parameters
[ "customer", "change_mobile", "+966590909806", 1 ]
1 rows
update `otp_codes` set `consumed_at` = '2026-10-07 15:10:35.540' where (`otp_codes`.`id` = '01a116ea-9316-7426-9447-97e23cd995aa' and `otp_codes`.`consumed_at` is null)
Parameters
[ "2026-10-07 15:10:35.540", "01a116ea-9316-7426-9447-97e23cd995aa" ]
1 rows
update `customers` set `mobile` = '+966590909806', `updated_at` = '2026-10-07 15:10:35.555' where (`customers`.`id` = '01a116ea-86a0-72d2-b7a5-8fc8297c73d0' and `customers`.`deleted_at` is null)
Parameters
[ "+966590909806", "2026-10-07 15:10:35.555", "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
select `id` from `sessions` where (((`sessions`.`subject_type` = 'customer' and `sessions`.`subject_id` = '01a116ea-86a0-72d2-b7a5-8fc8297c73d0') and `sessions`.`id` <> '01a116ea-86ac-7516-91cf-da85d8d93f86') and `sessions`.`revoked_at` is null)
Parameters
[ "customer", "01a116ea-86a0-72d2-b7a5-8fc8297c73d0", "01a116ea-86ac-7516-91cf-da85d8d93f86" ]
0 rows
Request
Headers
{
"host": "maqsed-api.dev-moltaqa.cloud",
"user-agent": "curl/8.7.1",
"content-length": "37",
"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
{
"mobile": "0590909806",
"code": "********"
}Response
Body
{
"id": "01a116ea-86a0-72d2-b7a5-8fc8297c73d0",
"mobile": "+966590909806",
"language": "en",
"createdAt": "2026-10-07T15:10:31.072Z"
}