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. Send the full list, because groups you omit keep their old `order` and can end up interleaved.
Authentication
sf_… API key in the bearerAuth field below.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.
In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/companies/string/product_groups/reorder" \ -H "Content-Type: application/json" \ -d '{ "productGroupIds": [ "string" ] }'{ "success": true}Create product group
Create a product group. `order` is required and sets the position in the list; pass a number higher than every existing group to append at the end. Assign products to it with `PUT /products/{productId}/change_group`.
Retrieve product group
Retrieve a single product group by id. Returns 404 if the group does not exist or belongs to another company.