All Projects → Marketcloud → marketcloud-node

Marketcloud / marketcloud-node

Licence: GPL-2.0 license
Marketcloud nodejs client library

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to marketcloud-node

Grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
Stars: ✭ 1,768 (+7936.36%)
Mutual labels:  ecommerce, shopping-cart
Reactjs Shopping Cart
example of shopping cart implemented in react.js and redux.js
Stars: ✭ 153 (+595.45%)
Mutual labels:  ecommerce, shopping-cart
React Shopping Cart
🛍️ Simple ecommerce cart application built with React Redux
Stars: ✭ 1,808 (+8118.18%)
Mutual labels:  ecommerce, shopping-cart
Arastta
Solid, Free, Open Source, Community Driven eCommerce
Stars: ✭ 251 (+1040.91%)
Mutual labels:  ecommerce, shopping-cart
Shoppingcart
E-Commerce Website Using Java - Spring MVC in Maven - PROJECT IS NOT MAINTAINED
Stars: ✭ 198 (+800%)
Mutual labels:  ecommerce, shopping-cart
Laracom
Laravel FREE E-Commerce Software
Stars: ✭ 1,570 (+7036.36%)
Mutual labels:  ecommerce, shopping-cart
Ecommerce React
eCommerce web application using React, Redux, Redux-Saga, Firebase and SASS.
Stars: ✭ 151 (+586.36%)
Mutual labels:  ecommerce, shopping-cart
Ryal
🏵 An e-commerce library for elixir; just to save you some pain, we're still in construction, so star us instead or donate!
Stars: ✭ 87 (+295.45%)
Mutual labels:  ecommerce, shopping-cart
Cezerin
Cezerin is React and Node.js based eCommerce platform.
Stars: ✭ 1,985 (+8922.73%)
Mutual labels:  ecommerce, shopping-cart
Microweber
Drag and Drop Website Builder and CMS with E-commerce
Stars: ✭ 2,226 (+10018.18%)
Mutual labels:  ecommerce, shopping-cart
Zencart
Zen Cart® is a full-function e-commerce application for your website.
Stars: ✭ 250 (+1036.36%)
Mutual labels:  ecommerce, shopping-cart
artifacts
A clone of Etsy, an e-commerce site themed around selling items procured by time travelers.
Stars: ✭ 16 (-27.27%)
Mutual labels:  ecommerce, shopping-cart
Ecommerce Laravel Bootstrap
Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
Stars: ✭ 99 (+350%)
Mutual labels:  ecommerce, shopping-cart
Aimeos
Integrated online shop based on Laravel 8 and the Aimeos e-commerce framework
Stars: ✭ 2,354 (+10600%)
Mutual labels:  ecommerce, shopping-cart
Module Shop Mini Program
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统
Stars: ✭ 89 (+304.55%)
Mutual labels:  ecommerce, shopping-cart
Vue Shoppingcart
ShoppingCart (Ecommerce) 🛒 Application using Vuejs, + Node.js + Express + MongoDB 🚀🤘
Stars: ✭ 141 (+540.91%)
Mutual labels:  ecommerce, shopping-cart
Android Shoppingcart
An implementation of android shopping cart library project for Android
Stars: ✭ 77 (+250%)
Mutual labels:  ecommerce, shopping-cart
Laravel Ecommerce Iyzico
Iyzico intigrated e-Commerce system that could be developed easily in simple level.
Stars: ✭ 81 (+268.18%)
Mutual labels:  ecommerce, shopping-cart
Vendure
A headless GraphQL ecommerce framework for the modern web
Stars: ✭ 2,961 (+13359.09%)
Mutual labels:  ecommerce, shopping-cart
Ecommwar
A leaderboard of the top open-source e-commerce platforms. Promoting the bests for building reliable stores.
Stars: ✭ 203 (+822.73%)
Mutual labels:  ecommerce, shopping-cart

Build Status Known Vulnerabilities [Code Climate]

Marketcloud NodeJS SDK

Marketcloud

This is the repository for Marketcloud's official nodejs client library. Please refer to the website for documentation and more information

Installation

npm install marketcloud-node

Updating

Please remember to check the changelog for important information whenever updating to the latest version!

Documentation

The official documentation is available at http://www.marketcloud.it/documentation/nodejs

API overview

You can interact with the api through a Marketcloud.Client instance

var Marketcloud = require('marketcloud-node');
var marketcloud = new Marketcloud.Client({
   public_key : 'your-public-key-here',
   secret_key : 'your-secret-key-here'
})

Every resource method, returns a promise:

var product = {
  name : 'Sandman #3',
  price : 9.99,
  stock_type : 'track',
  stock_level : 10,
  author : 'Neil Gaiman',
  publisher : 'Vertigo',
  images : ['https://images.com/comic_cover.jpg']
}

		
//Save the product
marketcloud.products.create(product)
.then(function(response){
  var product_id = response.data.id
  expect(response.status).to.equal(true)
})


//Retrieve a particular product
marketcloud.products.getById(123)
.then(function(response){  
  console.log("The product is",response.data)
});



// Create an order
var new_order = {
   billing_address : {...},
   shipping_address : {...},
   items : [{product_id:1, variant_id : 1,quantity:1}]
}

marketcloud.orders.create(new_order)
.then(function(response){
	// Handle success
	// Log order data
	console.log(response.data);
})
.catch(function(error){
 // Handle error
 });
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].