Skip to main content
POST
/
database
/
upset-purchase
Inserts new purchase
curl --request POST \
  --url https://api.s15x.dev/database/upset-purchase \
  --header 'API-Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "robloxId": "<string>",
  "productId": "<string>",
  "fulfill": true
}
'
{
  "message": "Purchase upserted successfully"
}
WARNING: this api will insert and fulfill / complete purchases

Authorizations

API-Authorization
string
header
required

Required: API key to access

Body

application/json
robloxId
string
required
productId
string
required
fulfill
boolean
required

Response

The request was successful, and the server has returned the requested resource in the response body.

message
string
required
Example:

"Purchase upserted successfully"