Skip to main content
DELETE
https://app.qwoty.io
/
api
/
payment-terms
/
{id}
Delete Payment Term
curl --request DELETE \
  --url https://app.qwoty.io/api/payment-terms/{id}
{
  "success": true,
  "message": "Payment term deleted successfully"
}

Path Parameters

id
string
required
UUID of the payment term to delete
You cannot delete a payment term that is currently in use by active quotes or contracts.

Examples

curl -X DELETE https://app.qwoty.io/api/payment-terms/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer qwoty_your_token"

Response

success
boolean
Indicates if the deletion was successful
message
string
Confirmation message
{
  "success": true,
  "message": "Payment term deleted successfully"
}

Error Responses

{
  "success": false,
  "error": "Payment term not found"
}

Alternative: Deactivate Instead

If you want to stop using a payment term but preserve it for historical records, consider deactivating it instead:
curl -X PUT https://app.qwoty.io/api/payment-terms/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer qwoty_your_token" \
  -H "Content-Type: application/json" \
  -d '{
    "is_active": false
  }'
Deactivating a payment term prevents it from being used in new quotes while preserving all historical data.