Update a marketplace#

API Endpoint: <IMPROMPT_SERVER_URL>/marketplaces/<marketplace_id>
Method: PUT
Body: {
    "description":"description"
}
X-Api-Key: API_KEY

API Body Parameters#

These parameters are used to configure the API request. The API request body is a JSON object with the following fields:

Field

Type

Description

name

string

The name of the marketplace.

publish_level

string

Accepted values: internal_org, external_org, user

description

string

The description of the marketplace.

Sample Response#

{
    "created_at": "Fri, 28 Jul 2023 15:04:19 GMT",
    "created_by_organization_id": 1,
    "description": "This is a test marketpalce",
    "id": 1,
    "name": "Test Marketplace",
    "publish_level": "internal_org",
    "updated_at": "Fri, 28 Jul 2023 15:04:19 GMT"
}