# ProductVariantExternalRefInput input


The reference that a product variant gets: the variant's id in an external source, under the id
of its product there.

## Input fields

### source

`String!` · required

The code of an external source in MAX.

### externalId

`String!` · required

The external source's id of the variant, at most 200 characters.

### parentExternalId

`String!` · required

The external source's id of the variant's product, at most 200 characters. For example, the
product id in WooCommerce or the product guid in Shoptet. For OBERON, send the card id again.

### externalNumber

`String`

The number that the external source shows for the variant, at most 100 characters. If omitted
or null, the reference has no number.

## Used by

- [`setProductVariantExternalRef`](/chameleoon-max/mutation/set-product-variant-external-ref) (mutation)
