Delete Item

DELETE /items/{itemId}

Delete an item and all its associated variants. This operation cannot be undone and will permanently remove the item and its variants from the system.

Path parameters

  • itemId string(guid) Required

    ID of the item to operate on

Responses

  • 204

    Item deleted

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • error string

      401: Invalid Credentials

      404: Resource not found

      422: Unprocessable Entity

    • details string

      404: empty

      401: The credentials presented are not valid to access this resource

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • error string

      401: Invalid Credentials

      404: Resource not found

      422: Unprocessable Entity

    • details string

      404: empty

      401: The credentials presented are not valid to access this resource

  • 422 application/json

    Unprocessable Entity

    Hide response attributes Show response attributes object
    • error string

      401: Invalid Credentials

      404: Resource not found

      422: Unprocessable Entity

    • details string

      404: empty

      401: The credentials presented are not valid to access this resource

DELETE /items/{itemId}
curl \
 --request DELETE 'https://app.getfoundation.com/api/external/v1/items/{itemId}' \
 --header "X-API-Key: $API_KEY"
Response examples (401)
{
  "error": "string",
  "details": "string"
}
Response examples (404)
{
  "error": "string",
  "details": "string"
}
Response examples (422)
{
  "error": "string",
  "details": "string"
}