Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

ProductVariant.fulfillment_service  happened we had change api but still appear

Solved

ProductVariant.fulfillment_service  happened we had change api but still appear

Gordonfong
Shopify Partner
10 0 1

This error still occurs after the level api has been changed

 

The relationship between a ProductVariant and a FulfillmentService was changed in the 2022-07 API versio....

A ProductVariant can be stocked by multiple fulfillment services. As a result, we recommend that you no longer use the following fields:
ProductVariant.fulfillment_service (GraphQL) (REST)
LineItem.fulfillment_service (GraphQL) (REST)

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.

View change

Accepted Solution (1)
ShopifyDevSup
Shopify Staff
1453 238 524

This is an accepted solution.

Hi @Gordonfong - thanks for getting in touch. My recommendation is to double check to see if your code is using any of the fields listed in that message. These would be the Fulfillment Service resources/objects associated with either the product variant or line item resources in GraphQL/REST. We now ask that fulfillment and inventory management apps use inventory items to track inventory locations.

 

If you're still encountering issues after confirming your app is no longer using the above resources, please reach out to Partner Support through your Partner Dashboard and refer to this forum post - we'd be happy to help you out that way. 


Hope this helps!

 

Al | Shopify Developer Support 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 3 (3)

Gordonfong
Shopify Partner
10 0 1

Someone who can help me

ShopifyDevSup
Shopify Staff
1453 238 524

This is an accepted solution.

Hi @Gordonfong - thanks for getting in touch. My recommendation is to double check to see if your code is using any of the fields listed in that message. These would be the Fulfillment Service resources/objects associated with either the product variant or line item resources in GraphQL/REST. We now ask that fulfillment and inventory management apps use inventory items to track inventory locations.

 

If you're still encountering issues after confirming your app is no longer using the above resources, please reach out to Partner Support through your Partner Dashboard and refer to this forum post - we'd be happy to help you out that way. 


Hope this helps!

 

Al | Shopify Developer Support 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Michel_Arteta
Shopify Partner
37 2 34

If we are not using these fields but still calling the REST API with deprecated fields would the app get unlisted?