Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

ProductUpdateAction

export type ProductUpdateAction = {
    moveImageToPosition?: InputMaybe<MoveProductImageToPosition>;
    setSearchKeywords?: InputMaybe<SetSearchKeywords>;
    revertStagedChanges?: InputMaybe<RevertStagedChanges>;
    revertStagedVariantChanges?: InputMaybe<RevertStagedVariantChanges>;
    publish?: InputMaybe<PublishProduct>;
    unpublish?: InputMaybe<UnpublishProduct>;
    transitionState?: InputMaybe<TransitionProductState>;
    addAsset?: InputMaybe<AddProductAsset>;
    addExternalImage?: InputMaybe<AddProductExternalImage>;
    addPrice?: InputMaybe<AddProductPrice>;
    addToCategory?: InputMaybe<AddProductToCategory>;
    addVariant?: InputMaybe<AddProductVariant>;
    changeAssetName?: InputMaybe<ChangeProductAssetName>;
    changeAssetOrder?: InputMaybe<ChangeProductAssetOrder>;
    changeMasterVariant?: InputMaybe<ChangeProductMasterVariant>;
    changeImageLabel?: InputMaybe<ChangeProductImageLabel>;
    changeName?: InputMaybe<ChangeProductName>;
    changePrice?: InputMaybe<ChangeProductPrice>;
    changeSlug?: InputMaybe<ChangeProductSlug>;
    removeAsset?: InputMaybe<RemoveProductAsset>;
    removeFromCategory?: InputMaybe<RemoveProductFromCategory>;
    removeImage?: InputMaybe<RemoveProductImage>;
    removePrice?: InputMaybe<RemoveProductPrice>;
    removeVariant?: InputMaybe<RemoveProductVariant>;
    setAssetCustomField?: InputMaybe<SetProductAssetCustomField>;
    setAssetCustomType?: InputMaybe<SetProductAssetCustomType>;
    setAssetDescription?: InputMaybe<SetProductAssetDescription>;
    setAssetKey?: InputMaybe<SetProductAssetKey>;
    setAssetSources?: InputMaybe<SetProductAssetSources>;
    setAssetTags?: InputMaybe<SetProductAssetTags>;
    setCategoryOrderHint?: InputMaybe<SetProductCategoryOrderHint>;
    setDiscountedPrice?: InputMaybe<SetProductDiscountedPrice>;
    setAttribute?: InputMaybe<SetProductAttribute>;
    setAttributeInAllVariants?: InputMaybe<SetProductAttributeInAllVariants>;
    setDescription?: InputMaybe<SetProductDescription>;
    setImageLabel?: InputMaybe<SetProductImageLabel>;
    setKey?: InputMaybe<SetProductKey>;
    setMetaAttributes?: InputMaybe<SetProductMetaAttributes>;
    setMetaDescription?: InputMaybe<SetProductMetaDescription>;
    setMetaKeywords?: InputMaybe<SetProductMetaKeywords>;
    setMetaTitle?: InputMaybe<SetProductMetaTitle>;
    setProductPriceCustomField?: InputMaybe<SetProductPriceCustomField>;
    setProductPriceCustomType?: InputMaybe<SetProductPriceCustomType>;
    setPrices?: InputMaybe<SetProductPrices>;
    setSku?: InputMaybe<SetProductSku>;
    setTaxCategory?: InputMaybe<SetProductTaxCategory>;
    setProductVariantKey?: InputMaybe<SetProductVariantKey>;
};

Referenced Types

On this page