Delete Orphaned Product Categories
delete
https://api.flxpoint.com/product/category/orphanedUse this when you want to delete product data through the API.
🔑 X-API-TOKEN⏱ 2 req/sToken: Account · Source · Channel
This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.
Delete all orphaned product categories for the account (categories with no products or variants associated)
Request
Example request
delete
/product/category/orphanedcurl -X DELETE "https://api.flxpoint.com/product/category/orphaned" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN"Responses
200OKapplication/json
deletedCountintegerrequireddefault
0Example response
{
"deletedCount": 0
}401Unauthorized
No schema documented for this status.
OpenAPI fragment
{
"delete": {
"summary": "Delete Orphaned Product Categories",
"description": "Delete all orphaned product categories for the account (categories with no products or variants associated)",
"parameters": [],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteOrphanedCategoriesResponse"
}
}
}
},
"401": {
"description": "Unauthorized"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight