To connect Shopware API to Api2Cart, you need to follow these steps:
    • Go to Settings > System in the administration panel and select Integrations.


      How to connect Shopware API to API2Cart?
    • Add a new integration.


    • Choose the administrator role and save the integration.


    • If you are using a non-administrator role, the following permissions are necessary for the integration to function properly.




    {
       "permissions": [
         "system_config:read",
         "sales_channel:read",
         "currency:read",
         "sales_channel_domain:read",
         "shipping_method:read",
         "cms_page:read",
         "category:create",
         "category:read",
         "category:update",
         "category:delete",
         "category_tag:create",
         "category_tag:read",
         "category_tag:update",
         "category_tag:delete",
         "category_translation:read",
         "category_translation:update",
         "category_translation:delete",
         "product_media:read",
         "product_media:update",
         "product_media:delete",
         "product_category:read",
         "product_category:update",
         "product_category:delete",
         "product_category:create",
         "media:read",
         "media:update",
         "media:delete",
         "media:create",
         "customer:read",
         "customer:update",
         "customer:delete",
         "customer:create",
         "customer_address:create",
         "customer_address:read",
         "customer_address:update",
         "customer_address:delete",
         "customer_group:read",
         "customer_group:update",
         "customer_group:delete",
         "customer_group:create",
         "country:read",
         "country_state:read",
         "country_state_translation:read",
         "country_translation:read",
         "order_customer:read",
         "customer:read",
         "customer:create",
         "customer:update",
         "customer:delete",
         "order:read",
         "order:create",
         "order:update",
         "order:delete",
         "order_address:read",
         "order_address:create",
         "order_address:update",
         "order_address:delete",
         "order_customer:read",
         "order_customer:create",
         "order_customer:update",
         "order_customer:delete",
         "order_delivery:read",
         "order_delivery:create",
         "order_delivery:update",
         "order_delivery:delete",
         "order_delivery_position:read",
         "order_delivery_position:create",
         "order_delivery_position:update",
         "order_delivery_position:delete",
         "order_line_item:read",
         "order_line_item:create",
         "order_line_item:update",
         "order_line_item:delete",
         "order_line_item_download:read",
         "order_line_item_download:create",
         "order_line_item_download:update",
         "order_line_item_download:delete",
         "order_tag:read",
         "order_tag:create",
         "order_tag:update",
         "order_tag:delete",
         "order_transaction:read",
         "order_transaction:create",
         "order_transaction:update",
         "order_transaction:delete",
         "order_transaction_capture:read",
         "order_transaction_capture:create",
         "order_transaction_capture:update",
         "order_transaction_capture:delete",
         "order_transaction_capture_refund:read",
         "order_transaction_capture_refund:create",
         "order_transaction_capture_refund:update",
         "order_transaction_capture_refund:delete",
         "order_transaction_capture_refund_position:read",
         "order_transaction_capture_refund_position:create",
         "order_transaction_capture_refund_position:update",
         "order_transaction_capture_refund_position:delete",
         "customer_wishlist:read",
         "customer_wishlist_product:read",
         "state_machine:read",
         "state_machine_state:read",
         "state_machine_translation:read",
         "payment_method:read",
         "tax:read",
         "tax:create",
         "tax:update",
         "tax:delete",
         "tax_rule:read",
         "tax_rule:create",
         "tax_rule:update",
         "tax_rule:delete",
         "tax_rule_type:read",
         "tax_rule_type:create",
         "tax_rule_type:update",
         "tax_rule_type:delete",
         "tax_rule_type_translation:read",
         "tax_rule_type_translation:create",
         "tax_rule_type_translation:update",
         "tax_rule_type_translation:delete",
         "product:read",
         "product:create",
         "product:update",
         "product:delete",
         "product_category:read",
         "product_category:create",
         "product_category:update",
         "product_category:delete",
         "product_category_tree:read",
         "product_category_tree:create",
         "product_category_tree:update",
         "product_category_tree:delete",
         "product_configurator_setting:read",
         "product_configurator_setting:create",
         "product_configurator_setting:update",
         "product_configurator_setting:delete",
         "product_cross_selling:read",
         "product_cross_selling:create",
         "product_cross_selling:update",
         "product_cross_selling:delete",
         "product_cross_selling_assigned_products:read",
         "product_cross_selling_assigned_products:create",
         "product_cross_selling_assigned_products:update",
         "product_cross_selling_assigned_products:delete",
         "product_cross_selling_translation:read",
         "product_cross_selling_translation:create",
         "product_cross_selling_translation:update",
         "product_cross_selling_translation:delete",
         "product_custom_field_set:read",
         "product_custom_field_set:create",
         "product_custom_field_set:update",
         "product_custom_field_set:delete",
         "product_download:read",
         "product_download:create",
         "product_download:update",
         "product_download:delete",
         "product_export:read",
         "product_export:create",
         "product_export:update",
         "product_export:delete",
         "product_feature_set:read",
         "product_feature_set:create",
         "product_feature_set:update",
         "product_feature_set:delete",
         "product_feature_set_translation:read",
         "product_feature_set_translation:create",
         "product_feature_set_translation:update",
         "product_feature_set_translation:delete",
         "product_keyword_dictionary:read",
         "product_keyword_dictionary:create",
         "product_keyword_dictionary:update",
         "product_keyword_dictionary:delete",
         "product_manufacturer:read",
         "product_manufacturer:create",
         "product_manufacturer:update",
         "product_manufacturer:delete",
         "product_manufacturer_translation:read",
         "product_manufacturer_translation:create",
         "product_manufacturer_translation:update",
         "product_manufacturer_translation:delete",
         "product_media:read",
         "product_media:create",
         "product_media:update",
         "product_media:delete",
         "product_option:read",
         "product_option:create",
         "product_option:update",
         "product_option:delete",
         "product_price:read",
         "product_price:create",
         "product_price:update",
         "product_price:delete",
         "product_property:read",
         "product_property:create",
         "product_property:update",
         "product_property:delete",
         "product_review:read",
         "product_review:create",
         "product_review:update",
         "product_review:delete",
         "product_search_config:read",
         "product_search_config:create",
         "product_search_config:update",
         "product_search_config:delete",
         "product_search_config_field:read",
         "product_search_config_field:create",
         "product_search_config_field:update",
         "product_search_config_field:delete",
         "product_search_keyword:read",
         "product_search_keyword:create",
         "product_search_keyword:update",
         "product_search_keyword:delete",
         "product_sorting:read",
         "product_sorting:create",
         "product_sorting:update",
         "product_sorting:delete",
         "product_sorting_translation:read",
         "product_sorting_translation:create",
         "product_sorting_translation:update",
         "product_sorting_translation:delete",
         "product_tag:read",
         "product_tag:create",
         "product_tag:update",
         "product_tag:delete",
         "product_translation:read",
         "product_translation:create",
         "product_translation:update",
         "product_translation:delete",
         "product_visibility:read",
         "product_visibility:create",
         "product_visibility:update",
         "product_visibility:delete"
       ]
     }
     
      
  • Use the obtained Access Key ID and Secret Access Key to connect to Api2Cart, using them as parameters shopware_api_key and shopware_api_secret.