v1
latestOpenAPI 3.1.02026-07-2665153355.3 KBProducts
Updates a product.
put/components/v1/product/{externalId}
Request body
Example request
{
"name": "Premium Gold Coins Pack",
"displayName": "Premium Gold Coins",
"publisherProductId": "gold_coins_100",
"type": "Quantity",
"prefix": "Get",
"suffix": "premium coins",
"textFontColorHex": "#d4af37",
"productImageUrl": "https://media.appcharge.com/media/69133d595af23405d8e843a5",
"productPrefixImageUrl": "https://media.appcharge.com/media/69133d595af23405d8e843a5"
}Response
Product updated successfully.
Example response
{
"id": "507f1f77bcf86cd799439015",
"name": "Gold Coins Pack",
"displayName": "Gold Coins",
"publisherProductId": "gold_coins_100",
"type": "Quantity",
"description": "A pack of 100 gold coins.",
"prefix": "Get",
"suffix": "coins",
"textFontColorHex": "#f5c518",
"productImageUrl": "https://media.appcharge.com/media/69133d595af23405d8e843a5",
"productPrefixImageUrl": "https://media.appcharge.com/media/69133d595af23405d8e843a5",
"productImageExternalUrl": "https://images.pexels.com/photos/35406321/pexels-photo-35406321.jpeg"
}