All things Shopify and commerce
Hello Shopify Community,
I am encountering an issue while using the ProductVariantsBulkInput mutation for adding product options. Shopify has flagged a deprecated API call in my app
Deprecated API calls made by Custom App
However, I am unable to find a clear solution for handling this deprecation. I also attempted using productOptionsCreate but noticed that it only adds one option instead of all options.
I am currently using the following structure for options:
"options" => [
[
"name" => "Color",
"values" => ["Red", "Black", "White"]
],
[
"name" => "Size",
"values" => ["M", "L", "A"]
]
],
Could anyone provide clarity on:
How to handle multiple options with the updated API structure?
What is the correct mutation or approach to replace ProductVariantsBulkInput?
Your guidance or a working example for this scenario would be incredibly helpful.
Thank you in advance!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025