post

/carts/{cartId}/redirect_urls

Creates a Cart redirect URL. Create a URL to redirect a shopper to an already created cart using the cartId.

Notes

A Carts redirect URLs may only be used once. Once a redirect URL has been visited, it will be invalidated and cannot be used again. If your application requires URLs to be visited more than once, consider generating a fresh one each time you need to restore a cart, and redirecting to the URL from your own application.

Redirect URLs can be generated only from carts created using the Server to Server Cart API. To restore a cart that was created on the storefront, either by a shopper or the Storefront Cart API, first recreate the cart using the Server to Server Cart API.

Authorization

apiKey - X-Auth-Client
apiKey - X-Auth-Token

Request Parameters

1 Path Parameter
2 Headers

Responses

1 Example
Schema
object
cart_url
string
1 validation
checkout_url
string
1 validation

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
store_hash
cartId
$$.env
2 variables not set
X-Auth-Client
X-Auth-Token