Zum Hauptinhalt springen
POST
Create a listing slot.

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Body

application/json

Listing slot to create.

externalSlotId
string
erforderlich

Identifier the marketplace sends as slotId in listings auctions.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9_-]+$
Beispiel:

"search-top"

Antwort

Successful Response

A slot listings campaigns can target.

externalSlotId
string
erforderlich

Identifier the marketplace sends as slotId in listings auctions.

Required string length: 1 - 255
Pattern: ^[A-Za-z0-9_-]+$
Beispiel:

"search-top"

campaignCount
integer
erforderlich

Number of non-deleted campaigns targeting the slot. The slot can only be deleted when this is 0.

Erforderlicher Bereich: x >= 0
createdAt
string<date-time>
erforderlich

When the slot was created.

updatedAt
string<date-time>
erforderlich

When the slot was last updated.