View as Markdown
Discogs icon

Discogs ACTION

Create Marketplace Listing

Creates a new listing in the Discogs marketplace. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Discogs account once, then configure and run Create Marketplace Listing from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "discogs-create-marketplace-listing",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    discogs: { authProvisionId: "apn_xxxxxxx" },
    releaseId: 10,
    condition: "Condition",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Marketplace Listing inputs
Property Type Description
releaseId Release ID integer
The ID of the release you are listing for sale.
Required
condition Condition string
Select the condition of the item.
Required
sleeveCondition Sleeve Condition string
Select the condition of the sleeve.
Optional
price Price string
The price of the item (in the seller's currency). Format 00.00
Required
comments Comments string
Any remarks about the item that will be displayed to buyers.
Optional
allowOffers Allow Offers boolean
Whether or not to allow buyers to make offers on the item.
Required
status Listing Status string
The status of the listing.
Required
externalId External ID string
A freeform field that can be used for the seller’s own reference. Information stored here will not be displayed to anyone other than the seller. This field is called “Private Comments” on the Discogs website.
Optional
location Location string
A freeform field that is intended to help identify an item’s physical storage location. Information stored here will not be displayed to anyone other than the seller. This field will be visible on the inventory management page and will be available in inventory exports via the website.
Optional
weight Weight string
The weight, in grams, of this listing, for the purpose of calculating shipping. Set this field to auto to have the weight automatically estimated for you. Format 00.00
Optional
formatQuantity Format Quantity string
The number of items this listing counts as, for the purpose of calculating shipping. This field is called "Counts As" on the Discogs website. Format 00.00
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
discogs-create-marketplace-listing
Version
0.0.2
App
Discogs
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes