Skip to main content
PATCH
Edit a library asset

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Path Parameters

id
string
required

The library asset's id.

Body

application/json
name
string

Letters, digits, - and _ only (no spaces), up to 50.

Maximum string length: 50
Pattern: ^[a-zA-Z0-9_-]+$
description
string | null

What it is, up to 1000 characters.

Maximum string length: 1000
gender
string | null

Characters only.

Maximum string length: 32
product_type
string | null

Products only.

Maximum string length: 64
cover
object

The cover, as {"creation_id": "…"} or {"url": "https://…"}.

images
object[]

1 to 6 images, each {"creation_id": "…"} or {"url": "https://…"} (JPEG, PNG or WebP, up to 25 MB). The first is the cover.

Required array length: 1 - 6 elements

Response

data
object
required