Function createServiceItem
- createServiceItem(__namedParameters): Promise<{
allow_attachments?: boolean;
allow_quantity?: null | boolean;
botified?: boolean;
category_id: number;
child_items?: string;
ci_type_id?: null | number;
configs?: null | Record<string, any>;
cost?: number;
cost_visibility?: null | boolean;
create_child?: boolean;
created_at?: null | string;
custom_fields?: string;
deleted?: boolean;
delivery_time?: null | number;
delivery_time_visibility?: null | boolean;
description: string;
display_id?: number;
group_visibility?: number;
id?: number;
is_bundle?: boolean;
item_type?: number;
name: string;
product_id?: null | number;
quantity?: null | number;
short_description: string;
updated_at?: null | string;
visibility: number;
workspace_id?: number;
}>
-
Parameters
-
__namedParameters: CreateServiceItem
Returns Promise<{
allow_attachments?: boolean;
allow_quantity?: null | boolean;
botified?: boolean;
category_id: number;
child_items?: string;
ci_type_id?: null | number;
configs?: null | Record<string, any>;
cost?: number;
cost_visibility?: null | boolean;
create_child?: boolean;
created_at?: null | string;
custom_fields?: string;
deleted?: boolean;
delivery_time?: null | number;
delivery_time_visibility?: null | boolean;
description: string;
display_id?: number;
group_visibility?: number;
id?: number;
is_bundle?: boolean;
item_type?: number;
name: string;
product_id?: null | number;
quantity?: null | number;
short_description: string;
updated_at?: null | string;
visibility: number;
workspace_id?: number;
}>
Create Service Catalog item. This operation allows you to create a new service item in Freshservice.