Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 2 KB

File metadata and controls

40 lines (34 loc) · 2 KB

UltracartClient::SfvbRenderRequest

Properties

Name Type Description Notes
ancestors_cjson String The chain of ancestor nodes above this one, as CJSON. Elements that inherit layout or styling from a parent render differently without it, so supply it when rendering a node from inside a container rather than a standalone fragment. [optional]
child_containers_json String Child containers this node references, as a JSON object keyed by container id. Compiled into the render context so nested containers resolve. [optional]
cjson String The CJSON node to render. [optional]
context_affiliate_oid Integer Affiliate oid for the rendering context. [optional]
context_blog_post_oid Integer Blog post oid for the rendering context. [optional]
context_group_path String Catalog group path for the rendering context. [optional]
context_item_id String Item id for the rendering context. Required for item bound elements. [optional]
context_order_id String Order id for the rendering context. [optional]
context_page_number String Page number for paginated elements. Defaults to 1. [optional]
context_upsell_offer_oid Integer Upsell offer oid for the rendering context. [optional]
language_iso_code String Language ISO code. Defaults to ENG. [optional]
uri String Storefront URI the node would appear on. Affects rendering of anything page relative. [optional]

Example

require 'ultracart_api'

instance = UltracartClient::SfvbRenderRequest.new(
  ancestors_cjson: null,
  child_containers_json: null,
  cjson: null,
  context_affiliate_oid: null,
  context_blog_post_oid: null,
  context_group_path: null,
  context_item_id: null,
  context_order_id: null,
  context_page_number: null,
  context_upsell_offer_oid: null,
  language_iso_code: null,
  uri: null
)