The User Details API allows for the retrieval of profile information.
http://api.shopper.com/v1/user/
Sample output
{
"country": "US",
"profile_name": "Dan Owens",
"user_name": "dan.owens",
"u_id": "5fd651ewscf2fd0011b5cdbe",
"email": "d.ownes@gmail.com",
"description": "Dreamer, explorer and optimist. Love to read 📚, occasionally sip good coffee ☕ and always ready to scale rocks ⛰️.n",
"is_private": false,
"avatar": "https://cdn.shopper.com/shopper-v2/demo/assets/user_profile/5fd65100dcf2fd0011b5cdbe1641289178131.png",
"cover_image": "https://cdn.shopper.com/shopper-v2/demo/assets/user_profile/ec3ad308-2d30-4690-b08d-767b7897a1a1.jpg",
"statistics": {
"followers": 100000,
"following": 1000,
"product_count": 120,
"collection_count": 10
},
"social_channels": [
{
"channel": "youtube",
"link": "https://www.youtube.com/_"
}
]
}
Response body
country: Country of the user
profile_name: Name of the profile/ store
user_name: Unique user name
u_id: Unique ID of the store/ user profile
email: Email ID of the user
description: Description of the store/ profile
is_private: Boolean representing the private status of the store
avatar: The URL of the store's profile image.
cover_image: The URL of the store's profile cover image.
statistics: User statistics like number of followers, number of profiles following, number of collections and number of products
social_channels: Details of the social media channels associated with the store
Response status
Status | Reason |
---|---|
500 | Internal server error |
200 | Success |
400 | Invalid request parameters |
405 | API method is not allowed, contact admin to get access |
401 | Invalid authentication parameters |