Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cart-javascript-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cart-javascript-sdk

Node.js SDK for the Ordermentum

  • 0.0.1-beta
  • beta
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Ordermentum Node.js SDK

Node.js SDK for the Ordermentum

Getting started

curl \
  -X POST \
  -d username=example@example.com \
  -d password=secret \
  -d grant_type=password \
  "https://app.ordermentum.com/v1/auth"
import createClient from 'ordermentum-sdk';

const client = createClient({
  token: '[TOKEN]',
});

Products

const products = client.products.findAll({ supplierId: '' });

const response = client.products.create({

});

Orders

const orders = client.orders.findAll({ supplierId: '' });

const response = client.orders.update(id, {

});

Invoices

const invoices = client.invoices.findAll({ supplierId: '' });

const response = client.invoices.update(id, {

});

FAQs

Package last updated on 02 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc