Replace the in-app catalog
replace_in_app_productsReplace the whole in-app catalog with products — not a patch: a product you leave out is deleted, and an empty list clears the catalog. Ask the developer before removing products. Read list_in_app_products first and pass its checksum as expectedChecksum; if the catalog changed meanwhile, the call is refused. While in-game purchases are off, a call that leaves them off is refused (IN_GAME_PURCHASES_OFF): turn them on with hasInGamePurchases: true to change the catalog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes | The complete catalog after your change | |
| applicationId | Yes | Application (game) id, as returned by list_applications | |
| expectedChecksum | Yes | The `checksum` list_in_app_products answered — the state this call means to replace | |
| hasInGamePurchases | No | Defaults to whether `products` is non-empty |