deleteProductPhaseWith

suspend fun deleteProductPhaseWith(productId: String, phaseId: String): NetworkingError?

Deletes a specific phase from a product.

Return

A NetworkingError if the request failed, or null on success.

Parameters

productId

The unique identifier of the product that owns the phase.

phaseId

The unique identifier of the phase to delete.


fun deleteProductPhaseWith(productId: String, phaseId: String, completionHandler: (NetworkingError?) -> Unit)

Deletes a specific phase from a product and delivers the result via a callback.

Parameters

productId

The unique identifier of the product that owns the phase.

phaseId

The unique identifier of the phase to delete.

completionHandler

Invoked with a NetworkingError if the request failed, or null on success.