Set Default Supplier
PUT/api/products/:productId/set-default-supplier/:supplierId
Mark a supplier as the default supplier for a product. Clears the is_default flag from all other suppliers for this product.
Authentication: Requires Bearer token.
Both product_id and supplier_id must exist in the database.
Request
Responses
- 200
Successful response