package
0.0.0-20240405104727-3fc460ca096e
Repository: https://github.com/brandedtech/sp-api-sdk.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetInventorySummariesRequest generates requests for GetInventorySummaries.
ParseGetInventorySummariesResp parses an HTTP response from a GetInventorySummariesWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestBefore allows setting up a callback function, which will be called right before sending the request.
WithResponseAfter allows setting up a callback function, which will be called right after get response the request.
WithUserAgent set up useragent add user agent to every request automatically.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Error defines model for Error.
GetInventorySummariesParams defines parameters for GetInventorySummaries.
No description provided by the author
GetInventorySummariesResponse defines model for GetInventorySummariesResponse.
GetInventorySummariesResult defines model for GetInventorySummariesResult.
Granularity defines model for Granularity.
InventoryDetails defines model for InventoryDetails.
InventorySummary defines model for InventorySummary.
Pagination defines model for Pagination.
ResearchingQuantity defines model for ResearchingQuantity.
ResearchingQuantityEntry defines model for ResearchingQuantityEntry.
ReservedQuantity defines model for ReservedQuantity.
UnfulfillableQuantity defines model for UnfulfillableQuantity.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
ErrorList defines model for ErrorList.
InventorySummaries defines model for InventorySummaries.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.