Developer Docs

createProduct

Creates a product.

Arguments

ArgumentDescription
input (CreateProductInput!)

CreateProductInput Arguments

ArgumentDescription
title (String!)
priceCents (Int!)
taxRateId (ID!)
slug (String)
sku (String)
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)

Return Fields

product (Product)