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| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| title | string | Required | — | Descriptive name of the product or asset family. |
| slug | string | Required | — | Unique URL slug for the product (e.g. 'aurora-display-typeface'). |
| shortDescription | string | Required | — | Single-sentence blurb rendered on product cards and listing rails. |
| description | string | Optional | — | Full markdown product overview with feature lists and creative context. |
| categorySlug | string | Required | — | Target category slug (e.g. 'fonts', 'motion', 'templates', 'presets', 'ai-skills'). |
| basePrice | number | Required | — | Standard base price in USD (e.g., 29.00). |
| priceInr | number | Optional | — | Dedicated regional price in Indian Rupees (e.g., 1499.00). |
| priceEur | number | Optional | — | Dedicated regional price in Euros (e.g., 27.00). |
| discountPercent | number | Optional | — | Promotional discount percentage (0 to 100). |
| taxRatePercent | number | Optional | — | Tax percentage rate displayed alongside checkout amounts. |
| fileType | string | Optional | — | Technical format string (e.g. 'OTF / WOFF2 — 6 Weights', 'MOGRT / 4K ProRes'). |
| supportedPlatforms | string | Optional | — | Compatible host tools (e.g., 'Premiere Pro, DaVinci Resolve, Figma, After Effects'). |
| version | string | Optional | — | Release version string (e.g. '1.0.0'). |
| videoUrl | string | Optional | — | Direct MP4/WebM walkthrough or YouTube/Vimeo video embed link. |
| readme | string | Optional | — | Usage instructions, license notice, and installation markdown included in download packages. |
| allowedLicenseSlugs | string[] | Optional | — | Restricted 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"
}