Architecture - 2.2 Magento APIs and Third-Party Integration Flashcards
1
Q
What are the two types of APIs?
A
REST, Representational State Transfer. Is URL and HTTP code based
SOAP, Simple Object Access Protocol. Is XML based
2
Q
Methods of API authentication?
A
- http://devdocs.magento.com/guides/v2.0/get-started/bk-getstarted-api.html
- OAuth 1.0a (why not 2?)
- Mobile applications can use tokens
- Administrators and customers can use login credentials (which are converted into a token)
API users
• These are the same as a user if you are using tokenbased authentication.
3
Q
Differences between Magento 1 and Magento 2 integration options.
A
Magento 2 is much more streamlined. With Magento 1, you worked with a unique set of users for the API. There were also unique permissions with Magento 1 that are now no longer apart of 2.
4
Q
Magento Open Source APIs?
A
- Analytics
- AsynchronousOperations
- Backend
- Bundle
- Catalog
- CatalogInventory
- Checkout
- CheckoutAgreements
- Cms
- ConfigurableProduct
- Customer
- Directory
- Downloadable
- Eav
- GiftMessage
- Integration
- InventoryApi
- InventoryCatalogApi
- InventoryDistanceBasedSourceSelectionApi
- InventoryLowQuantityNotificationApi
- InventorySalesApi
- InventorySourceSelectionApi
- Quote
- Sales
- SalesRule
- Search
- Store
- Tax
5
Q
Magento Commerce APIs
A
All of open source and the following: • CustomerBalance • GiftCardAccount • GiftWrapping • Reward • RMA • Worldpay