Skip to main content

Replace Product In Packages

POST 

/api/v1/products/:id/used-by/replace

Replace this product with another product in the packages that use it. Requires scope crm:write and the Products add_edit permission on this product. All-or-nothing - the caller must be allowed to edit every changed package and to view the replacement. Refused with 422 when the replacement equals this product, is a package that would contain itself, or has unreadable pricing; refused with 409 when the checked lines changed since the list was read.

Request​

Responses​

Success