PPylon Developers
ApiListings Import

Import listings

Bulk upserts listings based on external source and source ID.

POST
/api/admin/v1/listings/import
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/admin/v1/listings/import" \  -H "Content-Type: application/json" \  -d '{    "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",    "listings": [      {        "title": "string",        "slug": "string",        "venueCity": "string"      }    ]  }'
{
  "created": 0,
  "updated": 0,
  "skipped": 0,
  "errors": [
    "string"
  ]
}
{
  "code": "string",
  "message": "string"
}