POST
/
plants
curl --request POST \
  --url http://sandbox.mintlify.com/plants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "tag": "<string>",
  "id": 123
}'
{
  "name": "<string>",
  "tag": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Plant to add to the store

name
string
required

The name of the plant

id
integer
required

Identification number of the plant

tag
string

Tag to specify the type

Response

200
application/json

plant response

name
string
required

The name of the plant

tag
string

Tag to specify the type