Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Deprecated fields on the Customer object

API

The following are changes to the GraphQL Admin API's Customer object:

  • The orders_count field is renamed to number_of_orders.
  • The total_spent and total_spent_v2 fields are replaced by amount_spent.
  • The has_note field is removed. The note field still exists on the customer.
  • The has_timeline_comment field is removed. To query for comments on the timeline, use the events connection and a query argument containing verb:comment, or look for a CommentEvent in the __typename of events.

For more information, refer to the Customer object.