# UpdateProductInput

Input for `updateProduct`. Only provided fields change.

```
input UpdateProductInput {

  id: ID!

  name: String

  description: String

  images: [String!]

  slug: String

  shippable: Boolean

  unitLabel: String

  descriptor: String

  defaultPriceId: ID

  active: Boolean

  metadata: [KeyValueInput!]

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`UpdateProductInput.id`](#id) ● [`ID!`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) non-null scalar[​](#id "Enlace directo al id")

ID of the product to update.

#### [`UpdateProductInput.name`](#name) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#name "Enlace directo al name")

Product name, up to 100 characters.

#### [`UpdateProductInput.description`](#description) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#description "Enlace directo al description")

Product description, up to 1000 characters.

#### [`UpdateProductInput.images`](#images) ● [`[String!]`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) list scalar[​](#images "Enlace directo al images")

Image URLs of the product (`https` only), up to 8.

#### [`UpdateProductInput.slug`](#slug) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#slug "Enlace directo al slug")

Short name of the product, unique in the account. A slug another product holds is refused. `null` clears it.

#### [`UpdateProductInput.shippable`](#shippable) ● [`Boolean`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) scalar[​](#shippable "Enlace directo al shippable")

Whether the product is shipped to the buyer.

#### [`UpdateProductInput.unitLabel`](#unit-label) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#unit-label "Enlace directo al unit-label")

Name of one unit of the product, up to 12 characters.

#### [`UpdateProductInput.descriptor`](#descriptor) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#descriptor "Enlace directo al descriptor")

Statement descriptor, up to 25 characters.

#### [`UpdateProductInput.defaultPriceId`](#default-price-id) ● [`ID`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) scalar[​](#default-price-id "Enlace directo al default-price-id")

ID of the default price. Must be an active price of this product. `null` clears it.

#### [`UpdateProductInput.active`](#active) ● [`Boolean`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) scalar[​](#active "Enlace directo al active")

Whether the product is active. `false` archives it.

#### [`UpdateProductInput.metadata`](#metadata) ● [`[KeyValueInput!]`](https://docs.monei.com/es/apis/graphql/types/inputs/key-value-input.md) list input[​](#metadata "Enlace directo al metadata")

Key/value metadata. Replaces the stored metadata as a whole.

### Member Of[​](#member-of "Enlace directo al Member Of")

[`updateProduct`](https://docs.monei.com/es/apis/graphql/operations/mutations/update-product.md) mutation
