Skip to content
Get started

Deletes products by product numbers.

ProductDeleteProductsResponse Products.DeleteProducts(ProductDeleteProductsParams?parameters, CancellationTokencancellationToken = default)
DELETE/api/v2/public/products

Deletes products by product numbers.

ParametersExpand Collapse
ProductDeleteProductsParams parameters
IReadOnlyList<string>? productNumber

The product numbers to target.

ReturnsExpand Collapse
class ProductDeleteProductsResponse:

Standard success response returned by mutation endpoints.

string? Data

Optional data payload returned by the operation.

string? Message

Human-readable message describing the result.

Boolean Success

Indicates whether the operation completed successfully.

Deletes products by product numbers.

ProductDeleteProductsParams parameters = new();

var response = await client.Products.DeleteProducts(parameters);

Console.WriteLine(response);
{
  "data": "12345",
  "message": "Record created successfully.",
  "success": true
}
Returns Examples
{
  "data": "12345",
  "message": "Record created successfully.",
  "success": true
}