curl --request POST \
--url https://api.unibee.dev/merchant/session/user_sub_update_url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cancelUrl": "<string>",
"email": "<string>",
"externalUserId": "<string>",
"planId": 123,
"productId": 123,
"returnUrl": "<string>",
"userId": 123,
"vatCountryCode": "<string>"
}
'{
"code": 123,
"data": {
"url": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}curl --request POST \
--url https://api.unibee.dev/merchant/session/user_sub_update_url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cancelUrl": "<string>",
"email": "<string>",
"externalUserId": "<string>",
"planId": 123,
"productId": 123,
"returnUrl": "<string>",
"userId": 123,
"vatCountryCode": "<string>"
}
'{
"code": 123,
"data": {
"url": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
CancelUrl
Email, unique, either ExternalUserId&Email or UserId needed
ExternalUserId, unique, either ExternalUserId&Email or UserId needed
Id of plan to update
default product will use if productId not specified
ReturnUrl
UserId, unique, either ExternalUserId&Email or UserId needed
Vat Country Code