---
title: >-
  Property deprecations in the REST Admin API Order resource - 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/property-deprecations-in-the-rest-admin-api-order-resource
  md: >-
    https://shopify.dev/changelog/property-deprecations-in-the-rest-admin-api-order-resource.md
metadata:
  effectiveApiVersion: 2021-10
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: true
  createdAt: '2021-12-13T18:36:52-05:00'
  postedAt: '2021-12-21T00:00:00-05:00'
  updatedAt: '2024-12-13T17:24:32-05:00'
  effectiveAt: '2021-12-21T00:00:00-05:00'
---

December 21, 2021

Tags:

* Action Required
* API
* 2021-10

# Property deprecations in the REST Admin API Order resource

The following `customer` object properties on the REST Admin API's [Order](https://shopify.dev/api/admin-rest/2021-10/resources/order#top) resource are deprecated:

* `last_order_id`
* `last_order_name`
* `orders_count`
* `total_spent`

These properties will still be available in the [Customer](https://shopify.dev/api/admin-rest/2021-10/resources/customer#top) resource.

These deprecated properties will be removed from `unstable` in early 2022. The change will be made official in the `2022-04` REST Admin API version.
