Integrate menu APIs through custom Application

Niraj1
New Member
1 0 0

Hello,

I need to integrate the menu API from the custom application of Shopify.

In the custom application, I didn't recognize appropriate permission for the menu APIs.

I need to get the JSON of the menu which is created from the backend of Shopify in navigation.

The API URL is {shopify-domain-name}/admin/menus/{menu_id}.json, when I'm logged in the shopify store, It'll return me the response.

But when I call the menu API through the code, it gives me the below error.

Scope undefined for API access: menus.
Valid scopes: ad_audiences, admin_login_tokens, admin_notifications, admin_shop_settings, all_orders, all_subscription_contracts, analytics, analytics_overviews, apps, assigned_fulfillment_orders, audit_events, banking, banking_notifications, billing, brand_settings, capital, capital_notification, cash_tracking, channels, checkout_settings, checkouts, checkouts_vault_tokens, content, customer_data_redaction_requests, customer_events, customer_payment_methods, customer_self_serve_settings, customer_tags, customers, delivery, detailed_merchant_profile, discounts, disputes, domains, draft_orders, email_sender_configuration, files, fulfillments, gdpr_data_request, gift_card_adjustments, gift_cards, home, images, inventory, kit_skills, legal_policies, locales, locations, marketing_events, media_processing, merchant_integrity_profile, merchant_managed_fulfillment_orders, meta_tags, mobile_payments, mobile_platform_applications, notification_settings, notifications, online_store, online_store_bot_protection, online_store_navigation, online_store_pages, online_store_preferences, online_store_privacy_settings, order_edits, orders, own_subscription_contracts, payment_gateways, payment_sessions, payment_settings, payment_terms, physical_receipts, point_of_sale_devices, pos_channel.access, pos_compliance.access, price_rules, product_engagements, product_inventory, product_listings, product_pickup_locations, product_recommendations, product_tags, products, publications, reports, resource_feedbacks, retail_addon_subscriptions, retail_bbpos_merchant, retail_payment_providers, retail_roles, retail_user_data, sales_agreements, script_tags, scripts, selling_plans, shipping, shipping_rules, shop_pay_installments_accounts, shopify_payments, shopify_payments_accounts, shopify_payments_balance_debits, shopify_payments_bank_accounts, shopify_payments_bank_accounts_sensitive, shopify_payments_disputes, shopify_payments_ledgers, shopify_payments_legal_entities, shopify_payments_payouts, shopify_payments_payouts_status, smart_grid, social_network_accounts, stripe_terminal_readers, subscription_plans, taxes, themes, third_party_fulfillment_orders, tracking_pixels, translations, user_private_data, and users

We have already given all the permission which is supported by Shopify.

read_content, write_content, read_themes, write_themes, read_products, write_products, read_product_listings, read_customers, write_customers, read_orders, write_orders, write_order_edits, read_draft_orders, write_draft_orders, read_inventory, write_inventory, read_locations, read_script_tags, write_script_tags, read_fulfillments, read_assigned_fulfillment_orders, write_assigned_fulfillment_orders, read_merchant_managed_fulfillment_orders, write_merchant_managed_fulfillment_orders, read_third_party_fulfillment_orders, write_third_party_fulfillment_orders, read_shipping, write_shipping, read_analytics, read_gift_cards, write_gift_cards, read_checkouts, write_checkouts, read_reports, write_reports, read_price_rules, write_price_rules, read_discounts, write_discounts, read_marketing_events, write_marketing_events, read_resource_feedbacks, write_resource_feedbacks, read_shopify_payments_payouts, read_shopify_payments_disputes, read_translations, write_translations, read_locales, write_locales, read_themes

0 Likes