Customer object


  • acceptsMarketing (Boolean!)
  • email (String)
  • hasAnyTag (Boolean!)

    Whether the customer has any of the given tags.

    Argument Description
    tags ( [String!] )

    The tags to search for.

  • metafield (Metafield)

    Returns a metafield by namespace and key that belongs to the resource.

    Argument Description
    key ( String! ) required

    The key for the metafield.

    namespace ( String! ) required

    The namespace for the metafield.

  • ordersCount (Int!)
  • totalSpent (Money!)

Types that return Customer