Skip to main content

NavCreateInput

The input for creating a Nav.

input NavCreateInput {
demandHqId: ID!
href: String!
label: String!
navLevel: Int!
navType: String!
parentNavId: ID
position: Int
storefrontId: ID!
}

Fields

NavCreateInput.demandHqId ● ID! non-null scalar

NavCreateInput.href ● String! non-null scalar

Where this Nav link should lead to. Can be an absolute or relative url. 768 character limit.

NavCreateInput.label ● String! non-null scalar

The label for this Nav, limit 64 characters.

NavCreateInput.navLevel ● Int! non-null scalar

A number, representing where this Nav resides in the heirarchy. Immutable, and limited to 0 through 6. 0 is the top level, 1 is the second level, etc.

NavCreateInput.navType ● String! non-null scalar

A string indicating the purpose of this Nav hierarchy, must match parentNav if applicable. Limit 128 characters.

NavCreateInput.parentNavId ● ID scalar

All Navs besides the root (Level 0) have a parentNavId. Immutable.

NavCreateInput.position ● Int scalar

Where this Nav should be located with respect to other Navs. Need not be sequential or unique.

NavCreateInput.storefrontId ● ID! non-null scalar

Member of

createNav mutation