Skip to main content
Version: 3.x

AttributeValueSelectableTypeInput

Represents attribute value.

  1. If ID is provided, then attribute value will be resolved by ID.
  2. If externalReference is provided, then attribute value will be resolved by external reference.
  3. If value is provided, then attribute value will be resolved by value. If this attribute value doesn't exist, then it will be created.
  4. If externalReference and value is provided then new attribute value will be created.
Added in Saleor 3.9
input AttributeValueSelectableTypeInput {
id: ID
externalReference: String
value: String
}

Fields

AttributeValueSelectableTypeInput.id ● ID scalar

ID of an attribute value.

AttributeValueSelectableTypeInput.externalReference ● String scalar

External reference of an attribute value.

Added in Saleor 3.14

AttributeValueSelectableTypeInput.value ● String scalar

The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.

Member of

AttributeValueInput input ● BulkAttributeValueInput input


Was this page helpful?