As an action connector the Sphere.IO connector can have the following activities:
- Update Customer
- Create Product
- Add/Update Price to Variant
- Query Product Variant by SKU
- Get Customer by ID
- Get Order by ID
- Add Product Variant
- Set Order Number
- Add a Delivery
- Change shipment state
For this action connector we have only Customer id and External id fields to map from which Customer id is a required field. It is worth to mention that the External id optional field can be a very useful and powerful option to sync your data about the same customer.
When Create Product action connector is used there are more than 10 fields to map the incoming data from your trigger component. The number and the language settings of the fields depend on your Sphere.IO setup and can be different but there are two required fields which should be used for this component to work:
- Name (en) (required) - Name of your product in English since the example Sphere.io account is set in English.
- Slug (en) (required) - The Slug of your product.
Add/Update Price to Variant
In case we want to add or update Price to Variant then there are only 4 required fields to map your incoming data (Price amount, Price currency, Product ID and Variant ID):
Query Product Variant by SKU
When we wish to map the incoming data with Product Variant by SKU then there are only 3 required fields to fill-in:
- Price amount (required)
- Price currency (required)
- Variant SKU (required)
Get Customer by ID
This case is very straightforward since only the Customer id is required.
Get Order by ID
Only Order id is required to perform this action.
Add Product Variant
If we wish to map the Product Variant with incoming data then there are 2 required (Master Variant SKU and Sku) and one optional (Variant Custom attribute) fields to use:
Set Order Number
This particular action requires only two fields to be mapped with the incoming data:
- Order ID (required)
- Order number (required)
Add a Delivery
When Add a Delivery action component is selected then we have 3 required fields (ID of the line item being delivered, Order Number and Quantity) and 2 optional fields (Tracking ID to track the delivery and Unique parcel ID). This particular action component is quite useful for reporting back the status of delivery back to your system.
Change shipment state
This particular action component can be used to track different types of Order IDs which is a required field. To select which one one needs to use the dropdown menu near the component section like it is shown below: