The Firmhouse Logo [FH]
Developer Docs

createProduct

Creates a product.

Arguments

ArgumentDescription
input (CreateProductInput!)
Parameters for CreateProduct

CreateProductInput Arguments

ArgumentDescription
metadata (JSON)
Metadata that can be used by developers to store additional information on objects.
title (String!)
priceCents (Int!)
taxRateId (ID!)
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)

Return Fields

product (Product)