List all users
const url = 'https://acme.mykreezalid.com/api/v1/users?group_id=784568%2C784569&page=1&limit=25';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://acme.mykreezalid.com/api/v1/users?group_id=784568%2C784569&page=1&limit=25' \ --header 'Authorization: Basic <credentials>'Returns your users, most recent first, 25 per page by default.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Keep only the users of these groups: one identifier, a comma-separated list (group_id=12,13) or an array (group_id[]=12&group_id[]=13).
Example
784568,784569Page to return, starting at 1.
Number of users per page, at most 100.
Comma-separated list of the fields to return for each user, e.g. id,email,group.
Responses
Section titled “Responses”A page of users
object
A member of your marketplace, customer or vendor, as the Admin API returns it.
object
User’s unique identifier
Your own identifier for this user
Two-letter country code
Values of the user’s custom profile fields
object
Absolute URL of the profile image
Company or organization name
Whether the user’s group may publish listings
Whether the user’s group goes through onboarding
Company details. Absent when account_type is individual.
object
Company registration number
Sign-up date, YYYY-MM-DD HH:MM:SS
object
Group’s unique identifier
Identifier of the user’s group. Deprecated in responses: read group.id.
Read group.name.
Read group.alias.
Language code
Number of the user’s listings
Number of the user’s listings, whatever their status
Same value as lang
The user’s metafields, when they are loaded; null otherwise
A custom value you attach to a resource, identified by its namespace and title.
object
Group the metafield belongs to
Name of the metafield, unique within its namespace
Value of the metafield. Usually a string; it can be returned as a number or a JSON value depending on how the metafield was defined.
Two-letter country code
Average rating from the reviews the user received
Absolute URL of the user’s public profile
Name shown publicly, following your display settings
Account status
Whether the user completed their identity details
Number of reviews the user received
Paging information, added next to the results of a paginated list. Request another page with the page query parameter and change the page size with limit (at most 100).
object
Number of results across all pages.
Number of the page returned, starting at 1.
Whether a next page exists.
Whether a previous page exists.
Number of results on this page.
Number of pages.
Example
{ "users": [ { "id": 545353, "object": "User", "external_id": "ABCdef123456", "account_type": "individual", "address_city": "New-York City", "address_country": "US", "address_line1": "253 W 42nd St", "address_line2": null, "address_state": "NY", "address_zipcode": "10036", "attributes": { "profession": "Web developer" }, "birthday": "1990-05-17", "business_name": "ACME", "company": { "object": "Company", "name": "ACME" }, "created_at": "2024-03-18 09:41:05", "email": "jane@example.com", "first_name": "Jane", "group": { "object": "Group", "id": 784568, "name": "VIP Customers", "alias": "vip-customers" }, "group_id": 784568, "lang": "en", "last_name": "Doe", "listing_count": 12, "listing_count_any_status": 14, "locale": "en", "metafields": [ { "namespace": "erp", "title": "warehouse_code", "value": "WH-42" } ], "nationality": "US", "average_rating": 4.5, "phone_country_code": "+1", "phone_number": "212-398-2600", "profile_url": "https://acme.mykreezalid.com/shop/a1b2c3d/jane-doe", "public_name": "Jane Doe", "status": "enabled", "identity_status": "not_completed", "review_count": 3, "timezone": "America/New_York", "username": "janedoe" } ], "pagination": { "totalResultsCount": 137, "currentPage": 1, "resultOnPageCount": 25, "pageCount": 6 }}group_id is not an identifier or a list of identifiers.