stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > LineItem > fulfillmentService

AdminTypes.LineItem.fulfillmentService property

Warning: This API is now obsolete.

The [relationship between a product variant and a fulfillment service was changed in the 2022-07 API version](/changelog/fulfillment-service-sku-sharing). A [ProductVariant](/api/admin-graphql/latest/objects/ProductVariant) can be stocked by multiple fulfillment services. As a result, we recommend that you use the [inventoryItem field](/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryitem) if you need to determine where a product variant is stocked.

If you need to determine whether a product is a gift card, then you should continue to use this field until an alternative is available.

Altering the locations which stock a product variant won’t change the value of this field for existing orders.

Learn about [managing inventory quantities and states](/apps/fulfillment/inventory-management-apps/quantities-states).

The fulfillment service that stocks the product variant belonging to a line item.

This is a third-party fulfillment service in the following scenarios:

**Scenario 1** - The product variant is stocked by a single fulfillment service. - The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don’t have a handle with the value manual.

**Scenario 2** - Multiple fulfillment services stock the product variant. - The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don’t have a handle with the value manual.

If none of the above conditions are met, then the fulfillment service has the manual handle.

Signature:

fulfillmentService?: Maybe<FulfillmentService>;