Get store details
Endpoint: https://api.youcan.shop/me
Method: GET
Required Scopes
view-store-info
Response
[200]
json
{
"id": "5a58178a-1142-450e-bfc6-6f9d8ba32656",
"store_id": "5a58178a-1142-450e-bfc6-6f9d8ba32656",
"slug": "my-store",
"name": "My store",
"is_staff": false,
"email": "[email protected]",
"due_amount": "0.00",
"balance": 0,
"unpaid_invoices_amount": "0.00",
"currency": {
"code": "USD",
"symbol": "$"
},
"domain": "my-store.youcan.store",
"status": 1,
"status_text": "active",
"closed_at": 1718000000,
"pack_id": "028af582-df7e-43bd-bcba-725ef7531c57",
"logo": "http://cdn.youcan.shop/stores/default/theme-settings/c8lBte0uft2xTkJKfULkZGNL24vU5jJzYB4ZYO7e.png",
"first_name": "Mohamed",
"last_name": "Ali",
"full_name": "Mohamed Ali",
"phone": "+15555555555",
"bio": null,
"website": "https://example.com",
"notices": {
"active_gateways":"Please activate your payment gateway"
},
"is_active": true,
"is_email_verified": true,
"can_request": true,
"can_cancel": false,
"is_dev": false
}Notes
closed_atis a unix timestamp (integer) when the store has a scheduled deletion, ornullif no deletion is pending.