Package | Description |
---|---|
io.sphere.sdk.products.commands.updateactions |
Provides the possible operations which can be performed on update commands for products.
|
Class and Description |
---|
AddAsset
Adds an asset.
|
AddExternalImage
Adds external image url with meta-information to the product variant.
|
AddPrice
Adds the given price to the product variant's prices set.
|
AddToCategory
Adds a product to a category.
|
AddVariant
Adds a variant to a product.
|
ChangeAssetName
Changes the name of an asset.
|
ChangeAssetOrder
Changes the order of the assets list.
|
ChangeMasterVariant
Sets the given variant as the new master variant.
|
ChangeName
Updates the name of a product.
|
ChangePrice
Replaces a price in the product variant's prices set.
|
ChangeSlug
Updates the slug of a product.
|
LegacySetSku
Deprecated.
use
SetSku instead which updates the SKU just in staged |
MoveImageToPosition
Moves an image to a new position within a product variant.
|
Publish
Publishes a product, which causes the staged projection of the product to override the current projection.
|
RemoveAsset
Removes an asset.
|
RemoveFromCategory
Removes a product from a category.
|
RemoveImage
Removes a product image.
|
RemovePrice
Removes a price from the product.
|
RemoveVariant
Removes a variant from a product.
|
RevertStagedChanges
Revert all changes, which were made to the staged version of a product and reset to the current version.
|
RevertStagedVariantChanges
Revert changes of a variant, which were made to the staged version of a product and reset to the
+current version.
|
SetAssetCustomField
This action sets, overwrites or removes any existing custom field for an existing Asset.
|
SetAssetCustomType
This action sets, overwrites or removes the custom type and fields for an existing Asset.
|
SetAssetDescription
Changes the description of an asset.
|
SetAssetKey
Adds asset to a
Product . |
SetAssetSources
Sets the sources of an asset.
|
SetAssetTags
Sets the tags of an asset.
|
SetAttribute
Adds/Removes/Changes a custom attribute.
|
SetAttributeInAllVariants
Adds / Removes / Changes a custom attribute in all variants at the same time (it can be helpful to set attribute values that are constrained with SameForAll).
|
SetCategoryOrderHint
Sets/unsets the category order hint which can be used to sort products.
|
SetDescription
Updates the description of a product.
|
SetDiscountedPrice
Discounts a product price.
|
SetImageLabel
Updates the
masterData property of a Product . |
SetKey |
SetMetaDescription
Sets the SEO attribute description.
|
SetMetaKeywords
Sets the SEO attribute keywords.
|
SetMetaTitle
Sets the SEO attribute title.
|
SetPrices
Sets the prices of a product variant.
|
SetProductPriceCustomField
Updates a custom field in a price.
|
SetProductPriceCustomType
Sets or removes a custom type in a price.
|
SetProductVariantKey |
SetSearchKeywords
Sets the search keywords for a product.
|
SetSku
Adds, changes or removes a SKU on a product variant.
|
SetTaxCategory
Adds, changes or removes a product's tax category.
|
TransitionState
Transition to a new state.
|
Unpublish
Unpublishes a product, effectively deleting the current projection of the product, leaving only the staged projection.
|