Orkiv Inventory API client
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
Install dependencies with the command line tool go get
go get github.com/go-resty/resty
go get golang.org/x/net/publicsuffix
Download this repository and move its contents to $GOPATH/Orkiv/Inventory-go-client. Add this to imports :
"github.com/Orkiv/Inventory-go-client"
go get github.com/Orkiv/Inventory-go-client
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)
}
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/ |
- Category
- EventRequest
- InventoryGroup
- Item
- ItemRequest
- ModelError
- Order
- OrderRequest
- Response
- Service
- ServiceRequest
- Variation
- Type: API key
- API key parameter name: APIKey
- Location: HTTP header
- Type: API key
- API key parameter name: accountid
- Location: HTTP header