Parcel Public API v2
  • Homepage
  • Discord Server
  • Customer Support
  • 🔑Obtain API Key
    • Create an API Key
    • Developer Portal
  • 🏢Hub Endpoints
    • Fetch Hub Information
    • Update Hub Information
  • 🛍️Product Endpoints
    • Fetch Product Information
    • Create a new Product
    • Update an existing Product
    • Delete an existing Product
  • 📝Whitelist Endpoints
    • Check Whitelist
    • Give Whitelist
    • Transfer Whitelist
    • Revoke Whitelist
Powered by GitBook
On this page

Was this helpful?

  1. Hub Endpoints

Update Hub Information

Update information in your Hub

PreviousFetch Hub InformationNextFetch Product Information

Last updated 11 months ago

Was this helpful?

Modify specific attributes of your Hub's database entry. This endpoint allows for the alteration of one or more fields, providing a flexible means to keep your Hub's information current and accurate.

Update information in your Hub

PATCH https://v2.parcelroblox.com/hub

Example of how you have to pass the body parameters:

Headers

Name
Type
Description

Authorization*

string

prod_DGzVhVsrqNJi4b0Chd9mMPUI9

Content-Type

string

application/json

Request Body

Name
Type
Description

description

string

Hub description

groups.roblox.id

string

Roblox Group ID

game.musicID

string

Roblox In-game Music ID

settings.staffrole_id

string

Discord Staff Role ID

settings.log_channel

string

Discord Log Channel ID

settings.purchase_channel

string

Discord Purchase Channel ID

misc.short_description

string

Short description

misc.terms

string

Terms of Service

webstore.appearance.store_banner

string

Webstore Banner (URL)

If everything was able to process properly:

{ "status": "200", "message": "OK", "data": object }

If you did not follow the schema:

{ "status": "400", "message": "Your payload did not pass the Schema validation.", "error": string, "data": {} }

If you provided an invalid authorization key:

{ "status": "401", "message": "Invalid authorization key." }

If you did not provide an authorization key:

{ "status": "401", "message": "No authorization key was provided." }

If something was wrong on our end:

{ "status": "500", "message": "Internal Server Error" }
🏢