Create Product
Creates a product.
Documentation Index
Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Publisher token, as displayed in the Publisher Dashboard.
Body
Product name.
"Gold Coins Pack"
Product ID that you define.
"gold_coins_100"
Product unit type.
Quantity, Time "Quantity"
Product text font color in hex format.
^#[0-9a-fA-F]{6}$"#f5c518"
Product image URL in PNG or JPEG format.
For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from the provided URL. External image URLs are saved and used as-is, and Appcharge doesn't download, copy, upload, or host them. Images must remain available at the provided URLs.
We recommend uploading image files instead of using external URLs when possible.
"https://media.appcharge.com/media/69133d595af23405d8e843a5"
Product display name.
"Gold Coins"
Product description.
"A pack of 100 gold coins."
Product prefix text.
"Get"
Product suffix text.
"coins"
Product prefix image URL in PNG or JPEG format.
For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from the provided URL. External image URLs are saved and used as-is, and Appcharge doesn't download, copy, upload, or host them. Images must remain available at the provided URLs.
We recommend uploading image files instead of using external URLs when possible.
"https://media.appcharge.com/media/69133d595af23405d8e843a5"
Response
Product created successfully.
Product ID.
"507f1f77bcf86cd799439015"
Product name.
"Gold Coins Pack"
Product display name.
"Gold Coins"
Product ID that you defined.
"gold_coins_100"
Product unit type.
Quantity, Time "Quantity"
Product description.
"A pack of 100 gold coins."
Product prefix text.
"Get"
Product suffix text.
"coins"
Product text font color in hex format.
^#[0-9a-fA-F]{6}$"#f5c518"
Product image URL. For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from the provided URL.
"https://media.appcharge.com/media/69133d595af23405d8e843a5"
Product prefix image URL. For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from the provided URL.
"https://media.appcharge.com/media/69133d595af23405d8e843a5"
Original product image URL when the product uses an external image URL. This URL is used as provided to serve the image.
"https://images.pexels.com/photos/35406321/pexels-photo-35406321.jpeg"
