UpdateProductInput

GraphQL input to update a product. Omitted fields are left untouched.

Fields

    ageRestricted
    Boolean
    Whether buyers must pass an age check.
    availableQty
    Int

    New stock level, applied to every branch stocking this product.

    barcode
    String
    Replacement barcode.
    capacity
    String
    Replacement packaged size.
    deliverable
    Boolean
    Whether the product can be delivered.
    description
    String
    Replacement description.
    digital
    Boolean
    Whether the product is digital.
    discountPrice
    Decimal

    Replacement sale price in major units. 0 clears the discount.

    featured
    Boolean
    Whether the product appears in featured placements.
    isActive
    Boolean
    Whether the product is orderable.
    name
    String
    Replacement product name.
    packageCount
    String
    Replacement multi-pack count.
    plusOption
    Boolean
    Whether the product is restricted to Plus members.
    price
    Decimal
    Replacement list price in major units of the product's currency.
    sku
    String
    Replacement stock-keeping unit.
    unit
    String

    Replacement unit for capacity.

Built with