Develop

This section provides resources for building applications and services using the B2C Commerce APIs (SCAPI), including use cases and code samples to guide you through API capabilities and best practices.

The B2C Commerce APIs are organized into two categories:

  • Shopper APIs for customer-facing storefront experiences, authenticated with SLAS.
  • SCAPI Admin APIs for backend operations and integrations, authenticated with Account Manager.

For the current API surface, use these source-of-truth references:

As discussed in Getting Started, the B2C Commerce APIs are categorized as:

  • Shopper APIs
    • Prefixed with Shopper
    • Used for storefront applications
    • Uses Shopper Admin API to access the API client
  • SCAPI Admin APIs
    • Used for backend office applications
    • Uses Account Manager to access the API client

Choose the path that matches your development goal. These are starting paths, not exhaustive implementation checklists.

  1. Set up authentication: Configure SLAS authentication for your storefront
  2. Explore Shopper APIs: Review Use the Shopper APIs and the B2C Commerce API references
  3. Implement key features: Start with product browsing, cart, and checkout flows
  4. Optimize: Apply performance best practices
  1. Get Admin access: Set up Account Manager credentials
  2. Identify your APIs: Review Use the SCAPI Admin APIs and the B2C Commerce API references
  3. Build integrations: Implement inventory sync, CDN configuration, or custom workflows
  4. Monitor and test: Use API testing tools
  1. Review Storefront Next architecture: Start with Storefront Next documentation
  2. Confirm login and registration capabilities: See Login and Registration Support in Storefront Next
  3. Configure SLAS and storefront features: Follow the relevant Storefront Next authentication guides
  4. Deploy and test: Use managed runtime environments for validation
  1. Review PWA Kit requirements: See PWA Kit documentation
  2. Configure SLAS: Set up authentication for your PWA Kit storefront
  3. Customize API calls: Extend or modify API interactions in your PWA Kit project
  4. Deploy and test: Use managed runtime environments for testing

Make sure you have completed the following tasks:

  • Determine the APIs that apply to your application: Shopper or SCAPI Admin.
  • Obtain the required base URL configuration values and request formation. This applies to both Shopper and SCAPI Admin APIs.
  • Set up authentication and authorization for your APIs. This includes creating an API client for Shopper APIs or SCAPI Admin APIs.