Delete Product List
Boolean ProductLists.DeleteProductList(ProductListDeleteProductListParamsparameters, CancellationTokencancellationToken = default)
DELETE/api/v2/public/stores/{store_number}/productlists
Deletes a product list from a store. It can also archive the list, or remove only the header, depending on the request.
Delete Product List
ProductListDeleteProductListParams parameters = new()
{
StoreNumber = "store_number",
ProductListID = 0,
};
var response = await client.ProductLists.DeleteProductList(parameters);
Console.WriteLine(response);true{
"code": 401,
"status": "error",
"message": "Authentication failed.",
"error": "unauthorized",
"error_description": "Authentication failed."
}{
"code": 500,
"status": "fail",
"message": "The request could not be processed.",
"error": "internal_error",
"error_description": "The request could not be processed."
}Returns Examples
true{
"code": 401,
"status": "error",
"message": "Authentication failed.",
"error": "unauthorized",
"error_description": "Authentication failed."
}{
"code": 500,
"status": "fail",
"message": "The request could not be processed.",
"error": "internal_error",
"error_description": "The request could not be processed."
}