API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.
Path Parameters
id
string
required
The product ID
Body
application/json
Product update payload
name
string
Name of the product
description
string
Description of the product
image_url
string
URL of the product image
image_urls
string[]
Ordered list of product image URLs (max 8). The first entry is the cover image; when provided it takes precedence over image_url. An empty list — or an explicit null — removes all images. Omit to leave the gallery unchanged.
default_success_url
string
Redirect URL after successful payment.
external_id
string | null
Your own key for this product, such as your SKU or internal product id. Creem never sets it. Unique per store, case-sensitive; 1 to 255 characters: letters, digits, _, -, . and :. Omit it to leave the key unchanged; send null to clear it. A key another product of your store already uses answers 409 with code external_id_taken.
Example:
"pro-monthly"
metadata
object | null
Key-value pairs for your own use, for example { "plan": "pro" }. Values are strings or numbers. Omit it to leave it unchanged; send null to clear it. A sent object replaces the whole object.
Example:
{ "plan": "pro" }
price
integer
The price of the product in cents. Must be 0 (free product) or at least 100 (one whole unit of the currency).
currency
enum<string>
Three-letter uppercase ISO 4217 currency code. Must be one of Creem's supported currencies.
Available options:
EUR,
USD
Example:
"USD"
billing_type
enum<string>
Billing method for the product: recurring subscription or onetime payment.
Available options:
recurring,
onetime
Example:
"recurring"
billing_period
enum<string>
Billing interval. Required when billing_type is recurring. Use a preset for the common cadences, or custom together with recurring_interval + recurring_interval_count for anything else (e.g. weekly).
Available options:
once,
every-day,
every-month,
every-three-months,
every-six-months,
every-year,
custom
Example:
"every-month"
recurring_interval
enum<string>
Unit of a custom billing period. Required when billing_period is custom; must be omitted for preset billing periods.
Available options:
day,
week,
month,
year
Example:
"week"
recurring_interval_count
integer
Number of recurring_interval units per billing cycle. Required when billing_period is custom. Bounds: day 1–365, week 1–52, month 1–24, year 1–3.
tax_mode
enum<string>
Specifies the tax calculation mode for the transaction. If set to "inclusive," the tax is included in the price. If set to "exclusive," the tax is added on top of the price.
Available options:
inclusive,
exclusive
Example:
"inclusive"
business_net_pricing
boolean
When true, business customers whose valid VAT ID triggers reverse charge pay the price excluding VAT instead of the tax-inclusive price. Only supported for tax-inclusive one-time products; the merchant gives up the VAT portion on those sales. Defaults to false. Omit to leave unchanged.
Example:
false
trial_period_days
integer | null
Length of the trial period in days. A whole number of days, at least 1. Only supported for recurring products. Omit to leave the trial unchanged; send null to remove it (a paid trial's price is cleared with it). Switching billing_type to onetime removes the trial as well.
Example:
7
trial_price
integer | null
Amount charged at checkout to start the trial, instead of a free card verification. In cents (100 = $1.00). Requires a trial period and must be at least 100 and lower than price; only supported on standard-priced recurring products without pay-what-you-want. Omit to leave unchanged; send null or 0 to make the trial free.
Example:
100
pay_what_you_want
boolean
Enable pay-what-you-want pricing (one-time only).
suggested_price
integer
Suggested amount in cents when pay_what_you_want is enabled. Omit to leave unchanged; send null to clear it.
usage_prices
object[]
Metered charges billed on top of the base price, one per meter. Recurring products only. The array is the complete set after the update: omit (or send null) to leave charges untouched, send [] to remove all, include id to edit a charge in place.
Show child attributes
features
object[]
Features granted by purchase. Only customerCredits (a credit grant into one of the customer credit buckets) can be managed through the API. The array is the complete set of credit features after the update: omit (or send null) to leave features untouched, include id to edit in place; credit features missing from the array are removed.
Show child attributes
Response
Successfully updated the product
id
string
required
Unique identifier for the object.
mode
enum<string>
required
String representing the environment.
Available options:
test,
prod,
sandbox
object
string
required
String representing the object's type. Objects of the same type share the same value.
name
string
required
The name of the product
description
string
required
A brief description of the product
Example:
"This is a sample product description."
price
number
required
The price of the product in cents. 1000 = $10.00
Example:
400
currency
string
required
Three-letter ISO currency code, in uppercase. Must be a supported currency.
Example:
"USD"
billing_type
enum<string>
required
Indicates the billing method for the customer. It can either be a recurring billing cycle or a onetime payment.
Available options:
recurring,
onetime
Example:
"recurring"
billing_period
enum<string>
required
Billing period
Available options:
every-month,
every-three-months,
every-six-months,
every-year,
every-day,
once,
custom
Example:
"every-month"
status
enum<string>
required
Lifecycle status of the product: active or archived.
Available options:
active,
archived
Example:
"active"
tax_mode
enum<string>
required
Specifies the tax calculation mode for the transaction. If set to "inclusive," the tax is included in the price. If set to "exclusive," the tax is added on top of the price.
Available options:
inclusive,
exclusive
Example:
"inclusive"
tax_category
enum<string>
required
Categorizes the type of product or service for tax purposes. This helps determine the applicable tax rules based on the nature of the item or service.
Available options:
saas,
digital-goods-service,
ebooks
Example:
"saas"
external_id
string | null
required
Your own key for this product, such as your SKU or internal product id. Creem never sets it. Unique per store, case-sensitive; 1 to 255 characters: letters, digits, _, -, . and :. null when the product has no key.
Example:
"pro-monthly"
metadata
object | null
required
Key-value pairs for your own use, for example { "plan": "pro" }. Values are strings or numbers. null when the product has none.
Example:
{ "plan": "pro" }
created_at
string<date-time>
required
Creation date of the product
Example:
"2023-01-01T00:00:00Z"
updated_at
string<date-time>
required
Last updated date of the product
Example:
"2023-01-01T00:00:00Z"
image_url
string
URL of the product image. Only png as jpg are supported
Example:
"https://example.com/image.jpg"
image_urls
string[]
Ordered list of product image URLs. The first entry is the cover image (mirrored in image_url).
Example:
["https://example.com/image.jpg"]
features
object[]
Features of the product.
Show child attributes
usage_prices
object[]
Metered charges billed on top of the base price, one per meter. Present on recurring products that meter usage.
Show child attributes
recurring_interval
string | null
The unit of the recurring billing interval (day, week, month, or year). Together with recurring_interval_count this is authoritative for renewal timing — a billing_period of custom cannot be interpreted without it. For presets it is derived from the cadence (e.g. every-three-months → month). null for one-time products.
Example:
"month"
recurring_interval_count
integer | null
The number of recurring_interval units per billing cycle (e.g. 3 with a month interval bills every three months). Together with recurring_interval this is authoritative for renewal timing. For presets it is derived from the cadence. null for one-time products.
Example:
3
trial_period_days
integer | null
Length of the trial period in days. A whole number of days, at least 1. Only supported for recurring products. null when the product has no trial.
Example:
7
trial_price
integer | null
Amount charged at checkout to start the trial, instead of a free card verification. In cents (100 = $1.00). Requires a trial period and must be at least 100 and lower than price; only supported on standard-priced recurring products without pay-what-you-want. null for a free trial and for products without a trial.
Example:
100
business_net_pricing
boolean
When true, business customers whose valid VAT ID triggers reverse charge pay the price excluding VAT instead of the tax-inclusive price. Only supported for tax-inclusive one-time products; the merchant gives up the VAT portion on those sales. Defaults to false.
Example:
false
product_url
string
The product page you can redirect your customers to for express checkout.
Example:
"https://creem.io/product/prod_123123123123"
default_success_url
string | null
The URL to which the user will be redirected after successfull payment.
Example:
"https://example.com/?status=successful"
custom_fields
object[] | null
Custom fields configured for the product. Collect additional information from your customer during checkout.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Creem","colors":{"primary":"#FFBE98","light":"#FFBE98","dark":"#B09CFB"},"logo":{"light":"https://mintcdn.com/creem/-AIVGXbrCJu_8i70/logo/light.svg?fit=max\u0026auto=format\u0026n=-AIVGXbrCJu_8i70\u0026q=85\u0026s=686f06f43a3d7e4c0456e22de64c8bae","dark":"https://mintcdn.com/creem/-AIVGXbrCJu_8i70/logo/dark.svg?fit=max\u0026auto=format\u0026n=-AIVGXbrCJu_8i70\u0026q=85\u0026s=7c9135ca8b2365d6ec3728dc087f694d"},"favicon":"https://mintcdn.com/creem/-AIVGXbrCJu_8i70/favicon.svg?fit=max\u0026auto=format\u0026n=-AIVGXbrCJu_8i70\u0026q=85\u0026s=92df9cacbac6c8f17dbeb2d8b6befb93","navbar":{"links":[{"href":"https://creem.io/contact","label":"Support"},{"href":"https://docs.creem.io/llms.txt","label":"llms.txt"},{"href":"https://docs.creem.io/llms-full.txt","label":"llms-full.txt"}],"primary":{"type":"button","label":"Creem","href":"https://creem.io"}},"footer":{"socials":{"x":"https://x.com/creem_io","linkedin":"https://www.linkedin.com/company/creemio"}},"seo":{"metatags":{"twitter:site":"@creem_io","og:site_name":"Creem Documentation","keywords":"merchant of record, payment api, saas billing, subscription management, global payments, MoR, affiliate program, affiliate marketing, referral program"},"indexing":"all"},"integrations":{"posthog":{"apiKey":"phc_placeholder_gabriel_will_provide","apiHost":"https://us.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/q3GKZs92Av"},{"anchor":"Blog","icon":"newspaper","href":"https://creem.io/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"creem","hasAudioNarration":false,"actualSubdomain":"creem","customDomains":["docs.creem.io"],"gitSource":{"type":"github","owner":"armitage-labs","repo":"creem","deployBranch":"main","contentDirectory":"packages/docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af70a5907e6a796f0fdb66b","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"Documentation","count":103},{"language":"default","tag":"API Reference","count":65},{"language":"default","tag":"Features","count":44},{"language":"default","tag":"Code","count":21},{"language":"default","tag":"Customer Credits","count":19},{"language":"default","tag":"SDKs","count":19},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Get Started","count":11},{"language":"default","tag":"Meters","count":9},{"language":"default","tag":"AI","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"#topbar-cta-button{color:#000000}"}],"page":{"pagePath":"api-reference/endpoint/update-product","slug":"/api-reference/endpoint/update-product","pageMetadata":{"title":"Update a product","description":"Update a product. Only supplied fields change; a price change mints a new default price.","openapi":"patch /v1/products/{id}","href":"/api-reference/endpoint/update-product"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update a product. Only supplied fields change; a price change mints a new default price.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a product","description":"Update a product. Only supplied fields change; a price change mints a new default price.","openapi":"patch /v1/products/{id}","href":"/api-reference/endpoint/update-product"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/creem/c0258fabb625b4ba/scripts/generate-api-docs.js"],"openApiReferenceData":{"operation":{"operationId":"updateProduct","x-speakeasy-name-override":"update","summary":"Update a product","description":"Update a product. Only supplied fields change; a price change mints a new default price.","parameters":["4dcc32f6-fbd7-4cc2-a6d5-941ddc24ca64"],"requestBody":"a8a646b1-19fa-44bf-89f2-c358f0a03ad4","responses":{"200":"990a4c0a-a931-4eb0-9712-af9fdff8791b","400":"c2a7ac77-3970-4e3d-86d6-fb3430d4550a","401":"3ca218eb-f87b-41c3-b807-ab926513d6ba","404":"7aa337ec-0193-405c-99d9-4fa5f16081b2","409":"3308e683-0db0-4e81-b96b-166de32d2d39","422":"9f4a4026-0799-4ac3-9eb6-0d696b3b00f3"},"tags":["Products"],"security":["b6a99bcd-12fd-4ae4-b410-1737309de6db"],"method":"patch","type":"path","servers":["6bbba29f-d261-4b65-b10a-c1342dea9d61","452e0804-0433-4304-9751-c53b9941c44b"],"path":"/v1/products/{id}","baseUrlOptions":["https://api.creem.io","https://test-api.creem.io"],"title":"Update a product","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4dcc32f6-fbd7-4cc2-a6d5-941ddc24ca64":{"name":"id","required":true,"in":"path","description":"The product ID","schema":{"type":"string","isRequired":true,"description":"The product ID","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"description":"Product update payload","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the product","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"Description of the product","uniqueKey":"description","typeLabel":"string"},"image_url":{"type":"string","description":"URL of the product image","uniqueKey":"image_url","typeLabel":"string"},"image_urls":{"description":"Ordered list of product image URLs (max 8). The first entry is the cover image; when provided it takes precedence over image_url. An empty list — or an explicit `null` — removes all images. Omit to leave the gallery unchanged.","type":"array","items":{"type":"string","uniqueKey":"image_urls.items.[INDEX]","typeLabel":"string"},"uniqueKey":"image_urls","typeLabel":"string[]"},"default_success_url":{"type":"string","description":"Redirect URL after successful payment.","uniqueKey":"default_success_url","typeLabel":"string"},"external_id":{"oneOf":[{"type":"string","description":"Your own key for this product, such as your SKU or internal product id. Creem never sets it. Unique per store, case-sensitive; 1 to 255 characters: letters, digits, `_`, `-`, `.` and `:`. Omit it to leave the key unchanged; send `null` to clear it. A key another product of your store already uses answers `409` with code `external_id_taken`.","example":"pro-monthly","uniqueKey":"external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own key for this product, such as your SKU or internal product id. Creem never sets it. Unique per store, case-sensitive; 1 to 255 characters: letters, digits, `_`, `-`, `.` and `:`. Omit it to leave the key unchanged; send `null` to clear it. A key another product of your store already uses answers `409` with code `external_id_taken`.","example":"pro-monthly","uniqueKey":"external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"external_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","description":"Key-value pairs for your own use, for example `{ \"plan\": \"pro\" }`. Values are strings or numbers. Omit it to leave it unchanged; send `null` to clear it. A sent object replaces the whole object.","example":{"plan":"pro"},"additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Key-value pairs for your own use, for example `{ \"plan\": \"pro\" }`. Values are strings or numbers. Omit it to leave it unchanged; send `null` to clear it. A sent object replaces the whole object.","example":{"plan":"pro"},"additionalProperties":true,"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"price":{"type":"integer","description":"The price of the product in cents. Must be 0 (free product) or at least 100 (one whole unit of the currency).","uniqueKey":"price","typeLabel":"integer"},"currency":{"type":"string","description":"Three-letter uppercase ISO 4217 currency code. Must be one of Creem's supported currencies.","enum":["EUR","USD"],"example":"USD","uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"billing_type":{"type":"string","description":"Billing method for the product: `recurring` subscription or `onetime` payment.","enum":["recurring","onetime"],"example":"recurring","uniqueKey":"billing_type","typeLabel":"enum\u003cstring>"},"billing_period":{"type":"string","description":"Billing interval. Required when `billing_type` is `recurring`. Use a preset for the common cadences, or `custom` together with `recurring_interval` + `recurring_interval_count` for anything else (e.g. weekly).","enum":["once","every-day","every-month","every-three-months","every-six-months","every-year","custom"],"example":"every-month","uniqueKey":"billing_period","typeLabel":"enum\u003cstring>"},"recurring_interval":{"type":"string","description":"Unit of a custom billing period. Required when `billing_period` is `custom`; must be omitted for preset billing periods.","enum":["day","week","month","year"],"example":"week","uniqueKey":"recurring_interval","typeLabel":"enum\u003cstring>"},"recurring_interval_count":{"type":"integer","description":"Number of `recurring_interval` units per billing cycle. Required when `billing_period` is `custom`. Bounds: day 1–365, week 1–52, month 1–24, year 1–3.","uniqueKey":"recurring_interval_count","typeLabel":"integer"},"tax_mode":{"type":"string","description":"Specifies the tax calculation mode for the transaction. If set to \"inclusive,\" the tax is included in the price. If set to \"exclusive,\" the tax is added on top of the price.","enum":["inclusive","exclusive"],"example":"inclusive","uniqueKey":"tax_mode","typeLabel":"enum\u003cstring>"},"business_net_pricing":{"type":"boolean","description":"When true, business customers whose valid VAT ID triggers reverse charge pay the price excluding VAT instead of the tax-inclusive price. Only supported for tax-inclusive one-time products; the merchant gives up the VAT portion on those sales. Defaults to false. Omit to leave unchanged.","example":false,"uniqueKey":"business_net_pricing","typeLabel":"boolean"},"trial_period_days":{"oneOf":[{"type":"integer","description":"Length of the trial period in days. A whole number of days, at least 1. Only supported for recurring products. Omit to leave the trial unchanged; send `null` to remove it (a paid trial's price is cleared with it). Switching `billing_type` to `onetime` removes the trial as well.","example":7,"uniqueKey":"trial_period_days.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Length of the trial period in days. A whole number of days, at least 1. Only supported for recurring products. Omit to leave the trial unchanged; send `null` to remove it (a paid trial's price is cleared with it). Switching `billing_type` to `onetime` removes the trial as well.","example":7,"uniqueKey":"trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"trial_period_days","typeLabel":"integer | null"},"trial_price":{"oneOf":[{"type":"integer","description":"Amount charged at checkout to start the trial, instead of a free card verification. In cents (100 = $1.00). Requires a trial period and must be at least 100 and lower than `price`; only supported on standard-priced recurring products without pay-what-you-want. Omit to leave unchanged; send `null` or 0 to make the trial free.","example":100,"uniqueKey":"trial_price.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Amount charged at checkout to start the trial, instead of a free card verification. In cents (100 = $1.00). Requires a trial period and must be at least 100 and lower than `price`; only supported on standard-priced recurring products without pay-what-you-want. Omit to leave unchanged; send `null` or 0 to make the trial free.","example":100,"uniqueKey":"trial_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"trial_price","typeLabel":"integer | null"},"pay_what_you_want":{"type":"boolean","description":"Enable pay-what-you-want pricing (one-time only).","uniqueKey":"pay_what_you_want","typeLabel":"boolean"},"suggested_price":{"type":"integer","description":"Suggested amount in cents when pay_what_you_want is enabled. Omit to leave unchanged; send `null` to clear it.","uniqueKey":"suggested_price","typeLabel":"integer"},"usage_prices":{"description":"Metered charges billed on top of the base price, one per meter. Recurring products only. The array is the complete set after the update: omit (or send `null`) to leave charges untouched, send `[]` to remove all, include `id` to edit a charge in place.","type":"array","items":{"type":"object","properties":{"meter_id":{"type":"string","description":"The meter this charge bills. Must belong to the same store. One charge per meter per product.","example":"mtr_abc123","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].meter_id","typeLabel":"string"},"unit_price":{"type":"number","description":"Tax-exclusive price per SINGLE meter unit, in minor units of the product currency. \"$20 per 1,000,000 tokens\" is 0.002 (2000 cents / 1,000,000), not 20. Fractional values are allowed.","example":0.002,"isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].unit_price","typeLabel":"number"},"settlement_mode":{"type":"string","description":"How the charge settles: `prepaid` debits the customer credit account as usage aggregates; `postpaid` bills at renewal where the store supports it.","enum":["prepaid","postpaid"],"example":"prepaid","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].settlement_mode","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Identifier of an existing usage price to edit in place (update only). Omit to add a new charge.","example":"price_abc123","uniqueKey":"usage_prices.items.[INDEX].id","typeLabel":"string"},"free_allowance":{"type":"integer","description":"Meter units free per billing period, per customer, before the charge applies. Defaults to 0.","example":1000,"uniqueKey":"usage_prices.items.[INDEX].free_allowance","typeLabel":"integer"},"cap":{"oneOf":[{"type":"integer","description":"Optional ceiling on the charge per billing period, in minor units.","example":50000,"uniqueKey":"usage_prices.items.[INDEX].cap.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Optional ceiling on the charge per billing period, in minor units.","example":50000,"uniqueKey":"usage_prices.items.[INDEX].cap.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage_prices.items.[INDEX].cap","typeLabel":"integer | null"},"target_account":{"type":"string","description":"Credit bucket a prepaid charge debits: `shared` (the customer default wallet) or `per_unit` (a bucket named after the meter unit label, or `target_account_name`). Defaults to `shared`.","enum":["shared","per_unit"],"example":"per_unit","uniqueKey":"usage_prices.items.[INDEX].target_account","typeLabel":"enum\u003cstring>"},"target_account_name":{"oneOf":[{"type":"string","description":"Explicit name for the per-unit bucket. Only meaningful with `target_account: per_unit`; defaults to the meter unit label. The `generation` and `generation:*` buckets (any casing) hold AI generation credits and cannot be used (422 `generation_credits_usage_price_unsupported`).","example":"images","uniqueKey":"usage_prices.items.[INDEX].target_account_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Explicit name for the per-unit bucket. Only meaningful with `target_account: per_unit`; defaults to the meter unit label. The `generation` and `generation:*` buckets (any casing) hold AI generation credits and cannot be used (422 `generation_credits_usage_price_unsupported`).","example":"images","uniqueKey":"usage_prices.items.[INDEX].target_account_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage_prices.items.[INDEX].target_account_name","typeLabel":"string | null"},"trial_usage_mode":{"type":"string","description":"Usage metered during a free trial: `free` is not charged, `accrue` is charged when the trial converts. Defaults to `free`.","enum":["free","accrue"],"example":"free","uniqueKey":"usage_prices.items.[INDEX].trial_usage_mode","typeLabel":"enum\u003cstring>"}},"required":["meter_id","unit_price","settlement_mode"],"uniqueKey":"usage_prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"usage_prices","typeLabel":"object[]"},"features":{"description":"Features granted by purchase. Only `customerCredits` (a credit grant into one of the customer credit buckets) can be managed through the API. The array is the complete set of credit features after the update: omit (or send `null`) to leave features untouched, include `id` to edit in place; credit features missing from the array are removed.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The feature type. Only `customerCredits` can be managed through the API.","enum":["customerCredits"],"example":"customerCredits","isRequired":true,"uniqueKey":"features.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"A brief description of the feature, shown to the customer.","example":"500 image credits","isRequired":true,"uniqueKey":"features.items.[INDEX].description","typeLabel":"string"},"customer_credits":{"type":"object","description":"The credit grant this feature carries. Set `requires_moderation` to `true` to grant into the customer's AI generation wallet; its credits can only be spent with a `moderation_id` from the Moderation API.","required":["amount"],"properties":{"amount":{"type":"string","description":"The number of credits to grant. String to preserve BigInt precision.","example":"100","isRequired":true,"uniqueKey":"features.items.[INDEX].customer_credits.amount","typeLabel":"string"},"unit_label":{"oneOf":[{"type":"string","description":"Optional label for the credit unit (e.g. \"tokens\", \"credits\").","example":"tokens","uniqueKey":"features.items.[INDEX].customer_credits.unit_label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional label for the credit unit (e.g. \"tokens\", \"credits\").","example":"tokens","uniqueKey":"features.items.[INDEX].customer_credits.unit_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"features.items.[INDEX].customer_credits.unit_label","typeLabel":"string | null"},"bucket_name":{"oneOf":[{"type":"string","description":"The customer-credit bucket this grant funds — the `name` of the customer's credit account. Set it to a meter bucket (e.g. \"images\") so the credits fund a per-unit metered price; otherwise they land in `default` and metered usage cannot spend them. Distinct from `unit_label`, which is only a display label. On UPDATE the field is tri-state: OMIT it to leave the stored bucket unchanged, send `null` to clear it to the shared `default` wallet, or send a name to set it. On CREATE, omitted or null both mean `default`. A present-but-blank value is rejected.","example":"images","uniqueKey":"features.items.[INDEX].customer_credits.bucket_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The customer-credit bucket this grant funds — the `name` of the customer's credit account. Set it to a meter bucket (e.g. \"images\") so the credits fund a per-unit metered price; otherwise they land in `default` and metered usage cannot spend them. Distinct from `unit_label`, which is only a display label. On UPDATE the field is tri-state: OMIT it to leave the stored bucket unchanged, send `null` to clear it to the shared `default` wallet, or send a name to set it. On CREATE, omitted or null both mean `default`. A present-but-blank value is rejected.","example":"images","uniqueKey":"features.items.[INDEX].customer_credits.bucket_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"features.items.[INDEX].customer_credits.bucket_name","typeLabel":"string | null"},"requires_moderation":{"type":"boolean","description":"When `true`, the credits go to the customer's AI generation wallet: spending them requires a `moderation_id` from the Moderation API. `bucket_name` must be omitted (422 `bucket_name_not_allowed_with_requires_moderation`); that wallet is the reserved `generation` bucket. `generation` and `generation:*` (any casing) cannot be named directly (422 `generation_bucket_reserved`). Defaults to `false` on create; on update, omitting it keeps the stored setting, also when `bucket_name` is sent as `null` (as reads return it); send `false` to move the credits to the shared wallet, or to the `bucket_name` sent with it. Always present on reads.","example":false,"uniqueKey":"features.items.[INDEX].customer_credits.requires_moderation","typeLabel":"boolean"},"resets_each_period":{"type":"boolean","description":"Unused credits from subscription grants expire at each renewal; credits from one-time purchases never expire. The reset runs on every paid subscription transaction of the product: renewals, and also the first paid charge after a trial and plan changes charged immediately. Each time, the part of the previous grant the customer did not spend expires before the new grant lands. Subscription products only (422 `credits_reset_requires_subscription` on a one-time product). Defaults to `false` on create. On update, omitting it keeps the stored setting only when the feature's `id` is sent; a feature sent without `id` is replaced and defaults to `false`. Always present on reads.","example":false,"uniqueKey":"features.items.[INDEX].customer_credits.resets_each_period","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"features.items.[INDEX].customer_credits","typeLabel":"object"},"id":{"type":"string","description":"Identifier of an existing feature to edit in place (update only). Omit to add a new feature. On update the array replaces the credit features of the product: send the `id` of every feature to keep, as returned on reads; a feature sent without its `id` is added as a new one and the stored feature it stood for is removed.","example":"feat_abc123","uniqueKey":"features.items.[INDEX].id","typeLabel":"string"}},"required":["type","description","customer_credits"],"uniqueKey":"features.items.[INDEX]","typeLabel":"object"},"uniqueKey":"features","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","description":"\u003cstring>","image_url":"\u003cstring>","image_urls":["\u003cstring>"],"default_success_url":"\u003cstring>","external_id":"pro-monthly","metadata":{"plan":"pro"},"price":123,"currency":"USD","billing_type":"recurring","billing_period":"every-month","recurring_interval":"week","recurring_interval_count":123,"tax_mode":"inclusive","business_net_pricing":false,"trial_period_days":7,"trial_price":100,"pay_what_you_want":true,"suggested_price":123,"usage_prices":[{"meter_id":"mtr_abc123","unit_price":0.002,"settlement_mode":"prepaid","id":"price_abc123","free_allowance":1000,"cap":50000,"target_account":"per_unit","target_account_name":"images","trial_usage_mode":"free"}],"features":[{"type":"customerCredits","description":"500 image credits","customer_credits":{"amount":"100","unit_label":"tokens","bucket_name":"images","requires_moderation":false,"resets_each_period":false},"id":"feat_abc123"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"990a4c0a-a931-4eb0-9712-af9fdff8791b":{"description":"Successfully updated the product","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"mode":{"type":"string","description":"String representing the environment.","enum":["test","prod","sandbox"],"isRequired":true,"uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"name":{"type":"string","description":"The name of the product","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"A brief description of the product","example":"This is a sample product description.","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"price":{"type":"number","description":"The price of the product in cents. 1000 = $10.00","example":400,"isRequired":true,"uniqueKey":"price","typeLabel":"number"},"currency":{"type":"string","description":"Three-letter ISO currency code, in uppercase. Must be a supported currency.","example":"USD","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"billing_type":{"type":"string","description":"Indicates the billing method for the customer. It can either be a `recurring` billing cycle or a `onetime` payment.","enum":["recurring","onetime"],"example":"recurring","isRequired":true,"uniqueKey":"billing_type","typeLabel":"enum\u003cstring>"},"billing_period":{"type":"string","description":"Billing period","enum":["every-month","every-three-months","every-six-months","every-year","every-day","once","custom"],"example":"every-month","isRequired":true,"uniqueKey":"billing_period","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Lifecycle status of the product: `active` or `archived`.","enum":["active","archived"],"example":"active","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"tax_mode":{"type":"string","description":"Specifies the tax calculation mode for the transaction. If set to \"inclusive,\" the tax is included in the price. If set to \"exclusive,\" the tax is added on top of the price.","enum":["inclusive","exclusive"],"example":"inclusive","isRequired":true,"uniqueKey":"tax_mode","typeLabel":"enum\u003cstring>"},"tax_category":{"type":"string","description":"Categorizes the type of product or service for tax purposes. This helps determine the applicable tax rules based on the nature of the item or service.","enum":["saas","digital-goods-service","ebooks"],"example":"saas","isRequired":true,"uniqueKey":"tax_category","typeLabel":"enum\u003cstring>"},"external_id":{"oneOf":[{"type":"string","description":"Your own key for this product, such as your SKU or internal product id. Creem never sets it. Unique per store, case-sensitive; 1 to 255 characters: letters, digits, `_`, `-`, `.` and `:`. `null` when the product has no key.","example":"pro-monthly","isRequired":true,"uniqueKey":"external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own key for this product, such as your SKU or internal product id. Creem never sets it. Unique per store, case-sensitive; 1 to 255 characters: letters, digits, `_`, `-`, `.` and `:`. `null` when the product has no key.","example":"pro-monthly","isRequired":true,"uniqueKey":"external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"external_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","description":"Key-value pairs for your own use, for example `{ \"plan\": \"pro\" }`. Values are strings or numbers. `null` when the product has none.","example":{"plan":"pro"},"additionalProperties":true,"isRequired":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Key-value pairs for your own use, for example `{ \"plan\": \"pro\" }`. Values are strings or numbers. `null` when the product has none.","example":{"plan":"pro"},"additionalProperties":true,"isRequired":true,"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metadata","typeLabel":"object | null"},"created_at":{"format":"date-time","type":"string","description":"Creation date of the product","example":"2023-01-01T00:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"format":"date-time","type":"string","description":"Last updated date of the product","example":"2023-01-01T00:00:00Z","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"image_url":{"type":"string","description":"URL of the product image. Only png as jpg are supported","example":"https://example.com/image.jpg","uniqueKey":"image_url","typeLabel":"string"},"image_urls":{"description":"Ordered list of product image URLs. The first entry is the cover image (mirrored in image_url).","example":["https://example.com/image.jpg"],"type":"array","items":{"type":"string","uniqueKey":"image_urls.items.[INDEX]","typeLabel":"string"},"uniqueKey":"image_urls","typeLabel":"string[]"},"features":{"description":"Features of the product.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the feature.","example":"feat_abc123","isRequired":true,"uniqueKey":"features.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the feature: `custom` (private note), `file` (downloadable files), `licenseKey` (license key), `customerCredits` (customer credit grant), or `githubRepository` (access to a private GitHub repository).","enum":["custom","file","licenseKey","customerCredits","githubRepository"],"example":"licenseKey","isRequired":true,"uniqueKey":"features.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"A brief description of the feature.","example":"Access to premium course materials.","isRequired":true,"uniqueKey":"features.items.[INDEX].description","typeLabel":"string"},"customer_credits":{"oneOf":[{"type":"object","description":"The credit grant behind a `customerCredits` feature. Absent for other feature types.","required":["amount"],"properties":{"amount":{"type":"string","description":"The number of credits to grant. String to preserve BigInt precision.","example":"100","isRequired":true,"uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.amount","typeLabel":"string"},"unit_label":{"oneOf":[{"type":"string","description":"Optional label for the credit unit (e.g. \"tokens\", \"credits\").","example":"tokens","uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.unit_label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional label for the credit unit (e.g. \"tokens\", \"credits\").","example":"tokens","uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.unit_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.unit_label","typeLabel":"string | null"},"bucket_name":{"oneOf":[{"type":"string","description":"The customer-credit bucket this grant funds — the `name` of the customer's credit account. Set it to a meter bucket (e.g. \"images\") so the credits fund a per-unit metered price; otherwise they land in `default` and metered usage cannot spend them. Distinct from `unit_label`, which is only a display label. On UPDATE the field is tri-state: OMIT it to leave the stored bucket unchanged, send `null` to clear it to the shared `default` wallet, or send a name to set it. On CREATE, omitted or null both mean `default`. A present-but-blank value is rejected.","example":"images","uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.bucket_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The customer-credit bucket this grant funds — the `name` of the customer's credit account. Set it to a meter bucket (e.g. \"images\") so the credits fund a per-unit metered price; otherwise they land in `default` and metered usage cannot spend them. Distinct from `unit_label`, which is only a display label. On UPDATE the field is tri-state: OMIT it to leave the stored bucket unchanged, send `null` to clear it to the shared `default` wallet, or send a name to set it. On CREATE, omitted or null both mean `default`. A present-but-blank value is rejected.","example":"images","uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.bucket_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.bucket_name","typeLabel":"string | null"},"requires_moderation":{"type":"boolean","description":"When `true`, the credits go to the customer's AI generation wallet: spending them requires a `moderation_id` from the Moderation API. `bucket_name` must be omitted (422 `bucket_name_not_allowed_with_requires_moderation`); that wallet is the reserved `generation` bucket. `generation` and `generation:*` (any casing) cannot be named directly (422 `generation_bucket_reserved`). Defaults to `false` on create; on update, omitting it keeps the stored setting, also when `bucket_name` is sent as `null` (as reads return it); send `false` to move the credits to the shared wallet, or to the `bucket_name` sent with it. Always present on reads.","example":false,"uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.requires_moderation","typeLabel":"boolean"},"resets_each_period":{"type":"boolean","description":"Unused credits from subscription grants expire at each renewal; credits from one-time purchases never expire. The reset runs on every paid subscription transaction of the product: renewals, and also the first paid charge after a trial and plan changes charged immediately. Each time, the part of the previous grant the customer did not spend expires before the new grant lands. Subscription products only (422 `credits_reset_requires_subscription` on a one-time product). Defaults to `false` on create. On update, omitting it keeps the stored setting only when the feature's `id` is sent; a feature sent without `id` is replaced and defaults to `false`. Always present on reads.","example":false,"uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0.resets_each_period","typeLabel":"boolean"}},"uniqueKey":"features.items.[INDEX].customer_credits.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"features.items.[INDEX].customer_credits.oneOf.1","typeLabel":"null"}],"uniqueKey":"features.items.[INDEX].customer_credits","typeLabel":"object | null"}},"required":["id","type","description"],"uniqueKey":"features.items.[INDEX]","typeLabel":"object"},"uniqueKey":"features","typeLabel":"object[]"},"usage_prices":{"description":"Metered charges billed on top of the base price, one per meter. Present on recurring products that meter usage.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the usage price.","example":"price_abc123","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].id","typeLabel":"string"},"meter_id":{"type":"string","description":"The meter this charge bills.","example":"mtr_abc123","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].meter_id","typeLabel":"string"},"unit_price":{"type":"number","description":"Tax-exclusive price per SINGLE meter unit, in minor units of the product currency. \"$20 per 1,000,000 tokens\" is 0.002 (2000 cents / 1,000,000). Fractional values are allowed.","example":0.002,"isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].unit_price","typeLabel":"number"},"free_allowance":{"type":"integer","description":"Meter units free per billing period, per customer, before the charge applies.","example":1000,"isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].free_allowance","typeLabel":"integer"},"settlement_mode":{"type":"string","description":"How the charge settles: `prepaid` debits the customer credit account as usage aggregates; `postpaid` bills at renewal where the store supports it.","enum":["prepaid","postpaid"],"example":"prepaid","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].settlement_mode","typeLabel":"enum\u003cstring>"},"target_account":{"type":"string","description":"Credit bucket a prepaid charge debits: `shared` (the customer default wallet) or `per_unit` (a bucket named after the meter unit label, or `target_account_name`). Defaults to `shared`.","enum":["shared","per_unit"],"example":"per_unit","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].target_account","typeLabel":"enum\u003cstring>"},"trial_usage_mode":{"type":"string","description":"Usage metered during a free trial: `free` is not charged, `accrue` is charged when the trial converts. Defaults to `free`.","enum":["free","accrue"],"example":"free","isRequired":true,"uniqueKey":"usage_prices.items.[INDEX].trial_usage_mode","typeLabel":"enum\u003cstring>"},"cap":{"oneOf":[{"type":"integer","description":"Optional ceiling on the charge per billing period, in minor units. Null means uncapped.","example":50000,"uniqueKey":"usage_prices.items.[INDEX].cap.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Optional ceiling on the charge per billing period, in minor units. Null means uncapped.","example":50000,"uniqueKey":"usage_prices.items.[INDEX].cap.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage_prices.items.[INDEX].cap","typeLabel":"integer | null"},"target_account_name":{"oneOf":[{"type":"string","description":"The per-unit bucket this charge debits: the name given on write, or the meter unit label when none was. Null for a `shared` charge.","example":"images","uniqueKey":"usage_prices.items.[INDEX].target_account_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The per-unit bucket this charge debits: the name given on write, or the meter unit label when none was. Null for a `shared` charge.","example":"images","uniqueKey":"usage_prices.items.[INDEX].target_account_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage_prices.items.[INDEX].target_account_name","typeLabel":"string | null"}},"required":["id","meter_id","unit_price","free_allowance","settlement_mode","target_account","trial_usage_mode"],"uniqueKey":"usage_prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"usage_prices","typeLabel":"object[]"},"recurring_interval":{"oneOf":[{"type":"string","description":"The unit of the recurring billing interval (`day`, `week`, `month`, or `year`). Together with `recurring_interval_count` this is authoritative for renewal timing — a `billing_period` of `custom` cannot be interpreted without it. For presets it is derived from the cadence (e.g. `every-three-months` → `month`). `null` for one-time products.","example":"month","uniqueKey":"recurring_interval.oneOf.0","typeLabel":"string"},{"type":"null","description":"The unit of the recurring billing interval (`day`, `week`, `month`, or `year`). Together with `recurring_interval_count` this is authoritative for renewal timing — a `billing_period` of `custom` cannot be interpreted without it. For presets it is derived from the cadence (e.g. `every-three-months` → `month`). `null` for one-time products.","example":"month","uniqueKey":"recurring_interval.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurring_interval","typeLabel":"string | null"},"recurring_interval_count":{"oneOf":[{"type":"integer","description":"The number of `recurring_interval` units per billing cycle (e.g. `3` with a `month` interval bills every three months). Together with `recurring_interval` this is authoritative for renewal timing. For presets it is derived from the cadence. `null` for one-time products.","example":3,"uniqueKey":"recurring_interval_count.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The number of `recurring_interval` units per billing cycle (e.g. `3` with a `month` interval bills every three months). Together with `recurring_interval` this is authoritative for renewal timing. For presets it is derived from the cadence. `null` for one-time products.","example":3,"uniqueKey":"recurring_interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"recurring_interval_count","typeLabel":"integer | null"},"trial_period_days":{"oneOf":[{"type":"integer","description":"Length of the trial period in days. A whole number of days, at least 1. Only supported for recurring products. `null` when the product has no trial.","example":7,"uniqueKey":"trial_period_days.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Length of the trial period in days. A whole number of days, at least 1. Only supported for recurring products. `null` when the product has no trial.","example":7,"uniqueKey":"trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"trial_period_days","typeLabel":"integer | null"},"trial_price":{"oneOf":[{"type":"integer","description":"Amount charged at checkout to start the trial, instead of a free card verification. In cents (100 = $1.00). Requires a trial period and must be at least 100 and lower than `price`; only supported on standard-priced recurring products without pay-what-you-want. `null` for a free trial and for products without a trial.","example":100,"uniqueKey":"trial_price.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Amount charged at checkout to start the trial, instead of a free card verification. In cents (100 = $1.00). Requires a trial period and must be at least 100 and lower than `price`; only supported on standard-priced recurring products without pay-what-you-want. `null` for a free trial and for products without a trial.","example":100,"uniqueKey":"trial_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"trial_price","typeLabel":"integer | null"},"business_net_pricing":{"type":"boolean","description":"When true, business customers whose valid VAT ID triggers reverse charge pay the price excluding VAT instead of the tax-inclusive price. Only supported for tax-inclusive one-time products; the merchant gives up the VAT portion on those sales. Defaults to false.","example":false,"uniqueKey":"business_net_pricing","typeLabel":"boolean"},"product_url":{"type":"string","description":"The product page you can redirect your customers to for express checkout.","example":"https://creem.io/product/prod_123123123123","uniqueKey":"product_url","typeLabel":"string"},"default_success_url":{"oneOf":[{"type":"string","description":"The URL to which the user will be redirected after successfull payment.","example":"https://example.com/?status=successful","uniqueKey":"default_success_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL to which the user will be redirected after successfull payment.","example":"https://example.com/?status=successful","uniqueKey":"default_success_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"default_success_url","typeLabel":"string | null"},"custom_fields":{"oneOf":[{"description":"Custom fields configured for the product. Collect additional information from your customer during checkout.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the field.","enum":["text","checkbox"],"isRequired":true,"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"Unique key for custom field. Must be unique to this field, alphanumeric, and up to 200 characters.","maxLength":200,"isRequired":true,"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","description":"The label for the field, displayed to the customer, up to 50 characters","maxLength":200,"isRequired":true,"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].label","typeLabel":"string"},"optional":{"oneOf":[{"type":"boolean","description":"Whether the customer is required to complete the field. Defaults to `false`.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].optional.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the customer is required to complete the field. Defaults to `false`.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].optional.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].optional","typeLabel":"boolean | null"},"text":{"oneOf":[{"type":"object","description":"Configuration for text field type.","properties":{"max_length":{"oneOf":[{"type":"number","description":"Maximum character length constraint for the input.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.max_length.oneOf.0","typeLabel":"number"},{"type":"null","description":"Maximum character length constraint for the input.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.max_length.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.max_length","typeLabel":"number | null"},"minimum_length":{"oneOf":[{"type":"number","description":"Minimum character length requirement for the input.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.minimum_length.oneOf.0","typeLabel":"number"},{"type":"null","description":"Minimum character length requirement for the input.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.minimum_length.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.minimum_length","typeLabel":"number | null"},"value":{"oneOf":[{"type":"string","description":"The value of the input.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of the input.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0.value","typeLabel":"string | null"}},"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].text","typeLabel":"object | null"},"checkbox":{"oneOf":[{"type":"object","description":"Configuration for checkbox field type.","properties":{"label":{"oneOf":[{"type":"string","description":"The markdown text to display for the checkbox.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0.label.oneOf.0","typeLabel":"string"},{"type":"null","description":"The markdown text to display for the checkbox.","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0.label","typeLabel":"string | null"},"value":{"oneOf":[{"type":"boolean","description":"The value of the checkbox (checked or not).","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0.value.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"The value of the checkbox (checked or not).","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0.value","typeLabel":"boolean | null"}},"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX].checkbox","typeLabel":"object | null"}},"required":["type","key","label"],"uniqueKey":"custom_fields.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"custom_fields.oneOf.0","typeLabel":"object[]"},{"description":"Custom fields configured for the product. Collect additional information from your customer during checkout.","type":"null","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the field.","enum":["text","checkbox"]},"key":{"type":"string","description":"Unique key for custom field. Must be unique to this field, alphanumeric, and up to 200 characters.","maxLength":200},"label":{"type":"string","description":"The label for the field, displayed to the customer, up to 50 characters","maxLength":200},"optional":{"oneOf":[{"type":"boolean","description":"Whether the customer is required to complete the field. Defaults to `false`."},{"type":"null","description":"Whether the customer is required to complete the field. Defaults to `false`."}]},"text":{"oneOf":[{"type":"object","description":"Configuration for text field type.","properties":{"max_length":{"oneOf":[{"type":"number","description":"Maximum character length constraint for the input."},{"type":"null","description":"Maximum character length constraint for the input."}]},"minimum_length":{"oneOf":[{"type":"number","description":"Minimum character length requirement for the input."},{"type":"null","description":"Minimum character length requirement for the input."}]},"value":{"oneOf":[{"type":"string","description":"The value of the input."},{"type":"null","description":"The value of the input."}]}}},{"type":"null"}]},"checkbox":{"oneOf":[{"type":"object","description":"Configuration for checkbox field type.","properties":{"label":{"oneOf":[{"type":"string","description":"The markdown text to display for the checkbox."},{"type":"null","description":"The markdown text to display for the checkbox."}]},"value":{"oneOf":[{"type":"boolean","description":"The value of the checkbox (checked or not)."},{"type":"null","description":"The value of the checkbox (checked or not)."}]}}},{"type":"null"}]}},"required":["type","key","label"]},"uniqueKey":"custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_fields","typeLabel":"object[] | null"}},"required":["id","mode","object","name","description","price","currency","billing_type","billing_period","status","tax_mode","tax_category","external_id","metadata","created_at","updated_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","mode":"test","object":"\u003cstring>","name":"\u003cstring>","description":"This is a sample product description.","price":400,"currency":"USD","billing_type":"recurring","billing_period":"every-month","status":"active","tax_mode":"inclusive","tax_category":"saas","external_id":"pro-monthly","metadata":{"plan":"pro"},"created_at":"2023-01-01T00:00:00Z","updated_at":"2023-01-01T00:00:00Z","image_url":"https://example.com/image.jpg","image_urls":["https://example.com/image.jpg"],"features":[{"id":"feat_abc123","type":"licenseKey","description":"Access to premium course materials.","customer_credits":{"amount":"100","unit_label":"tokens","bucket_name":"images","requires_moderation":false,"resets_each_period":false}}],"usage_prices":[{"id":"price_abc123","meter_id":"mtr_abc123","unit_price":0.002,"free_allowance":1000,"settlement_mode":"prepaid","target_account":"per_unit","trial_usage_mode":"free","cap":50000,"target_account_name":"images"}],"recurring_interval":"month","recurring_interval_count":3,"trial_period_days":7,"trial_price":100,"business_net_pricing":false,"product_url":"https://creem.io/product/prod_123123123123","default_success_url":"https://example.com/?status=successful","custom_fields":[{"type":"text","key":"\u003cstring>","label":"\u003cstring>","optional":true,"text":{"max_length":123,"minimum_length":123,"value":"\u003cstring>"},"checkbox":{"label":"\u003cstring>","value":true}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c2a7ac77-3970-4e3d-86d6-fb3430d4550a":{"description":"Bad Request - Invalid input parameters","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"3ca218eb-f87b-41c3-b807-ab926513d6ba":{"description":"Unauthorized - Invalid or missing API key","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7aa337ec-0193-405c-99d9-4fa5f16081b2":{"description":"Not Found - Resource does not exist","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"3308e683-0db0-4e81-b96b-166de32d2d39":{"description":"Conflict. `external_id_taken`: another product of the store already uses this `external_id`. `usage_price_in_use`: the update would remove a usage price, move it to another meter or change its settlement mode while subscriptions are billed for it or have usage on it that has not settled; `details.affected_subscriptions` counts them (`total`, `by_status`, `unsettled_postpaid_usage`) and `details.reason` is `running_subscriptions`. The same code with `details.reason` `referenced_price` and all counts 0: an ended subscription, a subscription item or an order still references the removed price. Nothing is changed.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"9f4a4026-0799-4ac3-9eb6-0d696b3b00f3":{"description":"Unprocessable. `generation_bucket_reserved`: a `customerCredits` feature names a reserved bucket (`generation` or `generation:*`, any casing) without `requires_moderation`; grant AI generation credits with `requires_moderation` `true` instead. `bucket_name_not_allowed_with_requires_moderation`: a `customerCredits` feature sends `bucket_name` together with `requires_moderation` `true`. `generation_credits_usage_price_unsupported`: a usage price would settle from a reserved generation bucket (`target_account` `per_unit` with `target_account_name`, or the meter unit, `generation` or `generation:*`); spending generation credits requires a `moderation_id`, which usage settlement does not carry. `credits_reset_requires_subscription`: a `customerCredits` feature would have `resets_each_period` `true` on a one-time product, also when the update switches a product with the reset on to one-time without turning it off. Nothing is changed.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"b6a99bcd-12fd-4ae4-b410-1737309de6db":{"ApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.","scopes":[],"schemeName":"ApiKey"}}},"servers":{"6bbba29f-d261-4b65-b10a-c1342dea9d61":{"url":"https://api.creem.io","description":"Production — live API for processing real transactions and data.","x-speakeasy-server-id":"prod"},"452e0804-0433-4304-9751-c53b9941c44b":{"url":"https://test-api.creem.io","description":"Test — sandbox API for development and testing with no real charges.","x-speakeasy-server-id":"test"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"x-api-key","type":"string","description":"API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"x-api-key"}],"title":"ApiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"creem","siteName":"Creem","title":"Update a product - Creem","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-21T18:29:27.908Z","originalFileLocation":"api-reference/endpoint/update-product.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update a product. Only supplied fields change; a price change mints a new default price.\">\u003cmeta data-mint-head name=\"keywords\" content=\"merchant of record, payment api, saas billing, subscription management, global payments, MoR, affiliate program, affiliate marketing, referral program\">\u003cmeta data-mint-head name=\"application-name\" content=\"Creem\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a product - Creem\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a product. Only supplied fields change; a price change mints a new default price.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Creem Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.creem.io/api-reference/endpoint/update-product\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://creem.mintlify.site/_mintlify/api/og/v2?division=Product\u0026amp;title=Update+a+product\u0026amp;description=Update+a+product.+Only+supplied+fields+change%3B+a+price+change+mints+a+new+default+price.\u0026amp;theme=19d74014ebb4a0780d75c372\u0026amp;signature=7d5fccdad66592e045d1f9653fcf2cba6f045bed60e0e65c80e993be9976ed2d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update a product - Creem\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a product. Only supplied fields change; a price change mints a new default price.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://creem.mintlify.site/_mintlify/api/og/v2?division=Product\u0026amp;title=Update+a+product\u0026amp;description=Update+a+product.+Only+supplied+fields+change%3B+a+price+change+mints+a+new+default+price.\u0026amp;theme=19d74014ebb4a0780d75c372\u0026amp;signature=7d5fccdad66592e045d1f9653fcf2cba6f045bed60e0e65c80e993be9976ed2d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/creem/nizlPYWnvgrMkN5E/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Creem\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFBE98\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.creem.io/api-reference/endpoint/update-product\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/update-product.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.creem.io/#organization\",\"name\":\"Creem\",\"url\":\"https://docs.creem.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/creem/-AIVGXbrCJu_8i70/logo/light.svg?fit=max\u0026auto=format\u0026n=-AIVGXbrCJu_8i70\u0026q=85\u0026s=686f06f43a3d7e4c0456e22de64c8bae\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.creem.io#website\",\"name\":\"Creem\",\"url\":\"https://docs.creem.io\",\"publisher\":{\"@id\":\"https://docs.creem.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.creem.io/api-reference/endpoint/update-product#webpage\",\"url\":\"https://docs.creem.io/api-reference/endpoint/update-product\",\"name\":\"Update a product\",\"description\":\"Update a product. Only supplied fields change; a price change mints a new default price.\",\"dateModified\":\"2026-07-21T18:29:27.908Z\",\"isPartOf\":{\"@id\":\"https://docs.creem.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.creem.io/api-reference/endpoint/update-product#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.creem.io/api-reference/endpoint/update-product#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Product\",\"item\":\"https://docs.creem.io/api-reference/endpoint/create-product\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a product\",\"item\":\"https://docs.creem.io/api-reference/endpoint/update-product\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.creem.io/api-reference/endpoint/update-product#apireference\",\"headline\":\"Update a product\",\"name\":\"Update a product\",\"description\":\"Update a product. Only supplied fields change; a price change mints a new default price.\",\"url\":\"https://docs.creem.io/api-reference/endpoint/update-product\",\"mainEntityOfPage\":{\"@id\":\"https://docs.creem.io/api-reference/endpoint/update-product#webpage\"},\"dateModified\":\"2026-07-21T18:29:27.908Z\",\"publisher\":{\"@id\":\"https://docs.creem.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.creem.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Creem\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Creem\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/update-product.md","siteName":"Creem","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/q3GKZs92Av"},{"anchor":"Blog","icon":"newspaper","href":"https://creem.io/blog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","icon":"book","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Error Handling","href":"/api-reference/error-codes"}]},{"group":"Checkout","icon":"shopping-cart","pages":[{"title":"Creates a new checkout session","openapi":"post /v1/checkouts","href":"/api-reference/endpoint/create-checkout"},{"title":"Retrieve a checkout session","openapi":"get /v1/checkouts","href":"/api-reference/endpoint/get-checkout"}]},{"group":"Product","icon":"box","pages":[{"title":"Creates a new product","openapi":"post /v1/products","href":"/api-reference/endpoint/create-product"},{"title":"Get a product by ID","openapi":"get /v1/products/{id}","href":"/api-reference/endpoint/get-product"},{"title":"List all products","description":"Search and retrieve a paginated list of products. Filter by status or by your own `external_id`.","openapi":"get /v1/products/search","href":"/api-reference/endpoint/search-products"},{"title":"Update a product","openapi":"patch /v1/products/{id}","href":"/api-reference/endpoint/update-product"},{"title":"Archive a product","description":"Archive a product (soft-delete). The product is retained for historical orders and subscriptions but can no longer be purchased.","openapi":"delete /v1/products/{id}","href":"/api-reference/endpoint/archive-product"}]},{"group":"Customer","icon":"users","pages":[{"title":"Retrieve a customer","openapi":"get /v1/customers","href":"/api-reference/endpoint/get-customer"},{"title":"Update a customer","openapi":"patch /v1/customers","href":"/api-reference/endpoint/update-customer"},{"title":"List all customers","openapi":"get /v1/customers/list","href":"/api-reference/endpoint/list-customers"},{"title":"Generate Customer Links","openapi":"post /v1/customers/billing","href":"/api-reference/endpoint/create-customer-billing"}]},{"group":"Transactions","icon":"receipt","pages":[{"title":"Get a transaction by ID","openapi":"get /v1/transactions","href":"/api-reference/endpoint/get-transaction"},{"title":"List all transactions","openapi":"get /v1/transactions/search","href":"/api-reference/endpoint/get-transactions"},{"title":"Refund a payment","openapi":"post /v1/refunds","href":"/api-reference/endpoint/refund-payment"}]},{"group":"Affiliate","icon":"users","pages":[{"title":"List all affiliates","openapi":"get /v1/affiliates","href":"/api-reference/endpoint/list-affiliates"},{"title":"Retrieve an affiliate","openapi":"get /v1/affiliates/{id}","href":"/api-reference/endpoint/retrieve-affiliate"},{"title":"List affiliate commissions","openapi":"get /v1/affiliates/{id}/commissions","href":"/api-reference/endpoint/list-affiliate-commissions"},{"title":"Create an affiliate invitation","openapi":"post /v1/affiliates/invites","href":"/api-reference/endpoint/create-affiliate-invite"},{"title":"List affiliate invitations","openapi":"get /v1/affiliates/invites","href":"/api-reference/endpoint/list-affiliate-invites"}]},{"group":"License","icon":"key","pages":[{"title":"Validates a license key or instance","openapi":"post /v1/licenses/validate","href":"/api-reference/endpoint/validate-license"},{"title":"Activates a license key","openapi":"post /v1/licenses/activate","href":"/api-reference/endpoint/activate-license"},{"title":"Deactivate a license key instance","openapi":"post /v1/licenses/deactivate","href":"/api-reference/endpoint/deactivate-license"},{"title":"List license instances","openapi":"get /v1/licenses/{id}/instances","href":"/api-reference/endpoint/list-license-instances"}]},{"group":"Discount Code","icon":"tag","pages":[{"title":"Create a discount","openapi":"post /v1/discounts","href":"/api-reference/endpoint/create-discount-code"},{"title":"Delete a discount","openapi":"delete /v1/discounts/{id}/delete","href":"/api-reference/endpoint/delete-discount-code"},{"title":"Retrieve discount","openapi":"get /v1/discounts","href":"/api-reference/endpoint/get-discount-code"},{"title":"Search discounts","openapi":"get /v1/discounts/search","href":"/api-reference/endpoint/search-discounts"}]},{"group":"Subscription","icon":"repeat","pages":[{"title":"Retrieve a subscription","openapi":"get /v1/subscriptions","href":"/api-reference/endpoint/get-subscription"},{"title":"List all subscriptions","openapi":"get /v1/subscriptions/search","href":"/api-reference/endpoint/search-subscriptions"},{"title":"Update a subscription","openapi":"post /v1/subscriptions/{id}","href":"/api-reference/endpoint/update-subscription"},{"title":"Upgrade a subscription to a different product","openapi":"post /v1/subscriptions/{id}/upgrade","href":"/api-reference/endpoint/upgrade-subscription"},{"title":"Pause a subscription","openapi":"post /v1/subscriptions/{id}/pause","href":"/api-reference/endpoint/pause-subscription"},{"title":"Resume a subscription","openapi":"post /v1/subscriptions/{id}/resume","href":"/api-reference/endpoint/resume-subscription"},{"title":"Cancel a subscription","openapi":"post /v1/subscriptions/{id}/cancel","href":"/api-reference/endpoint/cancel-subscription"}]},{"group":"Splits","icon":"arrows-split-up-and-left","pages":[{"title":"Create a split","openapi":"post /v1/splits","href":"/api-reference/endpoint/create-split"},{"title":"List all splits","openapi":"get /v1/splits","href":"/api-reference/endpoint/list-splits"},{"title":"Retrieve a split","openapi":"get /v1/splits/{id}","href":"/api-reference/endpoint/retrieve-split"},{"title":"Delete a split","openapi":"delete /v1/splits/{id}","href":"/api-reference/endpoint/delete-split"}]},{"group":"Stats","icon":"chart-line","pages":[{"title":"Get store metrics summary","openapi":"get /v1/stats/summary","href":"/api-reference/endpoint/get-stats-summary"}]},{"group":"Customer Credits","icon":"coins","pages":[{"title":"Create a customer credits account","openapi":"post /v1/customer-credits/accounts","href":"/api-reference/endpoint/create-credits-account"},{"title":"List customer credits accounts","openapi":"get /v1/customer-credits/accounts","href":"/api-reference/endpoint/list-credits-accounts"},{"title":"Retrieve a customer credits account","openapi":"get /v1/customer-credits/accounts/{id}","href":"/api-reference/endpoint/get-credits-account"},{"title":"Get account balance","openapi":"get /v1/customer-credits/accounts/{id}/balance","href":"/api-reference/endpoint/get-credits-account-balance"},{"title":"List account entries","openapi":"get /v1/customer-credits/accounts/{id}/entries","href":"/api-reference/endpoint/list-credits-entries"},{"title":"Credit an account","openapi":"post /v1/customer-credits/accounts/{id}/credit","href":"/api-reference/endpoint/credit-account"},{"title":"Debit an account","openapi":"post /v1/customer-credits/accounts/{id}/debit","href":"/api-reference/endpoint/debit-account"},{"title":"Reverse a transaction","openapi":"post /v1/customer-credits/accounts/{id}/reverse","href":"/api-reference/endpoint/reverse-credits-transaction"},{"title":"Freeze an account","openapi":"post /v1/customer-credits/accounts/{id}/freeze","href":"/api-reference/endpoint/freeze-credits-account"},{"title":"Unfreeze an account","openapi":"post /v1/customer-credits/accounts/{id}/unfreeze","href":"/api-reference/endpoint/unfreeze-credits-account"},{"title":"Close an account","openapi":"post /v1/customer-credits/accounts/{id}/close","href":"/api-reference/endpoint/close-credits-account"},{"title":"Post a transaction","openapi":"post /v1/customer-credits/transactions","href":"/api-reference/endpoint/post-credits-transaction"},{"title":"Retrieve a transaction","openapi":"get /v1/customer-credits/transactions/{id}","href":"/api-reference/endpoint/get-credits-transaction"},{"title":"Reverse a transaction","openapi":"post /v1/customer-credits/transactions/{id}/reverse","href":"/api-reference/endpoint/reverse-credits-transaction-by-id"},{"title":"List transactions by reference","openapi":"get /v1/customer-credits/transactions","href":"/api-reference/endpoint/list-credits-transactions"}]},{"group":"Moderation","icon":"shield-check","pages":[{"title":"Screen a prompt","openapi":"post /v1/moderation/prompt","href":"/api-reference/endpoint/screen-prompt"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List webhook endpoints","openapi":"get /v1/webhooks","href":"/api-reference/endpoint/list-webhooks"},{"title":"Create a webhook endpoint","openapi":"post /v1/webhooks","href":"/api-reference/endpoint/create-webhook"},{"title":"Retrieve a webhook endpoint","openapi":"get /v1/webhooks/{id}","href":"/api-reference/endpoint/get-webhook"},{"title":"Update a webhook endpoint","openapi":"patch /v1/webhooks/{id}","href":"/api-reference/endpoint/update-webhook"},{"title":"Delete a webhook endpoint","openapi":"delete /v1/webhooks/{id}","href":"/api-reference/endpoint/delete-webhook"},{"title":"Retrieve a webhook signing secret","openapi":"get /v1/webhooks/{id}/secret","href":"/api-reference/endpoint/get-webhook-secret"},{"title":"List pending events for a CLI webhook endpoint","openapi":"get /v1/webhooks/{id}/events/pending","href":"/api-reference/endpoint/list-pending-webhook-events"},{"title":"Acknowledge a CLI webhook event","openapi":"post /v1/webhooks/{id}/events/{event_id}/ack","href":"/api-reference/endpoint/acknowledge-webhook-event"}]}]}]},"basePath":"","title":"Update a product - Creem","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DbeN8Wo6.js","utils-CwSb5Doc.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BmREeM3N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-AYjWerCj.js","snippetPresets-QD4ULQlp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Digj5cjF.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CiHrzluR.js","shallow-D7h7pFGg.js","getApiPlaygroundDisplay-mlxkpAUf.js","CodeSnippet-D2rH5lZI.js","CodeSnippets-B53ulOaL.js","Page-CqcDm2To.js","getPastedJson-DxGeNMih.js","icon-BHbyrebp.js","MethodPill-C7F_KEEJ.js","DuplicateIcon-j3c5-73z.js","createIcon-OvCnyFqD.js","DynamicMarkdown-DpAS3GCb.js","SectionHeading-DMPpdrvW.js","axios-vUo_bRtp.js","Markdown-D7pDRguu.js","clsx-2_c6mSt_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cu7_SikL.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ydqCcy4b.js"]}