curl --request POST \
--url https://api.example.com/v1/customer-sessions/{sessionId}/select-plan \
--header 'Content-Type: application/json' \
--data '
{
"planRef": "<string>"
}
'Creates a checkout session for the selected product, applies the selected plan, and returns checkout URL.
curl --request POST \
--url https://api.example.com/v1/customer-sessions/{sessionId}/select-plan \
--header 'Content-Type: application/json' \
--data '
{
"planRef": "<string>"
}
'