Skip to main content

Set Default Supplier

PUT 

//:domain/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

OK

Response Headers
    Content-Type