Skip to main content
PUT
Replaces the complete set of customer-group mappings of the specified marketplace seller/account identified by its composite salesChannelId. The request describes the full desired state - provided mappings are upserted and the customer-group mapping of every channel price type not contained in the request is cleared (declarative replace). No channel price type row is ever inserted or removed.

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

Composite SCX salesChannelId of the seller/account whose customer-group mappings are replaced (format 11-8-{channelId}-{shopId}, ADR-69).

Body

application/json

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

mappings
object[]
required

The complete desired set of customer-group mappings for the seller. The customer-group mapping of any channel price type of the seller's shop that is not contained in this list is cleared.

Response

Successfully replaced the customer-group mappings of the specified marketplace seller. Returns the persisted mappings including their server-resolved price type id.

Replaces the complete set of customer-group mappings of the specified marketplace seller/account identified by its composite salesChannelId. The request describes the full desired state - provided mappings are upserted and the customer-group mapping of every channel price type not contained in the request is cleared (declarative replace). No channel price type row is ever inserted or removed. - Response

mappings
object[]
required

The persisted customer-group mappings including the server-resolved price type id.