Documentation ¶
Index ¶
- type API
- type AddressReq
- type CartItemReq
- type CustomerPasswordResponse
- type ExcludedSubRegionReq
- type Headers
- type IncludedSubRegionReq
- type OrderCommentReq
- type OrderItemReq
- type OrderTransactionReq
- type PaymentGatewayReq
- type ProdIDReq
- type ProductCategoryReq
- type Response
- type ResponseID
- type ShipmentBoxReq
- type ShipmentItemReq
- type ShipmentReq
- type Six910API
- func (a *Six910API) AddAddress(ad *sdbi.Address, headers *Headers) *ResponseID
- func (a *Six910API) AddAdminUser(au *User, headers *Headers) *Response
- func (a *Six910API) AddCart(c *sdbi.Cart, headers *Headers) *ResponseID
- func (a *Six910API) AddCartItem(ci *sdbi.CartItem, cid int64, headers *Headers) *ResponseID
- func (a *Six910API) AddCategory(c *sdbi.Category, headers *Headers) *ResponseID
- func (a *Six910API) AddCustomer(c *sdbi.Customer, headers *Headers) *ResponseID
- func (a *Six910API) AddCustomerUser(u *User, headers *Headers) *Response
- func (a *Six910API) AddDataStoreWriteLock(w *sdbi.DataStoreWriteLock, headers *Headers) *Response
- func (a *Six910API) AddDistributor(d *sdbi.Distributor, headers *Headers) *ResponseID
- func (a *Six910API) AddExcludedSubRegion(e *sdbi.ExcludedSubRegion, headers *Headers) *ResponseID
- func (a *Six910API) AddIncludedSubRegion(e *sdbi.IncludedSubRegion, headers *Headers) *ResponseID
- func (a *Six910API) AddInstance(i *sdbi.Instances, headers *Headers) *Response
- func (a *Six910API) AddInsurance(i *sdbi.Insurance, headers *Headers) *ResponseID
- func (a *Six910API) AddLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response
- func (a *Six910API) AddOrder(o *sdbi.Order, headers *Headers) *ResponseID
- func (a *Six910API) AddOrderComments(c *sdbi.OrderComment, headers *Headers) *ResponseID
- func (a *Six910API) AddOrderItem(i *sdbi.OrderItem, headers *Headers) *ResponseID
- func (a *Six910API) AddOrderTransaction(t *sdbi.OrderTransaction, headers *Headers) *ResponseID
- func (a *Six910API) AddPaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *ResponseID
- func (a *Six910API) AddPlugin(p *sdbi.Plugins, headers *Headers) *ResponseID
- func (a *Six910API) AddProduct(p *sdbi.Product, headers *Headers) *ResponseID
- func (a *Six910API) AddProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response
- func (a *Six910API) AddRegion(r *sdbi.Region, headers *Headers) *ResponseID
- func (a *Six910API) AddShipment(s *sdbi.Shipment, headers *Headers) *ResponseID
- func (a *Six910API) AddShipmentBox(sb *sdbi.ShipmentBox, headers *Headers) *ResponseID
- func (a *Six910API) AddShipmentItem(si *sdbi.ShipmentItem, headers *Headers) *ResponseID
- func (a *Six910API) AddShippingCarrier(c *sdbi.ShippingCarrier, headers *Headers) *ResponseID
- func (a *Six910API) AddShippingMethod(s *sdbi.ShippingMethod, headers *Headers) *ResponseID
- func (a *Six910API) AddStore(s *sdbi.Store, headers *Headers) *ResponseID
- func (a *Six910API) AddStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *ResponseID
- func (a *Six910API) AddSubRegion(s *sdbi.SubRegion, headers *Headers) *ResponseID
- func (a *Six910API) AddTaxRate(t *sdbi.TaxRate, headers *Headers) *ResponseID
- func (a *Six910API) AddVisit(v *sdbi.Visitor, headers *Headers) *Response
- func (a *Six910API) AddZoneZip(z *sdbi.ZoneZip, headers *Headers) *ResponseID
- func (a *Six910API) AdminUpdateUser(au *User, headers *Headers) *Response
- func (a *Six910API) DeleteAddress(id int64, cid int64, headers *Headers) *Response
- func (a *Six910API) DeleteCart(id int64, cid int64, headers *Headers) *Response
- func (a *Six910API) DeleteCartItem(id int64, prodID int64, cartID int64, headers *Headers) *Response
- func (a *Six910API) DeleteCategory(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteCustomer(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteDistributor(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteExcludedSubRegion(id int64, regionID int64, headers *Headers) *Response
- func (a *Six910API) DeleteIncludedSubRegion(id int64, regionID int64, headers *Headers) *Response
- func (a *Six910API) DeleteInsurance(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteOrder(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteOrderItem(id int64, headers *Headers) *Response
- func (a *Six910API) DeletePaymentGateway(id int64, headers *Headers) *Response
- func (a *Six910API) DeletePlugin(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteProduct(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response
- func (a *Six910API) DeleteRegion(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteShipment(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteShipmentBox(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteShipmentItem(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteShippingCarrier(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteShippingMethod(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteStore(sname string, localDomain string, headers *Headers) *Response
- func (a *Six910API) DeleteStorePlugin(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteSubRegion(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteTaxRate(id int64, headers *Headers) *Response
- func (a *Six910API) DeleteZoneZip(id int64, incID int64, exID int64, headers *Headers) *Response
- func (a *Six910API) GetAddress(id int64, cid int64, headers *Headers) *sdbi.Address
- func (a *Six910API) GetAddressList(cid int64, headers *Headers) *[]sdbi.Address
- func (a *Six910API) GetAdminUsers(headers *Headers) *[]UserResponse
- func (a *Six910API) GetCart(cid int64, headers *Headers) *sdbi.Cart
- func (a *Six910API) GetCartItem(cid int64, prodID int64, headers *Headers) *sdbi.CartItem
- func (a *Six910API) GetCartItemList(cartID int64, cid int64, headers *Headers) *[]sdbi.CartItem
- func (a *Six910API) GetCategory(id int64, headers *Headers) *sdbi.Category
- func (a *Six910API) GetCategoryList(headers *Headers) *[]sdbi.Category
- func (a *Six910API) GetCustomer(email string, headers *Headers) *sdbi.Customer
- func (a *Six910API) GetCustomerID(id int64, headers *Headers) *sdbi.Customer
- func (a *Six910API) GetCustomerList(start int64, end int64, headers *Headers) *[]sdbi.Customer
- func (a *Six910API) GetCustomerUsers(headers *Headers) *[]UserResponse
- func (a *Six910API) GetDataStoreWriteLock(dataStore string, headers *Headers) *sdbi.DataStoreWriteLock
- func (a *Six910API) GetDistributor(id int64, headers *Headers) *sdbi.Distributor
- func (a *Six910API) GetDistributorList(headers *Headers) *[]sdbi.Distributor
- func (a *Six910API) GetExcludedSubRegionList(regionID int64, headers *Headers) *[]sdbi.ExcludedSubRegion
- func (a *Six910API) GetHierarchicalCategoryList(headers *Headers) *[]sdbi.Category
- func (a *Six910API) GetIncludedSubRegionList(regionID int64, headers *Headers) *[]sdbi.IncludedSubRegion
- func (a *Six910API) GetInstance(name string, dataStoreName string, headers *Headers) *sdbi.Instances
- func (a *Six910API) GetInstanceList(dataStoreName string, headers *Headers) *[]sdbi.Instances
- func (a *Six910API) GetInsurance(id int64, headers *Headers) *sdbi.Insurance
- func (a *Six910API) GetInsuranceList(headers *Headers) *[]sdbi.Insurance
- func (a *Six910API) GetLocalDatastore(dataStoreName string, headers *Headers) *sdbi.LocalDataStore
- func (a *Six910API) GetNew() API
- func (a *Six910API) GetOrder(id int64, headers *Headers) *sdbi.Order
- func (a *Six910API) GetOrderCommentList(orderID int64, headers *Headers) *[]sdbi.OrderComment
- func (a *Six910API) GetOrderCountData(headers *Headers) *[]sdbi.OrderCountData
- func (a *Six910API) GetOrderItem(id int64, headers *Headers) *sdbi.OrderItem
- func (a *Six910API) GetOrderItemList(orderID int64, headers *Headers) *[]sdbi.OrderItem
- func (a *Six910API) GetOrderList(cid int64, headers *Headers) *[]sdbi.Order
- func (a *Six910API) GetOrderSalesData(headers *Headers) *[]sdbi.OrderSalesData
- func (a *Six910API) GetOrderTransactionList(orderID int64, headers *Headers) *[]sdbi.OrderTransaction
- func (a *Six910API) GetPaymentGateway(id int64, headers *Headers) *sdbi.PaymentGateway
- func (a *Six910API) GetPaymentGatewayByName(name string, headers *Headers) *sdbi.PaymentGateway
- func (a *Six910API) GetPaymentGateways(headers *Headers) *[]sdbi.PaymentGateway
- func (a *Six910API) GetPlugin(id int64, headers *Headers) *sdbi.Plugins
- func (a *Six910API) GetPluginList(start int64, end int64, headers *Headers) *[]sdbi.Plugins
- func (a *Six910API) GetProductByCatAndManufacturer(catID int64, manf string, start int64, end int64, headers *Headers) *[]sdbi.Product
- func (a *Six910API) GetProductByID(id int64, headers *Headers) *sdbi.Product
- func (a *Six910API) GetProductByNameAndManufacturerName(manf string, name string, start int64, end int64, headers *Headers) *[]sdbi.Product
- func (a *Six910API) GetProductBySku(sku string, did int64, headers *Headers) *sdbi.Product
- func (a *Six910API) GetProductCategoryList(productID int64, headers *Headers) []int64
- func (a *Six910API) GetProductIDList(headers *Headers) *[]int64
- func (a *Six910API) GetProductIDListByCategories(idReq *ProdIDReq, headers *Headers) *[]int64
- func (a *Six910API) GetProductList(start int64, end int64, headers *Headers) *[]sdbi.Product
- func (a *Six910API) GetProductManufacturerListByCatID(catID int64, headers *Headers) *[]string
- func (a *Six910API) GetProductManufacturerListByProductName(name string, headers *Headers) *[]string
- func (a *Six910API) GetProductManufacturerListByProductSearch(search string, headers *Headers) *[]string
- func (a *Six910API) GetProductsByCaterory(catID int64, start int64, end int64, headers *Headers) *[]sdbi.Product
- func (a *Six910API) GetProductsByName(name string, start int64, end int64, headers *Headers) *[]sdbi.Product
- func (a *Six910API) GetProductsByPromoted(start int64, end int64, headers *Headers) *[]sdbi.Product
- func (a *Six910API) GetRegion(id int64, headers *Headers) *sdbi.Region
- func (a *Six910API) GetRegionList(headers *Headers) *[]sdbi.Region
- func (a *Six910API) GetShipment(id int64, headers *Headers) *sdbi.Shipment
- func (a *Six910API) GetShipmentBox(id int64, headers *Headers) *sdbi.ShipmentBox
- func (a *Six910API) GetShipmentBoxList(shipmentID int64, headers *Headers) *[]sdbi.ShipmentBox
- func (a *Six910API) GetShipmentItem(id int64, headers *Headers) *sdbi.ShipmentItem
- func (a *Six910API) GetShipmentItemList(shipmentID int64, headers *Headers) *[]sdbi.ShipmentItem
- func (a *Six910API) GetShipmentItemListByBox(boxNumber int64, shipmentID int64, headers *Headers) *[]sdbi.ShipmentItem
- func (a *Six910API) GetShipmentList(orderID int64, headers *Headers) *[]sdbi.Shipment
- func (a *Six910API) GetShippingCarrier(id int64, headers *Headers) *sdbi.ShippingCarrier
- func (a *Six910API) GetShippingCarrierList(headers *Headers) *[]sdbi.ShippingCarrier
- func (a *Six910API) GetShippingMethod(id int64, headers *Headers) *sdbi.ShippingMethod
- func (a *Six910API) GetShippingMethodList(headers *Headers) *[]sdbi.ShippingMethod
- func (a *Six910API) GetStore(sname string, localDomain string, headers *Headers) *sdbi.Store
- func (a *Six910API) GetStoreOrderList(headers *Headers) *[]sdbi.Order
- func (a *Six910API) GetStoreOrderListByStatus(status string, headers *Headers) *[]sdbi.Order
- func (a *Six910API) GetStorePlugin(id int64, headers *Headers) *sdbi.StorePlugins
- func (a *Six910API) GetStorePluginList(headers *Headers) *[]sdbi.StorePlugins
- func (a *Six910API) GetSubCategoryList(catID int64, headers *Headers) *[]sdbi.Category
- func (a *Six910API) GetSubRegion(id int64, headers *Headers) *sdbi.SubRegion
- func (a *Six910API) GetSubRegionList(regionID int64, headers *Headers) *[]sdbi.SubRegion
- func (a *Six910API) GetTaxRate(country string, state string, headers *Headers) *[]sdbi.TaxRate
- func (a *Six910API) GetTaxRateList(headers *Headers) *[]sdbi.TaxRate
- func (a *Six910API) GetUser(u *User, headers *Headers) *UserResponse
- func (a *Six910API) GetUsersByCustomer(cid int64, headers *Headers) *[]UserResponse
- func (a *Six910API) GetVisitorData(headers *Headers) *[]sdbi.VisitorData
- func (a *Six910API) GetZoneZipListByExclusion(exID int64, headers *Headers) *[]sdbi.ZoneZip
- func (a *Six910API) GetZoneZipListByInclusion(incID int64, headers *Headers) *[]sdbi.ZoneZip
- func (a *Six910API) OverrideProxy(proxy px.Proxy)
- func (a *Six910API) ProductSearch(p *sdbi.ProductSearch, headers *Headers) *[]sdbi.Product
- func (a *Six910API) ResetCustomerUserPassword(u *User, headers *Headers) *CustomerPasswordResponse
- func (a *Six910API) SetAPIKey(key string)
- func (a *Six910API) SetLogLever(level int)
- func (a *Six910API) SetLogger(l *lg.Logger)
- func (a *Six910API) SetRestURL(url string)
- func (a *Six910API) SetStore(storeName string, localDomain string)
- func (a *Six910API) SetStoreID(sid int64)
- func (a *Six910API) UpdateAddress(ad *sdbi.Address, headers *Headers) *Response
- func (a *Six910API) UpdateCart(c *sdbi.Cart, headers *Headers) *Response
- func (a *Six910API) UpdateCartItem(ci *sdbi.CartItem, cid int64, headers *Headers) *Response
- func (a *Six910API) UpdateCategory(c *sdbi.Category, headers *Headers) *Response
- func (a *Six910API) UpdateCustomer(c *sdbi.Customer, headers *Headers) *Response
- func (a *Six910API) UpdateDataStoreWriteLock(w *sdbi.DataStoreWriteLock, headers *Headers) *Response
- func (a *Six910API) UpdateDistributor(d *sdbi.Distributor, headers *Headers) *Response
- func (a *Six910API) UpdateInstance(i *sdbi.Instances, headers *Headers) *Response
- func (a *Six910API) UpdateInsurance(i *sdbi.Insurance, headers *Headers) *Response
- func (a *Six910API) UpdateLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response
- func (a *Six910API) UpdateOrder(o *sdbi.Order, headers *Headers) *Response
- func (a *Six910API) UpdateOrderItem(i *sdbi.OrderItem, headers *Headers) *Response
- func (a *Six910API) UpdatePaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *Response
- func (a *Six910API) UpdatePlugin(p *sdbi.Plugins, headers *Headers) *Response
- func (a *Six910API) UpdateProduct(p *sdbi.Product, headers *Headers) *Response
- func (a *Six910API) UpdateProductQuantity(p *sdbi.Product, headers *Headers) *Response
- func (a *Six910API) UpdateRegion(r *sdbi.Region, headers *Headers) *Response
- func (a *Six910API) UpdateShipment(s *sdbi.Shipment, headers *Headers) *Response
- func (a *Six910API) UpdateShipmentBox(sb *sdbi.ShipmentBox, headers *Headers) *Response
- func (a *Six910API) UpdateShipmentItem(si *sdbi.ShipmentItem, headers *Headers) *Response
- func (a *Six910API) UpdateShippingCarrier(c *sdbi.ShippingCarrier, headers *Headers) *Response
- func (a *Six910API) UpdateShippingMethod(s *sdbi.ShippingMethod, headers *Headers) *Response
- func (a *Six910API) UpdateStore(s *sdbi.Store, headers *Headers) *Response
- func (a *Six910API) UpdateStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *Response
- func (a *Six910API) UpdateSubRegion(s *sdbi.SubRegion, headers *Headers) *Response
- func (a *Six910API) UpdateTaxRate(t *sdbi.TaxRate, headers *Headers) *Response
- func (a *Six910API) UpdateUser(u *User, headers *Headers) *Response
- type SubRegionReq
- type User
- type UserResponse
- type ZoneZipReq
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 ¶
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
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
AddAdminUser AddAdminUser
func (*Six910API) AddCart ¶
func (a *Six910API) AddCart(c *sdbi.Cart, headers *Headers) *ResponseID
AddCart AddCart
func (*Six910API) AddCartItem ¶
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 ¶
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 ¶
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) AddZoneZip ¶
func (a *Six910API) AddZoneZip(z *sdbi.ZoneZip, headers *Headers) *ResponseID
AddZoneZip AddZoneZip
func (*Six910API) AdminUpdateUser ¶ added in v1.0.18
AdminUpdateUser AdminUpdateUser
func (*Six910API) DeleteAddress ¶
DeleteAddress DeleteAddress
func (*Six910API) DeleteCart ¶
DeleteCart DeleteCart
func (*Six910API) DeleteCartItem ¶
func (a *Six910API) DeleteCartItem(id int64, prodID int64, cartID int64, headers *Headers) *Response
DeleteCartItem DeleteCartItem
func (*Six910API) DeleteCategory ¶
DeleteCategory DeleteCategory
func (*Six910API) DeleteCustomer ¶
DeleteCustomer DeleteCustomer
func (*Six910API) DeleteDistributor ¶
DeleteDistributor DeleteDistributor
func (*Six910API) DeleteExcludedSubRegion ¶
DeleteExcludedSubRegion DeleteExcludedSubRegion
func (*Six910API) DeleteIncludedSubRegion ¶
DeleteIncludedSubRegion DeleteIncludedSubRegion
func (*Six910API) DeleteInsurance ¶
DeleteInsurance DeleteInsurance
func (*Six910API) DeleteOrder ¶
DeleteOrder DeleteOrder
func (*Six910API) DeleteOrderItem ¶
DeleteOrderItem DeleteOrderItem
func (*Six910API) DeletePaymentGateway ¶
DeletePaymentGateway DeletePaymentGateway
func (*Six910API) DeletePlugin ¶
DeletePlugin DeletePlugin
func (*Six910API) DeleteProduct ¶
DeleteProduct DeleteProduct
func (*Six910API) DeleteProductCategory ¶
func (a *Six910API) DeleteProductCategory(pc *sdbi.ProductCategory, headers *Headers) *Response
DeleteProductCategory DeleteProductCategory
func (*Six910API) DeleteRegion ¶
DeleteRegion DeleteRegion
func (*Six910API) DeleteShipment ¶
DeleteShipment DeleteShipment
func (*Six910API) DeleteShipmentBox ¶
DeleteShipmentBox DeleteShipmentBox
func (*Six910API) DeleteShipmentItem ¶
DeleteShipmentItem DeleteShipmentItem
func (*Six910API) DeleteShippingCarrier ¶
DeleteShippingCarrier DeleteShippingCarrier
func (*Six910API) DeleteShippingMethod ¶
DeleteShippingMethod DeleteShippingMethod
func (*Six910API) DeleteStore ¶
DeleteStore DeleteStore
func (*Six910API) DeleteStorePlugin ¶
DeleteStorePlugin DeleteStorePlugin
func (*Six910API) DeleteSubRegion ¶
DeleteSubRegion DeleteSubRegion
func (*Six910API) DeleteTaxRate ¶ added in v1.0.7
DeleteTaxRate DeleteTaxRate
func (*Six910API) DeleteZoneZip ¶
DeleteZoneZip DeleteZoneZip
func (*Six910API) GetAddress ¶
GetAddress GetAddress
func (*Six910API) GetAddressList ¶
GetAddressList GetAddressList
func (*Six910API) GetAdminUsers ¶
func (a *Six910API) GetAdminUsers(headers *Headers) *[]UserResponse
GetAdminUsers GetAdminUsers
func (*Six910API) GetCartItem ¶
GetCartItem GetCartItem
func (*Six910API) GetCartItemList ¶
GetCartItemList GetCartItemList
func (*Six910API) GetCategory ¶
GetCategory GetCategory
func (*Six910API) GetCategoryList ¶
GetCategoryList GetCategoryList
func (*Six910API) GetCustomer ¶
GetCustomer GetCustomer
func (*Six910API) GetCustomerID ¶
GetCustomerID GetCustomerID
func (*Six910API) GetCustomerList ¶
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
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 ¶
GetInstanceList GetInstanceList
func (*Six910API) GetInsurance ¶
GetInsurance GetInsurance
func (*Six910API) GetInsuranceList ¶
GetInsuranceList GetInsuranceList
func (*Six910API) GetLocalDatastore ¶
func (a *Six910API) GetLocalDatastore(dataStoreName string, headers *Headers) *sdbi.LocalDataStore
GetLocalDatastore GetLocalDatastore
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 ¶
GetOrderItem GetOrderItem
func (*Six910API) GetOrderItemList ¶
GetOrderItemList GetOrderItemList
func (*Six910API) GetOrderList ¶
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) GetPluginList ¶
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 ¶
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
GetProductBySku GetProductBySku
func (*Six910API) GetProductCategoryList ¶ added in v1.0.9
GetProductCategoryList GetProductCategoryList
func (*Six910API) GetProductIDList ¶ added in v1.0.17
GetProductIDList GetProductIDList
func (*Six910API) GetProductIDListByCategories ¶ added in v1.0.17
GetProductIDListByCategories GetProductIDListByCategories
func (*Six910API) GetProductList ¶
GetProductList GetProductList
func (*Six910API) GetProductManufacturerListByCatID ¶ added in v1.0.14
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
GetProductsByPromoted GetProductsByPromoted
func (*Six910API) GetRegionList ¶
GetRegionList GetRegionList
func (*Six910API) GetShipment ¶
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 ¶
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) GetStoreOrderList ¶ added in v1.0.4
GetStoreOrderList GetStoreOrderList
func (*Six910API) GetStoreOrderListByStatus ¶ added in v1.0.4
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 ¶
GetSubCategoryList GetSubCategoryList
func (*Six910API) GetSubRegion ¶
GetSubRegion GetSubRegion
func (*Six910API) GetSubRegionList ¶
GetSubRegionList GetSubRegionList
func (*Six910API) GetTaxRate ¶ added in v1.0.7
GetTaxRate GetTaxRate
func (*Six910API) GetTaxRateList ¶ added in v1.0.7
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 ¶
GetZoneZipListByExclusion GetZoneZipListByExclusion
func (*Six910API) GetZoneZipListByInclusion ¶
GetZoneZipListByInclusion GetZoneZipListByInclusion
func (*Six910API) OverrideProxy ¶
OverrideProxy OverrideProxy
func (*Six910API) ProductSearch ¶ added in v1.2.0
ProductSearch ProductSearch
func (*Six910API) ResetCustomerUserPassword ¶ added in v1.0.20
func (a *Six910API) ResetCustomerUserPassword(u *User, headers *Headers) *CustomerPasswordResponse
ResetCustomerUserPassword ResetCustomerUserPassword
func (*Six910API) SetStoreID ¶ added in v1.0.1
SetStoreID SetStoreID
func (*Six910API) UpdateAddress ¶
UpdateAddress UpdateAddress
func (*Six910API) UpdateCart ¶
UpdateCart UpdateCart
func (*Six910API) UpdateCartItem ¶
UpdateCartItem UpdateCartItem
func (*Six910API) UpdateCategory ¶
UpdateCategory UpdateCategory
func (*Six910API) UpdateCustomer ¶
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 ¶
UpdateInstance UpdateInstance
func (*Six910API) UpdateInsurance ¶
UpdateInsurance UpdateInsurance
func (*Six910API) UpdateLocalDatastore ¶
func (a *Six910API) UpdateLocalDatastore(d *sdbi.LocalDataStore, headers *Headers) *Response
UpdateLocalDatastore UpdateLocalDatastore
func (*Six910API) UpdateOrder ¶
UpdateOrder UpdateOrder
func (*Six910API) UpdateOrderItem ¶
UpdateOrderItem UpdateOrderItem
func (*Six910API) UpdatePaymentGateway ¶
func (a *Six910API) UpdatePaymentGateway(pgw *sdbi.PaymentGateway, headers *Headers) *Response
UpdatePaymentGateway UpdatePaymentGateway
func (*Six910API) UpdatePlugin ¶
UpdatePlugin UpdatePlugin
func (*Six910API) UpdateProduct ¶
UpdateProduct UpdateProduct
func (*Six910API) UpdateProductQuantity ¶ added in v1.0.16
UpdateProductQuantity UpdateProductQuantity
func (*Six910API) UpdateRegion ¶
UpdateRegion UpdateRegion
func (*Six910API) UpdateShipment ¶
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 ¶
UpdateStore UpdateStore
func (*Six910API) UpdateStorePlugin ¶
func (a *Six910API) UpdateStorePlugin(sp *sdbi.StorePlugins, headers *Headers) *Response
UpdateStorePlugin UpdateStorePlugin
func (*Six910API) UpdateSubRegion ¶
UpdateSubRegion UpdateSubRegion
func (*Six910API) UpdateTaxRate ¶ added in v1.0.7
UpdateTaxRate UpdateTaxRate
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 ¶
ZoneZipReq ZoneZipReq
Source Files ¶
- address.go
- api.go
- cart.go
- cartItem.go
- category.go
- customer.go
- customerUser.go
- dataStoreWriteLock.go
- datastore.go
- distributor.go
- excludedSubRegion.go
- includedSubRegion.go
- instance.go
- insurance.go
- order.go
- orderComment.go
- orderItem.go
- orderTransaction.go
- paymentGateway.go
- plugins.go
- product.go
- productCategory.go
- productSearch.go
- region.go
- shipment.go
- shipmentBox.go
- shippingCarrier.go
- shippingItem.go
- shippingMethod.go
- six910Api.go
- store.go
- storePlugin.go
- subRegion.go
- taxRate.go
- user.go
- visitor.go
- zoneZip.go