Users > Users > users
Commerce APIUsersUsersusers
users
GET:users.json

Description

Get all or specific users of a given shop by id.

Also you can get info about yourself by omitting shop_id argument and supplying your user id as the only id.

This is a typical bulk get endpoint.

Permission bit: "users.read"

Topic: Users

Arguments

ids: [String!]

List of user ids. See also: Unique Identifiers

Example: ["us_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[User!]

Preview (typescript)

Loading module