Skip to content

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:

  1. 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 and product/update/generated.
  2. Both namespaces have their own InputParameters and OutputParameters classes, so these are used in code with e.g. use ...\product\create\generated\InputParameters as CreateInputParameters;
  3. ProductInputParametersMapper::toInputParameters now takes a second argument $type for the type of operation being performed (create or update).
  4. A number of new fields have been added to the Product class.
  5. 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

Merge request reports

Loading