Skip to main content

Get a Node

GET 

/catalogs/:catalog_id/releases/:release_id/nodes/:node_id

Returns a node from a published catalog.

note

Currently, published catalogs are limited to the current release and two releases prior to the current release.

You can see the parent nodes a node is associated with in the bread_crumb metadata for each node. This is useful if you want to improve how your shoppers search your store, for example. See Product and Node Associations in Breadcrumb Metadata.

The response lists the products associated with the nodes. If products are curated, they are displayed in curated_products. Product curation allows you to promote specific products within each of your hierarchies, enabling you to create unique product collections in your storefront.

  • If you don't provide any curated_products, products are listed by their updated_at time in descending order, with the most recently updated product first.
  • If you configure curated_products for only a few products, the curated products are displayed first and the other products are displayed in the order of updated_at time.
  • You can only curate 20 products or less. You cannot have more than 20 curated products.
  • If a curated product is removed from a node, the product is also removed from the curated_products list.
  • A product that is curated has the "curated_product": true attribute displayed.

Request

Path Parameters

    catalog_id stringrequired

    The catalog ID.

    release_id stringrequired

    The unique identifier of a published release of the catalog or latestPublished for the most recently published version.

    node_id stringrequired

    The catalog node ID.

Header Parameters

    accept-language string

    The language and locale your storefront prefers. See Accept-Language.

Responses

The catalog node.

Schema
    data object

    A category node in a catalog. Nodes can have child nodes, as well as a list of attached products.

    attributes object

    Resource attributes of a catalog node.

    created_at date-time

    The date and time a node was created.

    published_at date-timenullable

    The date and time a node was published in a catalog.

    description string

    A description of a node.

    label string
    name string

    The name of a node. Names must be unique among sibling nodes in a hierarchy. Otherwise, a name can be non-unique within the hierarchy and across multiple hierarchies.

    slug string

    A slug for the node. Slugs must be unique among sibling nodes in the hierarchy. Otherwise, a slug can be non-unique within the hierarchy and across multiple hierarchies.

    curated_products string[]

    A list of curated products for a node. You can curate your products in your nodes product lists. Product curation allows you to promote specific products within each node in a hierarchy, enabling you to create unique product collections in your storefront.

    status string
    updated_at date-time

    The date and time a node was updated.

    id string

    The unique identifier of a node.

    relationships object

    Relationships to parent and child nodes, and products.

    products object

    A URL to all products associated with a node.

    data object[]
  • Array [
  • id uuid

    A unique identifier for a product.

    type string

    Possible values: [product]

    This represents the type of object being returned. Always product.

  • ]
  • links object

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    related stringrequired

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    children object

    A URL to all child nodes associated with a node.

    links objectrequired

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    related stringrequired

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    parent object

    A URL to all parent nodes associated with a node.

    data objectrequired
    type stringrequired

    Possible values: [node]

    id stringrequired
    links object

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    related stringrequired

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    hierarchy object

    A URL to the hierarchies associated with a node.

    data objectrequired
    type stringrequired

    Possible values: [hierarchy]

    id stringrequired
    links object

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    related stringrequired

    A URL to a related object, for example, catalog rules, hierarchies, price books, products and deltas.

    type string

    This represents the type of object being returned. Always node.

    meta object

    A node's metadata.

    language string

    The node details localized in the supported languages.

    bread_crumb string[]

    Helps you understand the association of products with nodes. It explains how products are associated with parent nodes and the relationship among the array of nodes. This is useful if you want to improve how your shoppers search within you store.

    links object

    Links allow you to move between requests.

    self urinullable

    Single entities use a self parameter with a link the specific resource.

    first urinullable

    Always the first page.

    last urinullable

    This is null if there is only one page.

    prev urinullable

    This is null if there is only one page.

    next urinullable

    This is null if there is only one page.

Loading...