Skip to content

Add SKU Entity assignment

Request

Adds a new SKU Entity assignment.

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

Identifier of the SKU associated with the record.

companyIdinteger, (int32)

Identifier of the company associated with the record.

businessUnitIdinteger or null, (int32)

Identifier of the business unit associated with the purchased goods.

curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/SKUEntity?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "skuId": "2bcbd0a6-4310-4da5-a343-901759bbc881",
    "companyId": 0,
    "businessUnitId": 0
  }'

Responses

Successfully created SKU Entity assignment

Bodyapplication/json
skuIdstring, (uuid)

Identifier of the SKU associated with the record.

companyIdinteger, (int32)

Identifier of the company associated with the record.

businessUnitIdinteger or null, (int32)

Identifier of the business unit associated with the purchased goods.

idinteger, (int32)

Unique identifier for the record.

guidstring, (uuid)

Globally unique identifier for the record.

centerIdstring or null, (uuid)

Identifier of the center associated with the record.

skuIdentifierstring or null

Business identifier of the SKU.

skuNamestring or null

Name of the SKU.

companyNamestring or null

Name of the company associated with the record.

businessUnitNamestring or null

Business unit name associated with businessUnitId

tranIdstring, (uuid)

Transaction identifier associated with the record.

Response
{ "skuId": "2bcbd0a6-4310-4da5-a343-901759bbc881", "companyId": 0, "businessUnitId": 0, "id": 0, "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "centerId": "282cb687-20cd-4f37-9b5b-b30c06eb5b1b", "skuIdentifier": "string", "skuName": "string", "companyName": "string", "businessUnitName": "string", "tranId": "0966b546-a6c9-4141-86ae-3d3862f1f36c" }