curl --request POST \
--url https://api.unibee.dev/merchant/plan/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalPlanId": "<string>",
"planId": 123
}
'{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Publish plan,a plan will display at user portal when its published
curl --request POST \
--url https://api.unibee.dev/merchant/plan/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalPlanId": "<string>",
"planId": 123
}
'{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.