--- 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' metadata: effectiveApiVersion: '' affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Deprecation Announcement handle: deprecation indicatesActionRequired: false createdAt: '2022-03-08T15:40:51-05:00' postedAt: '2022-04-01T00:00:00-04:00' updatedAt: '2024-02-02T10:05:04-05:00' effectiveAt: '2022-04-01T00:00:00-04:00' --- 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.