Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I'm storing every checkout create JSON response on my own cart system.
For every cart, I want create a link with the Checkout JSON to connect my admin panel with the Shopify Admin Panel to view the checkout details.
The problem is that the Checkout JSON have not any valid ID to use to link to Shopify, this is an example of Checkout JSON:
{
"id": "gid://shopify/Checkout/XXXXXXXXXXX?key=YYYYYYYYYYY",
"note": null,
"type": {
...
},
"ready": true,
"webUrl": "https://shop.myshopify.com/24968133/checkouts/XXXXXXXXXXX?key=YYYYYYYYYYY",
"totalTax": "0.00",
"createdAt": "2022-05-01T03:01:25Z",
"lineItems": [
...
]
}
But Shopify Admin Panel Checkout detail URL is https://shop.myshopify.com/admin/checkouts/230112648211182
Then I haven't any way to link the stored checkouts with Shopify checkouts.
Any ideas?
Thanks!