Classic APIs
ClassicDeveloperProductsApi
updateDeveloperProductIcon

updateDeveloperProductIcon

Updates a developer product's icon.

Parameters

NameTypeDescription
developerProductIdIdentifierThe ID of the developer product to update icon for.
iconstring | FileThe new icon for the developer product.

Example

const {
  data,
  response: { body },
} = await ClassicDeveloperProductsApi.updateDeveloperProductIcon({
  developerProductId: 975462435,
  icon: "./developerProductIcon.png",
}); 

Endpoint

POST /v1/developer-products/{developerProductId}/image