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

Authorizations

x-api-key
string
header
required

Body

application/json

Custom group details

Either products or brands must be provided (not both)

channelId
string
required
merchantId
string
required
groupName
string
required
products
object[]
brands
string[]
groupId
string

Provide to update an existing group instead of creating a new one

Response