Step 2. Import Definitions and demo entries.
Import Metafield definitions, Metaobject definitions and Metaobject entries.
Last updated
Was this helpful?
Import Metafield definitions, Metaobject definitions and Metaobject entries.
Last updated
Was this helpful?
Go to the Shopify admin dashboard, navigate to Settings > Apps and sales channels
> Develop Apps
, and click on Create app
.
After naming and creating your app, move to the Configuration
tab.
In the βAdmin API access scopesβ section, click Edit
and select the following scopes:
read_apps,
read_files, write_files,
write_metaobject_definitions, read_metaobject_definitions, write_metaobjects, read_metaobjects,
write_products, read_products,
write_themes, read_themes
Under Webhook subscriptions, choose the 2024-04
API version.
Lastly, navigate to the API Credentials
section.
Copy the Admin API access token and save it to a file for convenient use in the steps below
You can deploy the Hydrogen application to Oxygen and import data there. However, my advice is to check everything on Localhost and deploy it to Oxygen as the final step.
Check all have been set correctly and.
Open the terminal and run: "npm run dev"
Go to http://localhost:3000/cisecoInitCreateMetaobjectDefinitions
Enter the Admin API access token value above into the input box and perform data import.
After importing, you need to manually enable the Storefronts access option in the admin page (Please check the video below for more clarity)
Please follow the video below.