Skip to content

QuickBooks: Create a category — response body — Item

Create a category: response body, field Item. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Create a category — response body — Item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ActiveJSONOptionalFor categories, this is always set to true .
Active (anyOf 1)booleanAlternative
Active (anyOf 2)stringAlternativeKnown values: true, false
FullyQualifiedNamestringOptionalColon-separated list of the top-level category, followed by each sub-category in the hierarchy. Takes the form of Category:SubCategory1:SubCategory2:… . Limited to 5 levels: 4 category levels with an inventory, non-inventory, or service item as the 5th.
Read only: true
IdstringOptionalUnique identifier for this object.
Read only: true
LevelJSONOptionalSpecifies the level of the hierarchy in which the object is located. First sub-category level below the top-most category is 1. Returned in the response body only when SubItem is set to true . Sub-categories can be nested to a maximum depth of three levels below a top-level category.
Read only: true
Level (anyOf 1)JSONAlternative
Level (anyOf 1) (anyOf 1)integerAlternative
Level (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Level (anyOf 2)stringAlternative
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications.
NamestringOptionalName of the category.
ParentRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the parent of this sub-category. Returned in the response body only when SubItem is set to true . Query the Item name list resource to determine the appropriate object for this reference. Use Item.Id and Item.DisplayName from that object for ParentRef.value and ParentRef.name , respectively.
SubItemJSONOptionalDenotes this object is a sub-category. Returned in the response body if this object is a sub-category. true —This is a sub-category. false —This is a top-level category (default).
SubItem (anyOf 1)booleanAlternative
SubItem (anyOf 2)stringAlternativeKnown values: true, false
SyncTokenstringOptionalVersion number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.
Read only: true
TypestringOptionalSet to the literal string, Category . When querying Item objects with minor versions earlier than 4 specified, Category types are returned as type Service .

Referenced models: Read a bill — response body — Bill Meta Data, Read an item — response body — Item Class Ref

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.