About disabling third-party apps to manage variant inventory

We are migrating from rest api to graphql api and encountered some problems. In rest api, we can specify to use third-party app to manage inventory by modifying fulfillment_service and inventory_management fields in ProductVariant api, but graphql api does not provide these two fields to change inventory management service. So how can we satisfy the api that I can change inventory management service when using graphql?

Instead of inventory_management, InventoryItemInput.tracked (with productVariantsBulkUpdate - GraphQL Admin or inventoryItemUpdate - GraphQL Admin mutations) could be used.

Fulfillment services can be created with fulfillmentServiceCreate - GraphQL Admin, the Location ID returned by FulfillmentService.location.id can be used to activate inventory with inventoryActivate - GraphQL Admin. For further

These links may be helpful as well: Product Variant Field Cleanup — Shopify developer changelog and Build for fulfillment services

1 Like