updateProduct
Updates a product.
Arguments
Argument | Description |
---|---|
input (UpdateProductInput!) | Parameters for UpdateProduct |
UpdateProductInput Arguments
Argument | Description |
---|---|
metadata (JSON) | Metadata that can be used by developers to store additional information on objects. |
slug (String) | |
sku (String) | |
supplier (String) | |
eligibleForDiscount (Boolean) | |
interval (Int) | |
intervalUnitOfMeasure (String) | |
initialShipmentDelay (Int) | |
initialShipmentDelayUnitOfMeasure (String) | |
minimumCommitmentEnabled (Boolean) | |
minimumCommitmentUnit (String) | |
minimumCommitmentPeriod (Int) | |
maximumCommitmentEnabled (Boolean) | |
maximumCommitmentPeriod (Int) | |
maximumCommitmentUnit (String) | |
graceCancellationEnabled (Boolean) | |
graceCancellationPeriod (Int) | |
graceCancellationUnit (String) | |
productType (String) | |
availableViaSsc (Boolean) | If enabled the product can be added by existing customer via the self service center |
available (Boolean) | If enabled the product can be added to the checkout by new customers |
id (ID!) | |
title (String) | |
priceCents (Int) | |
taxRateId (ID) | |
prices ([PriceInput!]) | Country specific prices set for this product. These price will override default product price for specified countries. Add new or update price for existing countryCode. |
pricesDelete ([PriceDeleteInput!]) | Country specific prices to remove for this product based on the countryCode. |
Return fields
errors ([ModelValidationError!]!)
product (Product)
Last updated