Triple.Types.Brand (triple v1.0.0)

Copy Markdown View Source

A brand resource as returned by GET /v1/brands/{id}/.

The id you look up here is the same brand_id that surfaces inside enrichment responses (e.g. visual_enrichments.brand_id), so you'll typically call Triple.Brands.fetch/2 when you want to independently refresh or cache a brand's current name/logo.

Summary

Types

t()

@type t() :: %Triple.Types.Brand{
  id: String.t() | nil,
  logo_url: String.t() | nil,
  name: String.t() | nil,
  updated: String.t() | nil
}