Skip to Content
SaaSFlow
DevelopersAPIReferenceproducts

Reorder

Reorder products inside one group, and move them into it in the same call. Every id in productIds is assigned to productGroupId (send null for the…

Authentication

Checking whether you're signed in…
PUT
/companies/{companyId}/products/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
productGroupId*string|null
productIds*array<>
Itemsitems <= 1000

Response Body

Group membership and order updated

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