Skip to content

Overview

Build a storefront for shoppers. Catalog and content routes take a publishable key (safe in a browser); routes that write or touch a shopper or an order need a storefront secret key, sent only from a server. Signed-in shopper routes also take a customer token. See https://developers.ecomweb.app/guides/authentication/ for how authentication works.

Information

  • OpenAPI version: 3.0.0

A publishable key (pk_live_…), safe in a browser. Catalog and content routes only; a storefront secret key works there too.

Security scheme type: apiKey

Header parameter name: x-storefront-api-key

A storefront secret key (sk_storefront_…), sent only from a server. Required on routes that write or touch a shopper or an order.

Security scheme type: apiKey

Header parameter name: x-storefront-api-key

Customer access token from the customer auth routes.

Security scheme type: http