inventoryep

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type InventorySvc

type InventorySvc interface {
	ListInventories(ctx context.Context, req *ListInventoriesRequest) (*apiresource.List[apiresource.InventoryItem], *apierror.APIError)
}

func NewInventorySvc

func NewInventorySvc(config *InventorySvcConfig) InventorySvc

type InventorySvcConfig

type InventorySvcConfig struct {
	// CoreClient (required) is the core-service gRPC client.
	CoreClient pb.CoreServiceClient
}

type ListInventoriesEndpoint

type ListInventoriesEndpoint struct{}

Returns a paginated list of items with on-hand inventory quantities for the account.

Items are listed whether or not they have ever held stock; an item with no recorded inventory reports a zero quantity. Items backed by a non-sale product — the service, shipping, tax, credit, and return products that carry charges on orders — are left out. The `q` search term matches on item SKU and description.

type ListInventoriesRequest

type ListInventoriesRequest struct {
	apiresource.PaginationRequest
}

Request to list inventories.

Jump to

Keyboard shortcuts

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