Product & variant

Delete product and all variants

Deletes every variant for the given product ID, soft-deletes all Inventory rows tied to the product, soft-deletes every CatalogVisibility row referencing the product, then deletes the product. Scoped to the API key company.

delete/v1/workflows/product/by-product/{productId}

Request

  • Base URL: https://api.finalpos.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.finalpos.com/v1/workflows/product/by-product/{productId}
  • Auth: API key in header x-api-key

Path parameters

productIdstring required

Product ID

Response

Product and variants deleted.

statusCodenumber required

HTTP status code

messagestring required

Message describing the result of the operation

Example response

{
  "statusCode": 200,
  "message": "Resource with Id 123 deleted successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.