Create order
curl --request POST \
--url https://api.lumonol.co.uk/ankra/create-order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"player_username": "<string>",
"items": [
"<unknown>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({player_username: '<string>', items: ['<unknown>']})
};
fetch('https://api.lumonol.co.uk/ankra/create-order', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lumonol.co.uk/ankra/create-order"
payload = {
"player_username": "<string>",
"items": ["<unknown>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_number": 123,
"player_username": "<string>",
"player_roblox_id": 123,
"items": "<unknown>",
"status": "<string>",
"submitted_by_username": "<string>",
"prepared_by_username": "<string>",
"source": "<string>",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}Orders
Create order
An order: player_username, items.
POST
/
create-order
Create order
curl --request POST \
--url https://api.lumonol.co.uk/ankra/create-order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"player_username": "<string>",
"items": [
"<unknown>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({player_username: '<string>', items: ['<unknown>']})
};
fetch('https://api.lumonol.co.uk/ankra/create-order', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lumonol.co.uk/ankra/create-order"
payload = {
"player_username": "<string>",
"items": ["<unknown>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_number": 123,
"player_username": "<string>",
"player_roblox_id": 123,
"items": "<unknown>",
"status": "<string>",
"submitted_by_username": "<string>",
"prepared_by_username": "<string>",
"source": "<string>",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}Authorizations
A workspace API key from Settings › Developer.
Query Parameters
The workspace: the 24-character ID in its Ankra address, or its UUID.
Body
application/json
Who ordered.
What they ordered, in whatever shape your game uses.
The player's Roblox user ID.
Who took the order.
Their Roblox user ID.
Where it came from.
Notes.

