Skip to content

Update an existing suppliersku Record

Request

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

Security
Bearer
Bodyapplication/jsonrequired

The suppliersku payload

idstring, (uuid)

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

Example:"7c9e6679-7425-40de-944b-e07fc1f90ae7"
skuidstring, (uuid)required

Unique identifier of the Stock Keeping Unit associated with the supplier. Retrieve it from the StockKeepingUnit/Paged endpoint (POST) and use the SKU ID value returned in the response.

Example:"0f8fad5b-d9cb-469f-a165-70867728950e"
skuNamestring or null

Gets or sets the name of the SKU.

Example:"SKU-1001"
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/SupplierSKU \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "skuid": "0f8fad5b-d9cb-469f-a165-70867728950e",
    "skuName": "SKU-1001",
    "supplierId": "b12e7a12-8f3b-4d7c-9b12-3d5e2c4f6a11",
    "supplierName": "ABC Supplies Pvt Ltd"
  }'

Responses

Successfully added the suppliersku record