Admin API / Types

BuyerWhereInput

Input

Buyer filters. Values in one list are alternatives; fields combine with AND. An omitted field or an empty list matches every buyer. An ID list holds at most 100 IDs; more gives a thrown VALIDATION_ERROR. The filters select buyers and do not change stats.

input BuyerWhereInput

Input fields

FieldTypeDescription
lastOrderAtDateTimeRangeInputBuyers whose stats.lastOrderAt is in this range: from inclusive, to exclusive. A buyer with no counted order matches no range that has a bound.
livestreamIds[ID!]Buyers with an order in Viewer.orders placed during one of these livestreams.
productIds[ID!]Buyers with an order in Viewer.orders that has an item of one of these listings.
userIds[ID!]These buyer accounts.