OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Main Server Documentation
  5. User Profile Details

User Profile Details

Authentication :  Required

Method: REQUEST

  1. Get user profile details.

path:

/user/detail/{user_id}

returns name, address, wallet balance, wallet status(active or in active, etc..)

 

RESPONSE:

 

{
"data": [
{
"id": 16,
"addresses": [
{
"address_id": 4,
"user": 16,
"title": "16B Paradise City Estate GRA ENUGU",
"email": "[email protected]",
"company": "Ogwugo",
"address": "16B Paradise City Estate by Tunnel",
"latitude": "6.4498",
"longitude": "7.492715799999999",
"city": 12,
"state": 15,
"country": "NG",
"zip": 234042,
"phone": "08066424512",
"info": "",
"names": "Okoko Benjamin",
"type": "shipping",
"status": 0
},
{
"address_id": 46,
"user": 16,
"title": "Bethel Plaza",
"email": "[email protected]",
"company": "Ogwugo",
"address": "Suit C5 Ogwugo Office",
"latitude": "6.449617099999999",
"longitude": "7.4925766",
"city": 12,
"state": 15,
"country": "NG",
"zip": 234042,
"phone": "08066424512",
"info": "",
"names": "Ben",
"type": "shipping",
"status": 0
},
{
"address_id": 88,
"user": 16,
"title": "Ogwugo Office Floor 2",
"email": "[email protected]",
"company": "",
"address": "Ogwugo Office Floor 2",
"latitude": "0",
"longitude": "0",
"city": 36,
"state": 15,
"country": "NG",
"zip": 0,
"phone": "08066424512",
"info": "",
"names": "Benjamin",
"type": "shipping",
"status": 1
}
],
"email": "[email protected]",
"username": "ifihear",
"status": 1,
"wallet_balance": 2621,
"wallet_status": 1,
"reg_date": "1498237500",
"last_log": "1527250074",
"reg_ip": "41.190.3.108",
"delivery_personnel": 0,
"email_verified": "UTgs12354git",
"is_suspended": 0,
"phone_verified": 0,
"first_name": "Benjamin",
"name": "Uncle Ben",
"last_name": "Okokoh",
"gender": null,
"title": null,
"state": null,
"profession": null,
"birthday": null,
"default_address": 4,
"default_shipper": 1,
"default_billing": 4,
"default_delivery": 4,
"dtime": 1,
"default_payment": 3,
"location": null,
"longitude": null,
"latitude": null,
"hometown": null,
"bio": "i am cool",
"dob": null,
"phone": "08066424512",
"user_type": null,
"relationship": null,
"timezone": null,
"provider": null,
"provider_id": null,
"pay_on_delivery": 0,
"picture": "https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/19274772_1553048884739390_8358199461863049002_n.jpg?_nc_eui2=v1:AeFkTiMLu8k7VAdR4RNiJbj2yxG0znaSjFBzMkLN-t27Z6Y0dm__7GGQoG_Kq1LifTw_jpf1gNqCnGCTj3o_k2T7WoBRAaW4ZSx5IhajlmjJJA",
"g_client": null,
"f_client": "1451361601574786",
"is_using_app": "1",
"device_uuid": null
}
],
"status": "success",
"message": "the user detail listed",
"error": {
"detail": "something went right!",
"code": "200"
}
}

Was this article helpful to you? Yes No

How can we help?