Champ › Setup guides › Your own website

LiveYour own website

If you (or your web developer) built your own site, it can show your Champ items with live stock and price. Champ owns the product: name, photos, stock and price. Your site decides how it looks.

Set it up

  1. In Champ: Inventory → Sell elsewhere → Your own website → Add a website. Choose which brands it shows.
  2. Copy the site key. It's shown once. Give it to whoever runs your website and keep it out of public pages.
  3. Mark the items you want on the site as published.

For your developer

Call from your website's server (never from the browser, where the key would be visible):

GET https://app.smbizchamp.com/api/v1/products
Authorization: Bearer champ_site_…

The answer is a list of published items. Each has sku, title, brand, category, description, upc, images, quantity (available to sell), in_stock, price, compare_at, shipping_weight, variant grouping (group_key, group_name, variant_label, group_sort) and updated_at. Costs are never included.

Sync address (optional): give Champ a URL on your site. When you press Sync now in Champ, it sends an empty POST there so your site re-reads the product list right away. Without one, your site picks up changes on its own schedule.

Recording sales from your site

If your site takes payment through the Champ Stripe app or Square, those sales record themselves. If it's WooCommerce, use the WooCommerce guide. Otherwise, use Sales → Import or Sales → New sale.

Keep the key safe

Champ stores only a scrambled copy of the key. If it's lost or leaked, revoke it in Champ and make a new one.