E-commerce

Commerce.js

Commerce.js is a headless storefront API — products, the categories they are filed under.

Authentication

  • API key

Actions

Generic API request. Call any Commerce.js API endpoint on this connection, for the case where no shipped action covers it yet. The connection supplies the base URL, the authentication and the egress route, so only the path, query and body are yours to fill.

  • Get productFetch one Commerce.js product by id to read its name and description before adding it to a cart or rendering it.
  • List categoriesList the product categories in the Commerce.js store, to resolve a category id or slug for navigation or for filtering products.
  • List productsList products (GET /products).

Product names, logos and brands are the property of their respective owners and are used here for identification only. Their use does not imply endorsement by, or affiliation with, those owners.