Skip to content

Orkiv/Inventory-go-client

Repository files navigation

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

About

Inventory API go lang client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published