Skip to main content
PUT
Declaratively replaces the set of event types whose import is enabled for a SCX seller/account, including their optional CreatedAfter lower bound.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

salesChannelId
string
required

Sales channel id of the SCX seller/account whose event imports are replaced.

Body

application/json

Request model for SetScxSellerEventImport command endpoint. Route parameters bind from the route, query parameters from the query string, everything else from the body.

eventImports
object[]
required

The complete desired set of enabled event imports for the seller. Every event type of the vocabulary that is not contained in this list is disabled. An empty list disables all event imports.

Response

Successfully replaced the event imports. Returns the resulting import state of every event type of the vocabulary.

Declaratively replaces the set of event types whose import is enabled for a SCX seller/account, including their optional CreatedAfter lower bound. The request describes the full desired state - every event type contained in the request is enabled and every event type not contained is disabled (declarative replace, ADR-57). Only the event types of the ScxEventType vocabulary are affected; internal queue entries of other types are never modified or removed by this command and are not part of this collection. - Response

eventImports
object[]
required

Resulting import state of every event type of the vocabulary.