PATCH
/api/v1/vendor/assets/{id}Authorization: Bearer <token>Update Product Details
Update existing product descriptions, pricing, discounts, and technical specs.
Description
Modifies core fields on an existing product in Draft, Rejected, or Published status.
Parameters
10 parameters| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Required | — | Target asset GUID. |
| title | string | Required | — | Updated asset title. |
| shortDescription | string | Required | — | Updated short blurb. |
| description | string | Required | — | Updated long markdown description. |
| categorySlug | string | Required | — | Updated category slug. |
| basePrice | number | Required | — | Updated USD price. |
| discountPercent | number | Optional | — | Updated discount percentage. |
| fileType | string | Optional | — | Updated file type descriptor. |
| supportedPlatforms | string | Optional | — | Updated compatible applications. |
| version | string | Optional | — | Updated version string. |
Request Example
curl -X PATCH https://api.trykrafto.xyz/api/v1/vendor/assets/6f94726b-67a3-41bb-a5a4-927429beecfa \
-H "Authorization: Bearer kr_live_token..." \
-H "Content-Type: application/json" \
-d '{
"title": "Quantum Sans v1.1.0",
"shortDescription": "Updated with Cyrillic support and tighter kerning pairs.",
"description": "Full release notes in the changelog.",
"categorySlug": "fonts",
"basePrice": 39.00,
"fileType": "OTF / WOFF2",
"version": "1.1.0"
}'Response Example
application/json (200 OK)
{
"id": "6f94726b-67a3-41bb-a5a4-927429beecfa",
"title": "Quantum Sans v1.1.0",
"version": "1.1.0"
}