0%

Book Description

APIs are to today’s digital revolution what steam-powered engines were to the industrial revolution in the 18th Century. Valuable to consumers, organizations, developers and software vendors alike, APIs are often described as currency in a digital world. APIs are especially valuable to retailers and brands because they deliver the agility needed to quickly build customer experiences.

In this, his third O’Reilly book, author Kelly Goetsch, Chief Product Officer of commercetools, provides readers with both a high-level understanding of APIs, as well as how and why APIs are being used to re-invent commerce.

Read APIs for Modern Commerce to gain a solid understanding of:

  • 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

Table of Contents

  1. Foreword
  2. Acknowledgments
  3. 1. The API Economy
    1. What Is an API?
    2. Digitizing the World
    3. APIs Are the Currency of Commerce
      1. Defining a Channel
    4. Final Thoughts
  4. 2. Modeling APIs
    1. The Case for REST
    2. Serialization Frameworks
    3. API Modeling Best Practices
      1. Documented Using a Specification
      2. Independently Callable
      3. Stateless
      4. Easy to Call
      5. Cacheable
      6. Intuitive
      7. Idempotent
    4. Final Thoughts
  5. 3. Implementing APIs
    1. Identifying Needs of Clients
    2. Applications Backing APIs
    3. Handling Changes to APIs
      1. Evolving APIs
      2. Versioning APIs
    4. Testing APIs
      1. Local Testing
      2. Unit Testing
      3. Load Testing
      4. Integration Testing
    5. Securing APIs
      1. Authentication
      2. Authorization
      3. Request Rate Limiting
      4. Data Validation
    6. Using an API Proxy
    7. Exposing APIs Using GraphQL
    8. Final Thoughts
  6. 4. Consuming APIs
    1. Identify Clients
      1. Internal Applications
      2. Digital Experience Platforms
      3. Custom UIs
    2. API Calling Best Practices
      1. Only Request What You Need
      2. Don’t Make Too Many Calls
      3. Use a Circuit Breaker
      4. Cache on the Client Side
    3. Final Thoughts
  7. 5. Extending APIs
    1. Extending Traditional Enterprise Commerce Platforms
    2. Approaches to Extending APIs
      1. Extending the Default Object Model
      2. Event-Based
      3. Posting Data Using Webhooks
      4. Wrapping API Calls
    3. Final Thoughts
18.222.35.21