Skapa Produkt
Skapa en ny produkt.
Auktoriseringar
Send your API key as a bearer token: Authorization: Bearer <api_key>. A test mode key starts with dodo_test_, for example dodo_test_AbCd1234EfGh5678.<secret>. A live mode key starts with dodo_live_. Use a test mode key on test.dodopayments.com and a live mode key on live.dodopayments.com. Keys from before these tags have no tag and operate as before.
Kropp
Duration configuration for the license key. Set to null if you don't want the license key to expire. For subscriptions, the lifetime of the license key is tied to the subscription period
deprecated: use entitlements instead. Ignored when a license_key
entitlement is attached via the entitlements field.
When true, generates and sends a license key to your customer. Defaults to false
deprecated: use entitlements instead. If a license_key entitlement is
also attached via the entitlements field, the license_key_* config
fields below are ignored — the attached entitlement's config is the
source of truth.
Svar
Product Created Successfully