Delete a Supplier

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

  • 200 on success
  • 400 if the Supplier has a last_delivery value
  • 400 if the Supplier ID is not numeric
  • 404 on 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