Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2026-07-15/reference/update_object_schema.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/update_object_schema.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-07-15

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

Update Object Schema

PATCHhttps://a.klaviyo.com/api/object-schemas/{id}

Update the object schema with the given ID.

Revision header
revision: 2026-07-15required
Scopes
custom-objects:write
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

    The ULID ID of the object schema.

    Example: 01K61DKJ7EKJ0ES9VE456XF5JG

Query parameters

  • fields[object-schema]#string[]

    For more information please visit API overview

    Allowed values:
    • description
    • id
    • properties
    • published_at
    • required
    • status
    • title
    • visibility

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-07-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • object-schema
    • id#stringrequired

      The ULID ID of the object schema.

      Example: 01K61DKJ7EKJ0ES9VE456XF5JG

    • attributes#objectrequired
      Show 5 fields
      • title#stringnullable

        The title for this object schema

      • properties#object[]nullable

        Properties of the object schema

        Show 4 fields
        • id#integerrequired

          The ID of the schema property. Must be a postive integer.

          Example: 1

        • name#stringrequired

          The name of the schema property

          Example: service_plan

        • type#stringrequired

          The type of the schema property

          Allowed values:
          • boolean
          • float
          • int
          • list_str
          • string
          • timestamp
        • description#stringnullable

          The description of the schema property

          Default:

      • description#stringnullable

        The description of this object schema

      • status#stringnullable

        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.

        Allowed values:
        • active
        • draft
      • required#string[]nullable

        Properties that are required on the object schema

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • object-schema
    • id#stringrequired

      The ULID ID of the object schema

      Example: 01K61DKJ7EKJ0ES9VE456XF5JG

    • attributes#objectrequired
      Show 7 fields
      • title#stringrequired

        The title for this object schema

      • description#stringrequired

        The description of this object schema

      • status#stringrequired

        The status of this object schema

        Allowed values:
        • active
        • draft
        • publishing
        • undefined
      • properties#object[]required

        Properties of the object schema

        Show 4 fields
        • id#integerrequired

          The ID of the schema property. Must be a postive integer.

          Example: 1

        • name#stringrequired

          The name of the schema property

          Example: service_plan

        • type#stringrequired

          The type of the schema property

          Allowed values:
          • boolean
          • float
          • int
          • list_str
          • string
          • timestamp
        • description#stringnullable

          The description of the schema property

          Default:

      • required#string[]required

        Properties that are required on the object schema

      • published_at#string<date-time>nullable

        The datetime when this object schema was activated

        Example: 2022-11-08T00:00:00+00:00

      • visibility#stringrequired

        The visibility of this object schema

        Allowed values:
        • private
        • shared
    • relationships#object
      Show 3 fields
      • source-mapping#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • source-mapping
          • id#stringrequired

            The source mapping for this object schema

      • object-schemas#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • object-schema
          • id#stringrequired

            The object schema relationships for this object schema

      • profile-object-schemas#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • profile-object-schema
          • id#stringrequired

            The profile object schema relationships for this object schema

  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string