Skip to main content
Version: 5.7.0

ProductManagement

ProductManagement is a new service that allows devs to create/edit/delete products and prices programmatically via S2S and cloud-code.

API Summary

ProductManagement

  • SysGetProductList - Returns the list of products (summary details only) for the specified category (optional).
  • SysReadProduct - Retrieve the full product meta-data for the specified product.
  • SysCreateProduct - Creates a new product with the specifed values.
  • SysUpdateProduct - Updates an existing product with the specifed values. Pass -1 as the version to bypass version checking.
  • SysDeleteProduct - Delete the product item.
  • SysAddProductPrice - Adds a new price to the given product item.
  • SysUpdateProductPrice - Updates (replaces) a price for the given product item.
  • SysDeleteProductPrice - Deletes a price for the given product item. If the priceId being deleted is the currently active price, the defaultPriceId will be set to -1 (not-for-sale).
  • SysSetDefaultProductPrice - Sets the default (i.e. active) price for the given product item.