WishListItemDTO Object

Overview

The REST API makes extensive use of the WishListItemDTO object whenever working with a single wish list item.  This article will help you to know the various members of this object.

Requirements

The following pre-requisites will be necessary to accomplish the goals of this article:

  • General understanding of REST and API’s
  • Understanding of C# and/or JavaScript

Getting Started

There are no tasks needed to get started with understanding this object. 

WishListItemDTO

The WishListItemDTO object will contain all of the details of a single wish list item for your Hotcakes Commerce store.

Members

The following table gives you details on the various members of the WishListItemDTO object.  The descriptions are based upon default functionality and the default Viewset included with Hotcakes.

Member Default Description
CustomerId (empty string) Defines the user account that the wish list item belongs to.
Id 0 The unique ID or primary key of the wish list item.
LastUpdatedUtc UtcNow The last updated date is used for auditing purposes to know when the wish list item was last updated.
ProductId (empty string) The unique ID of the product that this wish list item refers to.
Quantity 0 The amount of products that this wish list item is saving.
SelectionData Empty List of OptionSelectionDTO When applicable, the choices or options of the product.
StoreId 0 This is the ID of the Hotcakes store. Typically, this is 1, except in multi-tenant environments.

 

Example of WishListItemDTO

{
   "Errors":[

   ],
   "Content":{
      "Id":1,
      "StoreId":1,
      "CustomerId":"2",
      "LastUpdatedUtc":"\/Date(1403232383908)\/",
      "ProductId":"dfcae0ee-8bcf-4321-8b31-7883b5434285",
      "Quantity":1,
      "SelectionData":[

      ]
   }
}
Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.