Reorder plans in group
Set the display order of plans within a group. All plan IDs in the group must be provided.
Set the display order of plans within a group. All plan IDs in the group must be provided.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
planIds*array<>
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/plan-groups/string/plans/reorder" \ -H "Content-Type: application/json" \ -d '{ "planIds": [ "string" ] }'{ "success": true, "data": { "reordered": true, "object": "plan_group", "livemode": true }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}