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
Namespace
CommerceCatalogManagement Methods
compositeCommerceProductCreate(webstoreId, compositeCommerceProductInputRepresentation)
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.
Return Value
Type: ConnectApi.CompositeCommerceProductOutputRepresentation
compositeCommerceProductUpdate(webstoreId, productId, compositeCommerceProductInputRepresentation)
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.
Return Value
Type: ConnectApi.CompositeCommerceProductOutputRepresentation
compositeCommerceVariationCreate(webstoreId, compositeCommerceVariationInputRepresentation)
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.
Return Value
Type: ConnectApi.CompositeCommerceVariationOutputRepresentation