🚀 New: Edit Shoppex themes from the dashboard, the CLI, or an AI agent — one unified workflow. Learn more →
curl --request PATCH \
--url https://api.shoppex.io/dev/v1/groups/{uniqid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "VIP Members",
"isUnlisted": false,
"productsBound": [
"prod_starter",
"prod_pro"
],
"sortOrder": 2
}
'{
"data": {
"id": "grp_db_1",
"uniqid": "grp_1",
"shop_id": "shop_1",
"title": "VIP Members",
"is_unlisted": false,
"sort_order": 2,
"created_at": 1711962000,
"updated_at": 1711969200,
"products_bound": [
{
"uniqid": "prod_starter",
"title": "Starter Pack",
"type": "DIGITAL",
"price": 29.99,
"price_display": 29.99,
"currency": "USD",
"stock": 999,
"custom_fields": {
"badge": "vip"
}
},
{
"uniqid": "prod_pro",
"title": "Pro Pack",
"type": "DIGITAL",
"price": 79.99,
"price_display": 79.99,
"currency": "USD",
"stock": 500,
"custom_fields": {
"badge": "pro"
}
}
]
}
}Developer API operation for PATCH /dev/v1/groups/.
curl --request PATCH \
--url https://api.shoppex.io/dev/v1/groups/{uniqid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "VIP Members",
"isUnlisted": false,
"productsBound": [
"prod_starter",
"prod_pro"
],
"sortOrder": 2
}
'{
"data": {
"id": "grp_db_1",
"uniqid": "grp_1",
"shop_id": "shop_1",
"title": "VIP Members",
"is_unlisted": false,
"sort_order": 2,
"created_at": 1711962000,
"updated_at": 1711969200,
"products_bound": [
{
"uniqid": "prod_starter",
"title": "Starter Pack",
"type": "DIGITAL",
"price": 29.99,
"price_display": 29.99,
"currency": "USD",
"stock": 999,
"custom_fields": {
"badge": "vip"
}
},
{
"uniqid": "prod_pro",
"title": "Pro Pack",
"type": "DIGITAL",
"price": 79.99,
"price_display": 79.99,
"currency": "USD",
"stock": 500,
"custom_fields": {
"badge": "pro"
}
}
]
}
}