Skip to content

Update an existing supplierItem Record

Request

Update an existing supplierItem record to the system based on the provided supplierItem details.

Security
Bearer
Bodyapplication/jsonrequired

The supplierItem payload

idstring, (uuid)

Gets or sets the unique identifier of the supplier item record.

Example:"3fa85f64-5717-4562-b3fc-2c963f66afa6"
itemIdinteger, (int32)required

Unique identifier of the item associated with the supplier. Retrieve it from the Item/Paged endpoint (POST) and use the item's ID value returned in the response.

Example:101
itemNamestring or null

Gets or sets the name of the item.

Example:"Steel Pipe"
supplierIdstring, (uuid)required

Unique identifier of the supplier. Retrieve it from the SupplierMaster/Paged endpoint (POST) and use the supplierId value returned in the response.

Example:"b12e7a12-8f3b-4d7c-9b12-3d5e2c4f6a11"
supplierNamestring or null

Gets or sets the name of the supplier.

Example:"ABC Supplies Pvt Ltd"
curl -i -X PUT \
  https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/SupplierItem \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "itemId": 101,
    "itemName": "Steel Pipe",
    "supplierId": "b12e7a12-8f3b-4d7c-9b12-3d5e2c4f6a11",
    "supplierName": "ABC Supplies Pvt Ltd"
  }'

Responses

Successfully added the supplierItem record