This article shares a possible use case your app could support, as well as a sample flow that could support this use case. This can be a helpful jumping-off point as you plan your app's implementation.
In order to assign a new non-existing option to a new product, you can provide the option to the Create Product request.
To do this, your app can call Create Product with Create Product
and assign a new option to the product by passing a the name
, option_render_type
and choices
:
Note that if an option with option.name
already exists, it will assign the existing option to the product.
In order to assign a new non-existing modifier to a new product, you can provide the modifier to the Create Product request.
To do this, your app can call Create Product with Create Product
and assign a new option to the product by passing a the name
, modifier_render_type
and free_text_settings
:
Note that if a modifier with modifier.name
already exists, it will assign the existing modifier to the product.