cURL
curl --request GET \ --url https://api-sandbox.appcharge.com/components/v1/product/{externalId} \ --header 'x-publisher-token: <api-key>'
{ "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://cdn.appcharge.com/507f1f77bcf86cd799439015_product.png", "productPrefixImageUrl": "https://cdn.appcharge.com/507f1f77bcf86cd799439015_prefix.png", "productImageExternalUrl": "https://example.com/images/gold_coins.png" }
Retrieves the details of a specific product.
Publisher token, as displayed in the Publisher Dashboard.
External ID that you defined.
"gold_coins_pack"
Product details retrieved successfully.
The response is of type object.
object
Was this page helpful?