CreateProductRequest
The name of the product.
Possible values: non-empty and <= 100 characters
Gold planA description of the product.
Possible values: <= 1000 characters
Unlimited access to every courseUp to 8 image URLs of the product. Each URL must use https.
Possible values: <= 8
A short name of the product: lowercase letters and digits, joined by single hyphens.
A slug is unique in your account. A request that sets a slug another product already
has is rejected with 409. An archived product keeps its slug until you remove it.
Possible values: <= 100 characters, Value must match regular expression ^[a-z0-9]+(-[a-z0-9]+)*$
gold-planWhether the product is shipped to the buyer.
falseThe name of one unit of the product, for example seat or hour.
Possible values: <= 12 characters
seatA statement descriptor stored on the product and returned in its responses. It is not
applied to payments or subscriptions yet: set descriptor on the subscription instead.
Possible values: <= 25 characters
MONEI GOLDThe tax rate the prices of the product charge. Absent when the product has no tax. It must be an active tax rate of your account when you set it.
A change of the tax rate changes the amount of the product's EXCLUSIVE prices for new
subscriptions and price switches. Existing subscriptions keep their tax until they switch
price.
9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6dWhether the product is active. Products are never deleted: set active to false to
archive one. Archiving a product does not archive its prices, and its prices can still
start subscriptions.
A new product is active unless created with active: false.
trueA set of key-value pairs that you can attach to a resource. This can be useful for storing additional information about the resource in a structured format.
{"systemId":"12345"}{
"name": "Gold plan",
"description": "Unlimited access to every course",
"images": [
"https://example.com/images/gold-plan.png"
],
"slug": "gold-plan",
"shippable": false,
"unitLabel": "seat",
"descriptor": "MONEI GOLD",
"taxRateId": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
"active": true,
"metadata": {
"systemId": "12345"
}
}