parseGid
Parses Shopify Global ID (GID) and returns the resource type and ID.
Parses global id (gid) and returns the resource type and id.
Anchor to parseGid-parametersParameters
- Anchor to gidgidgidstringstringrequiredrequired
A shopify GID (string)
Anchor to parseGid-returnsReturns
ShopifyGidShopifyGid
ShopifyGid
Pick<URL, 'search' | 'searchParams' | 'hash'> & {
id: string;
resource: string | null;
resourceId: string | null;
}Was this page helpful?