Docs/REST API/api_vendor_create_asset
POST/api/v1/vendor/assetsAuthorization: Bearer <token>

Create Product / Asset

Create a new creative asset listing with complete metadata and technical specifications.

Description

Initializes a product listing in Draft status under the authenticated vendor. Sets pricing across currencies (USD, INR, EUR), promotional discount %, sales tax rate %, technical specs (file format, supported platforms, versions), and commercial licensing policies.

Parameters

16 parameters
ParameterTypeRequiredDefaultDescription
titlestringRequiredDescriptive name of the product or asset family.
slugstringRequiredUnique URL slug for the product (e.g. 'aurora-display-typeface').
shortDescriptionstringRequiredSingle-sentence blurb rendered on product cards and listing rails.
descriptionstringOptionalFull markdown product overview with feature lists and creative context.
categorySlugstringRequiredTarget category slug (e.g. 'fonts', 'motion', 'templates', 'presets', 'ai-skills').
basePricenumberRequiredStandard base price in USD (e.g., 29.00).
priceInrnumberOptionalDedicated regional price in Indian Rupees (e.g., 1499.00).
priceEurnumberOptionalDedicated regional price in Euros (e.g., 27.00).
discountPercentnumberOptionalPromotional discount percentage (0 to 100).
taxRatePercentnumberOptionalTax percentage rate displayed alongside checkout amounts.
fileTypestringOptionalTechnical format string (e.g. 'OTF / WOFF2 — 6 Weights', 'MOGRT / 4K ProRes').
supportedPlatformsstringOptionalCompatible host tools (e.g., 'Premiere Pro, DaVinci Resolve, Figma, After Effects').
versionstringOptionalRelease version string (e.g. '1.0.0').
videoUrlstringOptionalDirect MP4/WebM walkthrough or YouTube/Vimeo video embed link.
readmestringOptionalUsage instructions, license notice, and installation markdown included in download packages.
allowedLicenseSlugsstring[]OptionalRestricted license scopes (e.g. ['personal', 'commercial', 'extended']). Null allows all active licenses.

Request Example

curl -X POST https://api.trykrafto.xyz/api/v1/vendor/assets \
  -H "Authorization: Bearer kr_live_token..." \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Quantum Sans Variable Font",
    "slug": "quantum-sans-variable",
    "shortDescription": "Kinetic 9-weight geometric variable sans built for high-contrast motion titles and editorial UI.",
    "description": "Quantum Sans features 9 optical weights with full Latin Extended coverage, tabular numerals, and OpenType ligature alternates.",
    "categorySlug": "fonts",
    "basePrice": 39.00,
    "priceInr": 1999.00,
    "priceEur": 35.00,
    "discountPercent": 15,
    "fileType": "OTF / TTF / WOFF2",
    "supportedPlatforms": "Figma, Adobe CC, Web / CSS, After Effects",
    "version": "1.0.0",
    "readme": "# Quantum Sans Installation\n\nCopy .woff2 files to your web root or install .otf into your system font registry.",
    "allowedLicenseSlugs": ["personal", "commercial", "extended"]
  }'

Response Example

application/json (200 OK)
{
  "id": "6f94726b-67a3-41bb-a5a4-927429beecfa",
  "vendorId": "usr_82310_bcd",
  "title": "Quantum Sans Variable Font",
  "slug": "quantum-sans-variable",
  "shortDescription": "Kinetic 9-weight geometric variable sans.",
  "categorySlug": "fonts",
  "basePrice": 39,
  "currency": "USD",
  "status": "Draft",
  "fileType": "OTF / TTF / WOFF2",
  "supportedPlatforms": "Figma, Adobe CC, Web",
  "version": "1.0.0"
}