--- title: Deprecated fields on the Customer object - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/deprecated-fields-on-the-customer-object md: https://shopify.dev/changelog/deprecated-fields-on-the-customer-object.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 1, 2022 Tags: * API # Deprecated fields on the Customer object 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`](https://shopify.dev/api/admin-graphql/latest/objects/Order#top) object.