Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

pageAttributeAssign Mutation

Assign attributes to a given page type.

Requires one of the following permissions:MANAGE_PAGE_TYPES_AND_ATTRIBUTES
pageAttributeAssign(attributeIds: [ID!]!, pageTypeId: ID!): PageAttributeAssign

Returns

PageAttributeAssign

Show return type
type PageAttributeAssign {
  pageType: PageType
  pageErrors: [PageError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [PageError!]!
}

Arguments

attributeIds

attributeIds · [ID!]!

The IDs of the attributes to assign.

pageTypeId

pageTypeId · ID!

ID of the page type to assign the attributes into.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?