{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Partial update of the brand email defaults for the authenticated account.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m`\n\n**Scopes:**\n`brands:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable/apis/update_brand_email_default.json)","properties":{"path":{"type":"object","properties":{"id":{"description":"The ID of the brand email defaults (must equal the account ID).","type":"string","examples":["abc123"]}},"required":["id"],"additionalProperties":false},"query":{"type":"object","properties":{"fields[brand-email-default]":{"type":"array","items":{"type":"string","enum":["body","body.background_color","body.body_background_color","body.h1_text","body.h1_text.color","body.h1_text.font_family","body.h1_text.font_size","body.h1_text.font_style","body.h1_text.font_weight","body.h1_text.letter_spacing","body.h1_text.text_decoration","body.h2_text","body.h2_text.color","body.h2_text.font_family","body.h2_text.font_size","body.h2_text.font_style","body.h2_text.font_weight","body.h2_text.letter_spacing","body.h2_text.text_decoration","body.h3_text","body.h3_text.color","body.h3_text.font_family","body.h3_text.font_size","body.h3_text.font_style","body.h3_text.font_weight","body.h3_text.letter_spacing","body.h3_text.text_decoration","body.h4_text","body.h4_text.color","body.h4_text.font_family","body.h4_text.font_size","body.h4_text.font_style","body.h4_text.font_weight","body.h4_text.letter_spacing","body.h4_text.text_decoration","body.link_text","body.link_text.color","body.link_text.font_family","body.link_text.font_size","body.link_text.font_style","body.link_text.font_weight","body.link_text.letter_spacing","body.link_text.text_decoration","body.text","body.text.color","body.text.font_family","body.text.font_size","body.text.font_style","body.text.font_weight","body.text.letter_spacing","body.text.text_decoration","footer","footer.background_color","footer.link_text","footer.link_text.color","footer.link_text.font_family","footer.link_text.font_size","footer.link_text.font_style","footer.link_text.font_weight","footer.link_text.letter_spacing","footer.link_text.text_decoration","footer.social_group_color","footer.text","footer.text.color","footer.text.font_family","footer.text.font_size","footer.text.font_style","footer.text.font_weight","footer.text.letter_spacing","footer.text.text_decoration","header","header.background_color","header.link_text","header.link_text.color","header.link_text.font_family","header.link_text.font_size","header.link_text.font_style","header.link_text.font_weight","header.link_text.letter_spacing","header.link_text.text_decoration","header.links","header.logo_max_width","id"]},"description":"For more information please visit https://developers.klaviyo.com/en/v2026-10-15/reference/api-overview#sparse-fieldsets"}},"required":[],"additionalProperties":false},"headers":{"type":"object","properties":{"revision":{"type":"string","default":"2026-10-15","enum":["2026-10-15"],"description":"API endpoint revision (format: YYYY-MM-DD[.suffix])"}},"required":["revision"],"additionalProperties":false},"body":{"$ref":"#/definitions/BrandEmailDefaultPartialUpdateQuery"}},"required":["path","headers","body"],"additionalProperties":false,"definitions":{"BrandEmailDefaultPartialUpdateQuery":{"type":"object","properties":{"data":{"$ref":"#/definitions/BrandEmailDefaultPartialUpdateQueryResourceObject"}},"required":["data"]},"BrandEmailDefaultPartialUpdateQueryResourceObject":{"type":"object","properties":{"type":{"$ref":"#/definitions/BrandEmailDefaultEnum"},"id":{"description":"The ID of the brand email defaults (must equal the account ID).","type":"string","examples":["abc123"]},"attributes":{"type":"object","properties":{"body":{"$ref":"#/definitions/BrandEmailBodyPatchAttributes"},"header":{"$ref":"#/definitions/BrandEmailHeaderPatchAttributes"},"footer":{"$ref":"#/definitions/BrandEmailFooterPatchAttributes"}}},"relationships":{"type":"object","properties":{"brand-button":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"$ref":"#/definitions/BrandButtonEnum"},"id":{"type":"string"}},"required":["type","id"]}}},"brand-logo":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"$ref":"#/definitions/BrandLogoEnum"},"id":{"type":"string"}},"required":["type","id"]}}},"brand-social-group":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"$ref":"#/definitions/BrandSocialGroupEnum"},"id":{"type":"string"}},"required":["type","id"]}}}}}},"required":["type","id","attributes"]},"BrandEmailDefaultEnum":{"type":"string","enum":["brand-email-default"]},"BrandEmailBodyPatchAttributes":{"type":"object","properties":{"background_color":{"description":"Hex color for the body section background.","type":["string","null"],"examples":["#ffffff"]},"body_background_color":{"description":"Hex color for the canvas behind the body content. Visible as a frame around the body when the email is wider than the body.","type":["string","null"],"examples":["#f5f5f5"]},"text":{"$ref":"#/definitions/BrandLibraryTextStyles"},"h1_text":{"$ref":"#/definitions/BrandLibraryTextStyles"},"h2_text":{"$ref":"#/definitions/BrandLibraryTextStyles"},"h3_text":{"$ref":"#/definitions/BrandLibraryTextStyles"},"h4_text":{"$ref":"#/definitions/BrandLibraryTextStyles"},"link_text":{"$ref":"#/definitions/LinkTextStyles"}}},"BrandEmailHeaderPatchAttributes":{"type":"object","properties":{"background_color":{"description":"Hex color for the header background.","type":["string","null"],"examples":["#000000"]},"links":{"description":"Header navigation links rendered above the body.","type":["array","null"],"items":{"$ref":"#/definitions/EmailHeaderLink"}},"link_text":{"$ref":"#/definitions/LinkTextStyles"},"logo_max_width":{"description":"Maximum rendered width of the header logo, in pixels. Omit to preserve the currently stored value; send `null` to clear it (the logo will render at its natural width).","type":["integer","null"],"examples":[160]}}},"BrandEmailFooterPatchAttributes":{"type":"object","properties":{"background_color":{"description":"Hex color for the footer background.","type":["string","null"],"examples":["#ffffff"]},"text":{"$ref":"#/definitions/BrandLibraryTextStyles"},"link_text":{"$ref":"#/definitions/LinkTextStyles"},"social_group_color":{"description":"Color treatment to apply to social-group icons in the footer (`black`, `default`, `grey`, or `white`).","type":["string","null"],"enum":["black","default","grey","white"],"examples":["default"]}}},"BrandButtonEnum":{"type":"string","enum":["brand-button"]},"BrandLogoEnum":{"type":"string","enum":["brand-logo"]},"BrandSocialGroupEnum":{"type":"string","enum":["brand-social-group"]},"BrandLibraryTextStyles":{"type":"object","properties":{"color":{"type":"string"},"font_size":{"type":"integer"},"font_style":{"description":"Font style.","type":"string","enum":["italic","normal"]},"font_family":{"type":"string"},"font_weight":{"description":"Font weight.","type":"integer","enum":[100,200,300,400,500,600,700,800,900]},"letter_spacing":{"oneOf":[{"type":"string"},{"type":"integer"}]},"text_decoration":{"description":"Text decoration.","type":"string","enum":["","line-through","line-through underline","none","underline","underline line-through"]}},"required":["color","font_size","font_style","font_family","font_weight","letter_spacing","text_decoration"]},"LinkTextStyles":{"type":"object","properties":{"color":{"type":"string"},"font_size":{"type":["integer","null"]},"font_style":{"description":"Font style.","type":"string","enum":["italic","normal"]},"font_weight":{"description":"Font weight.","type":["integer","null"],"enum":[100,200,300,400,500,600,700,800,900]},"font_family":{"type":["string","null"]},"letter_spacing":{"oneOf":[{"type":"string"},{"type":"integer"}]},"text_decoration":{"description":"Text decoration.","type":"string","enum":["","line-through","line-through underline","none","underline","underline line-through"]}},"required":["color","font_style","text_decoration"]},"EmailHeaderLink":{"type":"object","properties":{"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"]}}},"name":"Update Brand Email Default","id":"klaviyo.update_brand_email_default","example":{"path":{"id":"abc123"},"headers":{"revision":"2026-10-15"},"body":{"data":{"type":"brand-email-default","id":"abc123","attributes":{}}}},"maxRequests":1,"summary":false}}