Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetInventorySummariesRequest ¶
type GetInventorySummariesRequest struct {
GranularityType string `json:"granularityType"`
GranularityId string `json:"granularityId"`
MarketplaceIds []string `json:"marketplaceIds"`
SellerId string `json:"sellerId,omitempty"`
Details bool `json:"details,omitempty"`
StartDateTime string `json:"startDateTime,omitempty"`
SellerSkus []string `json:"sellerSkus,omitempty"`
SellerSku string `json:"sellerSku,omitempty"`
NextToken string `json:"nextToken,omitempty"`
}
GetInventorySummariesRequest represents the request for getting inventory summaries
type GetInventorySummariesResponse ¶
type GetInventorySummariesResponse struct {
InventorySummaries []InventorySummary `json:"inventorySummaries"`
NextToken string `json:"nextToken,omitempty"`
}
GetInventorySummariesResponse represents the response from getting inventory summaries
type InventoryAPI ¶
type InventoryAPI struct {
// contains filtered or unexported fields
}
InventoryAPI represents the Inventory API client
func NewInventoryAPI ¶
func NewInventoryAPI(config *client.Configuration) *InventoryAPI
NewInventoryAPI creates a new Inventory API client
func (*InventoryAPI) GetInventorySummaries ¶
func (i *InventoryAPI) GetInventorySummaries(ctx context.Context, request *GetInventorySummariesRequest) (*GetInventorySummariesResponse, error)
GetInventorySummaries retrieves inventory summaries
func (*InventoryAPI) GetInventorySummariesSimple ¶
func (i *InventoryAPI) GetInventorySummariesSimple(ctx context.Context, sellerId string, marketplaceIds []string) (*GetInventorySummariesResponse, error)
GetInventorySummariesSimple is a simplified version for common use cases
type InventoryDetails ¶
type InventoryDetails struct {
FulfillableQuantity int `json:"fulfillableQuantity"`
InboundWorkingQuantity int `json:"inboundWorkingQuantity"`
InboundShippedQuantity int `json:"inboundShippedQuantity"`
InboundReceivingQuantity int `json:"inboundReceivingQuantity"`
ReservedQuantity InventoryReservedQuantity `json:"reservedQuantity"`
ResearchingQuantity InventoryResearchingQuantity `json:"researchingQuantity"`
UnfulfillableQuantity InventoryUnfulfillableQuantity `json:"unfulfillableQuantity"`
}
InventoryDetails represents inventory details
type InventoryResearchingQuantity ¶
type InventoryResearchingQuantity struct {
TotalResearchingQuantity int `json:"totalResearchingQuantity"`
ResearchingQuantityBreakdown []InventoryResearchingQuantityBreakdown `json:"researchingQuantityBreakdown"`
}
InventoryResearchingQuantity represents researching quantity
type InventoryResearchingQuantityBreakdown ¶
type InventoryResearchingQuantityBreakdown struct {
Name string `json:"name"`
Quantity int `json:"quantity"`
}
InventoryResearchingQuantityBreakdown represents researching quantity breakdown
type InventoryReservedQuantity ¶
type InventoryReservedQuantity struct {
TotalReservedQuantity int `json:"totalReservedQuantity"`
PendingCustomerOrderQuantity int `json:"pendingCustomerOrderQuantity"`
PendingTransshipmentQuantity int `json:"pendingTransshipmentQuantity"`
FcProcessingQuantity int `json:"fcProcessingQuantity"`
}
InventoryReservedQuantity represents reserved quantity
type InventorySummary ¶
type InventorySummary struct {
Asin string `json:"asin"`
FnSku string `json:"fnSku,omitempty"`
SellerSku string `json:"sellerSku,omitempty"`
Condition string `json:"condition"`
InventoryDetails InventoryDetails `json:"inventoryDetails"`
LastUpdatedTime time.Time `json:"lastUpdatedTime"`
ProductName string `json:"productName,omitempty"`
TotalQuantity int `json:"totalQuantity"`
}
InventorySummary represents an inventory summary
type InventoryUnfulfillableQuantity ¶
type InventoryUnfulfillableQuantity struct {
TotalUnfulfillableQuantity int `json:"totalUnfulfillableQuantity"`
CustomerDamagedQuantity int `json:"customerDamagedQuantity"`
WarehouseDamagedQuantity int `json:"warehouseDamagedQuantity"`
DistributorDamagedQuantity int `json:"distributorDamagedQuantity"`
CarrierDamagedQuantity int `json:"carrierDamagedQuantity"`
DefectiveQuantity int `json:"defectiveQuantity"`
ExpiredQuantity int `json:"expiredQuantity"`
}
InventoryUnfulfillableQuantity represents unfulfillable quantity