Product

GetCandy\Api\Core\Products\Models\Product

GitHub View class

Default Attributes

  • id - The encoded ID

Whatever custom attributes are assigned to the product are also included in the output.

Example

{
  "data": {
    "id": "lnrxvznx",
    "brand": "Jolly Rancher",
    "name": "Jolly Ranchers Assorted Flavours Hard Candy",
    "page_title": "The sweetest Candy in the Galaxy",
    "product_information": "A piece of Candy"
}

Available includes

  • attributes
  • assets
  • family
  • routes
  • channels
  • firstVariant
  • variants
  • categories
  • discounts
  • collections
  • associations
  • customerGroups