{
"body": {
"code": "CAT-ELECTRONIC-IC",
"name": "电子元器件-集成电路",
"inventoryCycle": 60,
"parentCode": "ELECTRONIC_COMPONENTS",
"inventoryAccountTypeEnum": "WEIGHTED"
}
}
curl --location --request POST '/api/open/v3/item/categories/create' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "CAT-ELECTRONIC-IC",
"name": "电子元器件-集成电路",
"inventoryCycle": 60,
"parentCode": "ELECTRONIC_COMPONENTS",
"inventoryAccountTypeEnum": "WEIGHTED"
}
}'
{
"code": 0,
"message": ""
}