Skip to content

Update Supplier Packaging Unit dimension values

Request

Updates Supplier Packaging Unit dimension values.

Security
Bearer
Query
centerIdstring, (uuid)
Body
supplierIdstring, (uuid)

Identifier of the supplier associated with the record.

packagingUnitRecordIdinteger, (int32)

Identifier of the packaging unit record associated with the supplier.

idinteger, (int32)

Unique identifier for the record.

curl -i -X PUT \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/SupplierPackagingUnit?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db",
    "packagingUnitRecordId": 0,
    "id": 0
  }'

Responses

Successfully updated Supplier Packaging Unit values

Bodyapplication/json
idinteger, (int32)

Gets or sets the database identifier.

guidstring, (uuid)

Gets or sets the unique identifier.

centerIdstring or null, (uuid)

Gets or sets the associated center identifier.

supplierIdstring, (uuid)

Gets or sets the supplier identifier.

supplierNamestring or null

Gets or sets the supplier name.

packagingUnitRecordIdinteger, (int32)

Gets or sets the packaging unit record identifier.

packagingUnitIdstring or null

Gets or sets the packaging unit identifier.

packagingUnitNamestring or null

Gets or sets the packaging unit name.

tranIdstring, (uuid)

Gets or sets the transaction identifier.

Response
{ "id": 0, "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "centerId": "282cb687-20cd-4f37-9b5b-b30c06eb5b1b", "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db", "supplierName": "string", "packagingUnitRecordId": 0, "packagingUnitId": "string", "packagingUnitName": "string", "tranId": "0966b546-a6c9-4141-86ae-3d3862f1f36c" }