Skip to main content
PUT
Set Scx Seller Customer Group Mappings

Authorizations

Authorization
string
header
required

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

Scopes

saleschannels.write
oauth2-authorization-code

Grants permission to create and modify sales channels.

saleschannels.write
oauth2-client-credentials

Grants permission to create and modify sales channels.

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 customer-group mappings 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 SetScxSellerCustomerGroupMappings 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.

Response

Successfully replaced the customer-group mappings. Returns the persisted mappings.

Declaratively replaces the complete set of customer-group mappings of an SCX seller/account. 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, not removed. - Response

mappings
object[]
required

The persisted customer-group mappings.