Skip to main content
POST
/
stores
/
{storeId}
/
products
cURL
curl --request POST \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/products/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "productType": "SUBSCRIPTION",
  "price": 1,
  "subtitle": "",
  "description": "",
  "compareAtPrice": 1,
  "images": [
    "<string>"
  ],
  "message": "<string>",
  "fulfillmentMode": "MANAGED_LICENSE",
  "pricingModel": "STANDARD",
  "status": "DRAFT",
  "minimumPrice": 1,
  "maxPerCustomer": 2,
  "availableFrom": "2023-11-07T05:31:56Z",
  "availableUntil": "2023-11-07T05:31:56Z",
  "downloadUrl": "<string>",
  "redirectUrl": "<string>",
  "keyFormat": "ALPHANUMERIC",
  "customPrefix": "<string>",
  "maxActivations": 2,
  "licenseDuration": "THIRTY_DAYS",
  "revokeOnRefund": false,
  "lowStockThreshold": 1,
  "webhookUrl": "<string>",
  "webhookSecret": "<string>",
  "billingInterval": "WEEKLY",
  "billingAnchor": "IMMEDIATELY",
  "trialDays": 1,
  "licenseKeys": [
    "<string>"
  ],
  "variants": [
    {
      "title": "<string>",
      "options": "<unknown>",
      "price": 1,
      "slug": "<string>",
      "description": "<string>",
      "sku": "<string>",
      "compareAtPrice": 1,
      "images": [
        "<string>"
      ],
      "inStock": true,
      "quantity": 1,
      "trackStock": false,
      "position": 1
    }
  ],
  "options": [
    {
      "name": "<string>",
      "values": [
        "<string>"
      ],
      "position": 0
    }
  ],
  "categoryIds": [
    "<string>"
  ]
}
'
{
  "ok": true,
  "data": {
    "id": "prd_8h4t6sqzy3x9w5n2k1m0vqbf",
    "title": "Pro Plan",
    "subtitle": "Everything you need to ship",
    "description": "Full access to the platform — unlimited stores, no transaction caps.",
    "handle": "pro-plan",
    "price": 2900,
    "compareAtPrice": 4900,
    "images": [
      "https://cdn.pandabase.io/products/img_xxx.jpg"
    ],
    "inStock": true,
    "currency": "USD",
    "productType": "DIGITAL",
    "fulfillmentMode": "LICENSE_POOL",
    "pricingModel": "STANDARD",
    "status": "ACTIVE",
    "minimumPrice": null,
    "maxPerCustomer": null,
    "availableFrom": null,
    "availableUntil": null,
    "revokeOnRefund": true,
    "options": [],
    "variants": [],
    "categories": []
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token mode — passes the secret directly. Token starts with sk_.

Path Parameters

storeId
string
required
Required string length: 12 - 48

Body

application/json
title
string
required
Required string length: 1 - 256
productType
required
Available options:
SUBSCRIPTION
price
integer
required
Required range: x >= 0
subtitle
string
default:""
Maximum string length: 512
description
string
default:""
Maximum string length: 10000
compareAtPrice
integer
Required range: x >= 0
images
string[]
Maximum array length: 10
message
string
Maximum string length: 1000
fulfillmentMode
Available options:
MANAGED_LICENSE
pricingModel
Available options:
STANDARD
status
Available options:
DRAFT
minimumPrice
integer
Required range: x >= 0
maxPerCustomer
integer
Required range: x >= 1
availableFrom
string<date-time>
availableUntil
string<date-time>
downloadUrl
string
Maximum string length: 2048
redirectUrl
string
Maximum string length: 2048
keyFormat
Available options:
ALPHANUMERIC
customPrefix
string
Maximum string length: 32
maxActivations
integer
Required range: x >= 1
licenseDuration
Available options:
THIRTY_DAYS
revokeOnRefund
boolean
default:false
lowStockThreshold
integer
Required range: x >= 0
webhookUrl
string
Maximum string length: 2048
webhookSecret
string
Maximum string length: 256
billingInterval
Available options:
WEEKLY
billingAnchor
Available options:
IMMEDIATELY
trialDays
integer
Required range: x >= 0
licenseKeys
string[]
Maximum array length: 1000
Required string length: 1 - 512
variants
object[]
Maximum array length: 4
options
object[]
Maximum array length: 20
categoryIds
string[]
Maximum array length: 20
Required string length: 12 - 48

Response

Default Response

ok
enum<boolean>
required
Available options:
true
data
any
required