{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update the object schema with the given ID.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m`\n\n**Scopes:**\n`custom-objects:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable/apis/update_object_schema.json)","properties":{"path":{"type":"object","properties":{"id":{"description":"The ULID ID of the object schema.","type":"string","examples":["01K61DKJ7EKJ0ES9VE456XF5JG"]}},"required":["id"],"additionalProperties":false},"query":{"type":"object","properties":{"fields[object-schema]":{"type":"array","items":{"type":"string","enum":["description","id","properties","published_at","required","status","title","visibility"]},"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/ObjectSchemaPartialUpdateQuery"}},"required":["path","headers","body"],"additionalProperties":false,"definitions":{"ObjectSchemaPartialUpdateQuery":{"type":"object","properties":{"data":{"$ref":"#/definitions/ObjectSchemaPartialUpdateQueryResourceObject"}},"required":["data"]},"ObjectSchemaPartialUpdateQueryResourceObject":{"type":"object","properties":{"type":{"$ref":"#/definitions/ObjectSchemaEnum"},"id":{"description":"The ULID ID of the object schema.","type":"string","examples":["01K61DKJ7EKJ0ES9VE456XF5JG"]},"attributes":{"type":"object","properties":{"title":{"description":"The title for this object schema","type":["string","null"]},"properties":{"description":"Properties of the object schema","type":["array","null"],"items":{"$ref":"#/definitions/APISchemaProperty"}},"description":{"description":"The description of this object schema","type":["string","null"]},"status":{"description":"The status to move this object schema to. Only `active` and `draft` may be written; setting `active` activates the schema. While activation is in progress, reads may report a `publishing` status.","type":["string","null"],"enum":["active","draft"]},"required":{"description":"Properties that are required on the object schema","type":["array","null"],"items":{"type":"string"}}}}},"required":["type","id","attributes"]},"ObjectSchemaEnum":{"type":"string","enum":["object-schema"]},"APISchemaProperty":{"type":"object","properties":{"id":{"description":"The ID of the schema property. Must be a postive integer.","type":"integer","examples":[1]},"name":{"description":"The name of the schema property","type":"string","examples":["service_plan"]},"type":{"description":"The type of the schema property","type":"string","enum":["boolean","float","int","list_str","string","timestamp"]},"description":{"description":"The description of the schema property","type":["string","null"],"default":""}},"required":["id","name","type"]}}},"name":"Update Object Schema","id":"klaviyo.update_object_schema","example":{"path":{"id":"01K61DKJ7EKJ0ES9VE456XF5JG"},"headers":{"revision":"2026-10-15"},"body":{"data":{"type":"object-schema","id":"01K61DKJ7EKJ0ES9VE456XF5JG","attributes":{}}}},"maxRequests":1,"summary":false}}