curl --request POST \
--url https://api.centralcart.com.br/v1/app/package/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"category_id": 123,
"enabled": true,
"price": 123,
"expiry_days": 123,
"type": "<string>",
"inventory_amount": 123,
"per_user_limit": true,
"image": "<string>",
"commands": [
{
"type": "<string>",
"command": "<string>",
"game_server_id": 123,
"offline_execute": true,
"schedule": 123,
"execute_once": true
}
],
"discord_actions": [
{
"type": "<string>",
"action": "<string>",
"parameters": {
"role_id": "<string>",
"channel_id": "<string>",
"message": "<string>"
}
}
],
"variables": [
123
],
"email": {
"title": "<string>",
"content": "<string>"
},
"license_keys": [
"<string>"
]
}'