import { shopifyIdTransformer } from '@daffodil/driver/shopify'
Transforms a DaffIdentifiable id and object type into a Shopify object id
function shopifyIdTransformer(
id: string
type: string
): string
| Parameter | id: string |
|---|---|
| Description | numerical code that represents a shopify object id |
| Parameter | type: string |
|---|---|
| Description | Shopify type (e.g. Product, Collection, CollectionImage, etc.) |