Docs/REST API/api_vendor_update_asset
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
ParameterTypeRequiredDefaultDescription
idstringRequiredTarget asset GUID.
titlestringRequiredUpdated asset title.
shortDescriptionstringRequiredUpdated short blurb.
descriptionstringRequiredUpdated long markdown description.
categorySlugstringRequiredUpdated category slug.
basePricenumberRequiredUpdated USD price.
discountPercentnumberOptionalUpdated discount percentage.
fileTypestringOptionalUpdated file type descriptor.
supportedPlatformsstringOptionalUpdated compatible applications.
versionstringOptionalUpdated 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"
}