Skip to main content
DELETE
/
ecommerce
/
items
/
{id}
Delete Item
curl --request DELETE \
  --url https://api.rootfi.dev/v4/ecommerce/items/{id} \
  --header 'api_key: <api-key>'
{
  "status": "success"
}
Delete an item from the e-commerce platform. This action may be irreversible depending on the underlying platform.
Deleting an item may fail if it has associated orders or inventory records. Remove from active orders before deleting.

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe rootfi_id or platform_id of the item to delete

Authorizations

api_key
string
header
required

Path Parameters

id
string
required

The rootfi_id or platform_id of the item

Response

Item deleted successfully

status
string
required

The status of the api.

Example:

"success"