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
Marketing-related components
Finance-related components
Office components
Protocol components
Service components
Database components
Utility components
References
Sailor
Component Descriptor
Covered in this article
Shopware-component pages
Created on Updated on
Shopware component

Shopware component

A component to work with Shopware API.

Shopware component for the elastic.io platform.

Description

This is component for Shopware eCommerce software which is developed specifically to run on elastic.io platform.

Requirements

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

This component was tested with the Shopware version 5 (5.6).

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 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.

Actions

Upsert Object

Action creates a new object or updates object which already exists by provided ID (by default) or Number (MainDetail.Number). This action makes POST request when get message body without ID to create new entity and PUT request when get message body includes ID or Number to update existing object.

image

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.