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. Product Endpoints

Delete an existing Product

Delete an existing Product from your Hub

Utilize this endpoint to permanently remove an existing product from your hub. This action simplifies the management of your product catalog by discarding outdated or unwanted items, ensuring a streamlined and organized product selection.

Delete an existing Product

DELETE https://v2.parcelroblox.com/products/delete

Headers

Name
Type
Description

Authorization*

string

prod_DGzVhVsrqNJi4b0Chd9mMPUI9

Content-Type

string

application/json

Request Body

Name
Type
Description

product_id*

string

Product ID

If everything was able to process properly:

{ "status": "200", "message": "OK", "data": { "state": "Product deleted", "product": { "id": string, "name": string } } }

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" }

If the product ID that you supplied does not exist:

{ "status": "404", "message": "Product does not exist.", "data": {} }

If you did not supply a Product ID:

{ "status": "400", "message": "Missing Body Parameters.\nRequired params: product_id", "data": {} }
PreviousUpdate an existing ProductNextCheck Whitelist

Last updated 11 months ago

Was this helpful?

🛍️