{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FlexyPe","description":"Simple 1-click checkout built for Shopify. Boost conversions with a seamless, high-converting experience","colors":{"primary":"#2f72ff","light":"#5c94ff","dark":"#255acc"},"logo":{"light":"https://mintcdn.com/flexype/OeCtKm9kYsE8Xaqh/logo/flexy-light.svg?fit=max\u0026auto=format\u0026n=OeCtKm9kYsE8Xaqh\u0026q=85\u0026s=c9025dff6368e63cb23c1681c46c8870","dark":"https://mintcdn.com/flexype/OeCtKm9kYsE8Xaqh/logo/flexy-dark.svg?fit=max\u0026auto=format\u0026n=OeCtKm9kYsE8Xaqh\u0026q=85\u0026s=540d5532ce1fa9afa455be655ff339f7"},"favicon":"https://mintcdn.com/flexype/WQbYVterOEvhxHLt/flexy-favicon.svg?fit=max\u0026auto=format\u0026n=WQbYVterOEvhxHLt\u0026q=85\u0026s=cc958786ccacbd8bfd6d72deeb11d50d","appearance":{"default":"system"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.flexype.io"}},"footer":{"socials":{"x":"https://x.com/FlexyPe","linkedin":"https://linkedin.com/company/flexype"}},"contextual":{"options":["chatgpt","claude","perplexity","mcp","copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://flexype.io"},{"anchor":"Blog","icon":"newspaper","href":"https://flexype.io/blogs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flexype","hasAudioNarration":false,"actualSubdomain":"flexype","customDomains":["docs.flexype.io"],"gitSource":{"type":"github","owner":"flexype","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a7d9c23e0ea74adcb46e0a8","collectionId":"b40d509a-d5a1-4d7e-b98b-654b0f1f28c2","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a7d9c23e0ea74adcb46e0a8"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a7d9c23e0ea74adcb46e0a8:success","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Documentation","count":58},{"language":"default","tag":"Features","count":30},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"Webhooks","count":10},{"language":"default","tag":"Settings","count":9},{"language":"default","tag":"Payment Providers","count":9},{"language":"default","tag":"Coupons","count":7},{"language":"default","tag":"Customization","count":5},{"language":"default","tag":"2026-05","count":5},{"language":"default","tag":"API Reference","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/checkout/get-session","slug":"/api-reference/checkout/get-session","pageMetadata":{"title":"Get Checkout Session","description":"Retrieve the full state of a checkout session by its ID.","openapi":"GET /session/{id}","href":"/api-reference/checkout/get-session"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve the full state of a checkout session by its ID.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns the complete session state — cart items with computed pricing, applied coupons, free-gift add-ons, loyalty coin balance, and payment/session lifecycle state.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`session_id`}),` returned by `,_jsx(_components.a,{href:`/api-reference/checkout/create-session`,children:`Create Session`}),`. Monetary amounts in this response are in the `,_jsx(_components.strong,{children:`major`}),` currency unit (e.g. `,_jsx(_components.code,{children:`3595`}),` = ₹3595).`]})}),`\n`,_jsx(_components.p,{children:`A few fields worth calling out:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pricing.shipping`}),` is `,_jsx(_components.code,{children:`-1`}),` until a delivery address is provided, then it reflects the calculated charge.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`add_ons`}),` lists free-gift products unlocked once `,_jsx(_components.code,{children:`pricing`}),` crosses each offer’s `,_jsx(_components.code,{children:`target`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Checkout Session","description":"Retrieve the full state of a checkout session by its ID.","openapi":"GET /session/{id}","href":"/api-reference/checkout/get-session"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Checkout Session"],"summary":"Get Checkout Session","description":"Retrieve the full state of a checkout session by its ID.","operationId":"getSession","parameters":["95f8b08d-8672-471c-9037-758b67318d7e"],"responses":{"200":"4bfc1807-756b-42e8-bc8e-897a21886ff9","404":"f4f6d752-3b65-452d-ae2b-4f30d2ab8b8a"},"method":"get","type":"path","servers":["138f2752-397a-4916-b943-4f009db9568b"],"security":["783dcc1e-21a5-465b-9d06-06334d205151"],"path":"/session/{id}","baseUrlOptions":["https://api.flexype.io"],"title":"Get Checkout Session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"95f8b08d-8672-471c-9037-758b67318d7e":{"name":"sessionId","in":"path","required":true,"description":"The session ID returned by Create Session.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The session ID returned by Create Session.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"example":"71ef30e1-85c8-4f7a-9e89-7691fd7c1bfb"}},"responses":{"4bfc1807-756b-42e8-bc8e-897a21886ff9":{"description":"Session retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"success","uniqueKey":"status","typeLabel":"string"},"data":{"type":"object","description":"Full checkout session state.","properties":{"id":{"type":"string","format":"uuid","description":"Session ID.","example":"71ef30e1-85c8-4f7a-9e89-7691fd7c1bfb","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"items":{"type":"array","description":"Cart items with computed per-line pricing.","items":{"type":"object","description":"A cart line item in the session response.","properties":{"title":{"type":"string","example":"Charcoal Embroidered Ball Gown with Velvet Drape Neck","uniqueKey":"data.\\items.items.[INDEX].title","typeLabel":"string"},"handle":{"type":"string","example":"charcoal-embroidered-ball-gown-with-velvet-drape-neck","uniqueKey":"data.\\items.items.[INDEX].handle","typeLabel":"string"},"product_id":{"type":"integer","format":"int64","example":8948397801608,"uniqueKey":"data.\\items.items.[INDEX].product_id","typeLabel":"integer\u003cint64>"},"variant_id":{"type":"integer","format":"int64","example":46107636203656,"uniqueKey":"data.\\items.items.[INDEX].variant_id","typeLabel":"integer\u003cint64>"},"quantity":{"type":"integer","example":1,"uniqueKey":"data.\\items.items.[INDEX].quantity","typeLabel":"integer"},"properties":{"type":"object","description":"Custom line-item properties.","additionalProperties":{"type":"string","uniqueKey":"data.\\items.items.[INDEX].properties.additionalProperties","typeLabel":"string"},"example":{},"uniqueKey":"data.\\items.items.[INDEX].properties","typeLabel":"object"},"variant":{"type":"object","description":"Selected variant details.","properties":{"title":{"type":"string","example":"1-2Y(16)","uniqueKey":"data.\\items.items.[INDEX].variant.title","typeLabel":"string"},"variant_id":{"type":"integer","format":"int64","example":46107636203656,"uniqueKey":"data.\\items.items.[INDEX].variant.variant_id","typeLabel":"integer\u003cint64>"},"compare_at_price":{"oneOf":[{"type":"number","description":"Strike-through price in major currency unit; null when not on sale.","example":null,"uniqueKey":"data.\\items.items.[INDEX].variant.compare_at_price.oneOf.0","typeLabel":"number"},{"type":"null","description":"Strike-through price in major currency unit; null when not on sale.","example":null,"uniqueKey":"data.\\items.items.[INDEX].variant.compare_at_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.\\items.items.[INDEX].variant.compare_at_price","typeLabel":"number | null"},"price":{"type":"number","description":"Unit price in major currency unit.","example":3595,"uniqueKey":"data.\\items.items.[INDEX].variant.price","typeLabel":"number"}},"uniqueKey":"data.\\items.items.[INDEX].variant","typeLabel":"object"},"grams":{"type":"integer","description":"Item weight in grams.","example":0,"uniqueKey":"data.\\items.items.[INDEX].grams","typeLabel":"integer"},"single_variant":{"type":"boolean","description":"True if the product has only the default variant.","example":false,"uniqueKey":"data.\\items.items.[INDEX].single_variant","typeLabel":"boolean"},"item_price":{"type":"number","description":"Unit price in major currency unit.","example":3595,"uniqueKey":"data.\\items.items.[INDEX].item_price","typeLabel":"number"},"total_discount":{"type":"number","description":"Total discount on this line.","example":359.5,"uniqueKey":"data.\\items.items.[INDEX].total_discount","typeLabel":"number"},"sub_total_price":{"type":"number","description":"Line subtotal before discounts.","example":3595,"uniqueKey":"data.\\items.items.[INDEX].sub_total_price","typeLabel":"number"},"total_price":{"type":"number","description":"Line total after discounts.","example":3235.5,"uniqueKey":"data.\\items.items.[INDEX].total_price","typeLabel":"number"},"out_of_stock":{"type":"boolean","example":false,"uniqueKey":"data.\\items.items.[INDEX].out_of_stock","typeLabel":"boolean"},"taxable":{"type":"boolean","example":true,"uniqueKey":"data.\\items.items.[INDEX].taxable","typeLabel":"boolean"},"image":{"type":"string","example":"https://cdn.shopify.com/s/files/1/0572/8685/2744/files/1_c053a6bd-65f3-4c99-b181-bd799aaab917.jpg?v=1781354018","uniqueKey":"data.\\items.items.[INDEX].image","typeLabel":"string"},"source":{"type":"string","description":"How the item entered the cart.","enum":["MANUAL","UPSELL","ADD_ON"],"example":"MANUAL","uniqueKey":"data.\\items.items.[INDEX].source","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.\\items","typeLabel":"object[]"},"pricing":{"type":"object","description":"Computed cart pricing. All amounts are in the major currency unit.","properties":{"cart_total":{"type":"number","description":"Sum of item prices before discounts.","example":3595,"uniqueKey":"data.pricing.cart_total","typeLabel":"number"},"sub_total":{"type":"number","description":"Subtotal before discounts.","example":3595,"uniqueKey":"data.pricing.sub_total","typeLabel":"number"},"discount":{"type":"number","description":"Total discount applied.","example":359.5,"uniqueKey":"data.pricing.discount","typeLabel":"number"},"payment_offer_discount":{"type":"number","description":"Discount from payment-method offers.","example":0,"uniqueKey":"data.pricing.payment_offer_discount","typeLabel":"number"},"shipping":{"type":"number","description":"Shipping charge. -1 means not yet calculated (address pending).","example":-1,"uniqueKey":"data.pricing.shipping","typeLabel":"number"},"cod_price":{"type":"number","description":"Cash-on-delivery fee.","example":0,"uniqueKey":"data.pricing.cod_price","typeLabel":"number"},"cod_available":{"type":"boolean","description":"Whether COD is available for this cart.","example":false,"uniqueKey":"data.pricing.cod_available","typeLabel":"boolean"},"cod_order":{"type":"boolean","description":"Whether the customer selected COD.","example":false,"uniqueKey":"data.pricing.cod_order","typeLabel":"boolean"},"total":{"type":"number","description":"Total after discounts, before payable adjustments.","example":3235.5,"uniqueKey":"data.pricing.total","typeLabel":"number"},"tax":{"type":"number","example":0,"uniqueKey":"data.pricing.tax","typeLabel":"number"},"taxes_included":{"type":"boolean","description":"Whether prices are tax-inclusive.","example":true,"uniqueKey":"data.pricing.taxes_included","typeLabel":"boolean"},"total_payable":{"type":"number","description":"Final amount payable by the customer.","example":3235.5,"uniqueKey":"data.pricing.total_payable","typeLabel":"number"},"partial_cod_price":{"type":"number","description":"Prepaid amount required for partial COD.","example":0,"uniqueKey":"data.pricing.partial_cod_price","typeLabel":"number"},"is_partial_cod":{"type":"boolean","example":false,"uniqueKey":"data.pricing.is_partial_cod","typeLabel":"boolean"},"amount_paid":{"type":"number","description":"Amount already paid.","example":0,"uniqueKey":"data.pricing.amount_paid","typeLabel":"number"},"coin_discount":{"type":"number","description":"Discount from redeemed coins.","example":0,"uniqueKey":"data.pricing.coin_discount","typeLabel":"number"},"coupon_discount":{"type":"number","description":"Discount from applied coupons.","example":359.5,"uniqueKey":"data.pricing.coupon_discount","typeLabel":"number"}},"uniqueKey":"data.pricing","typeLabel":"object"},"merchant_id":{"type":"string","format":"uuid","example":"c6e40fdc-3c66-4661-b909-65e8b1a68e5b","uniqueKey":"data.merchant_id","typeLabel":"string\u003cuuid>"},"payment_state":{"type":"string","description":"Payment lifecycle state.","enum":["DRAFT","PENDING","PAID","FAILED"],"example":"DRAFT","uniqueKey":"data.payment_state","typeLabel":"enum\u003cstring>"},"session_state":{"type":"string","description":"Checkout session lifecycle state.","enum":["INITIATED","IN_PROGRESS","COMPLETED","ABANDONED"],"example":"INITIATED","uniqueKey":"data.session_state","typeLabel":"enum\u003cstring>"},"redirect_url":{"type":"string","description":"URL to redirect to after checkout.","example":"https://my-store.com/cart","uniqueKey":"data.redirect_url","typeLabel":"string"},"coupons":{"type":"array","description":"Applied coupons.","items":{"type":"object","description":"An applied coupon.","properties":{"coupon_id":{"type":"string","format":"uuid","example":"0745bfb2-7ae7-4447-942a-71b50084ed8b","uniqueKey":"data.coupons.items.[INDEX].coupon_id","typeLabel":"string\u003cuuid>"},"code":{"type":"string","example":"SUMMER10","uniqueKey":"data.coupons.items.[INDEX].code","typeLabel":"string"},"application_type":{"type":"string","description":"How the coupon is applied.","enum":["CODE","AUTOMATIC"],"example":"CODE","uniqueKey":"data.coupons.items.[INDEX].application_type","typeLabel":"enum\u003cstring>"},"combine":{"type":"boolean","description":"Whether it stacks with other coupons.","example":true,"uniqueKey":"data.coupons.items.[INDEX].combine","typeLabel":"boolean"},"discount_type":{"type":"string","enum":["PERCENTAGE","FIXED"],"example":"PERCENTAGE","uniqueKey":"data.coupons.items.[INDEX].discount_type","typeLabel":"enum\u003cstring>"},"discount_amount":{"type":"number","description":"Discount value (percent for PERCENTAGE, amount for FIXED).","example":10,"uniqueKey":"data.coupons.items.[INDEX].discount_amount","typeLabel":"number"},"discount_max_cap":{"oneOf":[{"type":"number","description":"Maximum discount cap; null when uncapped.","example":null,"uniqueKey":"data.coupons.items.[INDEX].discount_max_cap.oneOf.0","typeLabel":"number"},{"type":"null","description":"Maximum discount cap; null when uncapped.","example":null,"uniqueKey":"data.coupons.items.[INDEX].discount_max_cap.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.coupons.items.[INDEX].discount_max_cap","typeLabel":"number | null"},"cart_discounted_amount":{"type":"number","description":"Cart total after this coupon.","example":3235.5,"uniqueKey":"data.coupons.items.[INDEX].cart_discounted_amount","typeLabel":"number"},"cart_discount_amount":{"type":"number","description":"Amount this coupon discounts.","example":359.5,"uniqueKey":"data.coupons.items.[INDEX].cart_discount_amount","typeLabel":"number"},"previous_coupon_code":{"oneOf":[{"type":"string","description":"Code replaced by this coupon, if any.","example":null,"uniqueKey":"data.coupons.items.[INDEX].previous_coupon_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Code replaced by this coupon, if any.","example":null,"uniqueKey":"data.coupons.items.[INDEX].previous_coupon_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.coupons.items.[INDEX].previous_coupon_code","typeLabel":"string | null"},"coupon_type":{"type":"string","example":"PRODUCT_AMOUNT","uniqueKey":"data.coupons.items.[INDEX].coupon_type","typeLabel":"string"},"coupon_platform":{"type":"string","enum":["SHOPIFY","FLEXYPE"],"example":"SHOPIFY","uniqueKey":"data.coupons.items.[INDEX].coupon_platform","typeLabel":"enum\u003cstring>"},"applied_from":{"type":"string","description":"Source of application.","enum":["MANUAL","AUTOMATIC"],"example":"MANUAL","uniqueKey":"data.coupons.items.[INDEX].applied_from","typeLabel":"enum\u003cstring>"},"disable_cod":{"type":"boolean","description":"Whether the coupon disables COD.","example":false,"uniqueKey":"data.coupons.items.[INDEX].disable_cod","typeLabel":"boolean"},"id":{"type":"string","format":"uuid","example":"7ce1eabb-ccb2-441f-9d03-d5249291444b","uniqueKey":"data.coupons.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"_id":{"type":"string","format":"uuid","description":"Alias of `id`.","example":"7ce1eabb-ccb2-441f-9d03-d5249291444b","uniqueKey":"data.coupons.items.[INDEX]._id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"data.coupons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.coupons","typeLabel":"object[]"},"add_ons":{"type":"array","description":"Free-gift add-ons unlocked by coupon targets.","items":{"type":"object","description":"A free-gift offer and the products it unlocks.","properties":{"coupon_id":{"type":"string","format":"uuid","example":"048c69c7-adc8-4cc0-b0ba-78e2f96868f5","uniqueKey":"data.add_ons.items.[INDEX].coupon_id","typeLabel":"string\u003cuuid>"},"target_type":{"type":"string","description":"Condition type that unlocks the gift.","enum":["PURCHASE_AMOUNT","QUANTITY"],"example":"PURCHASE_AMOUNT","uniqueKey":"data.add_ons.items.[INDEX].target_type","typeLabel":"enum\u003cstring>"},"target":{"type":"number","description":"Threshold value for the target type.","example":3500,"uniqueKey":"data.add_ons.items.[INDEX].target","typeLabel":"number"},"max_quantity":{"type":"integer","description":"Max free units the customer can add.","example":1,"uniqueKey":"data.add_ons.items.[INDEX].max_quantity","typeLabel":"integer"},"products":{"type":"array","description":"Eligible gift products.","items":{"type":"object","properties":{"product_id":{"type":"integer","format":"int64","example":12184723390782,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].product_id","typeLabel":"integer\u003cint64>"},"status":{"type":"string","description":"Shopify product status.","enum":["active","unlisted","archived","draft"],"example":"active","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"id":{"type":"string","format":"uuid","example":"9f4353e8-b833-453c-b1e8-7a9dd1365eb5","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"title":{"type":"string","example":"2 Pairs Agate Earrings","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].title","typeLabel":"string"},"vendor":{"type":"string","example":"Neidhal","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].vendor","typeLabel":"string"},"body_html":{"type":"string","description":"Product description HTML.","example":"","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].body_html","typeLabel":"string"},"handle":{"type":"string","example":"2-pairs-agate-earrings","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].handle","typeLabel":"string"},"image":{"type":"string","example":"https://cdn.shopify.com/s/files/1/0906/1747/9486/files/2-Free_ae5cbe7d-b87d-44a9-bb39-af23c3360273.webp?v=1764495062","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].image","typeLabel":"string"},"single_variant":{"type":"boolean","example":true,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].single_variant","typeLabel":"boolean"},"images":{"type":"array","description":"Additional product images.","items":{"type":"object","properties":{"src":{"type":"string","example":"https://cdn.shopify.com/s/files/1/0906/1747/9486/files/1-FREE_5290a646-3966-480e-9ad3-f1d8f0167fa6.webp?v=1764495009","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].images.items.[INDEX].src","typeLabel":"string"},"id":{"type":"integer","format":"int64","example":52931670835518,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].images.items.[INDEX].id","typeLabel":"integer\u003cint64>"}},"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].images.items.[INDEX]","typeLabel":"object"},"example":[],"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].images","typeLabel":"object[]"},"variants":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","example":"Default Title","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].title","typeLabel":"string"},"variant_id":{"type":"integer","format":"int64","example":52647247479102,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].variant_id","typeLabel":"integer\u003cint64>"},"image_id":{"oneOf":[{"type":"integer","format":"int64","example":null,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].image_id.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","example":null,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].image_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].image_id","typeLabel":"integer\u003cint64> | null"},"compare_at_price":{"oneOf":[{"type":"number","example":null,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].compare_at_price.oneOf.0","typeLabel":"number"},{"type":"null","example":null,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].compare_at_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].compare_at_price","typeLabel":"number | null"},"product_id":{"type":"integer","format":"int64","example":12184723390782,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].product_id","typeLabel":"integer\u003cint64>"},"item_price":{"type":"number","example":300,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].item_price","typeLabel":"number"},"price":{"type":"number","example":300,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].price","typeLabel":"number"},"image":{"type":"string","example":"https://cdn.shopify.com/s/files/1/0906/1747/9486/files/2-Free_ae5cbe7d-b87d-44a9-bb39-af23c3360273.webp?v=1764495062","uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].image","typeLabel":"string"},"inventory_quantity":{"type":"integer","description":"Available inventory; may be negative when oversold.","example":-368,"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX].inventory_quantity","typeLabel":"integer"}},"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX].variants","typeLabel":"object[]"}},"uniqueKey":"data.add_ons.items.[INDEX].products.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.add_ons.items.[INDEX].products","typeLabel":"object[]"}},"uniqueKey":"data.add_ons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.add_ons","typeLabel":"object[]"},"country_code":{"type":"string","description":"Customer country, ISO 3166-1 alpha-2.","example":"IN","uniqueKey":"data.country_code","typeLabel":"string"},"currency_code":{"type":"string","description":"Checkout currency, ISO 4217.","example":"INR","uniqueKey":"data.currency_code","typeLabel":"string"},"coin":{"type":"object","description":"Loyalty coin balance and configuration for the cart.","properties":{"coin_ratio":{"type":"object","description":"Conversion between coins and currency.","properties":{"base_currency_value":{"type":"number","description":"Currency value of `coin_value` coins.","example":0,"uniqueKey":"data.coin.coin_ratio.base_currency_value","typeLabel":"number"},"coin_value":{"type":"number","description":"Coins equal to `base_currency_value`.","example":0,"uniqueKey":"data.coin.coin_ratio.coin_value","typeLabel":"number"}},"uniqueKey":"data.coin.coin_ratio","typeLabel":"object"},"config":{"type":"object","description":"Coin program configuration.","properties":{"provider":{"type":"string","enum":["NONE","REELO","CUSTOM"],"example":"NONE","uniqueKey":"data.coin.config.provider","typeLabel":"enum\u003cstring>"},"name":{"type":"string","example":"","uniqueKey":"data.coin.config.name","typeLabel":"string"},"logo":{"type":"string","example":"-","uniqueKey":"data.coin.config.logo","typeLabel":"string"}},"uniqueKey":"data.coin.config","typeLabel":"object"},"coin_available":{"type":"number","description":"Coins the customer holds.","example":0,"uniqueKey":"data.coin.coin_available","typeLabel":"number"},"coin_redeemable":{"type":"number","description":"Coins redeemable on this cart.","example":0,"uniqueKey":"data.coin.coin_redeemable","typeLabel":"number"},"coin_used":{"type":"number","description":"Coins applied to this cart.","example":0,"uniqueKey":"data.coin.coin_used","typeLabel":"number"},"coins_processing":{"type":"number","description":"Coins pending settlement.","example":0,"uniqueKey":"data.coin.coins_processing","typeLabel":"number"}},"uniqueKey":"data.coin","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","data":{"id":"71ef30e1-85c8-4f7a-9e89-7691fd7c1bfb","items":[{"title":"Charcoal Embroidered Ball Gown with Velvet Drape Neck","handle":"charcoal-embroidered-ball-gown-with-velvet-drape-neck","product_id":8948397801608,"variant_id":46107636203656,"quantity":1,"properties":{},"variant":{"title":"1-2Y(16)","variant_id":46107636203656,"compare_at_price":null,"price":3595},"grams":0,"single_variant":false,"item_price":3595,"total_discount":359.5,"sub_total_price":3595,"total_price":3235.5,"out_of_stock":false,"taxable":true,"image":"https://cdn.shopify.com/s/files/1/0572/8685/2744/files/1_c053a6bd-65f3-4c99-b181-bd799aaab917.jpg?v=1781354018","source":"MANUAL"}],"pricing":{"cart_total":3595,"sub_total":3595,"discount":359.5,"payment_offer_discount":0,"shipping":-1,"cod_price":0,"cod_available":false,"cod_order":false,"total":3235.5,"tax":0,"taxes_included":true,"total_payable":3235.5,"partial_cod_price":0,"is_partial_cod":false,"amount_paid":0,"coin_discount":0,"coupon_discount":359.5},"merchant_id":"c6e40fdc-3c66-4661-b909-65e8b1a68e5b","payment_state":"DRAFT","session_state":"INITIATED","redirect_url":"https://my-store.com/cart","coupons":[{"coupon_id":"0745bfb2-7ae7-4447-942a-71b50084ed8b","code":"SUMMER10","application_type":"CODE","combine":true,"discount_type":"PERCENTAGE","discount_amount":10,"discount_max_cap":null,"cart_discounted_amount":3235.5,"cart_discount_amount":359.5,"previous_coupon_code":null,"coupon_type":"PRODUCT_AMOUNT","coupon_platform":"SHOPIFY","applied_from":"MANUAL","disable_cod":false,"id":"7ce1eabb-ccb2-441f-9d03-d5249291444b","_id":"7ce1eabb-ccb2-441f-9d03-d5249291444b"}],"add_ons":[{"coupon_id":"048c69c7-adc8-4cc0-b0ba-78e2f96868f5","target_type":"PURCHASE_AMOUNT","target":3500,"max_quantity":1,"products":[{"product_id":12184723390782,"status":"active","id":"9f4353e8-b833-453c-b1e8-7a9dd1365eb5","title":"2 Pairs Agate Earrings","vendor":"Neidhal","body_html":"","handle":"2-pairs-agate-earrings","image":"https://cdn.shopify.com/s/files/1/0906/1747/9486/files/2-Free_ae5cbe7d-b87d-44a9-bb39-af23c3360273.webp?v=1764495062","single_variant":true,"images":[],"variants":[{"title":"Default Title","variant_id":52647247479102,"image_id":null,"compare_at_price":null,"product_id":12184723390782,"item_price":300,"price":300,"image":"https://cdn.shopify.com/s/files/1/0906/1747/9486/files/2-Free_ae5cbe7d-b87d-44a9-bb39-af23c3360273.webp?v=1764495062","inventory_quantity":-368}]}]}],"country_code":"IN","currency_code":"INR","coin":{"coin_ratio":{"base_currency_value":0,"coin_value":0},"config":{"provider":"NONE","name":"","logo":"-"},"coin_available":0,"coin_redeemable":0,"coin_used":0,"coins_processing":0}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f4f6d752-3b65-452d-ae2b-4f30d2ab8b8a":{"description":"Session not found or expired.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"FAILURE","uniqueKey":"status","typeLabel":"string"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","example":"error.invalid-request","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"FAILURE","error":{"code":"error.session-not-found","message":"Session not found"}},"examples":{"Example":{"title":"Example","value":{"status":"FAILURE","error":{"code":"error.session-not-found","message":"Session not found"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"783dcc1e-21a5-465b-9d06-06334d205151":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key sent as a bearer token (`Bearer \u003ctoken>`). Generate keys in the dashboard under Settings → API Keys.","scopes":[]}}},"servers":{"138f2752-397a-4916-b943-4f009db9568b":{"url":"https://api.flexype.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key sent as a bearer token (`Bearer \u003ctoken>`). Generate keys in the dashboard under Settings → API Keys.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key sent as a bearer token (`Bearer \u003ctoken>`). Generate keys in the dashboard under Settings → API Keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"flexype","siteName":"FlexyPe","title":"Get Checkout Session - FlexyPe","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-17T14:00:43.970Z","originalFileLocation":"api-reference/checkout/get-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve the full state of a checkout session by its ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FlexyPe\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Checkout Session - FlexyPe\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve the full state of a checkout session by its ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FlexyPe\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flexype.io/api-reference/checkout/get-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flexype.mintlify.app/_mintlify/api/og/v2?division=Checkout+Session\u0026amp;title=Get+Checkout+Session\u0026amp;description=Retrieve+the+full+state+of+a+checkout+session+by+its+ID.\u0026amp;theme=4e22eda962d550cb82fa9c8f\u0026amp;signature=3670f94805a9259161981f2d4fc5a8c16598de70c76e393115679462ee1b19f3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Checkout Session - FlexyPe\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve the full state of a checkout session by its ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flexype.mintlify.app/_mintlify/api/og/v2?division=Checkout+Session\u0026amp;title=Get+Checkout+Session\u0026amp;description=Retrieve+the+full+state+of+a+checkout+session+by+its+ID.\u0026amp;theme=4e22eda962d550cb82fa9c8f\u0026amp;signature=3670f94805a9259161981f2d4fc5a8c16598de70c76e393115679462ee1b19f3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/flexype/r0pNdnOhoLHa6ux3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FlexyPe\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2f72ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flexype.io/api-reference/checkout/get-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/checkout/get-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flexype.io/#organization\",\"name\":\"FlexyPe\",\"url\":\"https://docs.flexype.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flexype/OeCtKm9kYsE8Xaqh/logo/flexy-light.svg?fit=max\u0026auto=format\u0026n=OeCtKm9kYsE8Xaqh\u0026q=85\u0026s=c9025dff6368e63cb23c1681c46c8870\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flexype.io#website\",\"name\":\"FlexyPe\",\"url\":\"https://docs.flexype.io\",\"publisher\":{\"@id\":\"https://docs.flexype.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flexype.io/api-reference/checkout/get-session#webpage\",\"url\":\"https://docs.flexype.io/api-reference/checkout/get-session\",\"name\":\"Get Checkout Session\",\"description\":\"Retrieve the full state of a checkout session by its ID.\",\"dateModified\":\"2026-06-17T14:00:43.970Z\",\"isPartOf\":{\"@id\":\"https://docs.flexype.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flexype.io/api-reference/checkout/get-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flexype.io/api-reference/checkout/get-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Checkout Session\",\"item\":\"https://docs.flexype.io/api-reference/checkout/create-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Checkout Session\",\"item\":\"https://docs.flexype.io/api-reference/checkout/get-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.flexype.io/api-reference/checkout/get-session#apireference\",\"headline\":\"Get Checkout Session\",\"name\":\"Get Checkout Session\",\"description\":\"Retrieve the full state of a checkout session by its ID.\",\"url\":\"https://docs.flexype.io/api-reference/checkout/get-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flexype.io/api-reference/checkout/get-session#webpage\"},\"dateModified\":\"2026-06-17T14:00:43.970Z\",\"publisher\":{\"@id\":\"https://docs.flexype.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flexype.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FlexyPe\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"FlexyPe","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://flexype.io"},{"anchor":"Blog","icon":"newspaper","href":"https://flexype.io/blogs"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"Dashboard Handbook","hidden":true,"pages":[{"title":"Dashboard Handbook","href":"/handbook/intro"}]},{"tab":"API Reference","groups":[{"group":"Get Started","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"}]},{"group":"Checkout Session","pages":[{"title":"Create Checkout Session","description":"Create a new checkout session for a customer with cart items.","openapi":"POST /session","href":"/api-reference/checkout/create-session"},{"title":"Get Checkout Session","openapi":"GET /session/{id}","href":"/api-reference/checkout/get-session"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]},"basePath":"","title":"Get Checkout Session - FlexyPe","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}