Revise an entry under an If-Match sequence precondition (secret key).
PUT
/merchants/{merchant_slug}/content/{type_slug}/{entry_slug}
const url = 'https://quikstik-core.fly.dev/merchants/example/content/example/example?validate_only=false';const options = {method: 'PUT', headers: {'If-Match': 'example'}};
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/content/example/example?validate_only=false' \ --header 'If-Match: example'Appends a new revision. Requires If-Match carrying the sequence the caller last read (428 without it); a lost race is 409 carrying currentSequence so retry is a deliberate read-merge-write. validate_only=true rehearses without writing.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”merchant_slug
required
string
type_slug
required
string
entry_slug
required
string
Header Parameters
Section titled “Header Parameters”If-Match
required
string
Query Parameters
Section titled “Query Parameters”validate_only
boolean
Responses
Section titled “Responses”Revision appended; body carries the new sequence.
Missing or rejected secret key.
Unknown merchant, type, or entry.
Sequence precondition failed; body carries currentSequence.
Complete validation issue list with JSON Pointers.
If-Match sequence header required.
Content store unavailable.