Checkout
A hosted checkout session from the Checkout API: its cart and prefills
Path Parameters
storeId*string
token*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/public/stores/string/checkout/sessions/string"{ "status": "open", "invoiceUniqueId": "string", "lines": [ { "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf", "qty": 1, "buyerPriceMinor": 0, "buyerPriceCurrency": "string", "warrantyExtensionId": "string", "budgetMinor": 0, "budgetCurrency": "string", "customFields": { "property1": "string", "property2": "string" }, "addonIds": [ "98e8c2b5-6d10-42ee-a1ab-83b8570ff3e0" ], "subscribe": true, "bookingStart": "2019-08-24T14:15:22Z" } ], "customItems": [ { "name": "string", "qty": -9007199254740991, "unitPriceMinor": -9007199254740991 } ], "currency": "string", "email": "string", "couponCode": "string", "affiliateCode": "string", "billingAddress": { "phone": "string", "name": "string", "line1": "string", "line2": "string", "city": "string", "region": "string", "postalCode": "string", "country": "st" }, "shippingAddress": { "phone": "string", "name": "string", "line1": "string", "line2": "string", "city": "string", "region": "string", "postalCode": "string", "country": "st" }, "expiresAt": "string"}