Brands
Update a Brand
Updates a Brand. Send the base_revision you read. Omit a narrative section to keep it. Send null to clear it. The slug changes only when you send a slug: a new name alone never moves the handle. The answer is 409 with error=revision_mismatch if the Brand changed after you read it. It is 409 with error=slug_conflict if another Brand already holds the slug you send.
patch/context/brands/{slug}
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/context/brands/{slug}
- Auth: HTTP bearer
Path parameters
slugstring required
Request body
Example request
{
"base_revision": 4,
"guidelines": "- Name the distance, never the \"journey\".\n- Claim the kilometres the shoe is tested to, and no more.\n- Do not compare the shoe to a named competitor.",
"logo_document_id": "doc_5e2b41",
"messaging": "- One shoe, a thousand kilometres.\n- Resole it twice, and keep running on it.\n- Sold direct, so the price is the cost of the shoe."
}Response
The Brand as it now stands, at the next revision. Send that one back on your next edit.
Example response
{
"createdAt": 1790000000000,
"createdBy": "usr_4d8b12",
"description": "Running shoes sold direct to the runner, made to last a thousand kilometres.",
"guidelines": "- Name the distance, never the \"journey\".\n- Claim the kilometres the shoe is tested to, and no more.\n- Do not compare the shoe to a named competitor.",
"id": "brd_6a9c33",
"identity": "Acme makes one running shoe and sells it direct. The promise is a thousand kilometres on the same pair, and a resole rather than a replacement.",
"logoDocumentId": "doc_5e2b41",
"messaging": "- One shoe, a thousand kilometres.\n- Resole it twice, and keep running on it.\n- Sold direct, so the price is the cost of the shoe.",
"name": "Acme",
"revision": 5,
"slug": "acme",
"updatedAt": 1790086400000,
"voice": "Plain and measured. Short sentences. No superlative the shoe cannot earn.",
"websiteUrl": "https://acme.example"
}Changes
No recorded changes to this operation across all 1 revision of this API.