Product
Last updated
Last updated
GET
https://api.hubdot.xyz/v1/product/fetch
Returns a specific product.
Name | Type | Description |
---|---|---|
POST
https://api.hubdot.xyz/v1/product/create
Creates a product.
POST
https://api.hubdot.xyz/v1/product/delete
Deletes a product.
POST
https://api.hubdot.xyz/v1/product/update
Updates a product.
POST
https://api.hubdot.xyz/v1/product/give
Gives a product to a user.
POST
https://api.hubdot.xyz/v1/product/revoke
Revoke a product from a user.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
name
string
product's name
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
name
string
product's name
description
string
product's description
developerProductId
string
product's Roblox developer product id
downloadUrl
string
product's download url
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
name
string
product's name
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
name
string
product's name
update
object
keys to update
update.name
string
name to update to
update.description
string
description to update to
update.developerProductId
string
developer product id to update to
update.downloadUrl
string
download url to update to
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
name
string
product's name
discordUserId
string
Discord user id of the user to give it to
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
name
string
product's name
discordUserId
string
Discord user id of the user to revoke it from