Skip to main content
PUT
Replace Sales Channels Scx Sellers Shipping Rule Mappings

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 shipping-rule mappings are replaced.

Body

application/json

Request model for SetScxSellerShippingRuleMappings 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 shipping-rule mappings for the seller. Any existing mapping of the seller's shop that is not contained in this list is removed.

Response

Successfully replaced the shipping-rule mappings. Returns the persisted mappings including their server-resolved carrier id.

Declaratively replaces the complete set of shipping-rule mappings of a SCX seller/account. The request describes the full desired state - provided mappings are upserted and every mapping not contained in the request is removed (declarative replace, ADR-57). - Response

mappings
object[]
required

The persisted shipping-rule mappings including the server-resolved carrier id.