updateProductVariants( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates variants of a specified product.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Stores - all permissions
Manage Products
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the product with managed variants.


variantsArray<VariantOverride>Required

Variant info to update.

Returns
Return Type:Promise<UpdateVariantsResponse>
Did this help?