DELETE /suppliers/:id
Delete the Supplier record from your YourBarMate account. This does not delete the Supplier's YBM Connect account or products. The endpoint does not update Items that still reference this Supplier, so check those links first.
Status codes
200on success400if the Supplier has alast_deliveryvalue400if the Supplier ID is not numeric404on supplier not found
Path properties
id: The numeric Supplier ID from your account.
Response properties
The response is the deleted Supplier.
You can see all the Supplier properties on the GET /suppliers/:id page under "Response properties".
Example request
DELETE /suppliers/1655819191963