Documentation ¶
Overview ¶
Package handlers ...
Index ¶
- type AddressReq
- type CartItemReq
- type ExcludedSubRegionReq
- type Handler
- type IncludedSubRegionReq
- type LogLevel
- type LogResponse
- type OrderCommentReq
- type OrderItemReq
- type OrderTransactionReq
- type PaymentGatewayReq
- type ProdIDReq
- type ProductCategory
- type ProductCategoryReq
- type ShipmentBoxReq
- type ShipmentItemReq
- type ShipmentReq
- type Six910Handler
- func (h *Six910Handler) AddAddress(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddCart(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddCartItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddCategory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddCustomer(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddDataStoreWriteLock(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddDistributor(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddExcludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddIncludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddInstance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddInsurance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddLocalDatastore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddOrder(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddOrderComments(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddOrderItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddOrderTransaction(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddPaymentGateway(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddPlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddProduct(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddProductCategory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddShipment(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddShipmentBox(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddShipmentItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddShippingCarrier(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddShippingMethod(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddStore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddStorePlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddTaxRate(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddUser(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddVisit(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AddZoneZip(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) AdminUpdateUser(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) CheckContent(r *http.Request) bool
- func (h *Six910Handler) DeleteAddress(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteCart(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteCartItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteCategory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteCustomer(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteDistributor(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteExcludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteIncludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteInsurance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteOrder(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteOrderItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeletePaymentGateway(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeletePlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteProduct(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteProductCategory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteShipment(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteShipmentBox(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteShipmentItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteShippingCarrier(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteShippingMethod(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteStore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteStorePlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteTaxRate(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) DeleteZoneZip(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetAddress(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetAddressList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetAdminUserList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCart(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCartItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCartItemList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCategory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCategoryList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCustomer(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCustomerID(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCustomerList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetCustomerUserList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetDataStoreWriteLock(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetDistributor(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetDistributorList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetExcludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetExcludedSubRegionList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetHierarchicalCategoryList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetIncludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetIncludedSubRegionList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetInstance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetInstanceList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetInsurance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetInsuranceList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetLocalDatastore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetNew() Handler
- func (h *Six910Handler) GetOrder(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderCommentList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderCountData(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderItemList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderSalesData(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetOrderTransactionList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetPaymentGateway(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetPaymentGatewayByName(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetPaymentGateways(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetPlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetPluginList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductByCatAndManufacturer(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductByID(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductByNameAndManufacturerName(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductBySku(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductCategoryList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductIDList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductIDListByCategories(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductManufacturerListByCatID(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductManufacturerListByProductName(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductManufacturerListByProductSearch(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductSubSkuList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductsByCaterory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductsByName(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetProductsByPromoted(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetRegionList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipment(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipmentBox(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipmentBoxList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipmentItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipmentItemList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipmentItemListByBox(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShipmentList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShippingCarrier(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShippingCarrierList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShippingMethod(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetShippingMethodList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetStore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetStoreOrderList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetStoreOrderListByStatus(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetStorePlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetStorePluginList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetSubCategoryList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetSubRegionList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetTaxRate(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetTaxRateList(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetUser(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetUsersByCustomer(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetVisitorData(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetZoneZipListByExclusion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) GetZoneZipListByInclusion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) ProcessBody(r *http.Request, obj interface{}) (bool, error)
- func (h *Six910Handler) ProductSearch(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) ResetCustomerUserPassword(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) SetContentType(w http.ResponseWriter)
- func (h *Six910Handler) SetLogLevel(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateAddress(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateCart(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateCartItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateCategory(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateCustomer(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateDataStoreWriteLock(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateDistributor(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateExcludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateIncludedSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateInstance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateInsurance(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateLocalDatastore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateOrder(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateOrderItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdatePaymentGateway(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdatePlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateProduct(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateProductQuantity(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateShipment(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateShipmentBox(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateShipmentItem(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateShippingCarrier(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateShippingMethod(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateStore(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateStorePlugin(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateSubRegion(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateTaxRate(w http.ResponseWriter, r *http.Request)
- func (h *Six910Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
- type SubRegionReq
- type ZoneZipReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ExcludedSubRegionReq ¶
type ExcludedSubRegionReq struct { StoreID int64 `json:"storeId"` ExcludedSubRegion sdbi.ExcludedSubRegion `json:"excludedSubRegion"` }
ExcludedSubRegionReq ExcludedSubRegionReq
type Handler ¶
type Handler interface { //store AddStore(w http.ResponseWriter, r *http.Request) UpdateStore(w http.ResponseWriter, r *http.Request) GetStore(w http.ResponseWriter, r *http.Request) DeleteStore(w http.ResponseWriter, r *http.Request) //customer AddCustomer(w http.ResponseWriter, r *http.Request) UpdateCustomer(w http.ResponseWriter, r *http.Request) GetCustomer(w http.ResponseWriter, r *http.Request) GetCustomerID(w http.ResponseWriter, r *http.Request) GetCustomerList(w http.ResponseWriter, r *http.Request) DeleteCustomer(w http.ResponseWriter, r *http.Request) //users AddUser(w http.ResponseWriter, r *http.Request) UpdateUser(w http.ResponseWriter, r *http.Request) AdminUpdateUser(w http.ResponseWriter, r *http.Request) GetUser(w http.ResponseWriter, r *http.Request) ResetCustomerUserPassword(w http.ResponseWriter, r *http.Request) //only for non oauth stores GetAdminUserList(w http.ResponseWriter, r *http.Request) GetCustomerUserList(w http.ResponseWriter, r *http.Request) GetUsersByCustomer(w http.ResponseWriter, r *http.Request) //distributors AddDistributor(w http.ResponseWriter, r *http.Request) UpdateDistributor(w http.ResponseWriter, r *http.Request) GetDistributor(w http.ResponseWriter, r *http.Request) GetDistributorList(w http.ResponseWriter, r *http.Request) DeleteDistributor(w http.ResponseWriter, r *http.Request) //Cart AddCart(w http.ResponseWriter, r *http.Request) UpdateCart(w http.ResponseWriter, r *http.Request) GetCart(w http.ResponseWriter, r *http.Request) DeleteCart(w http.ResponseWriter, r *http.Request) //cart item AddCartItem(w http.ResponseWriter, r *http.Request) UpdateCartItem(w http.ResponseWriter, r *http.Request) GetCartItem(w http.ResponseWriter, r *http.Request) GetCartItemList(w http.ResponseWriter, r *http.Request) DeleteCartItem(w http.ResponseWriter, r *http.Request) //address AddAddress(w http.ResponseWriter, r *http.Request) UpdateAddress(w http.ResponseWriter, r *http.Request) GetAddress(w http.ResponseWriter, r *http.Request) GetAddressList(w http.ResponseWriter, r *http.Request) DeleteAddress(w http.ResponseWriter, r *http.Request) //category AddCategory(w http.ResponseWriter, r *http.Request) UpdateCategory(w http.ResponseWriter, r *http.Request) GetCategory(w http.ResponseWriter, r *http.Request) GetHierarchicalCategoryList(w http.ResponseWriter, r *http.Request) GetCategoryList(w http.ResponseWriter, r *http.Request) GetSubCategoryList(w http.ResponseWriter, r *http.Request) DeleteCategory(w http.ResponseWriter, r *http.Request) //shipping method AddShippingMethod(w http.ResponseWriter, r *http.Request) UpdateShippingMethod(w http.ResponseWriter, r *http.Request) GetShippingMethod(w http.ResponseWriter, r *http.Request) GetShippingMethodList(w http.ResponseWriter, r *http.Request) DeleteShippingMethod(w http.ResponseWriter, r *http.Request) //shipping insurance AddInsurance(w http.ResponseWriter, r *http.Request) UpdateInsurance(w http.ResponseWriter, r *http.Request) GetInsurance(w http.ResponseWriter, r *http.Request) GetInsuranceList(w http.ResponseWriter, r *http.Request) DeleteInsurance(w http.ResponseWriter, r *http.Request) //tax rate AddTaxRate(w http.ResponseWriter, r *http.Request) UpdateTaxRate(w http.ResponseWriter, r *http.Request) GetTaxRate(w http.ResponseWriter, r *http.Request) GetTaxRateList(w http.ResponseWriter, r *http.Request) DeleteTaxRate(w http.ResponseWriter, r *http.Request) //product AddProduct(w http.ResponseWriter, r *http.Request) UpdateProduct(w http.ResponseWriter, r *http.Request) UpdateProductQuantity(w http.ResponseWriter, r *http.Request) GetProductByID(w http.ResponseWriter, r *http.Request) GetProductBySku(w http.ResponseWriter, r *http.Request) GetProductsByName(w http.ResponseWriter, r *http.Request) GetProductsByPromoted(w http.ResponseWriter, r *http.Request) GetProductsByCaterory(w http.ResponseWriter, r *http.Request) GetProductList(w http.ResponseWriter, r *http.Request) GetProductSubSkuList(w http.ResponseWriter, r *http.Request) GetProductIDList(w http.ResponseWriter, r *http.Request) GetProductIDListByCategories(w http.ResponseWriter, r *http.Request) DeleteProduct(w http.ResponseWriter, r *http.Request) //product search GetProductManufacturerListByProductName(w http.ResponseWriter, r *http.Request) GetProductManufacturerListByProductSearch(w http.ResponseWriter, r *http.Request) GetProductByNameAndManufacturerName(w http.ResponseWriter, r *http.Request) GetProductManufacturerListByCatID(w http.ResponseWriter, r *http.Request) GetProductByCatAndManufacturer(w http.ResponseWriter, r *http.Request) ProductSearch(w http.ResponseWriter, r *http.Request) //Geographic Regions AddRegion(w http.ResponseWriter, r *http.Request) UpdateRegion(w http.ResponseWriter, r *http.Request) GetRegion(w http.ResponseWriter, r *http.Request) GetRegionList(w http.ResponseWriter, r *http.Request) DeleteRegion(w http.ResponseWriter, r *http.Request) //Geographic Sub Regions AddSubRegion(w http.ResponseWriter, r *http.Request) UpdateSubRegion(w http.ResponseWriter, r *http.Request) GetSubRegion(w http.ResponseWriter, r *http.Request) GetSubRegionList(w http.ResponseWriter, r *http.Request) DeleteSubRegion(w http.ResponseWriter, r *http.Request) //excluded sub regions AddExcludedSubRegion(w http.ResponseWriter, r *http.Request) //-----currently not used UpdateExcludedSubRegion(w http.ResponseWriter, r *http.Request) //-----currently not used GetExcludedSubRegion(w http.ResponseWriter, r *http.Request) GetExcludedSubRegionList(w http.ResponseWriter, r *http.Request) DeleteExcludedSubRegion(w http.ResponseWriter, r *http.Request) //included sub regions AddIncludedSubRegion(w http.ResponseWriter, r *http.Request) //-----currently not used UpdateIncludedSubRegion(w http.ResponseWriter, r *http.Request) //-----currently not used GetIncludedSubRegion(w http.ResponseWriter, r *http.Request) GetIncludedSubRegionList(w http.ResponseWriter, r *http.Request) DeleteIncludedSubRegion(w http.ResponseWriter, r *http.Request) //limit exclusions and inclusions to a zip code AddZoneZip(w http.ResponseWriter, r *http.Request) GetZoneZipListByExclusion(w http.ResponseWriter, r *http.Request) GetZoneZipListByInclusion(w http.ResponseWriter, r *http.Request) DeleteZoneZip(w http.ResponseWriter, r *http.Request) //product category AddProductCategory(w http.ResponseWriter, r *http.Request) GetProductCategoryList(w http.ResponseWriter, r *http.Request) DeleteProductCategory(w http.ResponseWriter, r *http.Request) //Orders AddOrder(w http.ResponseWriter, r *http.Request) UpdateOrder(w http.ResponseWriter, r *http.Request) GetOrder(w http.ResponseWriter, r *http.Request) GetOrderList(w http.ResponseWriter, r *http.Request) GetStoreOrderList(w http.ResponseWriter, r *http.Request) GetStoreOrderListByStatus(w http.ResponseWriter, r *http.Request) GetOrderCountData(w http.ResponseWriter, r *http.Request) GetOrderSalesData(w http.ResponseWriter, r *http.Request) DeleteOrder(w http.ResponseWriter, r *http.Request) //Order Items AddOrderItem(w http.ResponseWriter, r *http.Request) UpdateOrderItem(w http.ResponseWriter, r *http.Request) GetOrderItem(w http.ResponseWriter, r *http.Request) GetOrderItemList(w http.ResponseWriter, r *http.Request) DeleteOrderItem(w http.ResponseWriter, r *http.Request) //Order Comments AddOrderComments(w http.ResponseWriter, r *http.Request) GetOrderCommentList(w http.ResponseWriter, r *http.Request) //Order Payment Transactions AddOrderTransaction(w http.ResponseWriter, r *http.Request) GetOrderTransactionList(w http.ResponseWriter, r *http.Request) //shipment AddShipment(w http.ResponseWriter, r *http.Request) UpdateShipment(w http.ResponseWriter, r *http.Request) GetShipment(w http.ResponseWriter, r *http.Request) GetShipmentList(w http.ResponseWriter, r *http.Request) DeleteShipment(w http.ResponseWriter, r *http.Request) //shipment boxes AddShipmentBox(w http.ResponseWriter, r *http.Request) UpdateShipmentBox(w http.ResponseWriter, r *http.Request) GetShipmentBox(w http.ResponseWriter, r *http.Request) GetShipmentBoxList(w http.ResponseWriter, r *http.Request) DeleteShipmentBox(w http.ResponseWriter, r *http.Request) //Shipment Items in box AddShipmentItem(w http.ResponseWriter, r *http.Request) UpdateShipmentItem(w http.ResponseWriter, r *http.Request) GetShipmentItem(w http.ResponseWriter, r *http.Request) GetShipmentItemList(w http.ResponseWriter, r *http.Request) GetShipmentItemListByBox(w http.ResponseWriter, r *http.Request) DeleteShipmentItem(w http.ResponseWriter, r *http.Request) //Global Plugins AddPlugin(w http.ResponseWriter, r *http.Request) UpdatePlugin(w http.ResponseWriter, r *http.Request) GetPlugin(w http.ResponseWriter, r *http.Request) GetPluginList(w http.ResponseWriter, r *http.Request) DeletePlugin(w http.ResponseWriter, r *http.Request) //store plugins installed AddStorePlugin(w http.ResponseWriter, r *http.Request) UpdateStorePlugin(w http.ResponseWriter, r *http.Request) GetStorePlugin(w http.ResponseWriter, r *http.Request) GetStorePluginList(w http.ResponseWriter, r *http.Request) DeleteStorePlugin(w http.ResponseWriter, r *http.Request) //Plugins that are payment gateways AddPaymentGateway(w http.ResponseWriter, r *http.Request) UpdatePaymentGateway(w http.ResponseWriter, r *http.Request) GetPaymentGateway(w http.ResponseWriter, r *http.Request) GetPaymentGatewayByName(w http.ResponseWriter, r *http.Request) GetPaymentGateways(w http.ResponseWriter, r *http.Request) DeletePaymentGateway(w http.ResponseWriter, r *http.Request) //store shipment carrier like UPS and FEDex AddShippingCarrier(w http.ResponseWriter, r *http.Request) UpdateShippingCarrier(w http.ResponseWriter, r *http.Request) GetShippingCarrier(w http.ResponseWriter, r *http.Request) GetShippingCarrierList(w http.ResponseWriter, r *http.Request) DeleteShippingCarrier(w http.ResponseWriter, r *http.Request) //----------------start datastore------------------------------------ //this gets called when a node starts up and add only if it doesn't already exist AddLocalDatastore(w http.ResponseWriter, r *http.Request) //This gets called when a change is made to a datastore from a node in the cluster //Or after all reloads have completed and then gets set to Reload = false UpdateLocalDatastore(w http.ResponseWriter, r *http.Request) //This gets call by cluster nodes to see if there are pending reload GetLocalDatastore(w http.ResponseWriter, r *http.Request) //---------------------start instance-------------------- // this gets called when each instance is started and added only if never added before //The instance name is pulled from Docker or an manually entered env variable AddInstance(w http.ResponseWriter, r *http.Request) //This gets called after instance gets reloaded UpdateInstance(w http.ResponseWriter, r *http.Request) //Gets called before updating an instance reloaded GetInstance(w http.ResponseWriter, r *http.Request) //Gets called before updating or after an instance is reloaded GetInstanceList(w http.ResponseWriter, r *http.Request) //-------------------start write lock------------- //gets called after UI makes changes to one of the datastores //If the datastore already exists, the Update method is called from within add AddDataStoreWriteLock(w http.ResponseWriter, r *http.Request) UpdateDataStoreWriteLock(w http.ResponseWriter, r *http.Request) //gets called from within the add method and by any node trying to update a datastore GetDataStoreWriteLock(w http.ResponseWriter, r *http.Request) AddVisit(w http.ResponseWriter, r *http.Request) GetVisitorData(w http.ResponseWriter, r *http.Request) SetLogLevel(w http.ResponseWriter, r *http.Request) }
Handler Handler
type IncludedSubRegionReq ¶
type IncludedSubRegionReq struct { StoreID int64 `json:"storeId"` IncludedSubRegion sdbi.IncludedSubRegion `json:"includedSubRegion"` }
IncludedSubRegionReq IncludedSubRegionReq
type LogLevel ¶ added in v0.1.1
type LogLevel struct {
Level string `json:"logLevel"`
}
LogLevel LogLevel
type LogResponse ¶ added in v0.1.1
LogResponse LogResponse
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 v0.1.0
type ProdIDReq struct { StoreID int64 `json:"storeId"` CategoryList *[]int64 `json:"categoryList"` }
ProdIDReq ProdIDReq
type ProductCategory ¶
type ProductCategory struct { CategoryID int64 `json:"categoryId"` ProductID int64 `json:"productId"` }
ProductCategory ProductCategory
type ProductCategoryReq ¶
type ProductCategoryReq struct { StoreID int64 `json:"storeId"` ProductCategory ProductCategory `json:"productCategory"` }
ProductCategoryReq ProductCategoryReq
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 ¶
ShipmentReq ShipmentReq
type Six910Handler ¶
type Six910Handler struct { Manager m.Manager Proxy px.Proxy Log *lg.Logger APIKey string ValidatorClient jv.Client ValidationURL string }
Six910Handler Six910Handler
func (*Six910Handler) AddAddress ¶
func (h *Six910Handler) AddAddress(w http.ResponseWriter, r *http.Request)
AddAddress godoc @Summary Add a new address @Description Adds a new address for a customer to a store @Tags Address @Accept json @Produce json @Param address body AddressReq true "address" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/address/add [post]
func (*Six910Handler) AddCart ¶
func (h *Six910Handler) AddCart(w http.ResponseWriter, r *http.Request)
AddCart godoc @Summary Add a new cart @Description Adds a new cart to a store @Tags Cart @Accept json @Produce json @Param cart body six910-database-interface.Cart true "cart" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/cart/add [post]
func (*Six910Handler) AddCartItem ¶
func (h *Six910Handler) AddCartItem(w http.ResponseWriter, r *http.Request)
AddCartItem godoc @Summary Add a new Cart Item @Description Adds a new Cart Item to a store @Tags CartItem @Accept json @Produce json @Param cartItem body CartItemReq true "cartItem" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/cartItem/add [post]
func (*Six910Handler) AddCategory ¶
func (h *Six910Handler) AddCategory(w http.ResponseWriter, r *http.Request)
AddCategory godoc @Summary Add a new category @Description Adds a new category to a store @Tags Category @Accept json @Produce json @Param category body six910-database-interface.Category true "category" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/category/add [post]
func (*Six910Handler) AddCustomer ¶
func (h *Six910Handler) AddCustomer(w http.ResponseWriter, r *http.Request)
AddCustomer godoc @Summary Add a new customer @Description Adds a new customer to a store @Tags Customer @Accept json @Produce json @Param customer body six910-database-interface.Customer true "customer" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/customer/add [post]
func (*Six910Handler) AddDataStoreWriteLock ¶
func (h *Six910Handler) AddDataStoreWriteLock(w http.ResponseWriter, r *http.Request)
AddDataStoreWriteLock godoc @Summary Add a new dataStoreWriteLock @Description Adds a new dataStoreWriteLock @Tags DataStoreWriteLock (indicates when a node in the cluster in editing a datastore) @Accept json @Produce json @Param dataStoreWriteLock body six910-database-interface.DataStoreWriteLock true "dataStoreWriteLock" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/dataStoreWriteLock/add [post]
func (*Six910Handler) AddDistributor ¶
func (h *Six910Handler) AddDistributor(w http.ResponseWriter, r *http.Request)
AddDistributor godoc @Summary Add a new distributor @Description Adds a new distributor to a store @Tags Distributor @Accept json @Produce json @Param distributor body six910-database-interface.Distributor true "distributor" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/distributor/add [post]
func (*Six910Handler) AddExcludedSubRegion ¶
func (h *Six910Handler) AddExcludedSubRegion(w http.ResponseWriter, r *http.Request)
AddExcludedSubRegion godoc @Summary Add a new ExcludedSubRegion @Description Adds a new ExcludedSubRegion to a store @Tags Excluded Sub Regions (Excluded Geographic Sales Sub Regions) @Accept json @Produce json @Param excludedSubRegion body ExcludedSubRegionReq true "excludedSubRegion" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/excludedSubRegion/add [post]
func (*Six910Handler) AddIncludedSubRegion ¶
func (h *Six910Handler) AddIncludedSubRegion(w http.ResponseWriter, r *http.Request)
AddIncludedSubRegion godoc @Summary Add new IncludedSubRegion @Description Adds new IncludedSubRegion to a store @Tags Included Sub Regions (Included Geographic Sales Sub Regions) @Accept json @Produce json @Param includedSubRegion body IncludedSubRegionReq true "includedSubRegion" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/includedSubRegion/add [post]
func (*Six910Handler) AddInstance ¶
func (h *Six910Handler) AddInstance(w http.ResponseWriter, r *http.Request)
AddInstance godoc @Summary Add a new datastore UI instance in a cluster @Description Adds a new datastore UI instance in a cluster @Tags Instance (datastore UI instance in a cluster) @Accept json @Produce json @Param instance body six910-database-interface.Instances true "instance" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/instance/add [post]
func (*Six910Handler) AddInsurance ¶
func (h *Six910Handler) AddInsurance(w http.ResponseWriter, r *http.Request)
AddInsurance godoc @Summary Add shipping insurance provider @Description Adds shipping insurance provider to a store @Tags Insurance (Shipping Insurance) @Accept json @Produce json @Param insurance body six910-database-interface.Insurance true "insurance" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/insurance/add [post]
func (*Six910Handler) AddLocalDatastore ¶
func (h *Six910Handler) AddLocalDatastore(w http.ResponseWriter, r *http.Request)
AddLocalDatastore godoc @Summary Add a new JSON datastore @Description Adds a new JSON datastore for store content, css and others used to sync UI @Tags Datastore (JSON Datastore used to sync UI when clustered: content or css or others) @Accept json @Produce json @Param datastore body six910-database-interface.LocalDataStore true "datastore" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/datastore/add [post]
func (*Six910Handler) AddOrder ¶
func (h *Six910Handler) AddOrder(w http.ResponseWriter, r *http.Request)
AddOrder godoc @Summary Add a new order @Description Adds a new order to a store @Tags Order @Accept json @Produce json @Param order body six910-database-interface.Order true "order" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/order/add [post]
func (*Six910Handler) AddOrderComments ¶
func (h *Six910Handler) AddOrderComments(w http.ResponseWriter, r *http.Request)
AddOrderComments godoc @Summary Add a new orderComment @Description Adds a new orderComment to a store @Tags OrderComment @Accept json @Produce json @Param orderComment body OrderCommentReq true "orderComment" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/orderComment/add [post]
func (*Six910Handler) AddOrderItem ¶
func (h *Six910Handler) AddOrderItem(w http.ResponseWriter, r *http.Request)
AddOrderItem godoc @Summary Add a new orderItem @Description Adds a new orderItem to a store @Tags OrderItem @Accept json @Produce json @Param orderItem body OrderItemReq true "orderItem" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/orderItem/add [post]
func (*Six910Handler) AddOrderTransaction ¶
func (h *Six910Handler) AddOrderTransaction(w http.ResponseWriter, r *http.Request)
AddOrderTransaction godoc @Summary Add a new orderTransaction @Description Adds a new orderTransaction to a store @Tags OrderTransaction @Accept json @Produce json @Param orderTransaction body OrderTransactionReq true "orderTransaction" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/orderTransaction/add [post]
func (*Six910Handler) AddPaymentGateway ¶
func (h *Six910Handler) AddPaymentGateway(w http.ResponseWriter, r *http.Request)
AddPaymentGateway godoc @Summary Add a new PaymentGateway @Description Adds a new PaymentGateway to a store @Tags PaymentGateway @Accept json @Produce json @Param paymentGateway body PaymentGatewayReq true "paymentGateway" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/paymentGateway/add [post]
func (*Six910Handler) AddPlugin ¶
func (h *Six910Handler) AddPlugin(w http.ResponseWriter, r *http.Request)
AddPlugin godoc @Summary Add a new plugin @Description Adds a new plugin to a store @Tags Plugins (Global all stores) @Accept json @Produce json @Param plugin body six910-database-interface.Plugins true "plugin" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/plugin/add [post]
func (*Six910Handler) AddProduct ¶
func (h *Six910Handler) AddProduct(w http.ResponseWriter, r *http.Request)
AddProduct godoc @Summary Add a new product @Description Adds a new product to a store @Tags Product @Accept json @Produce json @Param product body six910-database-interface.Product true "product" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/product/add [post]
func (*Six910Handler) AddProductCategory ¶
func (h *Six910Handler) AddProductCategory(w http.ResponseWriter, r *http.Request)
AddProductCategory godoc @Summary Add a product to a category @Description Adds a product to a category in a store @Tags ProductCategory @Accept json @Produce json @Param productCategory body ProductCategoryReq true "Product to Category" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/productCategory/add [post]
func (*Six910Handler) AddRegion ¶
func (h *Six910Handler) AddRegion(w http.ResponseWriter, r *http.Request)
AddRegion godoc @Summary Add a new region @Description Adds a new region to a store @Tags Region (Geographic Sales Region) @Accept json @Produce json @Param region body six910-database-interface.Region true "region" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/region/add [post]
func (*Six910Handler) AddShipment ¶
func (h *Six910Handler) AddShipment(w http.ResponseWriter, r *http.Request)
AddShipment godoc @Summary Add a new shipment @Description Adds a new shipment to a store @Tags Shipment @Accept json @Produce json @Param shipment body ShipmentReq true "shipment" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/shipment/add [post]
func (*Six910Handler) AddShipmentBox ¶
func (h *Six910Handler) AddShipmentBox(w http.ResponseWriter, r *http.Request)
AddShipmentBox godoc @Summary Add a new shipmentBox @Description Adds a new shipmentBox to a store @Tags ShipmentBox @Accept json @Produce json @Param shipmentBox body ShipmentBoxReq true "shipmentBox" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/shipmentBox/add [post]
func (*Six910Handler) AddShipmentItem ¶
func (h *Six910Handler) AddShipmentItem(w http.ResponseWriter, r *http.Request)
AddShipmentItem godoc @Summary Add a new shipmentItem @Description Adds a new shipmentItem to a store @Tags ShipmentItem @Accept json @Produce json @Param shipmentItem body ShipmentItemReq true "shipmentItem" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/shipmentItem/add [post]
func (*Six910Handler) AddShippingCarrier ¶
func (h *Six910Handler) AddShippingCarrier(w http.ResponseWriter, r *http.Request)
AddShippingCarrier godoc @Summary Add a new Shipping Carrier @Description Adds a new Shipping Carrier to a store @Tags ShippingCarrier @Accept json @Produce json @Param shippingCarrier body six910-database-interface.ShippingCarrier true "shippingCarrier" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/shippingCarrier/add [post]
func (*Six910Handler) AddShippingMethod ¶
func (h *Six910Handler) AddShippingMethod(w http.ResponseWriter, r *http.Request)
AddShippingMethod godoc @Summary Add a new shipping method @Description Adds a new shipping method to a store @Tags ShippingMethod @Accept json @Produce json @Param shippingMethod body six910-database-interface.ShippingMethod true "shippingMethod" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/shippingMethod/add [post]
func (*Six910Handler) AddStore ¶
func (h *Six910Handler) AddStore(w http.ResponseWriter, r *http.Request)
AddStore godoc @Summary Add a new store @Description Adds a new store to the system (only for OAuth2 stores) @Tags Store @Accept json @Produce json @Param store body six910-database-interface.Store true "store" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/store/add [post]
func (*Six910Handler) AddStorePlugin ¶
func (h *Six910Handler) AddStorePlugin(w http.ResponseWriter, r *http.Request)
AddStorePlugin godoc @Summary Add a new StorePlugin @Description Adds a new StorePlugin to a store @Tags StorePlugin @Accept json @Produce json @Param storePlugin body six910-database-interface.StorePlugins true "storePlugin" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/storePlugin/add [post]
func (*Six910Handler) AddSubRegion ¶
func (h *Six910Handler) AddSubRegion(w http.ResponseWriter, r *http.Request)
AddSubRegion godoc @Summary Add a new SubRegion @Description Adds a new SubRegion to a store @Tags Sub Region (Geographic Sales Sub Regions) @Accept json @Produce json @Param subRegion body SubRegionReq true "subRegion" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/subRegion/add [post]
func (*Six910Handler) AddTaxRate ¶ added in v0.1.0
func (h *Six910Handler) AddTaxRate(w http.ResponseWriter, r *http.Request)
AddTaxRate godoc @Summary Add tax rate @Description Adds tax rate to a store @Tags TaxRate @Accept json @Produce json @Param tax rate body six910-database-interface.TaxRate true "tax rate" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/taxRate/add [post]
func (*Six910Handler) AddUser ¶
func (h *Six910Handler) AddUser(w http.ResponseWriter, r *http.Request)
AddUser godoc @Summary Add a new user @Description Adds a new user to a store @Tags User @Accept json @Produce json @Param user body managers.User true "user" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/user/add [post]
func (*Six910Handler) AddVisit ¶ added in v0.1.0
func (h *Six910Handler) AddVisit(w http.ResponseWriter, r *http.Request)
AddVisit AddVisit
func (*Six910Handler) AddZoneZip ¶
func (h *Six910Handler) AddZoneZip(w http.ResponseWriter, r *http.Request)
AddZoneZip godoc @Summary Add a new ZoneZip @Description Adds a new zip code zone to a store @Tags Zip Code Zone (For Geographic Sales Region) @Accept json @Produce json @Param zoneZip body ZoneZipReq true "zoneZip" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/zoneZip/add [post]
func (*Six910Handler) AdminUpdateUser ¶ added in v0.1.0
func (h *Six910Handler) AdminUpdateUser(w http.ResponseWriter, r *http.Request)
AdminUpdateUser AdminUpdateUser
func (*Six910Handler) CheckContent ¶
func (h *Six910Handler) CheckContent(r *http.Request) bool
CheckContent CheckContent
func (*Six910Handler) DeleteAddress ¶
func (h *Six910Handler) DeleteAddress(w http.ResponseWriter, r *http.Request)
DeleteAddress godoc @Summary Delete a address @Description Delete a customer address from the store @Tags Address @Accept json @Produce json @Param id path string true "address id" @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/address/delete/{id}/{cid}/{storeId} [delete]
func (*Six910Handler) DeleteCart ¶
func (h *Six910Handler) DeleteCart(w http.ResponseWriter, r *http.Request)
DeleteCart godoc @Summary Delete a cart @Description Delete a cart from the store @Tags Cart @Accept json @Produce json @Param id path string true "cart id" @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/cart/delete/{id}/{cid}/{storeId} [delete]
func (*Six910Handler) DeleteCartItem ¶
func (h *Six910Handler) DeleteCartItem(w http.ResponseWriter, r *http.Request)
DeleteCartItem godoc @Summary Delete a CartItem @Description Delete a Cart Item from the store @Tags CartItem @Accept json @Produce json @Param id path string true "distributor id" @Param prodId path string true "product id" @Param cartId path string true "cart id" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/cartItem/delete/{id}/{prodId}/{cartId} [delete]
func (*Six910Handler) DeleteCategory ¶
func (h *Six910Handler) DeleteCategory(w http.ResponseWriter, r *http.Request)
DeleteCategory godoc @Summary Delete a category @Description Delete a category from the store @Tags Category @Accept json @Produce json @Param id path string true "category id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/category/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteCustomer ¶
func (h *Six910Handler) DeleteCustomer(w http.ResponseWriter, r *http.Request)
DeleteCustomer godoc @Summary Delete a customer @Description Delete a customer from the store @Tags Customer @Accept json @Produce json @Param id path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/customer/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteDistributor ¶
func (h *Six910Handler) DeleteDistributor(w http.ResponseWriter, r *http.Request)
DeleteDistributor godoc @Summary Delete a distributor @Description Delete a distributor from the store @Tags Distributor @Accept json @Produce json @Param id path string true "distributor id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/distributor/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteExcludedSubRegion ¶
func (h *Six910Handler) DeleteExcludedSubRegion(w http.ResponseWriter, r *http.Request)
DeleteExcludedSubRegion godoc @Summary Delete a ExcludedSubRegion @Description Delete a ExcludedSubRegion from the store @Tags Excluded Sub Regions (Excluded Geographic Sales Sub Regions) @Accept json @Produce json @Param id path string true "excludedSubRegion id" @Param regionId path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/excludedSubRegion/delete/{id}/{regionId}/{storeId} [delete]
func (*Six910Handler) DeleteIncludedSubRegion ¶
func (h *Six910Handler) DeleteIncludedSubRegion(w http.ResponseWriter, r *http.Request)
DeleteIncludedSubRegion godoc @Summary Delete a IncludedSubRegion @Description Delete IncludedSubRegion from the store @Tags Included Sub Regions (Included Geographic Sales Sub Regions) @Accept json @Produce json @Param id path string true "includedSubRegion id" @Param regionId path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/includedSubRegion/delete/{id}/{regionId}/{storeId} [delete]
func (*Six910Handler) DeleteInsurance ¶
func (h *Six910Handler) DeleteInsurance(w http.ResponseWriter, r *http.Request)
DeleteInsurance godoc @Summary Delete a shipping insurance provider @Description Delete a shipping insurance provider from the store @Tags Insurance (Shipping Insurance) @Accept json @Produce json @Param id path string true "insurance id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/insurance/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteOrder ¶
func (h *Six910Handler) DeleteOrder(w http.ResponseWriter, r *http.Request)
DeleteOrder godoc @Summary Delete a order @Description Delete a order from the store @Tags Order @Accept json @Produce json @Param id path string true "order id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/order/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteOrderItem ¶
func (h *Six910Handler) DeleteOrderItem(w http.ResponseWriter, r *http.Request)
DeleteOrderItem godoc @Summary Delete a orderItem @Description Delete a orderItem from the store @Tags OrderItem @Accept json @Produce json @Param id path string true "orderItem id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/orderItem/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeletePaymentGateway ¶
func (h *Six910Handler) DeletePaymentGateway(w http.ResponseWriter, r *http.Request)
DeletePaymentGateway godoc @Summary Delete a PaymentGateway @Description Delete a PaymentGateway from the store @Tags PaymentGateway @Accept json @Produce json @Param id path string true "paymentGateway id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/paymentGateway/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeletePlugin ¶
func (h *Six910Handler) DeletePlugin(w http.ResponseWriter, r *http.Request)
DeletePlugin godoc @Summary Delete a plugin @Description Delete a plugin from the store @Tags Plugins (Global all stores) @Accept json @Produce json @Param id path string true "plugin id" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/plugin/delete/{id} [delete]
func (*Six910Handler) DeleteProduct ¶
func (h *Six910Handler) DeleteProduct(w http.ResponseWriter, r *http.Request)
DeleteProduct godoc @Summary Delete a products @Description Delete a products from the store @Tags Product @Accept json @Produce json @Param id path string true "products id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/product/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteProductCategory ¶
func (h *Six910Handler) DeleteProductCategory(w http.ResponseWriter, r *http.Request)
DeleteProductCategory godoc @Summary Delete a product from a category @Description Delete a product from a category in a store @Tags ProductCategory @Accept json @Produce json @Param categoryId path string true "category id" @Param productId path string true "product id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/productCategory/delete/{categoryId}/{productId}/{storeId} [delete]
func (*Six910Handler) DeleteRegion ¶
func (h *Six910Handler) DeleteRegion(w http.ResponseWriter, r *http.Request)
DeleteRegion godoc @Summary Delete a region @Description Delete a region from the store @Tags Region (Geographic Sales Region) @Accept json @Produce json @Param id path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/region/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteShipment ¶
func (h *Six910Handler) DeleteShipment(w http.ResponseWriter, r *http.Request)
DeleteShipment godoc @Summary Delete a shipment @Description Delete a shipment from the store @Tags Shipment @Accept json @Produce json @Param id path string true "shipment id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shipment/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteShipmentBox ¶
func (h *Six910Handler) DeleteShipmentBox(w http.ResponseWriter, r *http.Request)
DeleteShipmentBox godoc @Summary Delete a shipmentBox @Description Delete a shipmentBox from the store @Tags ShipmentBox @Accept json @Produce json @Param id path string true "shipment id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shipmentBox/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteShipmentItem ¶
func (h *Six910Handler) DeleteShipmentItem(w http.ResponseWriter, r *http.Request)
DeleteShipmentItem godoc @Summary Delete a shipmentItem @Description Delete a shipmentItem from the store @Tags ShipmentItem @Accept json @Produce json @Param id path string true "shipmentItem id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shipmentItem/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteShippingCarrier ¶
func (h *Six910Handler) DeleteShippingCarrier(w http.ResponseWriter, r *http.Request)
DeleteShippingCarrier godoc @Summary Delete a Shipping Carrier @Description Delete a Shipping Carrier from the store @Tags ShippingCarrier @Accept json @Produce json @Param id path string true "shippingCarrier id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shippingCarrier/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteShippingMethod ¶
func (h *Six910Handler) DeleteShippingMethod(w http.ResponseWriter, r *http.Request)
DeleteShippingMethod godoc @Summary Delete a shipping method @Description Delete a shipping method from the store @Tags ShippingMethod @Accept json @Produce json @Param id path string true "shippingMethod id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shippingMethod/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteStore ¶
func (h *Six910Handler) DeleteStore(w http.ResponseWriter, r *http.Request)
DeleteStore godoc @Summary Delete a store @Description Delete a store from the system (only for OAuth2 stores) @Tags Store @Accept json @Produce json @Param storeName path string true "store name" @Param localDomain path string true "store localDomain" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/store/delete/{storeName}/{localDomain} [delete]
func (*Six910Handler) DeleteStorePlugin ¶
func (h *Six910Handler) DeleteStorePlugin(w http.ResponseWriter, r *http.Request)
DeleteStorePlugin godoc @Summary Delete a StorePlugin @Description Delete a StorePlugin from the store @Tags StorePlugin @Accept json @Produce json @Param id path string true "storePlugin id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/storePlugin/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteSubRegion ¶
func (h *Six910Handler) DeleteSubRegion(w http.ResponseWriter, r *http.Request)
DeleteSubRegion godoc @Summary Delete a SubRegion @Description Delete a SubRegion from the store @Tags Sub Region (Geographic Sales Sub Regions) @Accept json @Produce json @Param id path string true "subRegion id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/subRegion/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteTaxRate ¶ added in v0.1.0
func (h *Six910Handler) DeleteTaxRate(w http.ResponseWriter, r *http.Request)
DeleteTaxRate godoc @Summary Delete a TaxRate @Description Delete a TaxRate from the store @Tags TaxRate @Accept json @Produce json @Param id path string true "tax rate id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/taxRate/delete/{id}/{storeId} [delete]
func (*Six910Handler) DeleteZoneZip ¶
func (h *Six910Handler) DeleteZoneZip(w http.ResponseWriter, r *http.Request)
DeleteZoneZip godoc @Summary Delete a ZoneZips @Description Delete a ZoneZips from the store @Tags Zip Code Zone (For Geographic Sales Region) @Accept json @Produce json @Param id path string true "zoneZip id" @Param incId path string true "included zip code zone id" @Param exId path string true "excluded zip code zone id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/zoneZip/delete/{id}/{incId}/{exId}/{storeId} [delete]
func (*Six910Handler) GetAddress ¶
func (h *Six910Handler) GetAddress(w http.ResponseWriter, r *http.Request)
GetAddress godoc @Summary Get details of a address by id @Description Get details of a address @Tags Address @Accept json @Produce json @Param id path string true "address id" @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Address @Router /rs/address/get/id/{id}/{cid}/{storeId} [get]
func (*Six910Handler) GetAddressList ¶
func (h *Six910Handler) GetAddressList(w http.ResponseWriter, r *http.Request)
GetAddressList godoc @Summary Get list of address @Description Get list of customer addresses for a store @Tags Address @Accept json @Produce json @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Address @Router /rs/address/get/list/{cid}/{storeId} [get]
func (*Six910Handler) GetAdminUserList ¶
func (h *Six910Handler) GetAdminUserList(w http.ResponseWriter, r *http.Request)
GetAdminUserList godoc @Summary Get list of a admin users @Description Get list of admin users for a store @Tags User @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} managers.UserResponse @Router /rs/user/get/admin/list/{storeId} [get]
func (*Six910Handler) GetCart ¶
func (h *Six910Handler) GetCart(w http.ResponseWriter, r *http.Request)
GetCart godoc @Summary Get details of a cart by id @Description Get details of a cart @Tags Cart @Accept json @Produce json @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Cart @Router /rs/cart/get/{cid}/{storeId} [get]
func (*Six910Handler) GetCartItem ¶
func (h *Six910Handler) GetCartItem(w http.ResponseWriter, r *http.Request)
GetCartItem godoc @Summary Get details of a CartItem by id @Description Get details of a Cart Item @Tags CartItem @Accept json @Produce json @Param cid path string true "customer id" @Param prodId path string true "product id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.CartItem @Router /rs/cartItem/get/{cid}/{prodId}/{storeId} [get]
func (*Six910Handler) GetCartItemList ¶
func (h *Six910Handler) GetCartItemList(w http.ResponseWriter, r *http.Request)
GetCartItemList godoc @Summary Get list of a CartItem @Description Get list of a Cart Item for a store @Tags CartItem @Accept json @Produce json @Param cartId path string true "cart id" @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.CartItem @Router /rs/cartItem/get/list/{cartId}/{cid}/{storeId} [get]
func (*Six910Handler) GetCategory ¶
func (h *Six910Handler) GetCategory(w http.ResponseWriter, r *http.Request)
GetCategory godoc @Summary Get details of a category by id @Description Get details of a category @Tags Category @Accept json @Produce json @Param id path string true "category id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Category @Router /rs/category/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetCategoryList ¶
func (h *Six910Handler) GetCategoryList(w http.ResponseWriter, r *http.Request)
GetCategoryList godoc @Summary Get list of categories @Description Get list of categories for a store @Tags Category @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Category @Router /rs/category/get/list/{storeId} [get]
func (*Six910Handler) GetCustomer ¶
func (h *Six910Handler) GetCustomer(w http.ResponseWriter, r *http.Request)
GetCustomer godoc @Summary Get details of a customer by email @Description Get details of a customer @Tags Customer @Accept json @Produce json @Param email path string true "customer email" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Customer @Router /rs/customer/get/email/{email}/{storeId} [get]
func (*Six910Handler) GetCustomerID ¶
func (h *Six910Handler) GetCustomerID(w http.ResponseWriter, r *http.Request)
GetCustomerID godoc @Summary Get details of a customer by id @Description Get details of a customer @Tags Customer @Accept json @Produce json @Param id path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Customer @Router /rs/customer/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetCustomerList ¶
func (h *Six910Handler) GetCustomerList(w http.ResponseWriter, r *http.Request)
GetCustomerList godoc @Summary Get list of a customers @Description Get list of a customers for a store @Tags Customer @Accept json @Produce json @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Customer @Router /rs/customer/get/list/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetCustomerUserList ¶
func (h *Six910Handler) GetCustomerUserList(w http.ResponseWriter, r *http.Request)
GetCustomerUserList godoc @Summary Get list of a customer users @Description Get list of customer users for a store @Tags User @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} managers.UserResponse @Router /rs/user/get/customer/list/{storeId} [get]
func (*Six910Handler) GetDataStoreWriteLock ¶
func (h *Six910Handler) GetDataStoreWriteLock(w http.ResponseWriter, r *http.Request)
GetDataStoreWriteLock godoc @Summary Get details of a dataStoreWriteLock @Description Get details of a dataStoreWriteLock @Tags DataStoreWriteLock (indicates when a node in the cluster in editing a datastore) @Accept json @Produce json @Param dataStore path string true "dataStore" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.DataStoreWriteLock @Router /rs/dataStoreWriteLock/get/{dataStore}/{storeId} [get]
func (*Six910Handler) GetDistributor ¶
func (h *Six910Handler) GetDistributor(w http.ResponseWriter, r *http.Request)
GetDistributor godoc @Summary Get details of a distributor by id @Description Get details of a distributor @Tags Distributor @Accept json @Produce json @Param id path string true "distributor id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Distributor @Router /rs/distributor/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetDistributorList ¶
func (h *Six910Handler) GetDistributorList(w http.ResponseWriter, r *http.Request)
GetDistributorList godoc @Summary Get list of distributors @Description Get list of distributors for a store @Tags Distributor @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Distributor @Router /rs/distributor/get/list/{storeId} [get]
func (*Six910Handler) GetExcludedSubRegion ¶
func (h *Six910Handler) GetExcludedSubRegion(w http.ResponseWriter, r *http.Request)
GetExcludedSubRegion GetExcludedSubRegion
func (*Six910Handler) GetExcludedSubRegionList ¶
func (h *Six910Handler) GetExcludedSubRegionList(w http.ResponseWriter, r *http.Request)
GetExcludedSubRegionList godoc @Summary Get list of ExcludedSubRegion @Description Get list of ExcludedSubRegion for a store @Tags Excluded Sub Regions (Excluded Geographic Sales Sub Regions) @Accept json @Produce json @Param regionId path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ExcludedSubRegion @Router /rs/excludedSubRegion/get/list/{regionId}/{storeId} [get]
func (*Six910Handler) GetHierarchicalCategoryList ¶ added in v0.1.0
func (h *Six910Handler) GetHierarchicalCategoryList(w http.ResponseWriter, r *http.Request)
GetHierarchicalCategoryList godoc @Summary Get list of categories with Hierarchical category names @Description Get list of categories for a store with Hierarchical category names @Tags Category @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Category @Router /rs/category/get/list/hierarchical/{storeId} [get]
func (*Six910Handler) GetIncludedSubRegion ¶
func (h *Six910Handler) GetIncludedSubRegion(w http.ResponseWriter, r *http.Request)
GetIncludedSubRegion GetIncludedSubRegion
func (*Six910Handler) GetIncludedSubRegionList ¶
func (h *Six910Handler) GetIncludedSubRegionList(w http.ResponseWriter, r *http.Request)
GetIncludedSubRegionList godoc @Summary Get list of IncludedSubRegion @Description Get list of IncludedSubRegion for a store @Tags Included Sub Regions (Included Geographic Sales Sub Regions) @Accept json @Produce json @Param regionId path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.IncludedSubRegion @Router /rs/includedSubRegion/get/list/{regionId}/{storeId} [get]
func (*Six910Handler) GetInstance ¶
func (h *Six910Handler) GetInstance(w http.ResponseWriter, r *http.Request)
GetInstance godoc @Summary Get details of a datastore UI instance in a cluster @Description Get details of a datastore UI instance in a cluster @Tags Instance (datastore UI instance in a cluster) @Accept json @Produce json @Param name path string true "name" @Param dataStoreName path string true "dataStoreName" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Instances @Router /rs/instance/get/name/{name}/{dataStoreName}/{storeId} [get]
func (*Six910Handler) GetInstanceList ¶ added in v0.1.0
func (h *Six910Handler) GetInstanceList(w http.ResponseWriter, r *http.Request)
GetInstanceList godoc @Summary Get list of datastore UI instance in a cluster @Description Get list of datastore UI instance in a cluster @Tags Instance (datastore UI instance in a cluster) @Accept json @Produce json @Param dataStoreName path string true "dataStoreName" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Instances @Router /rs/instance/get/list/{dataStoreName}/{storeId} [get]
func (*Six910Handler) GetInsurance ¶
func (h *Six910Handler) GetInsurance(w http.ResponseWriter, r *http.Request)
GetInsurance godoc @Summary Get details of a shipping insurance provider by id @Description Get details of a shipping insurance provider @Tags Insurance (Shipping Insurance) @Accept json @Produce json @Param id path string true "insurance id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Insurance @Router /rs/insurance/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetInsuranceList ¶
func (h *Six910Handler) GetInsuranceList(w http.ResponseWriter, r *http.Request)
GetInsuranceList godoc @Summary Get list of shipping insurance providers @Description Get list of shipping insurance providers for a store @Tags Insurance (Shipping Insurance) @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Insurance @Router /rs/insurance/get/list/{storeId} [get]
func (*Six910Handler) GetLocalDatastore ¶
func (h *Six910Handler) GetLocalDatastore(w http.ResponseWriter, r *http.Request)
GetLocalDatastore godoc @Summary Get details of a JSON datastore by name @Description Get details of a JSON datastore for store content, css and others used to sync UI @Tags Datastore (JSON Datastore used to sync UI when clustered: content or css or others) @Accept json @Produce json @Param name path string true "name" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.LocalDataStore @Router /rs/datastore/get/{name}/{storeId} [get]
func (*Six910Handler) GetOrder ¶
func (h *Six910Handler) GetOrder(w http.ResponseWriter, r *http.Request)
GetOrder godoc @Summary Get details of a order by id @Description Get details of a order @Tags Order @Accept json @Produce json @Param id path string true "order id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Order @Router /rs/order/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetOrderCommentList ¶
func (h *Six910Handler) GetOrderCommentList(w http.ResponseWriter, r *http.Request)
GetOrderCommentList godoc @Summary Get list of orderComment @Description Get list of orderComment for a store @Tags OrderComment @Accept json @Produce json @Param orderId path string true "order Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.OrderComment @Router /rs/orderComment/get/list/{orderId}/{storeId} [get]
func (*Six910Handler) GetOrderCountData ¶ added in v0.1.0
func (h *Six910Handler) GetOrderCountData(w http.ResponseWriter, r *http.Request)
GetOrderCountData GetOrderCountData
func (*Six910Handler) GetOrderItem ¶
func (h *Six910Handler) GetOrderItem(w http.ResponseWriter, r *http.Request)
GetOrderItem godoc @Summary Get details of a orderItem by id @Description Get details of a orderItem @Tags OrderItem @Accept json @Produce json @Param id path string true "orderItem id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.OrderItem @Router /rs/orderItem/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetOrderItemList ¶
func (h *Six910Handler) GetOrderItemList(w http.ResponseWriter, r *http.Request)
GetOrderItemList godoc @Summary Get list of orderItem @Description Get list of orderItem for a store @Tags OrderItem @Accept json @Produce json @Param orderId path string true "order Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.OrderItem @Router /rs/orderItem/get/list/{orderId}/{storeId} [get]
func (*Six910Handler) GetOrderList ¶
func (h *Six910Handler) GetOrderList(w http.ResponseWriter, r *http.Request)
GetOrderList godoc @Summary Get list of order @Description Get list of order for a store @Tags Order @Accept json @Produce json @Param cid path string true "customer Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Order @Router /rs/order/get/list/{cid}/{storeId} [get]
func (*Six910Handler) GetOrderSalesData ¶ added in v0.1.0
func (h *Six910Handler) GetOrderSalesData(w http.ResponseWriter, r *http.Request)
GetOrderSalesData GetOrderSalesData
func (*Six910Handler) GetOrderTransactionList ¶
func (h *Six910Handler) GetOrderTransactionList(w http.ResponseWriter, r *http.Request)
GetOrderTransactionList godoc @Summary Get list of orderTransaction @Description Get list of orderTransaction for a store @Tags OrderTransaction @Accept json @Produce json @Param orderId path string true "order Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.OrderTransaction @Router /rs/orderTransaction/get/list/{orderId}/{storeId} [get]
func (*Six910Handler) GetPaymentGateway ¶
func (h *Six910Handler) GetPaymentGateway(w http.ResponseWriter, r *http.Request)
GetPaymentGateway godoc @Summary Get details of a PaymentGateway by id @Description Get details of a PaymentGateway @Tags PaymentGateway @Accept json @Produce json @Param id path string true "paymentGateway id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.PaymentGateway @Router /rs/paymentGateway/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetPaymentGatewayByName ¶ added in v1.1.0
func (h *Six910Handler) GetPaymentGatewayByName(w http.ResponseWriter, r *http.Request)
GetPaymentGatewayByName godoc @Summary Get details of a PaymentGateway by name @Description Get details of a PaymentGateway @Tags PaymentGateway @Accept json @Produce json @Param id path string true "paymentGateway name" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.PaymentGateway @Router /rs/paymentGateway/get/name/{name}/{storeId} [get]
func (*Six910Handler) GetPaymentGateways ¶
func (h *Six910Handler) GetPaymentGateways(w http.ResponseWriter, r *http.Request)
GetPaymentGateways godoc @Summary Get list of PaymentGateway @Description Get list of PaymentGateway for a store @Tags PaymentGateway @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.PaymentGateway @Router /rs/paymentGateway/get/list/{storeId} [get]
func (*Six910Handler) GetPlugin ¶
func (h *Six910Handler) GetPlugin(w http.ResponseWriter, r *http.Request)
GetPlugin godoc @Summary Get details of a plugin by id @Description Get details of a plugin @Tags Plugins (Global all stores) @Accept json @Produce json @Param id path string true "plugin id" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Plugins @Router /rs/plugin/get/id/{id} [get]
func (*Six910Handler) GetPluginList ¶
func (h *Six910Handler) GetPluginList(w http.ResponseWriter, r *http.Request)
GetPluginList godoc @Summary Get list of plugin @Description Get list of plugin for a store @Tags Plugins (Global all stores) @Accept json @Produce json @Param start path string true "start index zero based" @Param end path string true "end index zero based" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Plugins @Router /rs/plugin/get/list/{start}/{end} [get]
func (*Six910Handler) GetProductByCatAndManufacturer ¶ added in v0.1.0
func (h *Six910Handler) GetProductByCatAndManufacturer(w http.ResponseWriter, r *http.Request)
GetProductByCatAndManufacturer godoc @Summary Get list of products by category and manufacturer @Description Get list of products by category and manufacturerfor a store @Tags Product @Accept json @Produce json @Param catId path string true "category ID" @Param manufacturer path string true "manufacturer name" @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/category/manufacturer/{catId}/{manufacturer}/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetProductByID ¶
func (h *Six910Handler) GetProductByID(w http.ResponseWriter, r *http.Request)
GetProductByID godoc @Summary Get details of a product by id @Description Get details of a product @Tags Product @Accept json @Produce json @Param id path string true "product id" @Param storeId path string true "store storeId" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Product @Router /rs/product/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetProductByNameAndManufacturerName ¶ added in v0.1.0
func (h *Six910Handler) GetProductByNameAndManufacturerName(w http.ResponseWriter, r *http.Request)
GetProductByNameAndManufacturerName godoc @Summary Get list of products by product name and manufacturer @Description Get list of products by name and manufacturerfor a store @Tags Product @Accept json @Produce json @Param manufacturer path string true "manufacturer name" @Param name path string true "product name" @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/manufacturer/name/{manufacturer}/{name}/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetProductBySku ¶ added in v0.1.0
func (h *Six910Handler) GetProductBySku(w http.ResponseWriter, r *http.Request)
GetProductBySku godoc @Summary Get details of a product by sku @Description Get details of a product @Tags Product @Accept json @Produce json @Param sku path string true "product sku" @Param did path string true "product distributor id" @Param storeId path string true "store storeId" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Product @Router /rs/product/get/sku/{sku}/{did}/{storeId} [get]
func (*Six910Handler) GetProductCategoryList ¶ added in v0.1.0
func (h *Six910Handler) GetProductCategoryList(w http.ResponseWriter, r *http.Request)
GetProductCategoryList godoc @Summary Get list of category IDs for a product @Description Get list of category IDs for a product @Tags ProductCategory @Accept json @Produce json @Param productId path string true "productId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} int64 @Router /rs/productCategory/list/{productId} [get]
func (*Six910Handler) GetProductIDList ¶ added in v0.1.0
func (h *Six910Handler) GetProductIDList(w http.ResponseWriter, r *http.Request)
GetProductIDList GetProductIDList
func (*Six910Handler) GetProductIDListByCategories ¶ added in v0.1.0
func (h *Six910Handler) GetProductIDListByCategories(w http.ResponseWriter, r *http.Request)
GetProductIDListByCategories GetProductIDListByCategories
func (*Six910Handler) GetProductList ¶
func (h *Six910Handler) GetProductList(w http.ResponseWriter, r *http.Request)
GetProductList godoc @Summary Get list of products @Description Get list of products for a store @Tags Product @Accept json @Produce json @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/list/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetProductManufacturerListByCatID ¶ added in v0.1.0
func (h *Six910Handler) GetProductManufacturerListByCatID(w http.ResponseWriter, r *http.Request)
GetProductManufacturerListByCatID godoc @Summary Get list of Manufacturers for a category @Description Get list of Manufacturers for for a category for a store @Tags Manufacturer @Accept json @Produce json @Param catId path string true "category ID" @Param storeId path string true "store storeId" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} string @Router /rs/manufacturer/get/category/{catId}/{storeId} [get]
func (*Six910Handler) GetProductManufacturerListByProductName ¶ added in v0.1.0
func (h *Six910Handler) GetProductManufacturerListByProductName(w http.ResponseWriter, r *http.Request)
GetProductManufacturerListByProductName godoc @Summary Get list of Manufacturers for a product name @Description Get list of Manufacturers for a product name for a store @Tags Manufacturer @Accept json @Produce json @Param name path string true "product name" @Param storeId path string true "store storeId" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} string @Router /rs/manufacturer/get/product/name/{name}/{storeId} [get]
func (*Six910Handler) GetProductManufacturerListByProductSearch ¶ added in v1.2.1
func (h *Six910Handler) GetProductManufacturerListByProductSearch(w http.ResponseWriter, r *http.Request)
GetProductManufacturerListByProductSearch product desc attrs @Description Get list of Manufacturers for a product search attributes for a store @Tags Manufacturer @Accept json @Produce json @Param name path string true "product desc attrs" @Param storeId path string true "store storeId" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} string @Router /rs/manufacturer/get/product/desc/{search}/{storeId} [get]
func (*Six910Handler) GetProductSubSkuList ¶ added in v1.2.0
func (h *Six910Handler) GetProductSubSkuList(w http.ResponseWriter, r *http.Request)
GetProductSubSkuList godoc @Summary Get list of products @Description Get list of products for a store @Tags Product @Accept json @Produce json @Param storeId path string true "store storeId" @Param parentProdID path string true "parent Product ID" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/list/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetProductsByCaterory ¶
func (h *Six910Handler) GetProductsByCaterory(w http.ResponseWriter, r *http.Request)
GetProductsByCaterory godoc @Summary Get list of products by category @Description Get list of products for a store @Tags Product @Accept json @Produce json @Param catId path string true "category id" @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/category/{catId}/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetProductsByName ¶
func (h *Six910Handler) GetProductsByName(w http.ResponseWriter, r *http.Request)
GetProductsByName godoc @Summary Get list of products by product name @Description Get list of products for a store @Tags Product @Accept json @Produce json @Param name path string true "product name" @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/name/{name}/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetProductsByPromoted ¶ added in v0.1.0
func (h *Six910Handler) GetProductsByPromoted(w http.ResponseWriter, r *http.Request)
GetProductsByPromoted godoc @Summary Get list of products by product name @Description Get list of products for a store @Tags Product @Accept json @Produce json @Param storeId path string true "store storeId" @Param start path string true "start index 0 based" @Param end path string true "end index" @Param apiKey header string true "apiKey required" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Product @Router /rs/product/get/promoted/{storeId}/{start}/{end} [get]
func (*Six910Handler) GetRegion ¶
func (h *Six910Handler) GetRegion(w http.ResponseWriter, r *http.Request)
GetRegion godoc @Summary Get details of a region by id @Description Get details of a region @Tags Region (Geographic Sales Region) @Accept json @Produce json @Param id path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Region @Router /rs/region/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetRegionList ¶
func (h *Six910Handler) GetRegionList(w http.ResponseWriter, r *http.Request)
GetRegionList godoc @Summary Get list of regions @Description Get list of regions for a store @Tags Region (Geographic Sales Region) @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Region @Router /rs/region/get/list/{storeId} [get]
func (*Six910Handler) GetShipment ¶
func (h *Six910Handler) GetShipment(w http.ResponseWriter, r *http.Request)
GetShipment godoc @Summary Get details of a shipment by id @Description Get details of a shipment @Tags Shipment @Accept json @Produce json @Param id path string true "shipment id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Shipment @Router /rs/shipment/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetShipmentBox ¶
func (h *Six910Handler) GetShipmentBox(w http.ResponseWriter, r *http.Request)
GetShipmentBox godoc @Summary Get details of a shipmentBox by id @Description Get details of a shipmentBox @Tags ShipmentBox @Accept json @Produce json @Param id path string true "shipmentBox id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.ShipmentBox @Router /rs/shipmentBox/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetShipmentBoxList ¶
func (h *Six910Handler) GetShipmentBoxList(w http.ResponseWriter, r *http.Request)
GetShipmentBoxList godoc @Summary Get list of shipmentBox @Description Get list of shipmentBox for a store @Tags ShipmentBox @Accept json @Produce json @Param shipmentId path string true "shipment Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ShipmentBox @Router /rs/shipmentBox/get/list/{shipmentId}/{storeId} [get]
func (*Six910Handler) GetShipmentItem ¶
func (h *Six910Handler) GetShipmentItem(w http.ResponseWriter, r *http.Request)
GetShipmentItem godoc @Summary Get details of a shipmentItem by id @Description Get details of a shipmentItem @Tags ShipmentItem @Accept json @Produce json @Param id path string true "shipmentItem id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.ShipmentItem @Router /rs/shipmentItem/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetShipmentItemList ¶
func (h *Six910Handler) GetShipmentItemList(w http.ResponseWriter, r *http.Request)
GetShipmentItemList godoc @Summary Get list of shipmentItem @Description Get list of shipmentItem for a store @Tags ShipmentItem @Accept json @Produce json @Param shipmentId path string true "shipment Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ShipmentItem @Router /rs/shipmentItem/get/list/{shipmentId}/{storeId} [get]
func (*Six910Handler) GetShipmentItemListByBox ¶
func (h *Six910Handler) GetShipmentItemListByBox(w http.ResponseWriter, r *http.Request)
GetShipmentItemListByBox godoc @Summary Get list of shipmentItem @Description Get list of shipmentItem for a store @Tags ShipmentItem @Accept json @Produce json @Param boxNumber path string true "boxNumber" @Param shipmentId path string true "shipment Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ShipmentItem @Router /rs/shipmentItem/get/list/box/{boxNumber}/{shipmentId}/{storeId} [get]
func (*Six910Handler) GetShipmentList ¶
func (h *Six910Handler) GetShipmentList(w http.ResponseWriter, r *http.Request)
GetShipmentList godoc @Summary Get list of shipment @Description Get list of shipment for a store @Tags Shipment @Accept json @Produce json @Param orderId path string true "order Id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Shipment @Router /rs/shipment/get/list/{orderId}/{storeId} [get]
func (*Six910Handler) GetShippingCarrier ¶
func (h *Six910Handler) GetShippingCarrier(w http.ResponseWriter, r *http.Request)
GetShippingCarrier godoc @Summary Get details of a Shipping Carrier by id @Description Get details of a Shipping Carrier @Tags ShippingCarrier @Accept json @Produce json @Param id path string true "shippingCarrier id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.ShippingCarrier @Router /rs/shippingCarrier/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetShippingCarrierList ¶
func (h *Six910Handler) GetShippingCarrierList(w http.ResponseWriter, r *http.Request)
GetShippingCarrierList godoc @Summary Get list of Shipping Carrier @Description Get list of Shipping Carrier for a store @Tags ShippingCarrier @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ShippingCarrier @Router /rs/shippingCarrier/get/list/{storeId} [get]
func (*Six910Handler) GetShippingMethod ¶
func (h *Six910Handler) GetShippingMethod(w http.ResponseWriter, r *http.Request)
GetShippingMethod godoc @Summary Get details of a shipping method by id @Description Get details of a shipping method @Tags ShippingMethod @Accept json @Produce json @Param id path string true "shippingMethod id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.ShippingMethod @Router /rs/shippingMethod/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetShippingMethodList ¶
func (h *Six910Handler) GetShippingMethodList(w http.ResponseWriter, r *http.Request)
GetShippingMethodList godoc @Summary Get list of shipping method @Description Get list of shipping method for a store @Tags ShippingMethod @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ShippingMethod @Router /rs/shippingMethod/get/list/{storeId} [get]
func (*Six910Handler) GetStore ¶
func (h *Six910Handler) GetStore(w http.ResponseWriter, r *http.Request)
GetStore godoc @Summary Get details of a store @Description Get details of a store @Tags Store @Accept json @Produce json @Param storeName path string true "store name" @Param localDomain path string true "store localDomain" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.Store @Router /rs/store/get/{storeName}/{localDomain} [get]
func (*Six910Handler) GetStoreOrderList ¶ added in v0.1.0
func (h *Six910Handler) GetStoreOrderList(w http.ResponseWriter, r *http.Request)
GetStoreOrderList godoc @Summary Get list of store orders @Description Get list of order for a store @Tags Order @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Order @Router /rs/order/get/store/list/{storeId} [get]
func (*Six910Handler) GetStoreOrderListByStatus ¶ added in v0.1.0
func (h *Six910Handler) GetStoreOrderListByStatus(w http.ResponseWriter, r *http.Request)
GetStoreOrderListByStatus godoc @Summary Get list of store orders by status @Description Get list of order for a store @Tags Order @Accept json @Produce json @Param status path string true "order status" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Order @Router /rs/order/get/store/list/status/{status}/{storeId} [get]
func (*Six910Handler) GetStorePlugin ¶
func (h *Six910Handler) GetStorePlugin(w http.ResponseWriter, r *http.Request)
GetStorePlugin godoc @Summary Get details of a StorePlugin by id @Description Get details of a StorePlugin @Tags StorePlugin @Accept json @Produce json @Param id path string true "storePlugin id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.StorePlugins @Router /rs/storePlugin/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetStorePluginList ¶
func (h *Six910Handler) GetStorePluginList(w http.ResponseWriter, r *http.Request)
GetStorePluginList godoc @Summary Get list of StorePlugin @Description Get list of StorePlugin for a store @Tags StorePlugin @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.StorePlugins @Router /rs/storePlugin/get/list/{storeId} [get]
func (*Six910Handler) GetSubCategoryList ¶
func (h *Six910Handler) GetSubCategoryList(w http.ResponseWriter, r *http.Request)
GetSubCategoryList godoc @Summary Get list of sub categories @Description Get list of sub categories for a store @Tags Category @Accept json @Produce json @Param catId path string true "category id" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.Category @Router /rs/category/get/sub/list/{catId} [get]
func (*Six910Handler) GetSubRegion ¶
func (h *Six910Handler) GetSubRegion(w http.ResponseWriter, r *http.Request)
GetSubRegion godoc @Summary Get details of a SubRegion by id @Description Get details of a SubRegion @Tags Sub Region (Geographic Sales Sub Regions) @Accept json @Produce json @Param id path string true "subRegion id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} six910-database-interface.SubRegion @Router /rs/subRegion/get/id/{id}/{storeId} [get]
func (*Six910Handler) GetSubRegionList ¶
func (h *Six910Handler) GetSubRegionList(w http.ResponseWriter, r *http.Request)
GetSubRegionList godoc @Summary Get list of SubRegion @Description Get list of SubRegion for a store @Tags Sub Region (Geographic Sales Sub Regions) @Accept json @Produce json @Param regionId path string true "region id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.SubRegion @Router /rs/subRegion/get/list/{regionId}/{storeId} [get]
func (*Six910Handler) GetTaxRate ¶ added in v0.1.0
func (h *Six910Handler) GetTaxRate(w http.ResponseWriter, r *http.Request)
GetTaxRate godoc @Summary Get list of TaxRates @Description Get list of TaxRate by country and state for a store @Tags TaxRate @Accept json @Produce json @Param country path string true "country" @Param state path string true "state" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.TaxRate @Router /rs/taxRate/get/country/{country}/{state}/{storeId} [get]
func (*Six910Handler) GetTaxRateList ¶ added in v0.1.0
func (h *Six910Handler) GetTaxRateList(w http.ResponseWriter, r *http.Request)
GetTaxRateList godoc @Summary Get list of TaxRates @Description Get list of TaxRate for a store @Tags TaxRate @Accept json @Produce json @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.TaxRate @Router /rs/taxRate/get/list/{storeId} [get]
func (*Six910Handler) GetUser ¶
func (h *Six910Handler) GetUser(w http.ResponseWriter, r *http.Request)
GetUser godoc @Summary Get details of a user @Description Get details of a user @Tags User @Accept json @Produce json @Param username path string true "username" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.UserResponse @Router /rs/user/{username}/{storeId} [get]
func (*Six910Handler) GetUsersByCustomer ¶ added in v0.1.0
func (h *Six910Handler) GetUsersByCustomer(w http.ResponseWriter, r *http.Request)
GetUsersByCustomer godoc @Summary Get list of a customer users @Description Get list of customer users for by customer @Tags User @Accept json @Produce json @Param cid path string true "customer id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} managers.UserResponse @Router /rs/get/customer/users/{cid}/{storeId} [get]
func (*Six910Handler) GetVisitorData ¶ added in v0.1.0
func (h *Six910Handler) GetVisitorData(w http.ResponseWriter, r *http.Request)
GetVisitorData GetVisitorData
func (*Six910Handler) GetZoneZipListByExclusion ¶
func (h *Six910Handler) GetZoneZipListByExclusion(w http.ResponseWriter, r *http.Request)
GetZoneZipListByExclusion godoc @Summary Get list of Excluded ZoneZips @Description Get list of excluded zip code zones in a sub region for a store @Tags Zip Code Zone (For Geographic Sales Region) @Accept json @Produce json @Param exId path string true "excluded zip code zone id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ZoneZip @Router /rs/zoneZip/exc/get/list/{exId}/{storeId} [get]
func (*Six910Handler) GetZoneZipListByInclusion ¶
func (h *Six910Handler) GetZoneZipListByInclusion(w http.ResponseWriter, r *http.Request)
GetZoneZipListByInclusion godoc @Summary Get list of Included ZoneZips @Description Get list of included zip code zones in a sub region for a store @Tags Zip Code Zone (For Geographic Sales Region) @Accept json @Produce json @Param incId path string true "included zip code zone id" @Param storeId path string true "store storeId" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {array} six910-database-interface.ZoneZip @Router /rs/zoneZip/inc/get/list/{incId}/{storeId} [get]
func (*Six910Handler) ProcessBody ¶
func (h *Six910Handler) ProcessBody(r *http.Request, obj interface{}) (bool, error)
ProcessBody ProcessBody
func (*Six910Handler) ProductSearch ¶ added in v1.2.0
func (h *Six910Handler) ProductSearch(w http.ResponseWriter, r *http.Request)
ProductSearch godoc @Summary Get Product List @Description Get Product List for a store by attributes @Tags Product @Accept json @Produce json @Param product body six910-database-interface.Product true "ProductSearch" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.ResponseID @Router /rs/product/search [post]
func (*Six910Handler) ResetCustomerUserPassword ¶ added in v0.1.0
func (h *Six910Handler) ResetCustomerUserPassword(w http.ResponseWriter, r *http.Request)
ResetCustomerUserPassword ResetCustomerUserPassword
func (*Six910Handler) SetContentType ¶
func (h *Six910Handler) SetContentType(w http.ResponseWriter)
SetContentType SetContentType
func (*Six910Handler) SetLogLevel ¶ added in v0.1.1
func (h *Six910Handler) SetLogLevel(w http.ResponseWriter, r *http.Request)
SetLogLevel SetLogLevel
func (*Six910Handler) UpdateAddress ¶
func (h *Six910Handler) UpdateAddress(w http.ResponseWriter, r *http.Request)
UpdateAddress godoc @Summary Update a address @Description Update address data @Tags Address @Accept json @Produce json @Param address body AddressReq true "address" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/address/update [put]
func (*Six910Handler) UpdateCart ¶
func (h *Six910Handler) UpdateCart(w http.ResponseWriter, r *http.Request)
UpdateCart godoc @Summary Update a cart @Description Update cart data @Tags Cart @Accept json @Produce json @Param cart body six910-database-interface.Cart true "cart" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/cart/update [put]
func (*Six910Handler) UpdateCartItem ¶
func (h *Six910Handler) UpdateCartItem(w http.ResponseWriter, r *http.Request)
UpdateCartItem godoc @Summary Update a Cart Item @Description Update Cart Item data @Tags CartItem @Accept json @Produce json @Param cartItem body CartItemReq true "cartItem" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/cartItem/update [put]
func (*Six910Handler) UpdateCategory ¶
func (h *Six910Handler) UpdateCategory(w http.ResponseWriter, r *http.Request)
UpdateCategory godoc @Summary Update a category @Description Update category data @Tags Category @Accept json @Produce json @Param category body six910-database-interface.Category true "category" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/category/update [put]
func (*Six910Handler) UpdateCustomer ¶
func (h *Six910Handler) UpdateCustomer(w http.ResponseWriter, r *http.Request)
UpdateCustomer godoc @Summary Update a customer @Description Update customer data @Tags Customer @Accept json @Produce json @Param customer body six910-database-interface.Customer true "customer" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/customer/update [put]
func (*Six910Handler) UpdateDataStoreWriteLock ¶
func (h *Six910Handler) UpdateDataStoreWriteLock(w http.ResponseWriter, r *http.Request)
UpdateDataStoreWriteLock godoc @Summary Update a dataStoreWriteLock @Description Update dataStoreWriteLock data @Tags DataStoreWriteLock (indicates when a node in the cluster in editing a datastore) @Accept json @Produce json @Param dataStoreWriteLock body six910-database-interface.DataStoreWriteLock true "dataStoreWriteLock" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/dataStoreWriteLock/update [put]
func (*Six910Handler) UpdateDistributor ¶
func (h *Six910Handler) UpdateDistributor(w http.ResponseWriter, r *http.Request)
UpdateDistributor godoc @Summary Update a distributor @Description Update distributor data @Tags Distributor @Accept json @Produce json @Param distributor body six910-database-interface.Distributor true "distributor" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/distributor/update [put]
func (*Six910Handler) UpdateExcludedSubRegion ¶
func (h *Six910Handler) UpdateExcludedSubRegion(w http.ResponseWriter, r *http.Request)
UpdateExcludedSubRegion UpdateExcludedSubRegion
func (*Six910Handler) UpdateIncludedSubRegion ¶
func (h *Six910Handler) UpdateIncludedSubRegion(w http.ResponseWriter, r *http.Request)
UpdateIncludedSubRegion UpdateIncludedSubRegion
func (*Six910Handler) UpdateInstance ¶
func (h *Six910Handler) UpdateInstance(w http.ResponseWriter, r *http.Request)
UpdateInstance godoc @Summary Update a datastore UI instance in a cluster @Description Update datastore UI instance in a cluster @Tags Instance (datastore UI instance in a cluster) @Accept json @Produce json @Param instance body six910-database-interface.Instances true "instance" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/instance/update [put]
func (*Six910Handler) UpdateInsurance ¶
func (h *Six910Handler) UpdateInsurance(w http.ResponseWriter, r *http.Request)
UpdateInsurance godoc @Summary Update shipping insurance provider @Description Update shipping insurance provider data @Tags Insurance (Shipping Insurance) @Accept json @Produce json @Param insurance body six910-database-interface.Insurance true "insurance" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/insurance/update [put]
func (*Six910Handler) UpdateLocalDatastore ¶
func (h *Six910Handler) UpdateLocalDatastore(w http.ResponseWriter, r *http.Request)
UpdateLocalDatastore godoc @Summary Update a JSON datastore @Description Update a JSON datastore for store content, css and others used to sync UI @Tags Datastore (JSON Datastore used to sync UI when clustered: content or css or others) @Accept json @Produce json @Param datastore body six910-database-interface.LocalDataStore true "datastore" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/datastore/update [put]
func (*Six910Handler) UpdateOrder ¶
func (h *Six910Handler) UpdateOrder(w http.ResponseWriter, r *http.Request)
UpdateOrder godoc @Summary Update a order @Description Update order data @Tags Order @Accept json @Produce json @Param order body six910-database-interface.Order true "order" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/order/update [put]
func (*Six910Handler) UpdateOrderItem ¶
func (h *Six910Handler) UpdateOrderItem(w http.ResponseWriter, r *http.Request)
UpdateOrderItem godoc @Summary Update a orderItem @Description Update orderItem data @Tags OrderItem @Accept json @Produce json @Param orderItem body OrderItemReq true "orderItem" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/orderItem/update [put]
func (*Six910Handler) UpdatePaymentGateway ¶
func (h *Six910Handler) UpdatePaymentGateway(w http.ResponseWriter, r *http.Request)
UpdatePaymentGateway godoc @Summary Update a PaymentGateway @Description Update PaymentGateway data @Tags PaymentGateway @Accept json @Produce json @Param paymentGateway body PaymentGatewayReq true "paymentGateway" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/paymentGateway/update [put]
func (*Six910Handler) UpdatePlugin ¶
func (h *Six910Handler) UpdatePlugin(w http.ResponseWriter, r *http.Request)
UpdatePlugin godoc @Summary Update a plugin @Description Update plugin data @Tags Plugins (Global all stores) @Accept json @Produce json @Param plugin body six910-database-interface.Plugins true "plugin" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/plugin/update [put]
func (*Six910Handler) UpdateProduct ¶
func (h *Six910Handler) UpdateProduct(w http.ResponseWriter, r *http.Request)
UpdateProduct godoc @Summary Update a product @Description Update product data @Tags Product @Accept json @Produce json @Param product body six910-database-interface.Product true "product" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/product/update [put]
func (*Six910Handler) UpdateProductQuantity ¶ added in v0.1.0
func (h *Six910Handler) UpdateProductQuantity(w http.ResponseWriter, r *http.Request)
UpdateProductQuantity godoc @Summary Update a product Quantity @Description Update product data @Tags Product @Accept json @Produce json @Param product body six910-database-interface.Product true "product" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/product/update/quantity [put]
func (*Six910Handler) UpdateRegion ¶
func (h *Six910Handler) UpdateRegion(w http.ResponseWriter, r *http.Request)
UpdateRegion godoc @Summary Update a region @Description Update region data @Tags Region (Geographic Sales Region) @Accept json @Produce json @Param region body six910-database-interface.Region true "region" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/region/update [put]
func (*Six910Handler) UpdateShipment ¶
func (h *Six910Handler) UpdateShipment(w http.ResponseWriter, r *http.Request)
UpdateShipment godoc @Summary Update a shipment @Description Update shipment data @Tags Shipment @Accept json @Produce json @Param shipment body ShipmentReq true "shipment" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shipment/update [put]
func (*Six910Handler) UpdateShipmentBox ¶
func (h *Six910Handler) UpdateShipmentBox(w http.ResponseWriter, r *http.Request)
UpdateShipmentBox godoc @Summary Update a shipmentBox @Description Update shipmentBox data @Tags ShipmentBox @Accept json @Produce json @Param shipmentBox body ShipmentBoxReq true "shipmentBox" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shipmentBox/update [put]
func (*Six910Handler) UpdateShipmentItem ¶
func (h *Six910Handler) UpdateShipmentItem(w http.ResponseWriter, r *http.Request)
UpdateShipmentItem godoc @Summary Update a shipmentItem @Description Update shipmentItem data @Tags ShipmentItem @Accept json @Produce json @Param shipmentItem body ShipmentItemReq true "shipmentItem" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shipmentItem/update [put]
func (*Six910Handler) UpdateShippingCarrier ¶
func (h *Six910Handler) UpdateShippingCarrier(w http.ResponseWriter, r *http.Request)
UpdateShippingCarrier godoc @Summary Update a Shipping Carrier @Description Update Shipping Carrier data @Tags ShippingCarrier @Accept json @Produce json @Param shippingCarrier body six910-database-interface.ShippingCarrier true "shippingCarrier" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shippingCarrier/update [put]
func (*Six910Handler) UpdateShippingMethod ¶
func (h *Six910Handler) UpdateShippingMethod(w http.ResponseWriter, r *http.Request)
UpdateShippingMethod godoc @Summary Update a shipping method @Description Update shipping method data @Tags ShippingMethod @Accept json @Produce json @Param shippingMethod body six910-database-interface.ShippingMethod true "shippingMethod" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/shippingMethod/update [put]
func (*Six910Handler) UpdateStore ¶
func (h *Six910Handler) UpdateStore(w http.ResponseWriter, r *http.Request)
UpdateStore godoc @Summary Update a store @Description Update store data @Tags Store @Accept json @Produce json @Param store body six910-database-interface.Store true "store" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/store/update [put]
func (*Six910Handler) UpdateStorePlugin ¶
func (h *Six910Handler) UpdateStorePlugin(w http.ResponseWriter, r *http.Request)
UpdateStorePlugin godoc @Summary Update a StorePlugin @Description Update StorePlugin data @Tags StorePlugin @Accept json @Produce json @Param storePlugin body six910-database-interface.StorePlugins true "storePlugin" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/storePlugin/update [put]
func (*Six910Handler) UpdateSubRegion ¶
func (h *Six910Handler) UpdateSubRegion(w http.ResponseWriter, r *http.Request)
UpdateSubRegion godoc @Summary Update a SubRegion @Description Update SubRegion data @Tags Sub Region (Geographic Sales Sub Regions) @Accept json @Produce json @Param subRegion body SubRegionReq true "subRegion" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/subRegion/update [put]
func (*Six910Handler) UpdateTaxRate ¶ added in v0.1.0
func (h *Six910Handler) UpdateTaxRate(w http.ResponseWriter, r *http.Request)
UpdateTaxRate godoc @Summary Update TaxRate @Description Update TaxRate data @Tags TaxRate @Accept json @Produce json @Param TaxRate body six910-database-interface.TaxRate true "tax rate" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/taxRate/update [put]
func (*Six910Handler) UpdateUser ¶
func (h *Six910Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
UpdateUser godoc @Summary Update a user @Description Update user data @Tags User @Accept json @Produce json @Param user body managers.User true "user" @Param apiKey header string false "apiKey required for non OAuth2 stores only" @Param storeName header string true "store name" @Param localDomain header string true "store localDomain" @Param Authorization header string true "token" @Param clientId header string false "OAuth2 client ID only for OAuth2 stores" @Param userId header string false "User ID only for OAuth2 stores" @Success 200 {object} managers.Response @Router /rs/user/update [put]
type SubRegionReq ¶
type SubRegionReq struct { StoreID int64 `json:"storeId"` SubRegion sdbi.SubRegion `json:"subRegion"` }
SubRegionReq SubRegionReq
type ZoneZipReq ¶
ZoneZipReq ZoneZipReq
Source Files ¶
- addressHandler.go
- cartHandler.go
- cartItemHandler.go
- categoryHandler.go
- customerHandler.go
- datastoreHandler.go
- distributorHandler.go
- excludedSubRegionHandler.go
- handler.go
- includedSubRegionHandler.go
- instanceHandler.go
- insuranceHandler.go
- loggingHandler.go
- orderCommentHandler.go
- orderHandler.go
- orderItemHandler.go
- orderTransactionHandler.go
- paymentGatewayHandler.go
- pluginHandler.go
- productCategoryHandler.go
- productHandler.go
- productSearchHandler.go
- regionHandler.go
- securityProcessor.go
- shipmentBoxHandler.go
- shipmentHandler.go
- shipmentItemHandler.go
- shippingCarrierHandler.go
- shippingMethodHandler.go
- six910Handler.go
- storeHandler.go
- storePluginHandler.go
- subRegionHandlers.go
- taxRateHandler.go
- userHandler.go
- visitorHandler.go
- writeLockHandler.go
- zoneZipHandler.go