---
title: >-
  Property deprecations in the Admin API Order and LineItem 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-admin-api-order-and-lineitem-resource
  md: >-
    https://shopify.dev/changelog/property-deprecations-in-the-admin-api-order-and-lineitem-resource.md
metadata:
  effectiveApiVersion: 2022-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: false
  createdAt: '2022-06-15T12:15:58-04:00'
  postedAt: '2022-07-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:34-05:00'
  effectiveAt: '2022-07-01T00:00:00-04:00'
---

July 1, 2022

Tags:

* API
* 2022-07

# Property deprecations in the Admin API Order and LineItem resource

The [relationship between a ProductVariant and a FulfillmentService was changed in the 2022-07 API version](https://shopify.dev/changelog/fulfillment-service-sku-sharing). A `ProductVariant` can be stocked by multiple fulfillment services. As a result, we recommended that you no longer use the following fields: `ProductVariant.fulfillment_service` ([REST](https://shopify.dev/docs/api/admin-rest/latest/resources/product-variant#resource-object))([GraphQL](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-fulfillmentservice)) and `LineItem.fulfillment_service` ([REST](https://shopify.dev/docs/api/admin-rest/latest/resources/order#resource-object))([GraphQL](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem#field-lineitem-fulfillmentservice)). Instead, you should use inventory items and inventory levels if you need to find or manage where a product is stocked.

If you need to determine whether a product is a gift card, you should continue to use the `ProductVariant.fulfillment_service` field until an alternative is available.

Learn more about [managing inventory quantities and states](https://shopify.dev/apps/fulfillment/inventory-management-apps/quantities-states).

Learn more about managing fulfillment orders using the [REST Admin API](https://shopify.dev/api/admin/rest/reference/shipping-and-fulfillment/fulfillmentorder) and [GraphQL Admin API](https://shopify.dev/api/admin/graphql/reference/shipping-and-fulfillment/fulfillmentorder).

Learn more about the [building a fulfillment service using the fulfillment orders API](https://shopify.dev/apps/fulfillment/migrate).

The following other line item object properties on the REST Admin API's Order resource are deprecated:

* `origin_location`
* `destination_location`

The following object property on the REST Admin API's Order resource is deprecated:

* `total_price_usd`

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

For other recent deprecations on the Orders resource refer to this [Change Log](https://shopify.dev/changelog/property-deprecations-in-the-rest-admin-api-order-resource)
