GET

Get Cart Checkout Url


Deprecated

This method has been replaced with Get Checkout URL, and will be removed on September 4, 2024.

Get a cart's checkout URL by ID.

Deprecation Notice:

This endpoint has been replaced with Get Checkout URL and will be removed on September 4, 2024.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Read Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/cart-proxy/v1/carts/{id}/checkoutUrl

Path Params
idstringRequired

The requested cart ID to checkout

Response Object
urlstring
Get Cart Checkout Url Example 1
Request
cURL
curl -X GET 'https://www.wixapis.com/stores/v1/carts/6000dbd9-cb49-4066-820e-2d95cb1e228b/checkoutUrl' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "url": "https://somesite.wixsite.com/website/checkout?appSectionParams=%7B%22a11y%22%3Afalse%2C%22cartId%22%3A%6000dbd9-cb49-4066-820e-2d95cb1e228b%22%2C%22storeUrl%22%3A%22https%3A%2F%2Fsomesite.wixsite.com%2Fwebsite%22%2C%22isFastFlow%22%3Afalse%2C%22isPickupFlow%22%3Afalse%7D&linkSource=acMail" }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?