MetafieldMoveInput
InputRepresents an update to the position of a metafield. Provide exactly one of ownerType or metafieldId: ownerType moves the whole namespace within that owner type, metafieldId moves a single metafield within the namespace.
Fields
- ID
metafieldId Moves a single metafield within the namespace. Provide either this or ownerType, not both.
- String!
namespace The namespace the move applies to.
- Int!
newPosition The new position of the target within its ordering.
- MetafieldOwnerType
ownerType Moves every metafield in the namespace for this owner type. Provide either this or metafieldId, not both.
Possible enum valuesCATEGORYA category can own the metafield.
COLLECTIONA collection can own the metafield.
CUSTOMERA customer can own the metafield.
ORDERAn order can own the metafield.
PRODUCTA product can own the metafield.
PRODUCT_ATTRIBUTEA product attribute can own the metafield.
PRODUCT_ATTRIBUTE_VALUEA product attribute value can own the metafield.
PRODUCT_VARIANTA product variant can own the metafield.