Skip to main content
PATCH
/
customGroups
/
{id}
Update a custom group
curl --request PATCH \
  --url https://mm-api.merchantspring.io/customGroups/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "channelId": "<string>",
  "merchantId": "<string>",
  "groupName": "<string>",
  "addProducts": [
    {
      "sellerSku": "<string>"
    }
  ],
  "removeProducts": [
    {
      "sellerSku": "<string>"
    }
  ],
  "addBrands": [
    "<string>"
  ],
  "removeBrands": [
    "<string>"
  ]
}
'
This response has no body data.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Group ID

Body

application/json

At least one of groupName, addProducts, removeProducts, addBrands, removeBrands must be provided. Cannot mix product and brand operations in the same request.

channelId
string
required
merchantId
string
required
groupName
string
addProducts
object[]
removeProducts
object[]
addBrands
string[]
removeBrands
string[]

Response