apidocs / com.srv4pos.server.api.product / ProductService / put

put

fun put(version: Int, productInfo: ProductInfo): Unit

Put product to the server.

Parameters

version - expected latest version of seller

productInfo - data to put

Exceptions

com.srv4pos.server.api.exceptions.VersionConflictJsonException - if version mismatch

com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException - if tax in com.srv4pos.server.api.product.ProductInfo.tax is not found