Creates a new product list for a store, optionally including initial line items.
ProductListCreateProductListResponse ProductLists.CreateProductList(ProductListCreateProductListParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/public/stores/{store_number}/productlists
Creates a new product list for a store, optionally including initial line items.
ProductListCreateProductListParams parameters = new()
{
StoreNumber = "store_number",
ProductListName = "Produce",
ProductListType = 1,
};
var response = await client.ProductLists.CreateProductList(parameters);
Console.WriteLine(response);{
"product_list_id": 0
}Returns Examples
{
"product_list_id": 0
}