Inventory API go lang client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
LICENSE
README.md
api_client.go
api_response.go
category.go
configuration.go
default_api.go
event_request.go
git_push.sh
inventory_group.go
item.go
model_error.go
order.go
pom.xml
response.go
service.go

README.md

Go API client for InventoryClient

Orkiv Inventory API client

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build date: 2016-08-05T15:13:30.839-04:00
  • Build package: class io.swagger.codegen.languages.GoClientCodegen

Dependencies

Install dependencies with the command line tool go get

go get github.com/go-resty/resty
go get golang.org/x/net/publicsuffix

Installation

Download this repository and move its contents to $GOPATH/Orkiv/Inventory-go-client. Add this to imports :

    "github.com/Orkiv/Inventory-go-client"

Install using go get

go get github.com/Orkiv/Inventory-go-client

Getting started

package main

import (
"github.com/Orkiv/Inventory-go-client"
"fmt")

    func main(){
    	api := InventoryClient.NewDefaultApi()
    	api.Configuration.AddDefaultHeader("AccountID", "")
    	api.Configuration.AddDefaultHeader("APIKey", "")
    
    	resp,_,_ := api.AllGet()
    
    	fmt.Println(resp)
    }

Documentation for API Endpoints

All URIs are relative to https://www.orkiv.com/i/api

Class Method HTTP request Description
DefaultApi AllGet Get /all/
DefaultApi CategoriesDelete Delete /categories/
DefaultApi CategoriesPost Post /categories/
DefaultApi CategoriesPut Put /categories/
DefaultApi ItemAddPost Post /item/add/
DefaultApi ItemAddbulkPost Post /item/addbulk/
DefaultApi ItemDelete Delete /item/
DefaultApi ItemGet Get /item/
DefaultApi ItemMediaDelete Delete /item-media/
DefaultApi ItemMediaPost Post /item-media/
DefaultApi ItemPut Put /item/
DefaultApi ItemsCountPost Post /items/count/
DefaultApi ItemsPost Post /items/
DefaultApi OrdersPost Post /orders/
DefaultApi OrdersServicesPost Post /orders/services/
DefaultApi QueryPost Post /query/
DefaultApi ServicesDelete Delete /services/
DefaultApi ServicesGet Get /services/
DefaultApi ServicesOpenGet Get /services/open/
DefaultApi ServicesPost Post /services/
DefaultApi ServicesPut Put /services/
DefaultApi VariationDelete Delete /variation/
DefaultApi VariationGet Get /variation/
DefaultApi VariationPost Post /variation/
DefaultApi VariationPut Put /variation/
DefaultApi WriteDelete Delete /write/
DefaultApi WritePost Post /write/

Documentation For Models

Documentation For Authorization

APIKey

  • Type: API key
  • API key parameter name: APIKey
  • Location: HTTP header

AccountID

  • Type: API key
  • API key parameter name: accountid
  • Location: HTTP header

Author