Visitar URL original
Update Object Schema Relationship | Klaviyo API ReferenceSkip to content

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

KlaviyoKlaviyoDevelopers

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

Update a relationship between object schemas

Revision header
revision: 2026-10-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

Headers

  • revision#stringrequired

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

    2026-10-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 related object schema.

      Example: 01K5YKKQKM819VVGCPZZKGE6D4

    • meta#object
      Show 3 fields
      • relationship_id#stringrequired

        The ULID ID of the relationship.

        Example: 01K5YKKQKM819VVGCPZZKGE6D4

      • name#stringnullable

        The name of the relationship

        Example: subscription

      • description#stringnullable

        The description of the relationship

        Example: The subscription this pet is enrolled in

Responses

204Success

This response has no body.

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