UpsertGlobalCommandDto
Data transfer object used for creating new global commands or updating existing ones. Supports partial updates following PATCH semantics.
contentstringRequired
The command content to be executed.
execution_ruleenumRequired
Possible enum values
invalidonce_per_itemExecutes commands regularly, once per item (number of products * quantity times)
once_per_orderExecutes command only once per entire order
online_onlybooleanRequired
Indicates whether the command should only be executed when the player is online.
stageenumRequired
Defines the stages at which product commands can be executed.
Possible enum values
invalidRepresents an invalid or unspecified command stage.
on_purchaseCommands that should be executed when a product is purchased.
on_expireCommands that should be executed when a product expires.
on_refundCommands that should be executed when a product is refunded.
on_renewCommands that should be executed when a subscription is renewed.
on_chargebackCommands that should be executed when an order is charged back.
on_trial_startCommands that should be executed when a trial is started.
on_trial_expireCommands that should be executed when a trial expires.
override_execute_on_gameserver_idsFlakeId[]Optional
List of specific game server IDs where this command should be executed.
Example
{
"content": "string",
"execution_rule": "invalid",
"online_only": true,
"stage": "invalid",
"override_execute_on_gameserver_ids": [
"411486491630370816"
]
}