delete
https://www.pelcro.com/api/v1/core/vendors/
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Delete a vendor. The vendor's user account is not permanently removed — it is converted back to a regular customer.
Example: Remove a vendor who is no longer providing services.
Important Behaviors
- Cannot delete with bills: A vendor with existing bills cannot be deleted. Returns 400.
- Converts to customer: The vendor record is deleted, but the underlying user account is preserved and converted to a customer (type changes from
vendortocustomer). - Event fired:
vendor.deletedevent is dispatched after successful deletion.
