Customers > Customers > storefrontCustomers
Storefront APICustomersCustomersstorefrontCustomers
storefrontCustomers
GET:storefront/customers.json

Description

Get info about customers.

This is a typical bulk get endpoint.

Topic: Customers

Arguments

ids: [String!]!

List of customer ids. See also: Unique Identifiers

Example: ["cu_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

[StorefrontCustomer!]

Preview (typescript)

function storefrontCustomers(
ids: string[]
loose?: boolean
shop_id: string
): StorefrontCustomer[]