Issue with Deprecated API Call in ProductVariantsBulkInput. deadline: Jan 1, 2025

Topic summary

A developer is receiving deprecation warnings when using the ProductVariantsBulkInput mutation to add product options in their Shopify custom app, with a deadline of January 1, 2025.

Current Problem:

  • The deprecated API call flag has been triggered
  • Attempted alternative productOptionsCreate mutation only adds one option instead of multiple options
  • Working with multiple option sets (Color with 3 values, Size with 3 values)

Seeking Help With:

  • How to properly handle multiple product options using the updated API structure
  • The correct mutation or approach to replace ProductVariantsBulkInput
  • A working code example for this multi-option scenario

The issue remains unresolved and the developer is requesting community guidance before the deprecation deadline.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

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!