FlxpointAPI Help CenterBeta

Delete Inventory Parent

deletehttps://api.flxpoint.com/inventory/parent/{parentId}

Use this when you want to delete inventory 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.

Endpoint to delete parent inventory and all of its variants.

Request

Example request

delete/inventory/parent/{parentId}
curl -X DELETE "https://api.flxpoint.com/inventory/parent/{parentId}" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN"

Responses

200OKapplication/json
numberOfInventoryVariantsDeletedinteger
default 0
numberOfInventoryParentsDeletedinteger
default 0
Example response
{
  "numberOfInventoryVariantsDeleted": 0,
  "numberOfInventoryParentsDeleted": 0
}
401Unauthorized

No schema documented for this status.

404Not Found

No schema documented for this status.

409Conflict

No schema documented for this status.

OpenAPI fragment
{
  "delete": {
    "summary": "Delete Inventory Parent",
    "description": "Endpoint to delete parent inventory and all of its variants.",
    "parameters": [],
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DeleteInventoryResponse"
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized"
      },
      "404": {
        "description": "Not Found"
      },
      "409": {
        "description": "Conflict"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight