Mutation
mutation SetScxSellerCustomerGroupMappings($request: SetScxSellerCustomerGroupMappingsCommandRequestInput!) {
SetScxSellerCustomerGroupMappings(request: $request) {
mappings {
channelPriceTypeId
salesChannelId
customerGroupId
priceTypeId
}
}
}Variables
{
"request": {
"salesChannelId": "string",
"mappings": [
{
"channelPriceTypeId": "id",
"customerGroupId": "id"
}
]
}
}Response
{
"data": {
"SetScxSellerCustomerGroupMappings": {
"mappings": [
{
"channelPriceTypeId": "id",
"salesChannelId": "string",
"customerGroupId": "id",
"priceTypeId": "string"
}
]
}
}
}Mutations
SetScxSellerCustomerGroupMappings
Declaratively replaces the complete set of customer-group mappings of a 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 (declarative replace, ADR-57).
MUTATION
SetScxSellerCustomerGroupMappings(request: SetScxSellerCustomerGroupMappingsCommandRequestInput!): SetScxSellerCustomerGroupMappingsCommandResponse!Arguments
request
mappings
The persisted customer-group mappings.
Mutation
mutation SetScxSellerCustomerGroupMappings($request: SetScxSellerCustomerGroupMappingsCommandRequestInput!) {
SetScxSellerCustomerGroupMappings(request: $request) {
mappings {
channelPriceTypeId
salesChannelId
customerGroupId
priceTypeId
}
}
}Variables
{
"request": {
"salesChannelId": "string",
"mappings": [
{
"channelPriceTypeId": "id",
"customerGroupId": "id"
}
]
}
}Response
{
"data": {
"SetScxSellerCustomerGroupMappings": {
"mappings": [
{
"channelPriceTypeId": "id",
"salesChannelId": "string",
"customerGroupId": "id",
"priceTypeId": "string"
}
]
}
}
}Was this page helpful?