Replace a PCF product's details

Changed on

Replaces name, code, description, declared unit and region. Requires org.write_data.

put/pcf/products/{productId}

Request

  • Base URL
    https://api.greentally.ai/v1
  • Auth
    HTTP bearer

Path parameters

productIdstring required

Request body

declaredQuantitynumber double nullable
declaredUnitstring nullable
descriptionstring nullable
namestring required
productCodestring nullable
regionCodestring nullable
source'manual' | 'upload' nullable

Set when creating; upload marks a product whose first BOM import becomes its source file. Ignored on update.

Response

Updated product

Changes

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    2 more changes in this revision