Skip to main content
POST
/
groups
Create group
curl --request POST \
  --url https://api.shoppex.io/dev/v1/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "isUnlisted": false,
  "productsBound": [
    "<string>"
  ],
  "sortOrder": 0
}
'
{
  "data": {
    "id": "<string>",
    "uniqid": "<string>",
    "shop_id": "<string>",
    "title": "<string>",
    "slug": "<string>",
    "description": "<string>",
    "image_url": "<string>",
    "position": 123,
    "product_count": 123,
    "products_bound": [
      "<string>"
    ],
    "created_at": 123,
    "updated_at": 123
  }
}

Authorizations

Authorization
string
header
required

Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...

Body

application/json
title
string
required
Required string length: 1 - 64
isUnlisted
boolean
default:false
productsBound
string[]
sortOrder
integer
default:0

Response

Default Response

data
object
required