Global Commands
Retrieves all global commands for the specified store.
The ID of the store to retrieve this data for.
411486491630370816
GET /v1/stores/{storeId}/global-commands HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"stage": "invalid",
"content": "text",
"online_only": true,
"override_execute_on_gameserver_ids": [
"411486491630370816"
],
"created_at": "2025-08-01T19:19:32.599Z",
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": "2025-08-01T19:19:32.599Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}
]
Creates a global command for a store.
The ID of the store to create this data for.
411486491630370816
Data transfer object used for creating new global commands or updating existing ones. Supports partial updates following PATCH semantics.
Defines the stages at which product commands can be executed.
The command content to be executed.
Indicates whether the command should only be executed when the player is online.
List of specific game server IDs where this command should be executed.
411486491630370816
POST /v1/stores/{storeId}/global-commands HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"stage": "invalid",
"content": "text",
"online_only": true,
"override_execute_on_gameserver_ids": [
"411486491630370816"
]
}
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"stage": "invalid",
"content": "text",
"online_only": true,
"override_execute_on_gameserver_ids": [
"411486491630370816"
],
"created_at": "2025-08-01T19:19:32.599Z",
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": "2025-08-01T19:19:32.599Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}
Deletes a global command for a store.
The ID of the store to delete this data for.
411486491630370816
The ID of the command to delete.
411486491630370816
DELETE /v1/stores/{storeId}/global-commands/{globalCommandId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content
Updates a global command for a store.
The ID of the store to update this data for.
411486491630370816
411486491630370816
Data transfer object used for creating new global commands or updating existing ones. Supports partial updates following PATCH semantics.
Defines the stages at which product commands can be executed.
The command content to be executed.
Indicates whether the command should only be executed when the player is online.
List of specific game server IDs where this command should be executed.
411486491630370816
PATCH /v1/stores/{storeId}/global-commands/{globalCommandId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"stage": "invalid",
"content": "text",
"online_only": true,
"override_execute_on_gameserver_ids": [
"411486491630370816"
]
}
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"stage": "invalid",
"content": "text",
"online_only": true,
"override_execute_on_gameserver_ids": [
"411486491630370816"
],
"created_at": "2025-08-01T19:19:32.599Z",
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": "2025-08-01T19:19:32.599Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
}
}
Was this helpful?