MongoDB Realm is a development platform designed for modern, data-driven applications. You can use Realm to build mobile, web, desktop, and IoT.
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 connectsIt's easy to connect MongoDB Realm + ShipRocket without coding knowledge. Start creating your own business flow.
Triggers when a new push notification is created
Triggers when a new service is created
Triggers when a new user is created
Triggers when a new order is created.
Triggers when a new product is created.
Triggers when a new shipment is created.
Confirm a pending user
Create a service
Creates a Trigger
Creates a User
Delete a pus notification
Delete a trigger
Delete a User
Disable a User
Enable a User
Update a trigger
Creates a new product.
Cancel an order
Creates a custom order.
Create a return order
Update an existing order.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
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 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 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.
How to Integrate MongoDB Realm with Shipcloud?
How to Integrate MongoDB Realm with Shopify?
How to Integrate MongoDB Realm with 3Dcart?
How to Integrate MongoDB Realm with eBay?
How to Integrate MongoDB Realm with Vend?
How to Integrate MongoDB Realm with ShipStation?
How to Integrate MongoDB Realm with WooCommerce?
How to Integrate MongoDB Realm with BigCommerce?