Creates a SalesUnit record.
Request
Body Params application/jsonRequired
{
"picture": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"name": "string",
"parent_id": "01234567-abcd-dcba-ffff-000000000000",
"picture_id": "01234567-abcd-dcba-ffff-000000000000",
"revision": 1
}
Request Code Samples
curl --location '/entities/SalesUnits?validation-level=' \
--header 'Content-Type: application/json' \
--data '{
"picture": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"name": "string",
"parent_id": "01234567-abcd-dcba-ffff-000000000000",
"picture_id": "01234567-abcd-dcba-ffff-000000000000",
"revision": 1
}'
Responses
The created SalesUnit record.
{
"success": true,
"data": {
"is_delete_protected": false,
"id": "01234567-abcd-dcba-ffff-000000000000",
"is_deleted": false,
"modified": "2019-01-01T00:00:00",
"created": "2019-01-01T00:00:00",
"parent": "http://example.com",
"picture": "http://example.com",
"name": "string",
"parent_id": "01234567-abcd-dcba-ffff-000000000000",
"picture_id": "01234567-abcd-dcba-ffff-000000000000",
"revision": 1
}
}
Modified at 2026-10-29 17:08:41