POST
/
me
/
listings
/
publish
Publish user-owned listings
curl --request POST \
  --url https://api.seminode.com/v1/me/listings/publish \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "listings": [
    {
      "batch_id": "<string>",
      "company": "<string>",
      "encrypted": {
        "ciphertext": "<string>",
        "payload": {}
      },
      "errors": {},
      "ipn": "<string>",
      "lead_time": 123,
      "meta": {},
      "mfr": "<string>",
      "mpn": "<string>",
      "qty": 123,
      "type": "<string>",
      "unit_price": 123
    }
  ],
  "urls": [
    "<string>"
  ]
}'
{
  "detail": "<string>"
}

Authorizations

Authorization
string
header
required

Format: "Bearer <access_token>"

Body

application/json

Listing IDs and optional relay URLs

The body is of type object.

Response

200
application/json

Deletion event successfully sent

The response is of type object.