api

package
v0.0.0-...-6ed6772 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(apiKey string) *Client

func (Client) GetGroupList

func (c Client) GetGroupList(limit int, lastId int) (groups []models.Group, err error)

GetGroupList gets groups with limit and last ID

func (Client) GetProductList

func (c Client) GetProductList(limit int, lastId int, groupId int) (products []models.Product, err error)

GetProductList gets products with limit, last ID and group ID

func (Client) UpdateProduct

func (c Client) UpdateProduct(products []models.ProductUpdate) (*models.ProductUpdateResponse, error)

UpdateProduct updates products

Jump to

Keyboard shortcuts

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