bulk Update Product Phases
suspend fun bulkUpdateProductPhases(productId: String, request: ProductPhaseRequest.BulkUpdateProductPhaseRequest): Pair<ListProductPhaseResponse?, NetworkingError?>
Replaces all phases on a product in a single request.
Return
A Pair containing a ListProductPhaseResponse reflecting the updated phases on success, or a NetworkingError on failure.
Parameters
product Id
The unique identifier of the product whose phases to replace.
request
The complete set of phases to apply to the product.
fun bulkUpdateProductPhases(productId: String, request: ProductPhaseRequest.BulkUpdateProductPhaseRequest, completionHandler: (ListProductPhaseResponse?, NetworkingError?) -> Unit)
Replaces all phases on a product in a single request and delivers the result via a callback.
Parameters
product Id
The unique identifier of the product whose phases to replace.
request
The complete set of phases to apply to the product.
completion Handler
Invoked with a ListProductPhaseResponse reflecting the updated phases on success, or a NetworkingError on failure.