GET
/api/v1/me
مين صاحب المفتاح
أول طلب تجرّبه: بيرجع حسابك ونوعه (side) وصلاحيات المفتاح. بيشتغل بأي صلاحية.
مجاني: مش بيتحسب في الفاتورة.
الصلاحية: أي مفتاح.
الأخطاء المحتملة
401 unauthenticated
403 account_inactive
403 api_not_enabled
429 rate_limited
500 server_error
مثال
curl "https://thseen.com/api/v1/me" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
الرد 200
{
"data": {
"id": 2087,
"name": "منى أحمد",
"store_name": "متجر منى",
"email": "you@example.com",
"phone": "01012345678",
"side": "marketer",
"token": {
"name": "متجر WooCommerce",
"abilities": [
"catalog:read",
"orders:read",
"orders:write",
"wallet:read"
],
"expires_at": null
}
}
}
