Getting Started
Basic Concepts
Tutorials
Advanced Concepts
How-to Guides
Building integration flows
Data transformation
Integration patterns
Developing Components
Tenant Management
Components
CRM Components
ERP Components
E-Commerce Components
Basic Components
Utility Components
References
Sailor
Component Descriptor
Covered in this article
Related articles
Contracts and Workspaces Understanding credentials Data Sample Overview Creating your first integration flow Getting Started What is an integration component? What is an integration flow? What is a tenant? Take a tour of the product Creating a webhook flow Building a component in Java Building a component in Node.js Content-Based Routing Deploying a component How-to Guides Managing flow history Managing OAuth Clients Managing user roles in a tenant Managing Workspaces Mapping data Building real-time flows Sending data to a list of recipients REST API component Managing your SSH keys Managing your Teams/Components Allmysms component Amazon MWS component AMQP component AppDirect Component AWS Lambda component AWS SNS component Bazaarvoice component ChannelAdvisor component Code component Configuration component CSV component Docusign component Dun-and-bradstreet component Ebay component Edifact-parser component Email component Exact Online component Filter component Google PubSub component Google-shopping component Google-translate component Goto-webinar component Google Spreadsheets component Components JDBC Component JDBC Component JDBC Component Jsonata component Key-value-component component Ldap component Lightspeed-ecom component Lightspeed-retail component Lionbridge-translation component Magento1 component Magento2 component Mailchimp component Mandrillapp component Mapper component Microsoft Dynamics CRM component MsSQL component NetSuite component ODATA component Outlook component Petstore-nodejs component Pipedrive component Postgresql component Quickbooks-component component Request-reply component Rest API component Router component Salesforce-cpq component Salesfoce Component Sdl-translate component Sftp component Shopify-admin component Simple-trigger component Smarty-streets component Soap component Splitter component Stripe component Sugar-crm component Timer component Twitter component Webhook component Xml component Component Descriptor Structure References Sailor compatibility matrix View Classes

Shopware component


Description

This is component for Shopware eCommerce software.

Before you Begin

PLEASE NOTE: This component depends on Shopware REST API extenstions, please install it first before proceeding further.

Query Articles/Products

Shopware has a concept of Artikel in German which their UI translates to Products in English which is available through their API at the /article endpoint. There is a trigger Query Articles which queries for new & updated products. The results are returned in batches of the form

{
  data: [
  //items
  ]
}

The batch size is configurable as a parameter. The batches can be broken up by the JSONata mapper as they proceed to the next step.

The output of this method includes only information about the product. It does not include information about the variants of the article. This information can be obtained by having the Query Articles trigger followed by the Get Article Details By Id action. This action will return all the details for an article including information about the articles variants.

Shopware API Limitations/Improvements

The Shopware API has many shortcomings which limit the ability to use Shopware out of the box. Shopware allows for features to be requested in their issue tracker. Here are some of the feature requests which would allow additional functionality to be built into the component for out of the box functionality.