Skip to content

CreateCartRequest

// RB2 Core Connect
namespace CoreConnect.Commerce.Cart;
/// <summary>
/// The create cart request.
/// </summary>
public class CreateCartRequest
{
/// <summary>
/// Gets or sets the line items.
/// </summary>
public required IEnumerable<AddCartLineItemsRequestLineItem> LineItems { get; set; }
/// <summary>
/// Optional anonymous user Identifier.
/// </summary>
public string? AnonymousId { get; set; }
}