Back to Developer changelog

Deprecated fields on the Customer object

API

Effective April 01, 2022

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.