POST /self/{shopId}/groups
Path parameters
-
shopId
integer(int32) Required
Body
-
title
string Required Minimum length is
1
. -
description
string | null -
productIds
array[integer(int64)] Required -
priority
integer(int32) Required -
type
integer(int32) Required Values are
0
or1
. -
main
boolean | null
POST
/self/{shopId}/groups
curl \
-X POST https://dev.sellpass.io/self/{shopId}/groups \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"string","description":"string","productIds":[42],"priority":42,"type":0,"main":true}'
Request example
{
"title": "string",
"description": "string",
"productIds": [
42
],
"priority": 42,
"type": 0,
"main": true
}
Request examples
{
"title": "string",
"description": "string",
"productIds": [
42
],
"priority": 42,
"type": 0,
"main": true
}