Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

CommerceCatalogManagement Class

Create or update a composite product. Create a variation product.

Namespace

ConnectApi

CommerceCatalogManagement Methods

These methods are for CommerceCatalogManagement. All methods are static.

compositeCommerceProductCreate(webstoreId, compositeCommerceProductInputRepresentation)

Create a composite product.

API Version

61.0

Requires Chatter

No

Signature

public static ConnectApi.CompositeCommerceProductOutputRepresentation compositeCommerceProductCreate(String webstoreId, ConnectApi.CompositeCommerceProductInputRepresentation compositeCommerceProductInputRepresentation)

Parameters

webstoreId
Type: String
ID of the webstore.
compositeCommerceProductInputRepresentation
Type: ConnectApi.CompositeCommerceProductInputRepresentation
Details used to create the composite product.

compositeCommerceProductUpdate(webstoreId, productId, compositeCommerceProductInputRepresentation)

Update a composite product.

API Version

61.0

Requires Chatter

No

Signature

public static ConnectApi.CompositeCommerceProductOutputRepresentation compositeCommerceProductUpdate(String webstoreId, String productId, ConnectApi.CompositeCommerceProductInputRepresentation compositeCommerceProductInputRepresentation)

Parameters

webstoreId
Type: String
ID of the webstore.
productId
Type: String
ID of the composite product.
compositeCommerceProductInputRepresentation
Type: ConnectApi.CompositeCommerceProductInputRepresentation
Details used to update the composite product.

compositeCommerceVariationCreate(webstoreId, compositeCommerceVariationInputRepresentation)

Create a variation product.

API Version

62.0

Requires Chatter

No

Signature

public static ConnectApi.CompositeCommerceVariationOutputRepresentation compositeCommerceVariationCreate(String webstoreId, ConnectApi.CompositeCommerceVariationInputRepresentation compositeCommerceVariationInputRepresentation)

Parameters

webstoreId
Type: String
ID of the webstore.
compositeCommerceVariationInputRepresentation
Type: ConnectApi.CompositeCommerceVariationInputRepresentation
Details used to create the variation product.