soldout_display in product and stock APIs now returns values matching shop settings

The soldout_display boolean in Colorme Shop API now reflects actual store settings instead of returning inverted values.

Required action

If you implemented logic to invert the value of soldout_display, remove that processing.

Changes

  • When out-of-stock display is set to display products, true is returned, and when set to not display products, false is returned.
  • If the per-product out-of-stock display setting is unconfigured, the value follows the out-of-stock setting in stock display settings.
  • Per-product settings take priority over stock display settings.
  • Write operations are unaffected because soldout_display cannot be specified in product creation or update requests.

Affected areas

soldout_displayGET /v1/productsGET /v1/products/{id}POST /v1/productsPUT /v1/products/{id}GET /v1/stocks

Open official page

This summary is independently created by Release Radar and is not an official announcement from the vendor. Please read the official page for accurate details.