Documentation
¶
Overview ¶
Package fbaInventory provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- func NewAddInventoryRequest(server string, params *AddInventoryParams, body AddInventoryJSONRequestBody) (*http.Request, error)
- func NewAddInventoryRequestWithBody(server string, params *AddInventoryParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInventoryItemRequest(server string, body CreateInventoryItemJSONRequestBody) (*http.Request, error)
- func NewCreateInventoryItemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteInventoryItemRequest(server string, sellerSku string, params *DeleteInventoryItemParams) (*http.Request, error)
- func NewGetInventorySummariesRequest(server string, params *GetInventorySummariesParams) (*http.Request, error)
- type AddInventoryJSONRequestBody
- type AddInventoryParams
- type AddInventoryRequest
- type AddInventoryResp
- type AddInventoryResponse
- type Client
- func (c *Client) AddInventory(ctx context.Context, params *AddInventoryParams, ...) (*http.Response, error)
- func (c *Client) AddInventoryWithBody(ctx context.Context, params *AddInventoryParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateInventoryItem(ctx context.Context, body CreateInventoryItemJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateInventoryItemWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) DeleteInventoryItem(ctx context.Context, sellerSku string, params *DeleteInventoryItemParams) (*http.Response, error)
- func (c *Client) GetInventorySummaries(ctx context.Context, params *GetInventorySummariesParams) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddInventoryWithBodyWithResponse(ctx context.Context, params *AddInventoryParams, contentType string, ...) (*AddInventoryResp, error)
- func (c *ClientWithResponses) AddInventoryWithResponse(ctx context.Context, params *AddInventoryParams, ...) (*AddInventoryResp, error)
- func (c *ClientWithResponses) CreateInventoryItemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInventoryItemResp, error)
- func (c *ClientWithResponses) CreateInventoryItemWithResponse(ctx context.Context, body CreateInventoryItemJSONRequestBody) (*CreateInventoryItemResp, error)
- func (c *ClientWithResponses) DeleteInventoryItemWithResponse(ctx context.Context, sellerSku string, params *DeleteInventoryItemParams) (*DeleteInventoryItemResp, error)
- func (c *ClientWithResponses) GetInventorySummariesWithResponse(ctx context.Context, params *GetInventorySummariesParams) (*GetInventorySummariesResp, error)
- type ClientWithResponsesInterface
- type CreateInventoryItemJSONRequestBody
- type CreateInventoryItemRequest
- type CreateInventoryItemResp
- type CreateInventoryItemResponse
- type DeleteInventoryItemParams
- type DeleteInventoryItemResp
- type DeleteInventoryItemResponse
- type Error
- type ErrorList
- type GetInventorySummariesParams
- type GetInventorySummariesParamsGranularityType
- type GetInventorySummariesResp
- type GetInventorySummariesResponse
- type GetInventorySummariesResult
- type Granularity
- type HttpRequestDoer
- type InventoryDetails
- type InventoryItem
- type InventoryItems
- type InventorySummaries
- type InventorySummary
- type Pagination
- type RequestEditorFn
- type ResearchingQuantity
- type ResearchingQuantityEntry
- type ResearchingQuantityEntryName
- type ReservedQuantity
- type ResponseEditorFn
- type UnfulfillableQuantity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddInventoryRequest ¶
func NewAddInventoryRequest(server string, params *AddInventoryParams, body AddInventoryJSONRequestBody) (*http.Request, error)
NewAddInventoryRequest calls the generic AddInventory builder with application/json body
func NewAddInventoryRequestWithBody ¶
func NewAddInventoryRequestWithBody(server string, params *AddInventoryParams, contentType string, body io.Reader) (*http.Request, error)
NewAddInventoryRequestWithBody generates requests for AddInventory with any type of body
func NewCreateInventoryItemRequest ¶
func NewCreateInventoryItemRequest(server string, body CreateInventoryItemJSONRequestBody) (*http.Request, error)
NewCreateInventoryItemRequest calls the generic CreateInventoryItem builder with application/json body
func NewCreateInventoryItemRequestWithBody ¶
func NewCreateInventoryItemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInventoryItemRequestWithBody generates requests for CreateInventoryItem with any type of body
func NewDeleteInventoryItemRequest ¶
func NewDeleteInventoryItemRequest(server string, sellerSku string, params *DeleteInventoryItemParams) (*http.Request, error)
NewDeleteInventoryItemRequest generates requests for DeleteInventoryItem
func NewGetInventorySummariesRequest ¶
func NewGetInventorySummariesRequest(server string, params *GetInventorySummariesParams) (*http.Request, error)
NewGetInventorySummariesRequest generates requests for GetInventorySummaries
Types ¶
type AddInventoryJSONRequestBody ¶
type AddInventoryJSONRequestBody = AddInventoryRequest
AddInventoryJSONRequestBody defines body for AddInventory for application/json ContentType.
type AddInventoryParams ¶
type AddInventoryParams struct {
// XAmznIdempotencyToken A unique token/requestId provided with each call to ensure idempotency.
XAmznIdempotencyToken string `json:"x-amzn-idempotency-token"`
}
AddInventoryParams defines parameters for AddInventory.
type AddInventoryRequest ¶
type AddInventoryRequest struct {
// InventoryItems List of Inventory to be added
InventoryItems *InventoryItems `json:"inventoryItems,omitempty"`
}
AddInventoryRequest The object with the list of Inventory to be added
type AddInventoryResp ¶
type AddInventoryResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AddInventoryResponse
JSON400 *AddInventoryResponse
JSON403 *AddInventoryResponse
JSON404 *AddInventoryResponse
JSON429 *AddInventoryResponse
JSON500 *AddInventoryResponse
JSON503 *AddInventoryResponse
}
func ParseAddInventoryResp ¶
func ParseAddInventoryResp(rsp *http.Response) (*AddInventoryResp, error)
ParseAddInventoryResp parses an HTTP response from a AddInventoryWithResponse call
func (AddInventoryResp) Status ¶
func (r AddInventoryResp) Status() string
Status returns HTTPResponse.Status
func (AddInventoryResp) StatusCode ¶
func (r AddInventoryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddInventoryResponse ¶
type AddInventoryResponse struct {
// Errors A list of error responses returned when a request is unsuccessful.
Errors *ErrorList `json:"errors,omitempty"`
}
AddInventoryResponse The response schema for the AddInventory operation.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
// A callback for modifying response which are generated after receive from the network.
ResponseEditors []ResponseEditorFn
// The user agent header identifies your application, its version number, and the platform and programming language you are using.
// You must include a user agent header in each request submitted to the sales partner API.
UserAgent string
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddInventory ¶
func (c *Client) AddInventory(ctx context.Context, params *AddInventoryParams, body AddInventoryJSONRequestBody) (*http.Response, error)
func (*Client) AddInventoryWithBody ¶
func (*Client) CreateInventoryItem ¶
func (*Client) CreateInventoryItemWithBody ¶
func (*Client) DeleteInventoryItem ¶
func (*Client) GetInventorySummaries ¶
type ClientInterface ¶
type ClientInterface interface {
// CreateInventoryItemWithBody request with any body
CreateInventoryItemWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
CreateInventoryItem(ctx context.Context, body CreateInventoryItemJSONRequestBody) (*http.Response, error)
// AddInventoryWithBody request with any body
AddInventoryWithBody(ctx context.Context, params *AddInventoryParams, contentType string, body io.Reader) (*http.Response, error)
AddInventory(ctx context.Context, params *AddInventoryParams, body AddInventoryJSONRequestBody) (*http.Response, error)
// DeleteInventoryItem request
DeleteInventoryItem(ctx context.Context, sellerSku string, params *DeleteInventoryItemParams) (*http.Response, error)
// GetInventorySummaries request
GetInventorySummaries(ctx context.Context, params *GetInventorySummariesParams) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
func WithResponseEditorFn ¶
func WithResponseEditorFn(fn ResponseEditorFn) ClientOption
WithResponseEditorFn allows setting up a callback function, which will be called right after receive the response.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddInventoryWithBodyWithResponse ¶
func (c *ClientWithResponses) AddInventoryWithBodyWithResponse(ctx context.Context, params *AddInventoryParams, contentType string, body io.Reader) (*AddInventoryResp, error)
AddInventoryWithBodyWithResponse request with arbitrary body returning *AddInventoryResp
func (*ClientWithResponses) AddInventoryWithResponse ¶
func (c *ClientWithResponses) AddInventoryWithResponse(ctx context.Context, params *AddInventoryParams, body AddInventoryJSONRequestBody) (*AddInventoryResp, error)
func (*ClientWithResponses) CreateInventoryItemWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInventoryItemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInventoryItemResp, error)
CreateInventoryItemWithBodyWithResponse request with arbitrary body returning *CreateInventoryItemResp
func (*ClientWithResponses) CreateInventoryItemWithResponse ¶
func (c *ClientWithResponses) CreateInventoryItemWithResponse(ctx context.Context, body CreateInventoryItemJSONRequestBody) (*CreateInventoryItemResp, error)
func (*ClientWithResponses) DeleteInventoryItemWithResponse ¶
func (c *ClientWithResponses) DeleteInventoryItemWithResponse(ctx context.Context, sellerSku string, params *DeleteInventoryItemParams) (*DeleteInventoryItemResp, error)
DeleteInventoryItemWithResponse request returning *DeleteInventoryItemResp
func (*ClientWithResponses) GetInventorySummariesWithResponse ¶
func (c *ClientWithResponses) GetInventorySummariesWithResponse(ctx context.Context, params *GetInventorySummariesParams) (*GetInventorySummariesResp, error)
GetInventorySummariesWithResponse request returning *GetInventorySummariesResp
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// CreateInventoryItemWithBodyWithResponse request with any body
CreateInventoryItemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInventoryItemResp, error)
CreateInventoryItemWithResponse(ctx context.Context, body CreateInventoryItemJSONRequestBody) (*CreateInventoryItemResp, error)
// AddInventoryWithBodyWithResponse request with any body
AddInventoryWithBodyWithResponse(ctx context.Context, params *AddInventoryParams, contentType string, body io.Reader) (*AddInventoryResp, error)
AddInventoryWithResponse(ctx context.Context, params *AddInventoryParams, body AddInventoryJSONRequestBody) (*AddInventoryResp, error)
// DeleteInventoryItemWithResponse request
DeleteInventoryItemWithResponse(ctx context.Context, sellerSku string, params *DeleteInventoryItemParams) (*DeleteInventoryItemResp, error)
// GetInventorySummariesWithResponse request
GetInventorySummariesWithResponse(ctx context.Context, params *GetInventorySummariesParams) (*GetInventorySummariesResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateInventoryItemJSONRequestBody ¶
type CreateInventoryItemJSONRequestBody = CreateInventoryItemRequest
CreateInventoryItemJSONRequestBody defines body for CreateInventoryItem for application/json ContentType.
type CreateInventoryItemRequest ¶
type CreateInventoryItemRequest struct {
// MarketplaceId The marketplaceId.
MarketplaceId string `json:"marketplaceId"`
// ProductName The name of the item.
ProductName string `json:"productName"`
// SellerSku The seller SKU of the item.
SellerSku string `json:"sellerSku"`
}
CreateInventoryItemRequest An item to be created in the inventory.
type CreateInventoryItemResp ¶
type CreateInventoryItemResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CreateInventoryItemResponse
JSON400 *CreateInventoryItemResponse
JSON403 *CreateInventoryItemResponse
JSON404 *CreateInventoryItemResponse
JSON429 *CreateInventoryItemResponse
JSON500 *CreateInventoryItemResponse
JSON503 *CreateInventoryItemResponse
}
func ParseCreateInventoryItemResp ¶
func ParseCreateInventoryItemResp(rsp *http.Response) (*CreateInventoryItemResp, error)
ParseCreateInventoryItemResp parses an HTTP response from a CreateInventoryItemWithResponse call
func (CreateInventoryItemResp) Status ¶
func (r CreateInventoryItemResp) Status() string
Status returns HTTPResponse.Status
func (CreateInventoryItemResp) StatusCode ¶
func (r CreateInventoryItemResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInventoryItemResponse ¶
type CreateInventoryItemResponse struct {
// Errors A list of error responses returned when a request is unsuccessful.
Errors *ErrorList `json:"errors,omitempty"`
}
CreateInventoryItemResponse The response schema for the CreateInventoryItem operation.
type DeleteInventoryItemParams ¶
type DeleteInventoryItemParams struct {
// MarketplaceId The marketplace ID for the marketplace for which the sellerSku is to be deleted.
MarketplaceId string `form:"marketplaceId" json:"marketplaceId"`
}
DeleteInventoryItemParams defines parameters for DeleteInventoryItem.
type DeleteInventoryItemResp ¶
type DeleteInventoryItemResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DeleteInventoryItemResponse
JSON400 *DeleteInventoryItemResponse
JSON403 *DeleteInventoryItemResponse
JSON404 *DeleteInventoryItemResponse
JSON429 *DeleteInventoryItemResponse
JSON500 *DeleteInventoryItemResponse
JSON503 *DeleteInventoryItemResponse
}
func ParseDeleteInventoryItemResp ¶
func ParseDeleteInventoryItemResp(rsp *http.Response) (*DeleteInventoryItemResp, error)
ParseDeleteInventoryItemResp parses an HTTP response from a DeleteInventoryItemWithResponse call
func (DeleteInventoryItemResp) Status ¶
func (r DeleteInventoryItemResp) Status() string
Status returns HTTPResponse.Status
func (DeleteInventoryItemResp) StatusCode ¶
func (r DeleteInventoryItemResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInventoryItemResponse ¶
type DeleteInventoryItemResponse struct {
// Errors A list of error responses returned when a request is unsuccessful.
Errors *ErrorList `json:"errors,omitempty"`
}
DeleteInventoryItemResponse The response schema for the DeleteInventoryItem operation.
type Error ¶
type Error struct {
// Code An error code that identifies the type of error that occurred.
Code string `json:"code"`
// Details Additional information that can help the caller understand or fix the issue.
Details *string `json:"details,omitempty"`
// Message A message that describes the error condition in a human-readable form.
Message *string `json:"message,omitempty"`
}
Error An error response returned when the request is unsuccessful.
type ErrorList ¶
type ErrorList = []Error
ErrorList A list of error responses returned when a request is unsuccessful.
type GetInventorySummariesParams ¶
type GetInventorySummariesParams struct {
// Details true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value).
Details *bool `form:"details,omitempty" json:"details,omitempty"`
// GranularityType The granularity type for the inventory aggregation level.
GranularityType GetInventorySummariesParamsGranularityType `form:"granularityType" json:"granularityType"`
// GranularityId The granularity ID for the inventory aggregation level.
GranularityId string `form:"granularityId" json:"granularityId"`
// StartDateTime A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the date and time when you call the API. Note: Changes in inboundWorkingQuantity, inboundShippedQuantity and inboundReceivingQuantity are not detected.
StartDateTime *time.Time `form:"startDateTime,omitempty" json:"startDateTime,omitempty"`
// SellerSkus A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs.
SellerSkus *[]string `form:"sellerSkus,omitempty" json:"sellerSkus,omitempty"`
// SellerSku A single seller SKU used for querying the specified seller SKU inventory summaries.
SellerSku *string `form:"sellerSku,omitempty" json:"sellerSku,omitempty"`
// NextToken String token returned in the response of your previous request. The string token will expire 30 seconds after being created.
NextToken *string `form:"nextToken,omitempty" json:"nextToken,omitempty"`
// MarketplaceIds The marketplace ID for the marketplace for which to return inventory summaries.
MarketplaceIds []string `form:"marketplaceIds" json:"marketplaceIds"`
}
GetInventorySummariesParams defines parameters for GetInventorySummaries.
type GetInventorySummariesParamsGranularityType ¶
type GetInventorySummariesParamsGranularityType string
GetInventorySummariesParamsGranularityType defines parameters for GetInventorySummaries.
const (
Marketplace GetInventorySummariesParamsGranularityType = "Marketplace"
)
Defines values for GetInventorySummariesParamsGranularityType.
type GetInventorySummariesResp ¶
type GetInventorySummariesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetInventorySummariesResponse
JSON400 *GetInventorySummariesResponse
JSON403 *GetInventorySummariesResponse
JSON404 *GetInventorySummariesResponse
JSON429 *GetInventorySummariesResponse
JSON500 *GetInventorySummariesResponse
JSON503 *GetInventorySummariesResponse
}
func ParseGetInventorySummariesResp ¶
func ParseGetInventorySummariesResp(rsp *http.Response) (*GetInventorySummariesResp, error)
ParseGetInventorySummariesResp parses an HTTP response from a GetInventorySummariesWithResponse call
func (GetInventorySummariesResp) Status ¶
func (r GetInventorySummariesResp) Status() string
Status returns HTTPResponse.Status
func (GetInventorySummariesResp) StatusCode ¶
func (r GetInventorySummariesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInventorySummariesResponse ¶
type GetInventorySummariesResponse struct {
// Errors A list of error responses returned when a request is unsuccessful.
Errors *ErrorList `json:"errors,omitempty"`
// Pagination The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It's a form of traffic management.
Pagination *Pagination `json:"pagination,omitempty"`
// Payload The payload schema for the getInventorySummaries operation.
Payload *GetInventorySummariesResult `json:"payload,omitempty"`
}
GetInventorySummariesResponse The Response schema.
type GetInventorySummariesResult ¶
type GetInventorySummariesResult struct {
// Granularity Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace.
Granularity Granularity `json:"granularity"`
// InventorySummaries A list of inventory summaries.
InventorySummaries InventorySummaries `json:"inventorySummaries"`
}
GetInventorySummariesResult The payload schema for the getInventorySummaries operation.
type Granularity ¶
type Granularity struct {
// GranularityId The granularity ID for the specified granularity type. When granularityType is Marketplace, specify the marketplaceId.
GranularityId *string `json:"granularityId,omitempty"`
// GranularityType The granularity type for the inventory aggregation level.
GranularityType *string `json:"granularityType,omitempty"`
}
Granularity Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InventoryDetails ¶
type InventoryDetails struct {
// FulfillableQuantity The item quantity that can be picked, packed, and shipped.
FulfillableQuantity *int `json:"fulfillableQuantity,omitempty"`
// InboundReceivingQuantity The number of units that have not yet been received at an Amazon fulfillment center for processing, but are part of an inbound shipment with some units that have already been received and processed.
InboundReceivingQuantity *int `json:"inboundReceivingQuantity,omitempty"`
// InboundShippedQuantity The number of units in an inbound shipment that you have notified Amazon about and have provided a tracking number.
InboundShippedQuantity *int `json:"inboundShippedQuantity,omitempty"`
// InboundWorkingQuantity The number of units in an inbound shipment for which you have notified Amazon.
InboundWorkingQuantity *int `json:"inboundWorkingQuantity,omitempty"`
// ResearchingQuantity The number of misplaced or warehouse damaged units that are actively being confirmed at our fulfillment centers.
ResearchingQuantity *ResearchingQuantity `json:"researchingQuantity,omitempty"`
// ReservedQuantity The quantity of reserved inventory.
ReservedQuantity *ReservedQuantity `json:"reservedQuantity,omitempty"`
// UnfulfillableQuantity The quantity of unfulfillable inventory.
UnfulfillableQuantity *UnfulfillableQuantity `json:"unfulfillableQuantity,omitempty"`
}
InventoryDetails Summarized inventory details. This object will not appear if the details parameter in the request is false.
type InventoryItem ¶
type InventoryItem struct {
// MarketplaceId The marketplaceId.
MarketplaceId string `json:"marketplaceId"`
// Quantity The quantity of item to add.
Quantity int `json:"quantity"`
// SellerSku The seller SKU of the item.
SellerSku string `json:"sellerSku"`
}
InventoryItem An item in the list of inventory to be added.
type InventoryItems ¶
type InventoryItems = []InventoryItem
InventoryItems List of Inventory to be added
type InventorySummaries ¶
type InventorySummaries = []InventorySummary
InventorySummaries A list of inventory summaries.
type InventorySummary ¶
type InventorySummary struct {
// Asin The Amazon Standard Identification Number (ASIN) of an item.
Asin *string `json:"asin,omitempty"`
// Condition The condition of the item as described by the seller (for example, New Item).
Condition *string `json:"condition,omitempty"`
// FnSku Amazon's fulfillment network SKU identifier.
FnSku *string `json:"fnSku,omitempty"`
// InventoryDetails Summarized inventory details. This object will not appear if the details parameter in the request is false.
InventoryDetails *InventoryDetails `json:"inventoryDetails,omitempty"`
// LastUpdatedTime The date and time that any quantity was last updated.
LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"`
// ProductName The localized language product title of the item within the specific marketplace.
ProductName *string `json:"productName,omitempty"`
// SellerSku The seller SKU of the item.
SellerSku *string `json:"sellerSku,omitempty"`
// Stores A list of seller-enrolled stores that apply to this seller SKU.
Stores *[]string `json:"stores,omitempty"`
// TotalQuantity The total number of units in an inbound shipment or in Amazon fulfillment centers.
TotalQuantity *int `json:"totalQuantity,omitempty"`
}
InventorySummary Inventory summary for a specific item.
type Pagination ¶
type Pagination struct {
// NextToken A generated string used to retrieve the next page of the result. If nextToken is returned, pass the value of nextToken to the next request. If nextToken is not returned, there are no more items to return.
NextToken *string `json:"nextToken,omitempty"`
}
Pagination The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It's a form of traffic management.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResearchingQuantity ¶
type ResearchingQuantity struct {
// ResearchingQuantityBreakdown A list of quantity details for items currently being researched.
ResearchingQuantityBreakdown *[]ResearchingQuantityEntry `json:"researchingQuantityBreakdown,omitempty"`
// TotalResearchingQuantity The total number of units currently being researched in Amazon's fulfillment network.
TotalResearchingQuantity *int `json:"totalResearchingQuantity,omitempty"`
}
ResearchingQuantity The number of misplaced or warehouse damaged units that are actively being confirmed at our fulfillment centers.
type ResearchingQuantityEntry ¶
type ResearchingQuantityEntry struct {
// Name The duration of the research.
Name ResearchingQuantityEntryName `json:"name"`
// Quantity The number of units.
Quantity int `json:"quantity"`
}
ResearchingQuantityEntry The misplaced or warehouse damaged inventory that is actively being confirmed at our fulfillment centers.
type ResearchingQuantityEntryName ¶
type ResearchingQuantityEntryName string
ResearchingQuantityEntryName The duration of the research.
const ( ResearchingQuantityInLongTerm ResearchingQuantityEntryName = "researchingQuantityInLongTerm" ResearchingQuantityInMidTerm ResearchingQuantityEntryName = "researchingQuantityInMidTerm" ResearchingQuantityInShortTerm ResearchingQuantityEntryName = "researchingQuantityInShortTerm" )
Defines values for ResearchingQuantityEntryName.
type ReservedQuantity ¶
type ReservedQuantity struct {
// FcProcessingQuantity The number of units that have been sidelined at the fulfillment center for additional processing.
FcProcessingQuantity *int `json:"fcProcessingQuantity,omitempty"`
// PendingCustomerOrderQuantity The number of units reserved for customer orders.
PendingCustomerOrderQuantity *int `json:"pendingCustomerOrderQuantity,omitempty"`
// PendingTransshipmentQuantity The number of units being transferred from one fulfillment center to another.
PendingTransshipmentQuantity *int `json:"pendingTransshipmentQuantity,omitempty"`
// TotalReservedQuantity The total number of units in Amazon's fulfillment network that are currently being picked, packed, and shipped; or are sidelined for measurement, sampling, or other internal processes.
TotalReservedQuantity *int `json:"totalReservedQuantity,omitempty"`
}
ReservedQuantity The quantity of reserved inventory.
type ResponseEditorFn ¶
ResponseEditorFn is the function signature for the ResponseEditor callback function
type UnfulfillableQuantity ¶
type UnfulfillableQuantity struct {
// CarrierDamagedQuantity The number of units in carrier damaged disposition.
CarrierDamagedQuantity *int `json:"carrierDamagedQuantity,omitempty"`
// CustomerDamagedQuantity The number of units in customer damaged disposition.
CustomerDamagedQuantity *int `json:"customerDamagedQuantity,omitempty"`
// DefectiveQuantity The number of units in defective disposition.
DefectiveQuantity *int `json:"defectiveQuantity,omitempty"`
// DistributorDamagedQuantity The number of units in distributor damaged disposition.
DistributorDamagedQuantity *int `json:"distributorDamagedQuantity,omitempty"`
// ExpiredQuantity The number of units in expired disposition.
ExpiredQuantity *int `json:"expiredQuantity,omitempty"`
// TotalUnfulfillableQuantity The total number of units in Amazon's fulfillment network in unsellable condition.
TotalUnfulfillableQuantity *int `json:"totalUnfulfillableQuantity,omitempty"`
// WarehouseDamagedQuantity The number of units in warehouse damaged disposition.
WarehouseDamagedQuantity *int `json:"warehouseDamagedQuantity,omitempty"`
}
UnfulfillableQuantity The quantity of unfulfillable inventory.