TheShop
  • Home
    • TheShop: Headless e-commerce platform with API-first approach
  • GETTING STARTED
    • Quickstart guide
  • frontstore
    • Introduction
      • Types of frontstores
    • API
      • Frontstore API
      • Template customization
    • API client for Laravel
      • Example: Find products by keyword and include sold out products with available attributes to filter
    • Basic selling flow
      • Homepage
      • Product list
      • Product detail
        • Availability and count info in products
        • Add products to cart
        • Variants tree
      • Shopping cart (Basket)
        • Shopping cart list
        • Voucher (discount code)
      • Shipping and payment
      • Checkout
        • Completing order – payment flow
    • Contact form
    • Headless CMS
    • Caching
    • Known Issues
    • FAQ
Powered by GitBook
On this page
  • Generate API key
  • Editing the Source
  1. frontstore
  2. API

Frontstore API

PreviousAPINextTemplate customization

Last updated 2 years ago

In this section, you can find all basic information about the TheShop frontstore API.

Generate API key

You can generate an API key in TheShop administration:

  1. In TheShop administration, navigate to .

  2. Click the arrow icon in the top right corner of chosen e-shop catalog section to expand it. You can see the catalog ID shown above the generate button. Click Generate new API key. Do not use Developer API section to generate the API key. This section hasn't been activated yet.

  3. In the dialog window, copy the API key (ensure to save the API key as it won't be possible to show it again) and then click Confirm and save.

  4. Navigate to . Above the API calls, you can see API endpoint.

Editing the Source

If you want to edit or delete anything in the Source of WYSIWYG Editor in TheShop administration, you need to switch back to the Editor and save it there.

API section
TheShop frontstore API v2
Generate API key
Editing the Source
Generate new API key button
API endpoint