Skip to main content
PUT
Declaratively replaces the set of metadata types whose import is enabled for a SCX seller/account.

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 metadata imports are replaced.

Body

application/json

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

metaDataImports
object[]
required

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

Response

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

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

metaDataImports
object[]
required

Resulting import state of every metadata type of the vocabulary.