cURL
curl --request GET \ --url https://api.salesbricks.com/api/v2/plans/{plan_id} \ --header 'X-SALESBRICKS-KEY: <api-key>'
{ "plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "plan_name": "<string>", "bricks": [ { "brick_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "brick_name": "<string>", "brick_type": "SUBSCRIPTION" } ] }
Returns the details of a plan, including its name and bricks.
API key for authentication
The ID of the plan to retrieve.
Unique identifier for the plan
Name of the plan
Bricks for the plan
Show child attributes
Unique identifier for the brick
Name of the brick
Type of the brick
SUBSCRIPTION
ONE_TIME
MILESTONE
USAGE