Delete Listing Parent
delete
https://api.flxpoint.com/listing/parents/{parentId}Use this when you want to delete listing 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 listing and all of it’s variants.
Request
Example request
delete
/listing/parents/{parentId}curl -X DELETE "https://api.flxpoint.com/listing/parents/{parentId}" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN"Responses
200OKapplication/json
numberOfListingVariantsDeletedintegerdefault
0numberOfListingParentsDeletedintegerdefault
0numberOfVariantsThatWereLinkedintegerdefault
0Example response
{
"numberOfListingVariantsDeleted": 0,
"numberOfListingParentsDeleted": 0,
"numberOfVariantsThatWereLinked": 0
}401Unauthorized
No schema documented for this status.
404Not Found
No schema documented for this status.
OpenAPI fragment
{
"delete": {
"summary": "Delete Listing Parent",
"description": "Endpoint to delete parent listing and all of it’s variants.",
"parameters": [],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteListingResponse"
}
}
}
},
"401": {
"description": "Unauthorized"
},
"404": {
"description": "Not Found"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight