Settings
API Version
v1
v2
Product Catalog
1.0
2.0
Library
cURL
PHP
Ruby
Python
Java
.Net
Node.js
Go
TypeScript
Set to Default
Submit
Toggle navigation
API
Toggle navigation
Product Catalog
2.0
1.0
2.0
latest version
SDK
cURL
Configure SDK
Language
cURL
cURL
PHP
Ruby
Python
Java
.Net
Node.js
Go
TypeScript
Dev Toolkit
Help Docs
Partner SPI
MCP Server
Tutorials
Frontend Capabilities
API Changelog
Release Notes
API Explorer
NEW
Support
Chargebee for Next.js apps.
Explore now
Medias
Introduction
Media attributes
Copy Page
▾
API
v2
v1
v2
Home
Getting started
Authentication
Versioning
List operations
Error handling & rate limits
Idempotent requests
Webhooks
Advanced features
API Changelog
Business Entities
Business entities
Business entity transfers
Customers
Customers
Hierarchies
Subscriptions
Subscriptions
Ramps
Usages
Discounts
Contract terms
Gifts
Addresses
In App Purchases - Legacy
In-app subscriptions
Non subscriptions
In-app purchase events
Omnichannel
Recorded purchases
Omnichannel subscriptions
Omnichannel subscription items
Omnichannel transactions
Omnichannel one time orders
Omnichannel events
Omnichannel statuses
Invoices and Credit Notes
Invoices
Advance invoice schedules
Credit notes
Promotional credits
Unbilled charges
Payment reference numbers
Payment schedules
Payment schedule schemes
Quotes
Quotes
Quotes line groups
Quoted subscriptions
Quoted charges
Quoted ramps
Estimates
Estimates
Orders
Orders
Product Catalog
Item families
Items
Item prices
Attached items
Price variants
Differential prices
Coupons
Coupon sets
Coupon codes
Using business entity filters in product catalog list APIs
Offers
Personalized offers
Offer fulfillments
Offer events
Entitlements
Features
Entitlements
Item entitlements
Customer entitlements
Subscription entitlements
Entitlement overrides
Impacted items
Impacted subscriptions
Usage Based Billing
Usage events
Usage files
Hosted Pages
Hosted pages
Portal sessions
Pricing page sessions
Chargebee JS
Payments
Payment sources
Payment intents
Cards
Virtual bank accounts
Transactions
Payment vouchers
3DS card payments
Payment parameters
Gateway error references
Currencies
Currencies
Events
Events
Webhook Endpoints
Exports
Exports
Downloads
Simulation Tools
Time machines
More Resources
Comments
Site migration details
Configurations
Upgrade to Product Catalog 2.0
Errors
Chargebee root and intermediate CA certificate updates
Medias
A media artifact uploaded to Chargebee.
Sample media
[ JSON ]
{}
API Index URL
https://{site}.chargebee.com/api/v2/medias
Model Class
Media attributes
id
string, min chars=8, max chars=42
The unique identifier for the media file. This is auto-generated by Chargebee.
Possible values are
Show all values
[+]
url
optional, string, min chars=10, max chars=512
The public URL for accessing the media file. This is auto-generated by Chargebee.
Possible values are
Show all values
[+]
alt_text
optional, string, min chars=2, max chars=128
The
alternative text
for the image. Applicable only when the top-level
media_type
is
image
.
Possible values are
Show all values
[+]
media_type
optional, string, max chars=20
The
media type
of the file.
Possible values are
Show all values
[+]
id
id
string, min chars=8, max chars=42
The unique identifier for the media file. This is auto-generated by Chargebee.
Possible values are
Show all values
[+]
url
url
optional, string, min chars=10, max chars=512
The public URL for accessing the media file. This is auto-generated by Chargebee.
Possible values are
Show all values
[+]
alt_text
alt_text
optional, string, min chars=2, max chars=128
The
alternative text
for the image. Applicable only when the top-level
media_type
is
image
.
Possible values are
Show all values
[+]
media_type
media_type
optional, string, max chars=20
The
media type
of the file.
Possible values are
Show all values
[+]
Consent Fields for Media
Custom Fields for Media