Welcome to our developer documentation

Get started with the Plant Store API

Welcome to the Plant Store API docs! This site demonstrates how to use Fern to generate API documentation from an OpenAPI file. You can use this site template as a starting point for your own API documentation.

Getting Started

Here you’ll find information about managing your plants, customers, and orders for your plant shop.

Get support

Want to get in touch with the Fern team? Open an issue on GitHub or reach out to us via email. We’re here to help!

Hover over this text

The Quick brown fox jumps over the lazy fox.

JWT authentication

Advanced Tooltip Options

Hover me

Custom positioned tooltip

API Key

API Key

Hello!

Configuration

apiKey
stringRequired

Your API key for authentication

1// Use your <Tooltip tip="Found in your account settings">API key</Tooltip> here
2const client = new APIClient('your-api-key');

Markdown Snippet

For example, suppose a restaurant offers hamburgers. Hover me pliz When a customer orders a hamburger, the restaurant records the order by creating an Order object with a line item (Hamburger). If the buyer wants a cheeseburger instead (a hamburger with cheese), the line item includes a modifier (cheese) with a quantity of 1. If the customer wants extra cheese, the modifier quantity can be 2 or more. Conversely, if the customer doesn’t want any cheese, you don’t need to add the modifiers list at all.

Testing a list here

  1. Oone

    1. Im a sublist
      1. Im a subsublist
        1. Im a subsubsublist
  2. Two

code blocks

1import { PlantClient } from "@plantstore/sdk";
2
3const client = new PlantClient({ apiKey: "YOUR_API_KEY" });
4const plant = await client.createPlant({
5 name: "Monstera",
6 species: "Monstera deliciosa"
7});

if you want to see our archived versions, you can find them here.

this is an accordion title
apiKey
stringRequired

Your API key for authentication

1import requests
2response = requests.get("https://api.plantstore.dev/v3/plants", headers={"Authorization": "Bearer YOUR_API_KEY"})

this is a summary this is a details content

this is a summary this is a details content

1import requests
2
3# Replace api_key with your Merge production API Key
4def create_link_token(user, api_key):
5 body = {
6 "end_user_origin_id": user.organization.id, # unique entity ID
7 "end_user_organization_name": user.organization.name, # your user's organization name
8 "end_user_email_address": user.email_address, # your user's email address
9 "categories": ["hris", "ats", "accounting", "ticketing", "crm"], # choose your category
10 }
11
12 headers = {"Authorization": f"Bearer {api_key}"}
13
14 link_token_url = "https://api.merge.dev/api/integrations/create-link-token"
15 link_token_result = requests.post(link_token_url, data=body, headers=headers)
16 link_token = link_token_result.json().get("link_token")
17
18 return link_token