Documentation
¶
Index ¶
- type API
- func (api API) CreateCart(storeId string, car *cart.Cart) *Error
- func (api API) CreateCustomer(storeId string, usr *user.User) *Error
- func (api API) CreateOrder(storeId string, ord *order.Order) *Error
- func (api API) CreateProduct(storeId string, prod *product.Product) *Error
- func (api API) CreateStore(stor *store.Store) *Error
- func (api API) CreateVariant(storeId, productId string, vari *variant.Variant) *Error
- func (api API) DeleteCart(storeId string, car *cart.Cart) *Error
- func (api API) DeleteCustomer(storeId string, usr *user.User) *Error
- func (api API) DeleteOrder(storeId string, ord *order.Order) *Error
- func (api API) DeleteProduct(storeId string, prod *product.Product) *Error
- func (api API) DeleteStore(stor *store.Store) *Error
- func (api API) DeleteVariant(storeId, productId string, vari *variant.Variant) *Error
- func (api API) StoreExists(id string) *Error
- func (api API) Subscribe(list *email.List, sub *email.Subscriber) error
- func (api API) SubscribeCustomer(listId string, buy Buyer, referralUrl string) *Error
- func (api API) SubscribeForm(listId, emailStr, firstName, lastName string) *Error
- func (api API) Unsubscribe(list *email.List, sub *email.Subscriber) error
- func (api API) UnsubscribeCustomer(listId string, buy Buyer) *Error
- func (api API) UpdateCart(storeId string, car *cart.Cart) *Error
- func (api API) UpdateCustomer(storeId string, usr *user.User) *Error
- func (api API) UpdateOrCreateCart(storeId string, car *cart.Cart) *Error
- func (api API) UpdateOrder(storeId string, ord *order.Order) *Error
- func (api API) UpdateProduct(storeId string, prod *product.Product) *Error
- func (api API) UpdateStore(stor *store.Store) *Error
- func (api API) UpdateVariant(storeId, productId string, vari *variant.Variant) *Error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (API) CreateProduct ¶
func (API) CreateVariant ¶
func (API) DeleteProduct ¶
func (API) DeleteVariant ¶
func (API) StoreExists ¶
func (API) SubscribeCustomer ¶
func (API) SubscribeForm ¶
func (API) Unsubscribe ¶
func (API) UnsubscribeCustomer ¶
func (API) UpdateOrCreateCart ¶
func (API) UpdateProduct ¶
Click to show internal directories.
Click to hide internal directories.