Admin

Update a product status

Activate or deactivate an existing product on the marketplace.

patch/admin/products/{product_id}/status

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/products/{product_id}/status
  • Auth: HTTP bearer

Path parameters

product_idstring uuid required
Example:1c7381d5-20f0-4e59-b1cc-3c24f0b00e80

Request body

activeboolean required

Response

Product status updated successfully

messagestring required
activeboolean required

Changes

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