Skip to main content

Get Current Default for BOM

GET 

/api/manufacturing/boms/1/current-default

Returns the BOM currently marked default for the same product/variant as the given BOM, excluding the given BOM itself. Used by the UI to name the existing default in a "Set as Default" confirmation dialog (e.g. "This will replace 'Vanilla Latte v2' as the default."). Returns { "data": { id, name, version_number } } when another default exists; returns { "data": null } when there is no other default for that product/variant.

Request

Responses

OK

Response Headers
    Content-Type