Integrate MongoDB Realm with ShipRocket

Appy Pie Connect allows you to automate multiple workflows between MongoDB Realm and ShipRocket

  • No credit card required
  • 7 days free trial
  • Lightning Fast Setup
Heart

20 Million work hours saved

Award Winning App Integration Platform

About MongoDB Realm

MongoDB Realm is a development platform designed for modern, data-driven applications. You can use Realm to build mobile, web, desktop, and IoT.

About ShipRocket

Shiprocket is a technologically advanced logistics platform that connects retailers, consumers, and supply chain partners to create great shipping experiences.

Want to explore MongoDB Realm + ShipRocket quick connects for faster integration? Here’s our list of the best MongoDB Realm + ShipRocket quick connects.

Explore quick connects
Connect MongoDB Realm + ShipRocket in easier way

It's easy to connect MongoDB Realm + ShipRocket without coding knowledge. Start creating your own business flow.

  • Triggers
  • New Push notification

    Triggers when a new push notification is created

  • New Service

    Triggers when a new service is created

  • New User

    Triggers when a new user is created

  • New Order

    Triggers when a new order is created.

  • New Product

    Triggers when a new product is created.

  • New Shipment

    Triggers when a new shipment is created.

  • Actions
  • Confirm Pending User

    Confirm a pending user

  • Create Service

    Create a service

  • Create Trigger

    Creates a Trigger

  • Create User

    Creates a User

  • Delete Push Notification

    Delete a pus notification

  • Delete Trigger

    Delete a trigger

  • Delete User

    Delete a User

  • Disable User

    Disable a User

  • Enable User

    Enable a User

  • Update Trigger

    Update a trigger

  • Add New Product

    Creates a new product.

  • Cancel an Order

    Cancel an order

  • Create Custom Order

    Creates a custom order.

  • Create a Return Order

    Create a return order

  • Update Order

    Update an existing order.

How MongoDB Realm & ShipRocket Integrations Work

  1. Step 1: Choose MongoDB Realm as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick ShipRocket as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from MongoDB Realm to ShipRocket.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of MongoDB Realm and ShipRocket

  • MongoDB Realm?
  • MongoDB Realm has a free and open source API that allows you to access data from Realm database, which is a mobile database that enables app developers to store user’s application data locally. It is supported by iOS, Android and React Native. It can be integrated with popular frameworks such as Redux, React Native and Architecture Components.

  • ShipRocket?
  • ShipRocket is a smart platform for ecommerce sellers to manage their online stores, eCommerce marketing and inventory management. Shiprocket provides an API for managing WooCommerce, Magento, eBay and Shopify stores. It has a powerful dashboard that helps users to manage their orders, customers, inventory, orders and much more.

  • Integration of MongoDB Realm and ShipRocket
  • Integration of MongoDB Realm and ShipRocket can help you to develop a better application. MongoDB Realm is a handy application that allows the integration of data from different applications with ease. In addition to this, it can also be used as a local storage for your application. It is easy to use and integrate with any application within a few minutes.

    In order to integrate MongoDB Realm and ShipRocket, you must have a ShipRocket account. You need to create a new API key in the API section of ShipRocket. For this purpose, click on API Key in the menu bar at the top of the page. Now click on Generate New API Key button. Now you will have a new API key displayed in the API Keys section. You can copy this API key and paste it into your project’s gradle file as fplows:

    buildscript { dependencies { classpath 'com.android.tops.build:gradle:3.1.0' classpath 'io.shiprocket.gradle:shiprocket-gradle-plugin:1.0' } } apply plugin. 'com.android.application' apply plugin. 'io.shiprocket' shiprocket { apiKey = "your-api-key" # Required for Firebase Analytics tracking only projectId = "your-project-id" # Required if you want to track sales in Google Analytics merchantId = "your-merchant-id" # Required if you want to track sales in Google Analytics } 1 2 3 4 5 6 7 8 9 10 11 12 13 buildscript { dependencies { classpath 'com.android.tops.build:gradle:3.1.0' classpath 'io.shiprocket.gradle:shiprocket-gradle-plugin:1.0' } } apply plugin . 'com.android.application' apply plugin . 'io.shiprocket' shiprocket { apiKey = "your-api-key" # Required for Firebase Analytics tracking only projectId = "your-project-id" # Required if you want to track sales in Google Analytics merchantId = "your-merchant-id" # Required if you want to track sales in Google Analytics }

    You need to add your com.android.application name in the android section of android/build.gradle file:

    android { // ... defaultConfig { // ... } signingConfigs { debug { storeFile file("debug.keystore". storePassword "password" keyAlias "debug" keyPassword "password" } release { storeFile file("release.keystore". storePassword "password" keyAlias "key" keyPassword "password" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' // ... } } } dependencies { compile fileTree(dir. 'libs', include. ['.jar']. testCompile 'junit:junit:4.12' androidTestCompile('com.android.support.test:runner:0.5', { exclude group. 'com.android.support', module. 'support-annotations' }. compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' testCompile group. 'junit', name. '(groovy)', version:'4.12' } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 android { // ... defaultConfig { // ... } signingConfigs { debug { storeFile file ( "debug.keystore" . storePassword "password" keyAlias "debug" keyPassword "password" } release { storeFile file ( "release.keystore" . storePassword "password" keyAlias "key" keyPassword "password" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile ( 'proguard-android . txt' . , 'proguard - rules . pro' // ... } } } dependencies { compile fileTree ( dir . 'libs' , include . [ '.jar' ] . testCompile 'junit . junit . 4 . 12' androidTestCompile ( 'com . android . support . test . runner . 0 . 5' , { exclude group . 'com . android . support' , module . 'support - annotations' } . compile 'com . squareup . retrofit2 . retrofit . 2 . 3 . 0' compile 'com . squareup . retrofit2 . converter - gson . 2 . 3 . 0' testCompile group . 'junit' , name . '(groovy . ' , version . '4 . 12' }

    You should create a new Java class called “IoTManager” in your root package (in this case, it is “net”. according to the fplowing code snippet:

    package net; import io.shiprocket.*; import io.shiprocket.api.*; public class IoTManager { private static final String SHIPROCKET_PROJECT_ID = "PROJECT_ID"; private static final String SHIPROCKET_API_KEY = "API_KEY"; private static final String SHIPROCKET_MERCHANT_ID = "MERCHANT_ID"; private IoC app; public IoC getIoC(){ return app; } public void init(Activity activity){ app = IoCFactoryUtil.getApplicationContext(activity); if (!app. throw new RuntimeException("Could not find ApplicationContext."); try{ ShipperClient client = ShipperClientFactoryUtil .createShipperClient(app); client .setToken(SHIPROCKET_API_KEY); client .setApiId(SHIPROCKET_PROJECT_ID); client .setMerchantId(SHIPROCKET_MERCHANT_ID); client .setShopName(SHIPROCKET_MERCHANT_ID); client .setShopDomainName(SHIPROCKET_MERCHANT_ID); client .setLanguageCode("en"); client .setLocaleCode("en_US"); client .setTimeZone(-8); client .setBaseUrl("https://api." + SHIPROCKET_MERCHANT_ID + ".shoprocket." + SHIPROCKET_MERCHANT_ID + ".com"); client .setForceSSL(true); client .setAssociateTag("AssociateTag"); client .setAssociateTagId(AssociateTagId); client .setUserToken("UserToken"); client .setUserTokenId(UserTokenId); client .setUsername("username"); client .setEmail("email"); client .setFirstName("FirstName"); client .setLastName("LastName"); client .setPhone("phone"); client .setAddress("address"); client .setCity("city"); client .setState("state"); client .setZip("zip"); client .setCountry("country"); }catch (Exception e){ LoggerUtil BeansLoggerUtil logger = LoggerFactoryUtil BeanLoggerUtil logger = LoggerFactoryUtil LoggerFactoryUtil logger = LoggerFactoryUtil new LoggerFactoryUtil logger = new LoggerFactoryUtil LoggerFactoryUtil logger = LoggerFactoryUtil Logger BeansLoggerUtil logger = BeansLoggerUtil logger =

    The process to integrate 403 Forbidden and 403 Forbidden may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.

    Page reviewed by: Abhinav Girdhar  | Last Updated on March 14,2023 02:59 pm