Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Get Admin panel URL from Checkout JSON response

Get Admin panel URL from Checkout JSON response

nitsnets
Shopify Partner
3 0 0

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!

Replies 0 (0)