Method: KlaviyoAPI::TemplatesApi#update_universal_content

Defined in:
lib/klaviyo-api-sdk/api/templates_api.rb

#update_universal_content(id, universal_content_partial_update_query, opts = {}) ⇒ Hash<String, Object> Also known as: update_template_universal_content

Update Universal Content Update universal content. The ‘definition` field can only be updated for text blocks at this time.
*Rate limits*:
Burst: `10/s`
Steady: `150/m` Scopes: `templates:write`

Parameters:

  • id (String)

    The ID of the template universal content

  • universal_content_partial_update_query (UniversalContentPartialUpdateQuery)

    Update a universal content by ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Hash<String, Object>)


856
857
858
859
# File 'lib/klaviyo-api-sdk/api/templates_api.rb', line 856

def update_universal_content(id, universal_content_partial_update_query, opts = {})
  data, _status_code, _headers = update_universal_content_with_http_info(id, universal_content_partial_update_query, opts)
  data
end