Skip to main content

legacyCustomer Query

Look up a lossless customer source record.

Added in Saleor 3.23
Requires the MANAGE_USERSpermission.
legacyCustomer(
sourceStore: String!
sourceId: String!
sourcePlatform: String = "shopify"
): LegacyCustomer
Details
type LegacyCustomer implements Node {
id: ID!
sourcePlatform: String!
sourceStore: String!
sourceId: String!
sourceUpdatedAt: DateTime
importedAt: DateTime!
contentSha256: String!
rawPayload: JSONString!
email: String
phone: String!
}

Arguments

sourceStore ● String!

Source store hostname.

sourceId ● String!

Immutable source customer ID.

sourcePlatform ● String

Source platform name.

Type

LegacyCustomer

Lossless, read-only customer record.

Added in Saleor 3.23