six910api

package module
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: GPL-3.0 Imports: 8 Imported by: 4

README

Six910API-Go

Build Status Quality Gate Status Go Report Card

The Golang API for a Speeding Fast Shopping Cart

An open source ecommerce platform server for building online shopping cart systems; written in golang. This is the Golang API for accessing Six910 services.

This project is intended to be the storefront UI that works with Six910 REST implementation of a hosted ecommerce solution.

  1. Users of Six910 UI, together with Six910 will be able to customize templates just like other hosted solutions.
  2. Templates can either be written in Golang templating or use a JavaScript framework like Angular or React.
  3. REST services will be used to expose all cart functionality.

Template Designer

There will also be a template designer to make desiging templates much easier than it currently is with most hosted shopping cart solutions.

  1. Users will be able to download there current template
  2. Modify the template using the user's store URL
  3. Upload the template back to the hosted site

We need Golang developers to work on this project. If you are interested in contributing, send a pull request with your name added to the developer section of the readme.

Developers and Contributors:

  1. Ken Williamson
  2. Your Name Here

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	//address
	AddAddress(a *sdbi.Address, headers *Headers) *ResponseID
	UpdateAddress(a *sdbi.Address, headers *Headers) *Response
	GetAddress(id int64, cid int64, headers *Headers) *sdbi.Address
	GetAddressList(cid int64, headers *Headers) *[]sdbi.Address
	DeleteAddress(id int64, cid int64, headers *Headers) *Response

	//cart
	AddCart(c *sdbi.Cart, headers *Headers) *ResponseID
	UpdateCart(c *sdbi.Cart, headers *Headers) *Response
	GetCart(cid int64, headers *Headers) *sdbi.Cart
	DeleteCart(id int64, cid int64, headers *Headers) *Response

	//cartItem
	AddCartItem(ci *sdbi.CartItem, cid int64, headers *Headers) *ResponseID
	UpdateCartItem(ci *sdbi.CartItem, cid int64, headers *Headers) *Response
	GetCartItem(cid int64, prodID int64, headers *Headers) *sdbi.CartItem
	GetCartItemList(cartID int64, cid int64, headers *Headers) *[]sdbi.CartItem
	DeleteCartItem(id int64, prodID int64, cartID int64, headers *Headers) *Response

	//category
	AddCategory(c *sdbi.Category, headers *Headers) *ResponseID
	UpdateCategory(c *sdbi.Category, headers *Headers) *Response
	GetCategory(id int64, headers *Headers) *sdbi.Category
	GetHierarchicalCategoryList(headers *Headers) *[]sdbi.Category
	GetCategoryList(headers *Headers) *[]sdbi.Category
	GetSubCategoryList(catID int64, headers *Headers) *[]sdbi.Category
	DeleteCategory(id int64, headers *Headers) *Response

	//customer
	AddCustomer(c *sdbi.Customer, headers *Headers) *ResponseID
	UpdateCustomer(c *sdbi.Customer, headers *Headers) *Response
	GetCustomer(email string, headers *Headers) *sdbi.Customer
	GetCustomerID(id int64, headers *Headers) *sdbi.Customer
	GetCustomerList(start int64, end int64, headers *Headers) *[]sdbi.Customer
	DeleteCustomer(id int64, headers *Headers) *Response

	//dataStoreWriteLock
	AddDataStoreWriteLock(w *sdbi.DataStoreWriteLock, headers *Headers) *Response
	UpdateDataStoreWriteLock(w *sdbi.DataStoreWriteLock, headers *Headers) *Response
	GetDataStoreWriteLock(dataStore string, headers *Headers) *sdbi.DataStoreWriteLock

	//dataStore
	AddLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response
	UpdateLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response
	GetLocalDatastore(dataStoreName string, headers *Headers) *sdbi.LocalDataStore

	//distrubutor
	AddDistributor(d *sdbi.Distributor, headers *Headers) *ResponseID
	UpdateDistributor(d *sdbi.Distributor, headers *Headers) *Response
	GetDistributor(id int64, headers *Headers) *sdbi.Distributor
	GetDistributorList(headers *Headers) *[]sdbi.Distributor
	DeleteDistributor(id int64, headers *Headers) *Response

	//excluded sub region
	AddExcludedSubRegion(e *sdbi.ExcludedSubRegion, headers *Headers) *ResponseID
	GetExcludedSubRegionList(regionID int64, headers *Headers) *[]sdbi.ExcludedSubRegion
	DeleteExcludedSubRegion(id int64, regionID int64, headers *Headers) *Response

	//included sub region
	AddIncludedSubRegion(e *sdbi.IncludedSubRegion, headers *Headers) *ResponseID
	GetIncludedSubRegionList(regionID int64, headers *Headers) *[]sdbi.IncludedSubRegion
	DeleteIncludedSubRegion(id int64, regionID int64, headers *Headers) *Response

	//instances
	AddInstance(i *sdbi.Instances, headers *Headers) *Response
	UpdateInstance(i *sdbi.Instances, headers *Headers) *Response
	GetInstance(name string, dataStoreName string, headers *Headers) *sdbi.Instances
	GetInstanceList(dataStoreName string, headers *Headers) *[]sdbi.Instances

	// insurance
	AddInsurance(i *sdbi.Insurance, headers *Headers) *ResponseID
	UpdateInsurance(i *sdbi.Insurance, headers *Headers) *Response
	GetInsurance(id int64, headers *Headers) *sdbi.Insurance
	GetInsuranceList(headers *Headers) *[]sdbi.Insurance
	DeleteInsurance(id int64, headers *Headers) *Response

	AddTaxRate(t *sdbi.TaxRate, headers *Headers) *ResponseID
	UpdateTaxRate(t *sdbi.TaxRate, headers *Headers) *Response
	GetTaxRate(country string, state string, headers *Headers) *[]sdbi.TaxRate
	GetTaxRateList(headers *Headers) *[]sdbi.TaxRate
	DeleteTaxRate(id int64, headers *Headers) *Response

	//order
	AddOrder(o *sdbi.Order, headers *Headers) *ResponseID
	UpdateOrder(o *sdbi.Order, headers *Headers) *Response
	GetOrder(id int64, headers *Headers) *sdbi.Order
	GetOrderList(cid int64, headers *Headers) *[]sdbi.Order
	GetStoreOrderList(headers *Headers) *[]sdbi.Order
	GetStoreOrderListByStatus(status string, headers *Headers) *[]sdbi.Order
	GetOrderCountData(headers *Headers) *[]sdbi.OrderCountData
	GetOrderSalesData(headers *Headers) *[]sdbi.OrderSalesData
	DeleteOrder(id int64, headers *Headers) *Response

	//order comments
	AddOrderComments(c *sdbi.OrderComment, headers *Headers) *ResponseID
	GetOrderCommentList(orderID int64, headers *Headers) *[]sdbi.OrderComment

	//order items
	AddOrderItem(i *sdbi.OrderItem, headers *Headers) *ResponseID
	UpdateOrderItem(i *sdbi.OrderItem, headers *Headers) *Response
	GetOrderItem(id int64, headers *Headers) *sdbi.OrderItem
	GetOrderItemList(orderID int64, headers *Headers) *[]sdbi.OrderItem
	DeleteOrderItem(id int64, headers *Headers) *Response

	//order transaction
	AddOrderTransaction(t *sdbi.OrderTransaction, headers *Headers) *ResponseID
	GetOrderTransactionList(orderID int64, headers *Headers) *[]sdbi.OrderTransaction

	//payment gateway
	AddPaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *ResponseID
	UpdatePaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *Response
	GetPaymentGateway(id int64, headers *Headers) *sdbi.PaymentGateway
	GetPaymentGatewayByName(name string, headers *Headers) *sdbi.PaymentGateway
	GetPaymentGateways(headers *Headers) *[]sdbi.PaymentGateway
	DeletePaymentGateway(id int64, headers *Headers) *Response

	//plugins
	AddPlugin(p *sdbi.Plugins, headers *Headers) *ResponseID
	UpdatePlugin(p *sdbi.Plugins, headers *Headers) *Response
	GetPlugin(id int64, headers *Headers) *sdbi.Plugins
	GetPluginList(start int64, end int64, headers *Headers) *[]sdbi.Plugins
	DeletePlugin(id int64, headers *Headers) *Response

	//products
	AddProduct(p *sdbi.Product, headers *Headers) *ResponseID
	UpdateProduct(p *sdbi.Product, headers *Headers) *Response
	UpdateProductQuantity(p *sdbi.Product, headers *Headers) *Response
	GetProductByID(id int64, headers *Headers) *sdbi.Product
	GetProductBySku(sku string, did int64, headers *Headers) *sdbi.Product
	GetProductsByPromoted(start int64, end int64, headers *Headers) *[]sdbi.Product
	GetProductsByName(name string, start int64, end int64, headers *Headers) *[]sdbi.Product
	GetProductsByCaterory(catID int64, start int64, end int64, headers *Headers) *[]sdbi.Product
	GetProductList(start int64, end int64, headers *Headers) *[]sdbi.Product
	GetProductIDList(headers *Headers) *[]int64
	GetProductIDListByCategories(idReq *ProdIDReq, headers *Headers) *[]int64
	DeleteProduct(id int64, headers *Headers) *Response

	GetProductManufacturerListByProductName(name string, headers *Headers) *[]string
	GetProductManufacturerListByProductSearch(search string, headers *Headers) *[]string
	GetProductByNameAndManufacturerName(manf string, name string,
		start int64, end int64, headers *Headers) *[]sdbi.Product
	GetProductManufacturerListByCatID(catID int64, headers *Headers) *[]string
	GetProductByCatAndManufacturer(catID int64, manf string,
		start int64, end int64, headers *Headers) *[]sdbi.Product
	ProductSearch(p *sdbi.ProductSearch, headers *Headers) *[]sdbi.Product

	//product category
	AddProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response
	GetProductCategoryList(productID int64, headers *Headers) []int64
	DeleteProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response

	//region
	AddRegion(r *sdbi.Region, headers *Headers) *ResponseID
	UpdateRegion(r *sdbi.Region, headers *Headers) *Response
	GetRegion(id int64, headers *Headers) *sdbi.Region
	GetRegionList(headers *Headers) *[]sdbi.Region
	DeleteRegion(id int64, headers *Headers) *Response

	//shipment
	AddShipment(s *sdbi.Shipment, headers *Headers) *ResponseID
	UpdateShipment(s *sdbi.Shipment, headers *Headers) *Response
	GetShipment(id int64, headers *Headers) *sdbi.Shipment
	GetShipmentList(orderID int64, headers *Headers) *[]sdbi.Shipment
	DeleteShipment(id int64, headers *Headers) *Response

	//shipment box
	AddShipmentBox(sb *sdbi.ShipmentBox, headers *Headers) *ResponseID
	UpdateShipmentBox(sb *sdbi.ShipmentBox, headers *Headers) *Response
	GetShipmentBox(id int64, headers *Headers) *sdbi.ShipmentBox
	GetShipmentBoxList(shipmentID int64, headers *Headers) *[]sdbi.ShipmentBox
	DeleteShipmentBox(id int64, headers *Headers) *Response

	//shipment item
	AddShipmentItem(si *sdbi.ShipmentItem, headers *Headers) *ResponseID
	UpdateShipmentItem(si *sdbi.ShipmentItem, headers *Headers) *Response
	GetShipmentItem(id int64, headers *Headers) *sdbi.ShipmentItem
	GetShipmentItemList(shipmentID int64, headers *Headers) *[]sdbi.ShipmentItem
	GetShipmentItemListByBox(boxNumber int64, shipmentID int64, headers *Headers) *[]sdbi.ShipmentItem
	DeleteShipmentItem(id int64, headers *Headers) *Response

	//shipment carrier
	AddShippingCarrier(c *sdbi.ShippingCarrier, headers *Headers) *ResponseID
	UpdateShippingCarrier(c *sdbi.ShippingCarrier, headers *Headers) *Response
	GetShippingCarrier(id int64, headers *Headers) *sdbi.ShippingCarrier
	GetShippingCarrierList(headers *Headers) *[]sdbi.ShippingCarrier
	DeleteShippingCarrier(id int64, headers *Headers) *Response

	//shipment method
	AddShippingMethod(s *sdbi.ShippingMethod, headers *Headers) *ResponseID
	UpdateShippingMethod(s *sdbi.ShippingMethod, headers *Headers) *Response
	GetShippingMethod(id int64, headers *Headers) *sdbi.ShippingMethod
	GetShippingMethodList(headers *Headers) *[]sdbi.ShippingMethod
	DeleteShippingMethod(id int64, headers *Headers) *Response

	//store
	AddStore(s *sdbi.Store, headers *Headers) *ResponseID
	UpdateStore(s *sdbi.Store, headers *Headers) *Response
	GetStore(sname string, localDomain string, headers *Headers) *sdbi.Store
	DeleteStore(sname string, localDomain string, headers *Headers) *Response

	//store plugin
	AddStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *ResponseID
	UpdateStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *Response
	GetStorePlugin(id int64, headers *Headers) *sdbi.StorePlugins
	GetStorePluginList(headers *Headers) *[]sdbi.StorePlugins
	DeleteStorePlugin(id int64, headers *Headers) *Response

	//sub region
	AddSubRegion(s *sdbi.SubRegion, headers *Headers) *ResponseID
	UpdateSubRegion(s *sdbi.SubRegion, headers *Headers) *Response
	GetSubRegion(id int64, headers *Headers) *sdbi.SubRegion
	GetSubRegionList(regionID int64, headers *Headers) *[]sdbi.SubRegion
	DeleteSubRegion(id int64, headers *Headers) *Response

	//user
	AddCustomerUser(u *User, headers *Headers) *Response
	AddAdminUser(u *User, headers *Headers) *Response
	UpdateUser(u *User, headers *Headers) *Response
	AdminUpdateUser(u *User, headers *Headers) *Response
	GetUser(u *User, headers *Headers) *UserResponse
	GetAdminUsers(headers *Headers) *[]UserResponse
	GetCustomerUsers(headers *Headers) *[]UserResponse
	GetUsersByCustomer(cid int64, headers *Headers) *[]UserResponse
	ResetCustomerUserPassword(u *User, headers *Headers) *CustomerPasswordResponse

	//zip code zone
	AddZoneZip(z *sdbi.ZoneZip, headers *Headers) *ResponseID
	GetZoneZipListByExclusion(exID int64, headers *Headers) *[]sdbi.ZoneZip
	GetZoneZipListByInclusion(incID int64, headers *Headers) *[]sdbi.ZoneZip
	DeleteZoneZip(id int64, incID int64, exID int64, headers *Headers) *Response

	//visitor
	AddVisit(v *sdbi.Visitor, headers *Headers) *Response
	GetVisitorData(headers *Headers) *[]sdbi.VisitorData

	SetLogger(l *lg.Logger)
}

API API

type AddressReq

type AddressReq struct {
	StoreID int64         `json:"storeId"`
	Address *sdbi.Address `json:"address"`
}

AddressReq AddressReq

type CartItemReq

type CartItemReq struct {
	CustomerID int64          `json:"customerId"`
	StoreID    int64          `json:"storeId"`
	CartItem   *sdbi.CartItem `json:"cartItem"`
}

CartItemReq CartItemReq

type CustomerPasswordResponse added in v1.0.20

type CustomerPasswordResponse struct {
	Success  bool   `json:"success"`
	Username string `json:"username"`
	Password string `json:"password"`
	Code     int64  `json:"code"`
}

CustomerPasswordResponse CustomerPasswordResponse

type ExcludedSubRegionReq

type ExcludedSubRegionReq struct {
	StoreID           int64                   `json:"storeId"`
	ExcludedSubRegion *sdbi.ExcludedSubRegion `json:"excludedSubRegion"`
}

ExcludedSubRegionReq ExcludedSubRegionReq

type Headers

type Headers struct {
	// contains filtered or unexported fields
}

Headers Headers

func (*Headers) DeepCopy added in v1.2.2

func (h *Headers) DeepCopy() *Headers

DeepCopy DeepCopy --for use inside go routines to avoid race conditions--

func (*Headers) Set

func (h *Headers) Set(key string, value string)

Set Set

type IncludedSubRegionReq

type IncludedSubRegionReq struct {
	StoreID           int64                   `json:"storeId"`
	IncludedSubRegion *sdbi.IncludedSubRegion `json:"includedSubRegion"`
}

IncludedSubRegionReq IncludedSubRegionReq

type OrderCommentReq

type OrderCommentReq struct {
	StoreID      int64              `json:"storeId"`
	OrderComment *sdbi.OrderComment `json:"orderComment"`
}

OrderCommentReq OrderCommentReq

type OrderItemReq

type OrderItemReq struct {
	StoreID   int64           `json:"storeId"`
	OrderItem *sdbi.OrderItem `json:"orderItem"`
}

OrderItemReq OrderItemReq

type OrderTransactionReq

type OrderTransactionReq struct {
	StoreID          int64                  `json:"storeId"`
	OrderTransaction *sdbi.OrderTransaction `json:"orderTransaction"`
}

OrderTransactionReq OrderTransactionReq

type PaymentGatewayReq

type PaymentGatewayReq struct {
	StoreID        int64                `json:"storeId"`
	PaymentGateway *sdbi.PaymentGateway `json:"paymentGateway"`
}

PaymentGatewayReq PaymentGatewayReq

type ProdIDReq added in v1.0.17

type ProdIDReq struct {
	StoreID      int64    `json:"storeId"`
	CategoryList *[]int64 `json:"categoryList"`
}

ProdIDReq ProdIDReq

type ProductCategoryReq

type ProductCategoryReq struct {
	StoreID         int64                 `json:"storeId"`
	ProductCategory *sdbi.ProductCategory `json:"productCategory"`
}

ProductCategoryReq ProductCategoryReq

type Response

type Response struct {
	Success bool   `json:"success"`
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

Response Response

type ResponseID

type ResponseID struct {
	ID      int64  `json:"id"`
	Success bool   `json:"success"`
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

ResponseID ResponseID

type ShipmentBoxReq

type ShipmentBoxReq struct {
	StoreID     int64             `json:"storeId"`
	ShipmentBox *sdbi.ShipmentBox `json:"shipmentBox"`
}

ShipmentBoxReq ShipmentBoxReq

type ShipmentItemReq

type ShipmentItemReq struct {
	StoreID      int64              `json:"storeId"`
	ShipmentItem *sdbi.ShipmentItem `json:"shipmentItem"`
}

ShipmentItemReq ShipmentItemReq

type ShipmentReq

type ShipmentReq struct {
	StoreID  int64          `json:"storeId"`
	Shipment *sdbi.Shipment `json:"shipment"`
}

ShipmentReq ShipmentReq

type Six910API

type Six910API struct {
	// contains filtered or unexported fields
}

Six910API Six910API

func (*Six910API) AddAddress

func (a *Six910API) AddAddress(ad *sdbi.Address, headers *Headers) *ResponseID

AddAddress AddAddress

func (*Six910API) AddAdminUser added in v1.0.18

func (a *Six910API) AddAdminUser(au *User, headers *Headers) *Response

AddAdminUser AddAdminUser

func (*Six910API) AddCart

func (a *Six910API) AddCart(c *sdbi.Cart, headers *Headers) *ResponseID

AddCart AddCart

func (*Six910API) AddCartItem

func (a *Six910API) AddCartItem(ci *sdbi.CartItem, cid int64, headers *Headers) *ResponseID

AddCartItem AddCartItem

func (*Six910API) AddCategory

func (a *Six910API) AddCategory(c *sdbi.Category, headers *Headers) *ResponseID

AddCategory AddCategory

func (*Six910API) AddCustomer

func (a *Six910API) AddCustomer(c *sdbi.Customer, headers *Headers) *ResponseID

AddCustomer AddCustomer

func (*Six910API) AddCustomerUser

func (a *Six910API) AddCustomerUser(u *User, headers *Headers) *Response

AddCustomerUser AddCustomerUser

func (*Six910API) AddDataStoreWriteLock

func (a *Six910API) AddDataStoreWriteLock(w *sdbi.DataStoreWriteLock, headers *Headers) *Response

AddDataStoreWriteLock AddDataStoreWriteLock

func (*Six910API) AddDistributor

func (a *Six910API) AddDistributor(d *sdbi.Distributor, headers *Headers) *ResponseID

AddDistributor AddDistributor

func (*Six910API) AddExcludedSubRegion

func (a *Six910API) AddExcludedSubRegion(e *sdbi.ExcludedSubRegion, headers *Headers) *ResponseID

AddExcludedSubRegion AddExcludedSubRegion

func (*Six910API) AddIncludedSubRegion

func (a *Six910API) AddIncludedSubRegion(e *sdbi.IncludedSubRegion, headers *Headers) *ResponseID

AddIncludedSubRegion AddIncludedSubRegion

func (*Six910API) AddInstance

func (a *Six910API) AddInstance(i *sdbi.Instances, headers *Headers) *Response

AddInstance AddInstance

func (*Six910API) AddInsurance

func (a *Six910API) AddInsurance(i *sdbi.Insurance, headers *Headers) *ResponseID

AddInsurance AddInsurance

func (*Six910API) AddLocalDatastore

func (a *Six910API) AddLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response

AddLocalDatastore AddLocalDatastore

func (*Six910API) AddOrder

func (a *Six910API) AddOrder(o *sdbi.Order, headers *Headers) *ResponseID

AddOrder AddOrder

func (*Six910API) AddOrderComments

func (a *Six910API) AddOrderComments(c *sdbi.OrderComment, headers *Headers) *ResponseID

AddOrderComments AddOrderComments

func (*Six910API) AddOrderItem

func (a *Six910API) AddOrderItem(i *sdbi.OrderItem, headers *Headers) *ResponseID

AddOrderItem AddOrderItem

func (*Six910API) AddOrderTransaction

func (a *Six910API) AddOrderTransaction(t *sdbi.OrderTransaction, headers *Headers) *ResponseID

AddOrderTransaction AddOrderTransaction

func (*Six910API) AddPaymentGateway

func (a *Six910API) AddPaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *ResponseID

AddPaymentGateway AddPaymentGateway

func (*Six910API) AddPlugin

func (a *Six910API) AddPlugin(p *sdbi.Plugins, headers *Headers) *ResponseID

AddPlugin AddPlugin

func (*Six910API) AddProduct

func (a *Six910API) AddProduct(p *sdbi.Product, headers *Headers) *ResponseID

AddProduct AddProduct

func (*Six910API) AddProductCategory

func (a *Six910API) AddProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response

AddProductCategory AddProductCategory

func (*Six910API) AddRegion

func (a *Six910API) AddRegion(r *sdbi.Region, headers *Headers) *ResponseID

AddRegion AddRegion

func (*Six910API) AddShipment

func (a *Six910API) AddShipment(s *sdbi.Shipment, headers *Headers) *ResponseID

AddShipment AddShipment

func (*Six910API) AddShipmentBox

func (a *Six910API) AddShipmentBox(sb *sdbi.ShipmentBox, headers *Headers) *ResponseID

AddShipmentBox AddShipmentBox

func (*Six910API) AddShipmentItem

func (a *Six910API) AddShipmentItem(si *sdbi.ShipmentItem, headers *Headers) *ResponseID

AddShipmentItem AddShipmentItem

func (*Six910API) AddShippingCarrier

func (a *Six910API) AddShippingCarrier(c *sdbi.ShippingCarrier, headers *Headers) *ResponseID

AddShippingCarrier AddShippingCarrier

func (*Six910API) AddShippingMethod

func (a *Six910API) AddShippingMethod(s *sdbi.ShippingMethod, headers *Headers) *ResponseID

AddShippingMethod AddShippingMethod

func (*Six910API) AddStore

func (a *Six910API) AddStore(s *sdbi.Store, headers *Headers) *ResponseID

AddStore AddStore

func (*Six910API) AddStorePlugin

func (a *Six910API) AddStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *ResponseID

AddStorePlugin AddStorePlugin

func (*Six910API) AddSubRegion

func (a *Six910API) AddSubRegion(s *sdbi.SubRegion, headers *Headers) *ResponseID

AddSubRegion AddSubRegion

func (*Six910API) AddTaxRate added in v1.0.7

func (a *Six910API) AddTaxRate(t *sdbi.TaxRate, headers *Headers) *ResponseID

AddTaxRate AddTaxRate

func (*Six910API) AddVisit added in v1.0.17

func (a *Six910API) AddVisit(v *sdbi.Visitor, headers *Headers) *Response

AddVisit AddVisit

func (*Six910API) AddZoneZip

func (a *Six910API) AddZoneZip(z *sdbi.ZoneZip, headers *Headers) *ResponseID

AddZoneZip AddZoneZip

func (*Six910API) AdminUpdateUser added in v1.0.18

func (a *Six910API) AdminUpdateUser(au *User, headers *Headers) *Response

AdminUpdateUser AdminUpdateUser

func (*Six910API) DeleteAddress

func (a *Six910API) DeleteAddress(id int64, cid int64, headers *Headers) *Response

DeleteAddress DeleteAddress

func (*Six910API) DeleteCart

func (a *Six910API) DeleteCart(id int64, cid int64, headers *Headers) *Response

DeleteCart DeleteCart

func (*Six910API) DeleteCartItem

func (a *Six910API) DeleteCartItem(id int64, prodID int64, cartID int64, headers *Headers) *Response

DeleteCartItem DeleteCartItem

func (*Six910API) DeleteCategory

func (a *Six910API) DeleteCategory(id int64, headers *Headers) *Response

DeleteCategory DeleteCategory

func (*Six910API) DeleteCustomer

func (a *Six910API) DeleteCustomer(id int64, headers *Headers) *Response

DeleteCustomer DeleteCustomer

func (*Six910API) DeleteDistributor

func (a *Six910API) DeleteDistributor(id int64, headers *Headers) *Response

DeleteDistributor DeleteDistributor

func (*Six910API) DeleteExcludedSubRegion

func (a *Six910API) DeleteExcludedSubRegion(id int64, regionID int64, headers *Headers) *Response

DeleteExcludedSubRegion DeleteExcludedSubRegion

func (*Six910API) DeleteIncludedSubRegion

func (a *Six910API) DeleteIncludedSubRegion(id int64, regionID int64, headers *Headers) *Response

DeleteIncludedSubRegion DeleteIncludedSubRegion

func (*Six910API) DeleteInsurance

func (a *Six910API) DeleteInsurance(id int64, headers *Headers) *Response

DeleteInsurance DeleteInsurance

func (*Six910API) DeleteOrder

func (a *Six910API) DeleteOrder(id int64, headers *Headers) *Response

DeleteOrder DeleteOrder

func (*Six910API) DeleteOrderItem

func (a *Six910API) DeleteOrderItem(id int64, headers *Headers) *Response

DeleteOrderItem DeleteOrderItem

func (*Six910API) DeletePaymentGateway

func (a *Six910API) DeletePaymentGateway(id int64, headers *Headers) *Response

DeletePaymentGateway DeletePaymentGateway

func (*Six910API) DeletePlugin

func (a *Six910API) DeletePlugin(id int64, headers *Headers) *Response

DeletePlugin DeletePlugin

func (*Six910API) DeleteProduct

func (a *Six910API) DeleteProduct(id int64, headers *Headers) *Response

DeleteProduct DeleteProduct

func (*Six910API) DeleteProductCategory

func (a *Six910API) DeleteProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response

DeleteProductCategory DeleteProductCategory

func (*Six910API) DeleteRegion

func (a *Six910API) DeleteRegion(id int64, headers *Headers) *Response

DeleteRegion DeleteRegion

func (*Six910API) DeleteShipment

func (a *Six910API) DeleteShipment(id int64, headers *Headers) *Response

DeleteShipment DeleteShipment

func (*Six910API) DeleteShipmentBox

func (a *Six910API) DeleteShipmentBox(id int64, headers *Headers) *Response

DeleteShipmentBox DeleteShipmentBox

func (*Six910API) DeleteShipmentItem

func (a *Six910API) DeleteShipmentItem(id int64, headers *Headers) *Response

DeleteShipmentItem DeleteShipmentItem

func (*Six910API) DeleteShippingCarrier

func (a *Six910API) DeleteShippingCarrier(id int64, headers *Headers) *Response

DeleteShippingCarrier DeleteShippingCarrier

func (*Six910API) DeleteShippingMethod

func (a *Six910API) DeleteShippingMethod(id int64, headers *Headers) *Response

DeleteShippingMethod DeleteShippingMethod

func (*Six910API) DeleteStore

func (a *Six910API) DeleteStore(sname string, localDomain string, headers *Headers) *Response

DeleteStore DeleteStore

func (*Six910API) DeleteStorePlugin

func (a *Six910API) DeleteStorePlugin(id int64, headers *Headers) *Response

DeleteStorePlugin DeleteStorePlugin

func (*Six910API) DeleteSubRegion

func (a *Six910API) DeleteSubRegion(id int64, headers *Headers) *Response

DeleteSubRegion DeleteSubRegion

func (*Six910API) DeleteTaxRate added in v1.0.7

func (a *Six910API) DeleteTaxRate(id int64, headers *Headers) *Response

DeleteTaxRate DeleteTaxRate

func (*Six910API) DeleteZoneZip

func (a *Six910API) DeleteZoneZip(id int64, incID int64, exID int64, headers *Headers) *Response

DeleteZoneZip DeleteZoneZip

func (*Six910API) GetAddress

func (a *Six910API) GetAddress(id int64, cid int64, headers *Headers) *sdbi.Address

GetAddress GetAddress

func (*Six910API) GetAddressList

func (a *Six910API) GetAddressList(cid int64, headers *Headers) *[]sdbi.Address

GetAddressList GetAddressList

func (*Six910API) GetAdminUsers

func (a *Six910API) GetAdminUsers(headers *Headers) *[]UserResponse

GetAdminUsers GetAdminUsers

func (*Six910API) GetCart

func (a *Six910API) GetCart(cid int64, headers *Headers) *sdbi.Cart

GetCart GetCart

func (*Six910API) GetCartItem

func (a *Six910API) GetCartItem(cid int64, prodID int64, headers *Headers) *sdbi.CartItem

GetCartItem GetCartItem

func (*Six910API) GetCartItemList

func (a *Six910API) GetCartItemList(cartID int64, cid int64, headers *Headers) *[]sdbi.CartItem

GetCartItemList GetCartItemList

func (*Six910API) GetCategory

func (a *Six910API) GetCategory(id int64, headers *Headers) *sdbi.Category

GetCategory GetCategory

func (*Six910API) GetCategoryList

func (a *Six910API) GetCategoryList(headers *Headers) *[]sdbi.Category

GetCategoryList GetCategoryList

func (*Six910API) GetCustomer

func (a *Six910API) GetCustomer(email string, headers *Headers) *sdbi.Customer

GetCustomer GetCustomer

func (*Six910API) GetCustomerID

func (a *Six910API) GetCustomerID(id int64, headers *Headers) *sdbi.Customer

GetCustomerID GetCustomerID

func (*Six910API) GetCustomerList

func (a *Six910API) GetCustomerList(start int64, end int64, headers *Headers) *[]sdbi.Customer

GetCustomerList GetCustomerList

func (*Six910API) GetCustomerUsers

func (a *Six910API) GetCustomerUsers(headers *Headers) *[]UserResponse

GetCustomerUsers GetCustomerUsers

func (*Six910API) GetDataStoreWriteLock

func (a *Six910API) GetDataStoreWriteLock(dataStore string, headers *Headers) *sdbi.DataStoreWriteLock

GetDataStoreWriteLock GetDataStoreWriteLock

func (*Six910API) GetDistributor

func (a *Six910API) GetDistributor(id int64, headers *Headers) *sdbi.Distributor

GetDistributor GetDistributor

func (*Six910API) GetDistributorList

func (a *Six910API) GetDistributorList(headers *Headers) *[]sdbi.Distributor

GetDistributorList GetDistributorList

func (*Six910API) GetExcludedSubRegionList

func (a *Six910API) GetExcludedSubRegionList(regionID int64, headers *Headers) *[]sdbi.ExcludedSubRegion

GetExcludedSubRegionList GetExcludedSubRegionList

func (*Six910API) GetHierarchicalCategoryList added in v1.0.8

func (a *Six910API) GetHierarchicalCategoryList(headers *Headers) *[]sdbi.Category

GetHierarchicalCategoryList GetHierarchicalCategoryList

func (*Six910API) GetIncludedSubRegionList

func (a *Six910API) GetIncludedSubRegionList(regionID int64, headers *Headers) *[]sdbi.IncludedSubRegion

GetIncludedSubRegionList GetIncludedSubRegionList

func (*Six910API) GetInstance

func (a *Six910API) GetInstance(name string, dataStoreName string, headers *Headers) *sdbi.Instances

GetInstance GetInstance

func (*Six910API) GetInstanceList

func (a *Six910API) GetInstanceList(dataStoreName string, headers *Headers) *[]sdbi.Instances

GetInstanceList GetInstanceList

func (*Six910API) GetInsurance

func (a *Six910API) GetInsurance(id int64, headers *Headers) *sdbi.Insurance

GetInsurance GetInsurance

func (*Six910API) GetInsuranceList

func (a *Six910API) GetInsuranceList(headers *Headers) *[]sdbi.Insurance

GetInsuranceList GetInsuranceList

func (*Six910API) GetLocalDatastore

func (a *Six910API) GetLocalDatastore(dataStoreName string, headers *Headers) *sdbi.LocalDataStore

GetLocalDatastore GetLocalDatastore

func (*Six910API) GetNew

func (a *Six910API) GetNew() API

GetNew GetNew

func (*Six910API) GetOrder

func (a *Six910API) GetOrder(id int64, headers *Headers) *sdbi.Order

GetOrder GetOrder

func (*Six910API) GetOrderCommentList

func (a *Six910API) GetOrderCommentList(orderID int64, headers *Headers) *[]sdbi.OrderComment

GetOrderCommentList GetOrderCommentList

func (*Six910API) GetOrderCountData added in v1.0.17

func (a *Six910API) GetOrderCountData(headers *Headers) *[]sdbi.OrderCountData

GetOrderCountData GetOrderCountData

func (*Six910API) GetOrderItem

func (a *Six910API) GetOrderItem(id int64, headers *Headers) *sdbi.OrderItem

GetOrderItem GetOrderItem

func (*Six910API) GetOrderItemList

func (a *Six910API) GetOrderItemList(orderID int64, headers *Headers) *[]sdbi.OrderItem

GetOrderItemList GetOrderItemList

func (*Six910API) GetOrderList

func (a *Six910API) GetOrderList(cid int64, headers *Headers) *[]sdbi.Order

GetOrderList GetOrderList

func (*Six910API) GetOrderSalesData added in v1.0.17

func (a *Six910API) GetOrderSalesData(headers *Headers) *[]sdbi.OrderSalesData

GetOrderSalesData GetOrderSalesData

func (*Six910API) GetOrderTransactionList

func (a *Six910API) GetOrderTransactionList(orderID int64, headers *Headers) *[]sdbi.OrderTransaction

GetOrderTransactionList GetOrderTransactionList

func (*Six910API) GetPaymentGateway

func (a *Six910API) GetPaymentGateway(id int64, headers *Headers) *sdbi.PaymentGateway

GetPaymentGateway GetPaymentGateway

func (*Six910API) GetPaymentGatewayByName added in v1.1.0

func (a *Six910API) GetPaymentGatewayByName(name string, headers *Headers) *sdbi.PaymentGateway

GetPaymentGatewayByName GetPaymentGatewayByName

func (*Six910API) GetPaymentGateways

func (a *Six910API) GetPaymentGateways(headers *Headers) *[]sdbi.PaymentGateway

GetPaymentGateways GetPaymentGateways

func (*Six910API) GetPlugin

func (a *Six910API) GetPlugin(id int64, headers *Headers) *sdbi.Plugins

GetPlugin GetPlugin

func (*Six910API) GetPluginList

func (a *Six910API) GetPluginList(start int64, end int64, headers *Headers) *[]sdbi.Plugins

GetPluginList GetPluginList

func (*Six910API) GetProductByCatAndManufacturer added in v1.0.14

func (a *Six910API) GetProductByCatAndManufacturer(catID int64, manf string,
	start int64, end int64, headers *Headers) *[]sdbi.Product

GetProductByCatAndManufacturer GetProductByCatAndManufacturer

func (*Six910API) GetProductByID

func (a *Six910API) GetProductByID(id int64, headers *Headers) *sdbi.Product

GetProductByID GetProductByID

func (*Six910API) GetProductByNameAndManufacturerName added in v1.0.14

func (a *Six910API) GetProductByNameAndManufacturerName(manf string, name string,
	start int64, end int64, headers *Headers) *[]sdbi.Product

GetProductByNameAndManufacturerName GetProductByNameAndManufacturerName

func (*Six910API) GetProductBySku added in v1.0.2

func (a *Six910API) GetProductBySku(sku string, did int64, headers *Headers) *sdbi.Product

GetProductBySku GetProductBySku

func (*Six910API) GetProductCategoryList added in v1.0.9

func (a *Six910API) GetProductCategoryList(productID int64, headers *Headers) []int64

GetProductCategoryList GetProductCategoryList

func (*Six910API) GetProductIDList added in v1.0.17

func (a *Six910API) GetProductIDList(headers *Headers) *[]int64

GetProductIDList GetProductIDList

func (*Six910API) GetProductIDListByCategories added in v1.0.17

func (a *Six910API) GetProductIDListByCategories(idReq *ProdIDReq, headers *Headers) *[]int64

GetProductIDListByCategories GetProductIDListByCategories

func (*Six910API) GetProductList

func (a *Six910API) GetProductList(start int64, end int64, headers *Headers) *[]sdbi.Product

GetProductList GetProductList

func (*Six910API) GetProductManufacturerListByCatID added in v1.0.14

func (a *Six910API) GetProductManufacturerListByCatID(catID int64, headers *Headers) *[]string

GetProductManufacturerListByCatID GetProductManufacturerListByCatID

func (*Six910API) GetProductManufacturerListByProductName added in v1.0.14

func (a *Six910API) GetProductManufacturerListByProductName(name string, headers *Headers) *[]string

GetProductManufacturerListByProductName GetProductManufacturerListByProductName

func (*Six910API) GetProductManufacturerListByProductSearch added in v1.2.1

func (a *Six910API) GetProductManufacturerListByProductSearch(search string, headers *Headers) *[]string

GetProductManufacturerListByProductSearch GetProductManufacturerListByProductSearch

func (*Six910API) GetProductsByCaterory

func (a *Six910API) GetProductsByCaterory(catID int64, start int64, end int64, headers *Headers) *[]sdbi.Product

GetProductsByCaterory GetProductsByCaterory

func (*Six910API) GetProductsByName

func (a *Six910API) GetProductsByName(name string, start int64, end int64, headers *Headers) *[]sdbi.Product

GetProductsByName GetProductsByName

func (*Six910API) GetProductsByPromoted added in v1.0.6

func (a *Six910API) GetProductsByPromoted(start int64, end int64, headers *Headers) *[]sdbi.Product

GetProductsByPromoted GetProductsByPromoted

func (*Six910API) GetRegion

func (a *Six910API) GetRegion(id int64, headers *Headers) *sdbi.Region

GetRegion GetRegion

func (*Six910API) GetRegionList

func (a *Six910API) GetRegionList(headers *Headers) *[]sdbi.Region

GetRegionList GetRegionList

func (*Six910API) GetShipment

func (a *Six910API) GetShipment(id int64, headers *Headers) *sdbi.Shipment

GetShipment GetShipment

func (*Six910API) GetShipmentBox

func (a *Six910API) GetShipmentBox(id int64, headers *Headers) *sdbi.ShipmentBox

GetShipmentBox GetShipmentBox

func (*Six910API) GetShipmentBoxList

func (a *Six910API) GetShipmentBoxList(shipmentID int64, headers *Headers) *[]sdbi.ShipmentBox

GetShipmentBoxList GetShipmentBoxList

func (*Six910API) GetShipmentItem

func (a *Six910API) GetShipmentItem(id int64, headers *Headers) *sdbi.ShipmentItem

GetShipmentItem GetShipmentItem

func (*Six910API) GetShipmentItemList

func (a *Six910API) GetShipmentItemList(shipmentID int64, headers *Headers) *[]sdbi.ShipmentItem

GetShipmentItemList GetShipmentItemList

func (*Six910API) GetShipmentItemListByBox

func (a *Six910API) GetShipmentItemListByBox(boxNumber int64, shipmentID int64, headers *Headers) *[]sdbi.ShipmentItem

GetShipmentItemListByBox GetShipmentItemListByBox

func (*Six910API) GetShipmentList

func (a *Six910API) GetShipmentList(orderID int64, headers *Headers) *[]sdbi.Shipment

GetShipmentList GetShipmentList

func (*Six910API) GetShippingCarrier

func (a *Six910API) GetShippingCarrier(id int64, headers *Headers) *sdbi.ShippingCarrier

GetShippingCarrier GetShippingCarrier

func (*Six910API) GetShippingCarrierList

func (a *Six910API) GetShippingCarrierList(headers *Headers) *[]sdbi.ShippingCarrier

GetShippingCarrierList GetShippingCarrierList

func (*Six910API) GetShippingMethod

func (a *Six910API) GetShippingMethod(id int64, headers *Headers) *sdbi.ShippingMethod

GetShippingMethod GetShippingMethod

func (*Six910API) GetShippingMethodList

func (a *Six910API) GetShippingMethodList(headers *Headers) *[]sdbi.ShippingMethod

GetShippingMethodList GetShippingMethodList

func (*Six910API) GetStore

func (a *Six910API) GetStore(sname string, localDomain string, headers *Headers) *sdbi.Store

GetStore GetStore

func (*Six910API) GetStoreOrderList added in v1.0.4

func (a *Six910API) GetStoreOrderList(headers *Headers) *[]sdbi.Order

GetStoreOrderList GetStoreOrderList

func (*Six910API) GetStoreOrderListByStatus added in v1.0.4

func (a *Six910API) GetStoreOrderListByStatus(status string, headers *Headers) *[]sdbi.Order

GetStoreOrderListByStatus GetStoreOrderListByStatus

func (*Six910API) GetStorePlugin

func (a *Six910API) GetStorePlugin(id int64, headers *Headers) *sdbi.StorePlugins

GetStorePlugin GetStorePlugin

func (*Six910API) GetStorePluginList

func (a *Six910API) GetStorePluginList(headers *Headers) *[]sdbi.StorePlugins

GetStorePluginList GetStorePluginList

func (*Six910API) GetSubCategoryList

func (a *Six910API) GetSubCategoryList(catID int64, headers *Headers) *[]sdbi.Category

GetSubCategoryList GetSubCategoryList

func (*Six910API) GetSubRegion

func (a *Six910API) GetSubRegion(id int64, headers *Headers) *sdbi.SubRegion

GetSubRegion GetSubRegion

func (*Six910API) GetSubRegionList

func (a *Six910API) GetSubRegionList(regionID int64, headers *Headers) *[]sdbi.SubRegion

GetSubRegionList GetSubRegionList

func (*Six910API) GetTaxRate added in v1.0.7

func (a *Six910API) GetTaxRate(country string, state string, headers *Headers) *[]sdbi.TaxRate

GetTaxRate GetTaxRate

func (*Six910API) GetTaxRateList added in v1.0.7

func (a *Six910API) GetTaxRateList(headers *Headers) *[]sdbi.TaxRate

GetTaxRateList GetTaxRateList

func (*Six910API) GetUser

func (a *Six910API) GetUser(u *User, headers *Headers) *UserResponse

GetUser GetUser

func (*Six910API) GetUsersByCustomer added in v1.0.19

func (a *Six910API) GetUsersByCustomer(cid int64, headers *Headers) *[]UserResponse

GetUsersByCustomer GetUsersByCustomer

func (*Six910API) GetVisitorData added in v1.0.17

func (a *Six910API) GetVisitorData(headers *Headers) *[]sdbi.VisitorData

GetVisitorData GetVisitorData

func (*Six910API) GetZoneZipListByExclusion

func (a *Six910API) GetZoneZipListByExclusion(exID int64, headers *Headers) *[]sdbi.ZoneZip

GetZoneZipListByExclusion GetZoneZipListByExclusion

func (*Six910API) GetZoneZipListByInclusion

func (a *Six910API) GetZoneZipListByInclusion(incID int64, headers *Headers) *[]sdbi.ZoneZip

GetZoneZipListByInclusion GetZoneZipListByInclusion

func (*Six910API) OverrideProxy

func (a *Six910API) OverrideProxy(proxy px.Proxy)

OverrideProxy OverrideProxy

func (*Six910API) ProductSearch added in v1.2.0

func (a *Six910API) ProductSearch(p *sdbi.ProductSearch, headers *Headers) *[]sdbi.Product

ProductSearch ProductSearch

func (*Six910API) ResetCustomerUserPassword added in v1.0.20

func (a *Six910API) ResetCustomerUserPassword(u *User, headers *Headers) *CustomerPasswordResponse

ResetCustomerUserPassword ResetCustomerUserPassword

func (*Six910API) SetAPIKey

func (a *Six910API) SetAPIKey(key string)

SetAPIKey SetAPIKey

func (*Six910API) SetLogLever

func (a *Six910API) SetLogLever(level int)

SetLogLever SetLogLever

func (*Six910API) SetLogger added in v1.0.21

func (a *Six910API) SetLogger(l *lg.Logger)

SetLogger SetLogger

func (*Six910API) SetRestURL

func (a *Six910API) SetRestURL(url string)

SetRestURL SetRestURL

func (*Six910API) SetStore

func (a *Six910API) SetStore(storeName string, localDomain string)

SetStore SetStore

func (*Six910API) SetStoreID added in v1.0.1

func (a *Six910API) SetStoreID(sid int64)

SetStoreID SetStoreID

func (*Six910API) UpdateAddress

func (a *Six910API) UpdateAddress(ad *sdbi.Address, headers *Headers) *Response

UpdateAddress UpdateAddress

func (*Six910API) UpdateCart

func (a *Six910API) UpdateCart(c *sdbi.Cart, headers *Headers) *Response

UpdateCart UpdateCart

func (*Six910API) UpdateCartItem

func (a *Six910API) UpdateCartItem(ci *sdbi.CartItem, cid int64, headers *Headers) *Response

UpdateCartItem UpdateCartItem

func (*Six910API) UpdateCategory

func (a *Six910API) UpdateCategory(c *sdbi.Category, headers *Headers) *Response

UpdateCategory UpdateCategory

func (*Six910API) UpdateCustomer

func (a *Six910API) UpdateCustomer(c *sdbi.Customer, headers *Headers) *Response

UpdateCustomer UpdateCustomer

func (*Six910API) UpdateDataStoreWriteLock

func (a *Six910API) UpdateDataStoreWriteLock(w *sdbi.DataStoreWriteLock, headers *Headers) *Response

UpdateDataStoreWriteLock UpdateDataStoreWriteLock

func (*Six910API) UpdateDistributor

func (a *Six910API) UpdateDistributor(d *sdbi.Distributor, headers *Headers) *Response

UpdateDistributor UpdateDistributor

func (*Six910API) UpdateInstance

func (a *Six910API) UpdateInstance(i *sdbi.Instances, headers *Headers) *Response

UpdateInstance UpdateInstance

func (*Six910API) UpdateInsurance

func (a *Six910API) UpdateInsurance(i *sdbi.Insurance, headers *Headers) *Response

UpdateInsurance UpdateInsurance

func (*Six910API) UpdateLocalDatastore

func (a *Six910API) UpdateLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response

UpdateLocalDatastore UpdateLocalDatastore

func (*Six910API) UpdateOrder

func (a *Six910API) UpdateOrder(o *sdbi.Order, headers *Headers) *Response

UpdateOrder UpdateOrder

func (*Six910API) UpdateOrderItem

func (a *Six910API) UpdateOrderItem(i *sdbi.OrderItem, headers *Headers) *Response

UpdateOrderItem UpdateOrderItem

func (*Six910API) UpdatePaymentGateway

func (a *Six910API) UpdatePaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *Response

UpdatePaymentGateway UpdatePaymentGateway

func (*Six910API) UpdatePlugin

func (a *Six910API) UpdatePlugin(p *sdbi.Plugins, headers *Headers) *Response

UpdatePlugin UpdatePlugin

func (*Six910API) UpdateProduct

func (a *Six910API) UpdateProduct(p *sdbi.Product, headers *Headers) *Response

UpdateProduct UpdateProduct

func (*Six910API) UpdateProductQuantity added in v1.0.16

func (a *Six910API) UpdateProductQuantity(p *sdbi.Product, headers *Headers) *Response

UpdateProductQuantity UpdateProductQuantity

func (*Six910API) UpdateRegion

func (a *Six910API) UpdateRegion(r *sdbi.Region, headers *Headers) *Response

UpdateRegion UpdateRegion

func (*Six910API) UpdateShipment

func (a *Six910API) UpdateShipment(s *sdbi.Shipment, headers *Headers) *Response

UpdateShipment UpdateShipment

func (*Six910API) UpdateShipmentBox

func (a *Six910API) UpdateShipmentBox(sb *sdbi.ShipmentBox, headers *Headers) *Response

UpdateShipmentBox UpdateShipmentBox

func (*Six910API) UpdateShipmentItem

func (a *Six910API) UpdateShipmentItem(si *sdbi.ShipmentItem, headers *Headers) *Response

UpdateShipmentItem UpdateShipmentItem

func (*Six910API) UpdateShippingCarrier

func (a *Six910API) UpdateShippingCarrier(c *sdbi.ShippingCarrier, headers *Headers) *Response

UpdateShippingCarrier UpdateShippingCarrier

func (*Six910API) UpdateShippingMethod

func (a *Six910API) UpdateShippingMethod(s *sdbi.ShippingMethod, headers *Headers) *Response

UpdateShippingMethod UpdateShippingMethod

func (*Six910API) UpdateStore

func (a *Six910API) UpdateStore(s *sdbi.Store, headers *Headers) *Response

UpdateStore UpdateStore

func (*Six910API) UpdateStorePlugin

func (a *Six910API) UpdateStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *Response

UpdateStorePlugin UpdateStorePlugin

func (*Six910API) UpdateSubRegion

func (a *Six910API) UpdateSubRegion(s *sdbi.SubRegion, headers *Headers) *Response

UpdateSubRegion UpdateSubRegion

func (*Six910API) UpdateTaxRate added in v1.0.7

func (a *Six910API) UpdateTaxRate(t *sdbi.TaxRate, headers *Headers) *Response

UpdateTaxRate UpdateTaxRate

func (*Six910API) UpdateUser

func (a *Six910API) UpdateUser(u *User, headers *Headers) *Response

UpdateUser UpdateUser

type SubRegionReq

type SubRegionReq struct {
	StoreID   int64           `json:"storeId"`
	SubRegion *sdbi.SubRegion `json:"subRegion"`
}

SubRegionReq SubRegionReq

type User

type User struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	OldPassword string `json:"oldPassword"`
	Role        string `json:"role"`
	CustomerID  int64  `json:"customerId"`
	StoreID     int64  `json:"storeId"`
	Enabled     bool   `json:"enabled"`
}

User User

type UserResponse

type UserResponse struct {
	Username   string `json:"username"`
	Role       string `json:"role"`
	CustomerID int64  `json:"customerId"`
	StoreID    int64  `json:"storeId"`
	Enabled    bool   `json:"enabled"`
}

UserResponse UserResponse

type ZoneZipReq

type ZoneZipReq struct {
	StoreID int64         `json:"storeId"`
	ZoneZip *sdbi.ZoneZip `json:"zoneZip"`
}

ZoneZipReq ZoneZipReq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL