Property deprecations in the Admin API ProductVariant resource
API
Effective July 01, 2022
The relationship between a ProductVariant and a FulfillmentService was changed in the 2022-07 API version. 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)(GraphQL) and LineItem.fulfillment_service
(REST)(GraphQL). 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.
Learn more about managing fulfillment orders using the REST Admin API and GraphQL Admin API.
Learn more about the building a fulfillment service using the fulfillment orders API.
Also the field presentment_prices
is being deprecated in REST and GraphQL. For more context refer to this change log.