Klaviyo · Schema

ServerBISSubscriptionCreateQueryResourceObject

MarketingEmailSMSCustomer DataE-CommerceAutomation

Properties

Name Type Description
type object
attributes object
relationships object
View JSON Schema on GitHub

JSON Schema

klaviyo-serverbissubscriptioncreatequeryresourceobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ServerBISSubscriptionCreateQueryResourceObject",
  "title": "ServerBISSubscriptionCreateQueryResourceObject",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/BackInStockSubscriptionEnum"
    },
    "attributes": {
      "type": "object",
      "properties": {
        "channels": {
          "description": "The channel(s) through which the profile would like to receive the back in stock notification. This can be leveraged within a back in stock flow to notify the subscriber through their preferred channel(s).",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "EMAIL",
              "PUSH",
              "SMS",
              "WHATSAPP"
            ],
            "description": "The different channel types that a profile could subscribe to BIS notifications for"
          },
          "example": [
            "EMAIL",
            "SMS"
          ]
        },
        "profile": {
          "type": "object",
          "example": {
            "data": {
              "type": "profile",
              "attributes": {
                "id": "01GDDKASAP8TKDDA2GRZDSVP4H",
                "email": "sarah.mason@klaviyo-demo.com",
                "phone_number": "+15005550006",
                "external_id": "63f64a2b-c6bf-40c7-b81f-bed08162edbe"
              }
            }
          },
          "nullable": true,
          "properties": {
            "data": {
              "$ref": "#/components/schemas/ProfileIdentifierDTOResourceObject"
            }
          },
          "required": [
            "data"
          ]
        }
      },
      "required": [
        "channels"
      ]
    },
    "relationships": {
      "type": "object",
      "properties": {
        "variant": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "type": {
                  "$ref": "#/components/schemas/CatalogVariantEnum"
                },
                "id": {
                  "description": "The catalog variant ID for which the profile is subscribing to back in stock notifications. This ID is made up of the integration type, catalog ID, and and the external ID of the variant like so: `integrationType:::catalogId:::externalId`. If the integration you are using is not set up for multi-catalog storage, the 'catalogId' will be `$default`. For Shopify `$shopify:::$default:::33001893429341`",
                  "type": "string",
                  "example": "$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM"
                }
              },
              "required": [
                "type",
                "id"
              ]
            }
          }
        }
      },
      "required": [
        "variant"
      ]
    }
  },
  "required": [
    "type",
    "attributes",
    "relationships"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/klaviyo-serverbissubscriptioncreatequeryresourceobject"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.