These classes are new.
Commerce
These new methods are in the ConnectApi.CommerceCart class.
- Create a cart from an approved quote or duplicate a draft quote
- Use the
createCartFromQuote(webstoreId, quoteId, cartFromQuoteInput)method. - New input class:
ConnectApi.CartFromQuoteInput - New output class:
ConnectApi.CartFromQuoteOutput - Create a quote from an active cart
- Use the
createQuoteFromCart(webstoreId, activeCartOrId, createQuoteFromCartInput)method. - New input class:
ConnectApi.CreateQuoteFromCartInput - New output class:
ConnectApi.CreateQuoteFromCartOutput
These new methods are in the ConnectApi.CommerceQuotes class.
- Create a quote from a product
- Use the
createQuoteFromProduct(webstoreId, productId, createQuoteFromProductInput)method. - New input class:
ConnectApi.CreateQuoteFromProductInput - New output class:
ConnectApi.CreateQuoteFromProductOutput - Initiate a quote renegotiation or decline a quote
- Use the
updateQuote(webstoreId, quoteId, updateQuoteInput)method. - New input class:
ConnectApi.updateQuoteInput - New output class:
ConnectApi.UpdateQuoteOutput - Get quote details for a user account
- Use the
getQuoteDetail(webstoreId, quoteId, effectiveAccountId, fields)method. - New output class:
ConnectApi.CommerceQuoteDetail - Get all quotes for an account
- Use the
getQuotes(webstoreId, effectiveAccountId, fields, sortParam, pageSize, pageToken, earliestDate, latestDate)method. - New output class:
ConnectApi.CommerceQuoteCollection