Description
This function updates the URL to which a provider sends a user after they check out.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
provider |
string |
Required The cPanel Market provider's name. |
A valid string. |
cPStore |
access_token |
string |
Required The access token for the session to the cPanel Market provider. |
A valid access token. |
725431a1-d5bc-11e5-a28b-8b0e09a93f05 |
order_id |
integer |
Required The order ID that the cPanel Market provider assigned. |
A positive integer. |
123456 |
url_after_checkout |
string |
Required The URL to send the browser after the user checks out. |
A valid URL that cannot contain a query string. |
http://checkout.example.com |
Returns
Parameter |
Type |
Description |
Possible values |
Example |
error_type |
string |
Any errors that the function encounters. Notes:
|
A valid string. |
My dog has no nose. |