08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija /...

84
Sample Title Developers Paradise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance oor

Transcript of 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija /...

Page 1: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

Sample Title

DevelopersParadise2016 / Opatija / Croatia

Dancing with the Magento 2 APIsA guided tour of the API dance floor

Page 2: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Bill CurtisCTO - Sweet Tooth

Page 3: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 4: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 5: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 6: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 7: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Overview

• Use cases for using the Magento 2 API

• How to make API calls

• Extending the API

• Tooling & Resources

Page 8: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Use casesWhat is the Magento API used for?

Page 9: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Extensions (PHP)

AppsERPPOSCRM

MAGENTO API

API Requests

Page 10: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

How to make Magento 2 API calls

• SOAP vs REST

• XML vs JSON

• Overview of CRUD actions

• Search

• Authentication

Page 11: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

SOAP vs REST

Page 12: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

XML vs JSON

Page 13: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

REST + JSON ♥

Page 14: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 15: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 16: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 17: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 18: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 19: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 20: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Anatomy of the API request

Page 21: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Create Read Update Delete

REST APIs support CRUD operations

Page 22: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Delete customer DELETE V1/customers/1

Create customer POST V1/customers {…}

Read customer GET V1/customers/1

Update customer PUT V1/customers/1 {…}

Page 23: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

CRUD - Create a customer

POST /rest/V1/customers

REQUEST RESPONSE

Page 24: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

CRUD - Read a customer

GET /rest/V1/customers/6

REQUEST RESPONSE

Page 25: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

CRUD - Update a customer

PUT /rest/V1/customers/6

REQUEST RESPONSE

Page 26: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

CRUD - Delete a customer

DELETE /rest/V1/customers/6

REQUEST RESPONSE

Page 27: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

REST is an architectural style

Page 28: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

http://devdocs.magento.com/guides/v2.0/rest/list.html

Page 29: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 30: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

What about customer search?

Page 31: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search customers GET V1/customers/search

Page 32: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

GET /V1/cmsPage/searchGET /V1/cmsBlock/searchGET /V1/customerGroups/searchGET /V1/customers/searchGET /V1/carts/searchGET /V1/salesRules/searchGET /V1/coupons/searchGET /V1/taxRates/searchGET /V1/taxRules/searchGET /V1/taxClasses/search

GET /V1/productsGET /V1/categories

?

Page 33: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search customers

GET /V1/customers/search

REQUEST RESPONSE

Page 34: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search customers

GET /V1/customers/search?searchCriteria=

REQUEST RESPONSE

Page 35: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

?searchCriteria=

The most powerful query param in the world

Page 36: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search criteria

Page 37: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search criteria

Page 38: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search criteria

Page 39: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search criteria

Page 40: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for an email within a store id

Page 41: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for an email within a store id

Page 42: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search within store id

Page 43: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for a customer in store 1

AND

Page 44: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for a yellow OR red product created this year

Page 45: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for a yellow OR red product created this year

Page 46: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for a yellow OR red product created this year

OR

Page 47: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for product

Page 48: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Search for product

AND

Page 49: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

?searchCriteria=

Page 50: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 51: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 52: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Customer Search

REQUEST RESPONSE

Page 53: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Authentication How do we get this token?

Page 54: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

1. Username & Password

2. OAuth 1.0a

3. Session

3 ways to authenticate

Page 55: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

1. Username & Password

2. OAuth 1.0a

3. Session

1st party apps / integrations

Page 56: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Username & Password Authentication

POST /rest/V1/integration/admin/token

REQUEST RESPONSE

POST /rest/V1/integration/customer/token

Page 57: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

PUT /V1/customers/meGET /V1/customers/mePUT /V1/customers/me/activatePUT /V1/customers/me/password

POST /V1/carts/mineGET /V1/carts/mine

GET /V1/carts/mine/itemsPOST /V1/carts/mine/itemsPUT /V1/carts/mine/items/:itemIdDELETE /V1/carts/mine/items/:itemId

Customer API Access

Page 58: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

1. Username & Password

2. OAuth 1.0a

3. Session 3rd party apps / integrations

Page 59: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 60: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 61: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 62: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 63: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 64: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 65: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

1. Username & Password

2. OAuth 1.0a

3. Session

In browser

Page 66: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 67: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Extending the Magento APIetc/webapi.xml

Page 68: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

etc/webapi.xml

Page 69: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

etc/webapi.xml

Page 70: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

etc/webapi.xml

Page 71: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

etc/webapi.xml

Page 72: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Magento 2.0.4 Release - March 31 2016

Page 73: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 74: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Development resources

Page 75: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 76: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

http://<magento_host>/rest/default/schema

Page 77: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

http://devdocs.magento.com/swagger/

Page 78: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 79: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 80: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

http://devdocs.magento.com/guides/v2.0/rest/list.html

Page 81: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

https://luckymarmot.com/paw

Page 82: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

https://www.getpostman.com/

Page 83: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Page 84: 08 - Bill Curtis - Dancing with the Magento 2 Web APIs · DevelopersParadise 2016 / Opatija / Croatia Dancing with the Magento 2 APIs A guided tour of the API dance floor. DevelopersParadise

DevelopersParadise2016 / Opatija / Croatia

Thank You!