Upsert media metadata by wire id (secret key).
PUT
/merchants/{merchant_slug}/media/{media_id}
const url = 'https://quikstik-core.fly.dev/merchants/example/media/example';const options = {method: 'PUT'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://quikstik-core.fly.dev/merchants/example/media/exampleCreates or updates media metadata by wire id, idempotently; preserves the asset’s internal identity when the wire id already exists. Binaries live on the CDN.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”merchant_slug
required
string
media_id
required
string
Responses
Section titled “Responses”Upserted; body echoes the wire id.
Missing or rejected secret key.
Unknown merchant.
Content store unavailable.