Create a cart from a checkout link
Create a cart from a checkout link by its ID
Required permissions:cart:write
Authorizations
Value for the Authorization header parameter.
Path Parameters
CheckoutLink identifier
Body
The ID of the customer which should be pre-authenticated for the cart. The receiver of the cart link can see and select the customers payment methods and addresses. If the customer is not provided, the cart will be anonymous.
"ad7f7b7d-7b7d-7b7d-7b7d-7b7d-7b7d7b7d7b7d"
A collection of key-value pairs that can be linked to an object. This feature is beneficial for storing extra details regarding the object in an organized manner. To remove all keys, simply submit an empty value to the metadata. The metadata is shown in webhooks and api responses.
{ "key": "value" }
Response
The ID of the cart
"ad7f7b7d-7b7d-7b7d-7b7d-7b7d7b7d7b7d"
The ID of the customer.
"ad7f7b7d-7b7d-7b7d-7b7d-7b7d7b7d7b7d"
The public URL to the cart
"https://example.com/cart/123"