Skip to main content
PUT
Set Scx Seller Event Import

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. Opaque, tenant-local composite identifier (not a UUID); use the value returned by a sales channel listing.

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.

Replaces the set of event types whose import is enabled for an SCX seller. Each entry may include an optional "CreatedAfter" lower bound. The request describes the complete desired state: listed types are enabled, all other types are disabled. Only the types returned by "GET /v2/sales-channels/scx/event-types" or "GetScxEventTypes" are affected. - Response

eventImports
object[]
required

Resulting import state of every event type of the vocabulary.