Skip to Content
SaaSFlow
DevelopersAPIReferenceproduct_groups

Reorder

Set the display order of product groups. Pass every group id in the order you want them shown; each group's order becomes its position in the array.

Authentication

Checking whether you're signed in…
PUT
/companies/{companyId}/product_groups/reorder

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Formatuuid

Request Body

application/json
  1. body
productGroupIds*array<>
Itemsitems <= 1000

Response Body

Order updated

application/json
  1. response
success*boolean
Example Request
curl -X PUT 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/product_groups/reorder' \  -H 'Content-Type: application/json' \  -d '{  "productGroupIds": [    "string"  ]}'
Example Response200
{  "success": true}