Links

createProduct

Creates a product.

Arguments

Argument
Description
Parameters for CreateProduct

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

Return fields

product (Product)

Last modified 4mo ago