Hemi Connectors / Storefeeder Technical Scope / StoreFeeder Get Channels

StoreFeeder Get Channels

Summary of Changes: (The purpose of this table is to keep traceability and Product team to highlight the things that were changed into the scope, based on comments or discussions)

Version Date Created / Updated Notes
v1.0 14/06/2023 Hristiyan Georgiev First publish
v1.1 20/07/2023 Hristiyan Georgiev Added logic changes when storing the channel

API Call : GET /channels

API Docs : https://rest.storefeeder.com/Help/Api/GET-channels

In order to be able to create orders in StoreFeeder we need to be sending the ChannelId for the respective channel in StoreFeeder. In order to do this we need an enumeration table with a dropdown field with all the channels.

table name notes
StoreFeeder Channels This should be a drop-down field with the channels which we get from the GET channels call.

From the response we want to store the ChannelName and ChannelIDand we want to display the ChannelName but push the ChannelID with the create orders call to StoreFeeder. <v1.1>We want to dynamically update and store all the channels but we want to display only the active channels in StoreFeeder in the dropdown menu. If a channel was active, but became inactive, we need to remove it from the dropdown menu. Since we could end up in a situation with two StoreFeeder connectors, we want to display the ChannelName and the connector name for which the channel name corresponds in the dropdown menu. </v1.1>

Example response :

[
    {
        "ChannelName": "eBay UK",
        "ChannelType": "Ebay",
        "ChannelID": 11154,
        "ChannelGuid": "290defd0-0945-4f97-9766-1062832a7418",
        "IsActive": false
    },
    {
        "ChannelName": "Fruugo",
        "ChannelType": "Fruugo",
        "ChannelID": 11163,
        "ChannelGuid": "4048e7e1-cbf5-43f0-b360-404f0d2d8dc2",
        "IsActive": false
    },
    {
        "ChannelName": "eBay UK",
        "ChannelType": "PhoneOrder",
        "ChannelID": 11435,
        "ChannelGuid": "f51ebe13-eb6c-4969-8011-d690610186b1",
        "IsActive": true,
        "CustomField1": "",
        "CustomField2": ""
    },
    {
        "ChannelName": "Ebay France",
        "ChannelType": "Ebay",
        "ChannelID": 11436,
        "ChannelGuid": "cdca01f9-99e9-4730-9d83-3f69cfb5d2a2",
        "IsActive": false
    },
    {
        "ChannelName": "Ebay Germany",
        "ChannelType": "Ebay",
        "ChannelID": 11437,
        "ChannelGuid": "a9eb3b7a-2be0-45e0-b223-92a1d02b3002",
        "IsActive": false
    },
    {
        "ChannelName": "eBay EU",
        "ChannelType": "PhoneOrder",
        "ChannelID": 11438,
        "ChannelGuid": "924c89ed-bb55-4f06-a273-6848a27e2ef7",
        "IsActive": true,
        "CustomField1": "",
        "CustomField2": ""
    }
]
StoreFeeder field StoreFeeder Notes Hemi Mapping Hemi Notes
ChannelName The name of the Channel StoreFeeder Channels > ChannelName To be displayed in Hemi in the dropdown as dropdown
ChannelType The type of the Channel. eg. eBay, Amazon N/A
ChannelID The StoreFeeder Channel ID for the Channel StoreFeederChannels > ChannelID We don’t need to see the ID in the interface but it has to be mapped in the backend to the respective ChannelName
ChannelGuid N/A
IsActive Whether the Channel is currently Enabled. N/A
Is this article helpful?
0 0 0