Create a PCF product

Changed on

Requires org.write_data. 409 PCF_PRODUCT_DUPLICATE when another product of the organization, archived or not, has the same name or product code.

post/pcf/products

Request

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

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

Created 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