magento's imagine ecommerce conference 2011 - mash-up of magento and salesforce.com

26
CloudGento An Enterprise Level Mash-up of Magento and Salesforce.com

Upload: magentoimagine

Post on 09-May-2015

1.254 views

Category:

Technology


7 download

TRANSCRIPT

Page 1: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

CloudGentoAn Enterprise Level Mash-up of Magento and Salesforce.com

Page 2: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Jon Jessup

Founder & CEO

Cloud Conversion

Page 3: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Agenda

Cloud Conversion Background

CloudGento -- What, Why and How We Do It

Magento API Best Practices

Common Pitfalls to Avoid

MagentoGo

Opportunities for Cloud Developers

Live Demos!

Q & A

Page 4: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Cloud Conversion Background

Team consists of cloud evangelists with over 25 years experience in

eCommerce, CRM and ERP.

We know eCommerceAbout Cloud ConversionFounded February 2009 in Park City, UT

Focus: Build innovative eCommerce applications

Mission: Solve real-world business challenges

Primary Products: eCommSource & CloudGento

Self-funded

Page 5: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Successful Customers

Page 6: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Key Partners

Page 7: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

CloudGento - What, Why and How We Do It

Overview

Integrating B2B and B2C Operations

Streamlining Customer Service and Support

Managing RMAs and Replacements

Managing Inventory across Multiple Channels

Reporting & Analytics

Workflow, Visual Flow and Security

Marketing Initiatives (VerticalResponse, MailChimp, etc)

Page 8: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

CloudGento Flow

Customers

Orders

Products

Shipping

Page 9: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

The Eclipse/Force.com IDE

Page 10: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Getting Started

Make sure API Endpoint is accessible

i.e. – http://www.samplesite.com/api/v2_soap

Define API User and Appropriate Roles

System -> Web Services

WSDL can be found at

http://www.samplesite.com/api/v2_soap?wsdl=1

Page 11: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Defining API Role

Page 12: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Defining API Users

Page 13: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Basic Magento API Flow

Make login request with username/API key -> SessionID

Store SessionID to make subsequent API calls

Call endSession (optional)

Page 14: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Basic Magento API Calls

login

startSession

endSession

resources

globalFaults

resourceFaults

Page 15: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Available Customer and Order API Calls

directoryCountryList

directoryRegionList

customerCustomerList

customerCustomerCreate

customerCustomerInfo

customerCustomerUpdate

customerCustomerDelete

customerGroupList

customerAddressList

customerAddressCreate

customerAddressInfo

customerAddressUpdate

customerAddressDelete

salesOrderListsalesOrderInfosalesOrderAddCommentsalesOrderHoldsalesOrderUnholdsalesOrderCancelsalesOrderShipmentListsalesOrderShipmentInfosalesOrderShipmentCreatesalesOrderShipmentAddCommentsalesOrderShipmentAddTracksalesOrderShipmentRemoveTracksalesOrderShipmentGetCarrierssalesOrderInvoiceListsalesOrderInvoiceInfosalesOrderInvoiceCreatesalesOrderInvoiceAddCommentsalesOrderInvoiceCapturesalesOrderInvoiceVoidsalesOrderInvoiceCancel

Page 16: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Available Product and Category Calls

catalogCategoryCurrentStorecatalogCategoryTreecatalogCategoryLevelcatalogCategoryInfocatalogCategoryCreatecatalogCategoryUpdatecatalogCategoryMovecatalogCategoryDeletecatalogCategoryAssignedProductscatalogCategoryAssignProductcatalogCategoryUpdateProductcatalogCategoryRemoveProductcatalogProductCurrentStorecatalogProductListcatalogProductInfocatalogProductCreatecatalogProductUpdatecatalogProductSetSpecialPricecatalogProductGetSpecialPricecatalogProductDelete

catalogProductAttributeCurrentStorecatalogProductAttributeListcatalogProductAttributeOptionscatalogProductAttributeSetListcatalogProductTypeListcatalogProductAttributeTierPriceInfocatalogProductAttributeTierPriceUpdatecatalogCategoryAttributeCurrentStorecatalogCategoryAttributeListcatalogCategoryAttributeOptionscatalogProductAttributeMediaCurrentStorecatalogProductAttributeMediaListcatalogProductAttributeMediaInfocatalogProductAttributeMediaTypescatalogProductAttributeMediaCreatecatalogProductAttributeMediaUpdatecatalogProductAttributeMediaRemovecatalogProductLinkListcatalogProductLinkAssigncatalogProductLinkUpdatecatalogProductLinkRemovecatalogProductLinkTypescatalogProductLinkAttributes

Page 17: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Coming in 1.5.0.0 API

New Shopping Cart API

Support for multiple ComplexFilters

Page 18: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Best Practices & Common Pitfalls to Avoid

Keep track of Increment Ids!

Make Sure the API is properly setup & enabled

Monitor API Calls and Don’t Overload the API

Understand Complex Filters and Associative Entities

Always use SSL and Encrypt API Tokens

Don’t Be Afraid to Mash-up Other Services

Build a Custom API in PHP

Page 19: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

REST API via OpenSocial/Shindig!

oAuth Support

Gadgets and Widgets to extend the site and admin

Ability to offer Free trials

End goal: “If you can do it in the UI, you can do it via a

service”

Future support for push notifications

Page 20: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Open protocol (oAuth.net) for secure API authorization in a

“simple” and standard method from applications. Allows

MagentoGo accounts to be connected to 3rd party

applications without the account owner having to share

their

password and they can revoke access at any time.

oAuth Overview

Notable oAuth Implementations: Salesforce.com, LinkedIn, Twitter, Facebook, LivePerson, Magento, etc

Page 21: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

1) Acquire key and consumer secret

2) Ask for a request token and specify your callback

3) Direct the user to the Magento authorization screen

4) Receive a callback to the URL your specified

5) Ask for an access token

6) Make API calls!

The oAuth Dance

Page 22: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

REST Request:http://magento.local/shindig/gadgets/api/rest/product/93?view=preview

Page 23: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

PaaS

Beta

Runs on Magento Enterprise

Maintained/Hosted by Magento

Automatic Upgrades

Customizations done in CSS and Gadgets

REST API + oAuth +JSON

Ripe for Opportunity/Innovation!

Open-Source

GA

Community/Professional/Enterprise

Full-Control Over Installation

Responsible for Upgrades

Customizations done in PHP

SOAP API

Large Install Base

Page 24: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

eCommerce Opportunities for Cloud Developers

Find a Pain Point and Help Solve It!

Build Gadgets/Integrations for MagentoGo

Mash-up eCommerce services (PayPal, Magento, etc)

Build Social eCommerce Applications

Mobile Apps

Page 25: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Live Demos!

Page 26: Magento's Imagine eCommerce Conference 2011 - Mash-up of Magento and Salesforce.com

Question & Answer

Questions, Thoughts, Ideas?