Returned when an AttributeDefinition does not exist for an Attribute name.

The error is returned as a failed response to the [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
interface GraphQLAttributeNameDoesNotExistError {
    code: "AttributeNameDoesNotExist";
    invalidAttributeName: string;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

code: "AttributeNameDoesNotExist"

One of the error codes that is listed on the Errors page.

invalidAttributeName: string

Non-existent Attribute name.