Use CBS Product API v4
YAAPIPR! But this one is different!
The diff here is going to be big and obnoxious, so sorry about that. An explanation of what's happening here:
- Originally, item creating and updating was provided as a single API. It has since been broken out into two separate APIs. The folder/namespace
product/generated
is now gone, and in its place are two new folders/namespaces,product/create/generated
andproduct/update/generated
. - Both namespaces have their own
InputParameters
andOutputParameters
classes, so these are used in code with e.g.use ...\product\create\generated\InputParameters as CreateInputParameters;
-
ProductInputParametersMapper::toInputParameters
now takes a second argument$type
for the type of operation being performed (create
orupdate
). - A number of new fields have been added to the
Product
class. - The API for the
SoapPriceService
has not changed. It still handles both creates and updates, but utilizing two separate SOAP clients.
Integration testing has not been touched since this does not address the QA CBS endpoints.
Please review: @ahoffmann @weizhong-wang @lloyd-carter @KJOYNER