Update a product (name, category, active, negative stock rule). Send expected_version

patch/api/v1/products/{id}

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/products/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

expected_versioninteger
namestring
descriptionstring
category_idstring uuid
activeboolean
track_stockboolean
allow_negative_stockboolean

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.