Skip to main content
POST
cURL

Authorizations

x-auth-apikey
string
header
required

The holder's Base64-encoded PEM SPKI public key. Issued via POST /keys in the DAPP UI. See docs/02-authentication.md.

x-auth-signature
string
header
required

Base64-encoded ECDSA-SHA256 signature over the canonical payload. Curve: secp256k1. Canonical payload rules depend on HTTP method — POST/PATCH/PUT sign the JSON body; GET/DELETE with query sign urlencode(query); GET/DELETE with no query sign '{}'. See docs/02-authentication.md for the full spec.

Body

application/json
name
string
required
description
string
required
locations
string[]
required
isAvailable
boolean
required
isActive
boolean
required
thc
number
required
cbg
number
required
cbd
number
required
batchNumber
string
required
planetDetailIds
string[]
required
wholeSalePrice
number
required
retailPrice
number
required
stockQuantity
number
required
discount
number
required
expiryDate
string<date-time>
required
type
string
strainId
string
flavour
string
feelings
string
effects
string
helpsWith
string
popularity
number
imageUrl
string

Response