how apis are driving the new commerce landscape

43
How APIs are Driving the New Commerce Landscape August 22 2017 All Rights Reserved @2017 1 Kelly Goetsch Chief Product Officer

Upload: dirk-hoerig

Post on 22-Jan-2018

268 views

Category:

Retail


2 download

TRANSCRIPT

How APIs are Driving the New Commerce Landscape

August 22 2017

All Rights Reserved @2017 1

Kelly Goetsch

Chief Product Officer

About Me

All Rights Reserved @2017 2

Microservices

CloudCommerce

What is the API Economy?

All Rights Reserved @2017 3

What is an API? A Contract

All Rights Reserved @2017 4

Producer Consumer

• Functionality

• Data

• SLA

APIs separate the producer from the consumer

Business Benefit of APIs: Separation of Concerns

All Rights Reserved @2017 5

Systems IntegratorCreative Agency 3rd Party DeveloperConsultant

Internal

External

Software is Increasingly Being Consumed In Pieces

All Rights Reserved @2017 6

Your CodeHighly innovative, differentiated, etc

AWS Console

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Building Block

Where you’re not

differentiating,

consume building

blocks from 3rd

party cloud vendor

Expectation That Payment Should Match Value

All Rights Reserved @2017 7

This is how

people expect to

buy software

Why Are APIs Taking Over Commerce?

All Rights Reserved @2017 8

Experiences Are Increasingly Mediated

All Rights Reserved @2017 9

More Devices

All Rights Reserved @2017 10

Real Omnichannel Finally Becoming a Reality

All Rights Reserved @2017 11

“Commerce” “eCommerce”

Commerce

“Commerce”

Brands/Retailers Increasingly Building Software

All Rights Reserved @2017 12

75% By 2020, 75 percent of application purchases supporting digital business will be "build," not "buy.”

Forecast Analysis: Enterprise Application Software, Worldwide, 2Q15 Update.

Legacy Monolithic Commerce Platforms are Dying

All Rights Reserved @2017 13

Digital commerce is rapidly evolving

and the future landscape will include

API orientation at its core. Businesses

embracing this approach will be well

positioned to embrace the API

economy, conversational interfaces,

and other capabilities that could confer

business advantage.

GartnerIT Market Clock for Digital Commerce 2016*

* Gartner IT Market Clock for Digital Commerce 2016, Mike Lowndes, 29 September 2016

All Rights Reserved @2017 14

Today’s Dominant Monolithic Commerce Platforms Emerged in the Mid 1990’s

1995 1996 1997

Analysts Agree – APIs are Transformational

All Rights Reserved @2017 15

API-based commerce will be critical for the future of "commerce that comes to you," whereby commerce functions occur in the customer's context wherever and using whatever channels are most convenient to them. Commerce journeys will become more fragmented and an API-based approach is a fundamental enabler for cross-channel experiences.

Mike Lowndes

July 31st 2017

Hype Cycle for Digital Commerce, 2017

Gartner“

The Dream

All Rights Reserved @2017 16

Single APIs Should Power All Channels

All Rights Reserved @2017 17

API-based Commerce Platform

Marketing Should Own Experiences, IT Should Expose Functionality as APIs

All Rights Reserved @2017 18

• Exposes functionality over APIs

• Leaves experience to marketing

• No regard for how APIs are consumed

TechnologyMarketing

• Builds the experiences

• Consumes the APIs from technology

• Customer-focused

• Device-agnostic

Allow Developers to Innovate

All Rights Reserved @2017 19

Traditional Commerce

Developers/Architects

Where You Should Hire

Expose Those APIs Publicly

All Rights Reserved @2017 20

Best Practices for Implementing Commerce APIs

All Rights Reserved @2017 21

Back APIs By Microservices

All Rights Reserved @2017 22

• Characteristics of microservices

o Has its own vertical team

o Does only one thing

o Exposes functionality over external APIs

o Has few dependencies on other teams

o Has its own tech stack

• All starts with the team –everything else occurs naturally

User Interface

Application

Datastore

Infrastructure

Monolith

One Application

Microservices

Many Small Microservices

API

Application

Datastore

Infrastructure

InventoryMicroservice

API

Application

Datastore

Infrastructure

PaymentMicroservice

API

Application

Datastore

Infrastructure

ProfileMicroservice

API

Application

Datastore

Infrastructure

Product CatalogMicroservice

Pick an API Documentation Specification

All Rights Reserved @2017 23

Nice documentation

Standardization

Generate client and server code to match the APIs

Editors

Validation

Testing

Model the API First, Then Implement

All Rights Reserved @2017 24

Make APIs Easy to Call

All Rights Reserved @2017 25

• Level 1

– Start requesting individual resources

– Interact with /OrderService/12345

• Level 2

– Start using HTTP verbs - HTTP GET/POST/PUT/DELETE/etc

– Responses come back using correct HTTP codes – e.g. HTTP 409 for a conflict

• Level 3

– Application itself tells client how to interact with it - similar to hyperlinks in a web page

– <link rel = "delete" uri = "/OrderService/12345/delete"/> under <order id="12345">

• Level 0

– Use HTTP as a tunneling mechanism only

– Interact with /OrderService

– Use HTTP GET/POST only

Develop a Versioning/Evolvability Strategy(and stick to it!)

All Rights Reserved @2017 26

Version Evolve

Use GraphQL to Query API Endpoints

All Rights Reserved @2017 27

Introducing commercetools

All Rights Reserved @2017 28

commercetools Offers 300 Individually Consumable Commerce APIs

All Rights Reserved @2017 29

Customers

Authorization

Customers

Customer Groups

Cart & Checkout

Shopping cart

Discounts codes

Taxation

Shipping methods

Payment status

Product Catalog

Product

information

Pricing

Discounts

Inventory

Search

Categories

Reviews

Order Management

Orders

Channels

Stores

Store finder

Technical

Custom objects

Import/Export

Technical services

APIs are the Universal Currency of Commerce

All Rights Reserved @2017 30

http://dev.commercetools.com/

300+ Individually Consumable APIs Support Tomorrow’s Consumer Electronics

About commercetools

All Rights Reserved @2017 31

Offices in the US: Durham NC,

USA; Berlin and Munich, Germany

99.8% uptime guarantee and

response time of less than 100ms

Founded 2006 / 130+ employees

Library of 300+ Commerce APIs

Serving B2C/B2B clients

100+ enterprise clients Globally

Global digital ecosystem

partnerships with the world’s leading

technology vendors, digital agencies

CMS vendors and solution providers

Financially strong – backed by multi-

billion dollar, 90+yr old European

enterprise

Multi-tenant platform hosted in the

Google Cloud

150+ platform enhancements in

2016

All Rights Reserved @2017 32

Cloud-Hosted Hundreds of

Releases/Year

Programming

language

agnostic

With commerce

concepts for the

post-PC era

Ready for

Microservices

Individually

consumable

“on demand”

Connecting to

the “old

world”

Built for SPEED

Getting Started

All Rights Reserved @2017 33

Strategy: Start With Non-transactional Workloads

All Rights Reserved @2017 34

No

n-t

ran

sact

ion

alT

ran

sa

ctio

na

l

95% Product/Category Pages

70% Marketing Pages

10% Customer Pages

5% Order Pages

Build a Product Endpoint

All Rights Reserved @2017 35

https://api.yourcompany.com/product

Build a Category Endpoint

All Rights Reserved @2017 36

https://api.yourcompany.com/category

Implement an Experience Management Platform

All Rights Reserved @2017 37

Implement an Experience Management platform

Next, Cut Over Customers

All Rights Reserved @2017 38

https://api.yourcompany.com/customer

Finally, Cut Over Orders

All Rights Reserved @2017 39

https://api.yourcompany.com/order

Final Thoughts

All Rights Reserved @2017 40

We Must Re-imagine Software Development

All Rights Reserved @2017 41

X IT ownership of experiences

X Marketing ticketing IT to move pixels

X Separate vertical tech stacks for each device

X Long release cycles

X APIs that are hard to call

X Closed/internal only APIs

Pre-register to For a Copy of Our New Booklet

All Rights Reserved @2017 42

• What APIs are and why they are so valuable for digital commerce

• How and why to model commerce APIs before the implementation

• Building APIs using Microservices and how the two pair so well together

• How to deploy commerce APIs

• Consuming and extending APIs to achieve maximum flexibility and differentiation

www.commercetools.com

Office Munich

Adams-Lehmann-Str. 44

80797 Munich

+49 89 99 82 996-0

Office Berlin

Sonnenallee 223

12057 Berlin

+49 30 67 24 21-20

Durham, NC

American Underground | Crowe Building

406 Blackwell Street, Suite 240

Durham, NC 27701

+1 212 220 3809

All Rights Reserved @2017 43