GithubHelp home page GithubHelp logo

api's Introduction

Ventata API

The Ventata API is a REST web service that accepts both JSON and XML. Use our API to integrate dynamic pricing into any software application you are working with.

Overview

First, sign up for an API key at Ventata.com.

The idea behind ventata is you seed your pricing model with order data then call for a new price. As a new order comes in, send it over and we'll incorporate it into your pricing model. Then call for a new price. This process allows us to maximize your profits in real time.

When should you use Dynamic Pricing?

  • Digital Goods: Applications, Songs, Videos and In-Game purchases
  • Ecommerce: Price competitive markets, drop-ship, flash sales or when you have a unique product like a hand-made item
  • Tickets and Events: Use dynamic pricing to sell out your event and maximize revenue
  • Traffic & Parking: Use dynamic pricing to control capacity

If you're building a store or application that sells one of these items, you can incorporate ventata into the order process to maximize your profits.

Example Code

PHP

Java

C#

Python

Ruby

Endpoints

Authentication

Auth is done through an API Key on the end of the querystring. When you first sign up, we'll send you a company API key. With this key, you'll be able to create as many stores as you want. Each store will get it's own unique api key returned in the response.

When do I use the Company API Key?

When you are using Company, Stores or Billing endpoints.

When do I use the Store API Key?

When you are using Products or Orders endpoints.

Why is it setup this way?

You can have many stores to a single company and we can control how much access a store API Key has, if you just had a single point of authenticating then all stores would be able to access all the other stores' data. With the multiple API key system, if you want contractors to integrate our API into one of your sites, you can give them the relavent Store API Key for it without having to give them access to all of your other stores.

Response Codes:

The Ventata API sends back the following standard HTTP Status codes:

CodeAKAReason
200okRequest successfully received and sending back response data.
201createdRequest successfully received and sending back response data that will have your new resource id.
202updatedRequest successfully received and sending back response data.
400bad requestRequest received but we couldn't process it because something was formatted incorrectly. Check out the Endpoints section to make sure you are sending over the right info.
401unauthorizedRequest received but not processed. You aren't supposed to be here, make sure you are using the API key that is associated with the endpoint you are accessing.
402payment requiredRequest received but not processed. We are having trouble processing your credit card, please make sure your billing information is up to date.
404not foundRequest was not received, that resource is not in our system.
500server errorDid I do that? It's something on our end. If you're getting 500's contact our support team and we'll fix the issue.

HTTPS

All traffic must be made through HTTPS. Any calls made to HTTP will return a 404, we do not do redirects for security reasons.

Questions & Comments

You can reach us on our contact page or chat with us on our site

api's People

Contributors

ventata avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.