Passer au contenu principal
POST
Create a listing slot.

Autorisations

Authorization
string
header
requis

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.

Corps

application/json

Listing slot to create.

externalSlotId
string
requis

Identifier the marketplace sends as slotId in listings auctions.

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

"search-top"

Réponse

Successful Response

A slot listings campaigns can target.

externalSlotId
string
requis

Identifier the marketplace sends as slotId in listings auctions.

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

"search-top"

campaignCount
integer
requis

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

Plage requise: x >= 0
createdAt
string<date-time>
requis

When the slot was created.

updatedAt
string<date-time>
requis

When the slot was last updated.