Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Get Started with B2C Commerce
Use the CDN Zones API to Configure eCDN

Use the CDN Zones API to Configure eCDN

To set up B2C Commerce development, staging, or production zones, your development team uses the CDN Zones APIs to upload customer certificates to test an Shopper Commerce API (SCAPI) implementation and configure vanity host names for development, staging, and production instances on eCDN.

If you use the CDN-API, you can see the zones that you create in Business Manager. (Available in the 24.4 release) Business Manager supports set up and management of eCDN for development, staging, and production. See Create a Zone in B2C Commerce.

Use the CDN Zones component of the Salesforce Commerce API to configure and manage development, staging, and production eCDN zones.

Note
Note Since the introduction of Selective Origin Shielding and Origin Shielding, all traffic through eCDN enforces origin shielding. The same applies to all configured instances.
  1. Generate a Short Code and Create an API Client ID
    To use the B2C Commerce API (SCAPI), you need:
  2. Create an eCDN Zone and Hostnames
    When a custom SSL certificate isn’t installed to your B2C Commerce development, staging, or production instance POD, or a custom SSL certificate installed to the POD doesn't cover the hostname, create an eCDN zone, and upload the certificate for each domain name.
  3. Migrate Site Traffic for B2C Commerce
    Configure traffic migration to move traffic over to eCDN
  4. Post-Migration Tasks for B2C Commerce
    Post-migration tasks validate your eCDN traffic flow and setup. To complete the post-migration process, coordinate with B2C Commerce Engineering. B2C Commerce Engineering creates and activates a staging Business Manager zone to handle your Business Manager traffic that goes through only your Business Manager host name, for example, staging-<realm>-<customer>.demandware.net.Business Manager supports eCDN for staging instances.
  5. eCDN Maintenance
    Use either Business Manager or the CDN zones API to manage the zones created to support eCDN on your B2C Commerce development, staging, and production instance.
 
Loading
Salesforce Help | Article