Saltar al contenido principal
POST
Create Campaign Restriction

Autorizaciones

Authorization
string
header
requerido

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.

Parámetros de ruta

campaign-id
string<uuid>
requerido

The ID of the campaign.

Cuerpo

application/json

Limit-based restrictions for a campaign.

restrictionTypeId
integer
requerido

The type of restriction.

limit
integer
requerido

The limit of the restriction.

Respuesta

Successful Response

Limit-based restrictions for a campaign.

id
integer
requerido

The ID of the restriction.

campaignId
string<uuid>
requerido

The ID of the campaign.

marketplaceId
string<uuid>
requerido

The ID of the marketplace.

restrictionType
RestrictionTypeResponse · object
requerido

The type of restriction.

limit
integer
requerido

The limit of the restriction.

createdAt
string<date-time>
requerido

The creation date of the restriction.

updatedAt
string<date-time>
requerido

The last update date of the restriction.

status
enum<string>
requerido

The status of the restriction.

Opciones disponibles:
active,
inactive