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.
NewConfirmPreorderRequest generates requests for ConfirmPreorder.
NewConfirmTransportRequest generates requests for ConfirmTransport.
NewCreateInboundShipmentPlanRequest calls the generic CreateInboundShipmentPlan builder with application/json body.
NewCreateInboundShipmentPlanRequestWithBody generates requests for CreateInboundShipmentPlan with any type of body.
NewCreateInboundShipmentRequest calls the generic CreateInboundShipment builder with application/json body.
NewCreateInboundShipmentRequestWithBody generates requests for CreateInboundShipment with any type of body.
NewEstimateTransportRequest generates requests for EstimateTransport.
NewGetBillOfLadingRequest generates requests for GetBillOfLading.
NewGetInboundGuidanceRequest generates requests for GetInboundGuidance.
NewGetLabelsRequest generates requests for GetLabels.
NewGetPreorderInfoRequest generates requests for GetPreorderInfo.
NewGetPrepInstructionsRequest generates requests for GetPrepInstructions.
NewGetShipmentItemsByShipmentIdRequest generates requests for GetShipmentItemsByShipmentId.
NewGetShipmentItemsRequest generates requests for GetShipmentItems.
NewGetShipmentsRequest generates requests for GetShipments.
NewGetTransportDetailsRequest generates requests for GetTransportDetails.
NewPutTransportDetailsRequest calls the generic PutTransportDetails builder with application/json body.
NewPutTransportDetailsRequestWithBody generates requests for PutTransportDetails with any type of body.
NewUpdateInboundShipmentRequest calls the generic UpdateInboundShipment builder with application/json body.
NewUpdateInboundShipmentRequestWithBody generates requests for UpdateInboundShipment with any type of body.
NewVoidTransportRequest generates requests for VoidTransport.
ParseConfirmPreorderResp parses an HTTP response from a ConfirmPreorderWithResponse call.
ParseConfirmTransportResp parses an HTTP response from a ConfirmTransportWithResponse call.
ParseCreateInboundShipmentPlanResp parses an HTTP response from a CreateInboundShipmentPlanWithResponse call.
ParseCreateInboundShipmentResp parses an HTTP response from a CreateInboundShipmentWithResponse call.
ParseEstimateTransportResp parses an HTTP response from a EstimateTransportWithResponse call.
ParseGetBillOfLadingResp parses an HTTP response from a GetBillOfLadingWithResponse call.
ParseGetInboundGuidanceResp parses an HTTP response from a GetInboundGuidanceWithResponse call.
ParseGetLabelsResp parses an HTTP response from a GetLabelsWithResponse call.
ParseGetPreorderInfoResp parses an HTTP response from a GetPreorderInfoWithResponse call.
ParseGetPrepInstructionsResp parses an HTTP response from a GetPrepInstructionsWithResponse call.
ParseGetShipmentItemsByShipmentIdResp parses an HTTP response from a GetShipmentItemsByShipmentIdWithResponse call.
ParseGetShipmentItemsResp parses an HTTP response from a GetShipmentItemsWithResponse call.
ParseGetShipmentsResp parses an HTTP response from a GetShipmentsWithResponse call.
ParseGetTransportDetailsResp parses an HTTP response from a GetTransportDetailsWithResponse call.
ParsePutTransportDetailsResp parses an HTTP response from a PutTransportDetailsWithResponse call.
ParseUpdateInboundShipmentResp parses an HTTP response from a UpdateInboundShipmentWithResponse call.
ParseVoidTransportResp parses an HTTP response from a VoidTransportWithResponse 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.

# Constants

List of BarcodeInstruction.
List of BarcodeInstruction.
List of BarcodeInstruction.
List of BoxContentsSource.
List of BoxContentsSource.
List of BoxContentsSource.
List of BoxContentsSource.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of Condition.
List of CurrencyCode.
List of CurrencyCode.
List of ErrorReason.
List of ErrorReason.
List of GuidanceReason.
List of GuidanceReason.
List of InboundGuidance.
List of InboundGuidance.
List of IntendedBoxContentsSource.
List of IntendedBoxContentsSource.
List of IntendedBoxContentsSource.
List of LabelPrepPreference.
List of LabelPrepPreference.
List of LabelPrepPreference.
List of LabelPrepType.
List of LabelPrepType.
List of LabelPrepType.
List of PackageStatus.
List of PackageStatus.
List of PackageStatus.
List of PackageStatus.
List of PackageStatus.
List of PackageStatus.
List of PackageStatus.
List of PrepGuidance.
List of PrepGuidance.
List of PrepGuidance.
List of PrepInstruction.
List of PrepInstruction.
List of PrepInstruction.
List of PrepInstruction.
List of PrepInstruction.
List of PrepInstruction.
List of PrepOwner.
List of PrepOwner.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of SellerFreightClass.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of ShipmentType.
List of ShipmentType.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of TransportStatus.
List of UnitOfMeasurement.
List of UnitOfMeasurement.
List of UnitOfWeight.
List of UnitOfWeight.

# Structs

Address defines model for Address.
AmazonPrepFeesDetails defines model for AmazonPrepFeesDetails.
Amount defines model for Amount.
ASINInboundGuidance defines model for ASINInboundGuidance.
ASINPrepInstructions defines model for ASINPrepInstructions.
BillOfLadingDownloadURL defines model for BillOfLadingDownloadURL.
BoxContentsFeeDetails defines model for BoxContentsFeeDetails.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CommonTransportResult defines model for CommonTransportResult.
ConfirmPreorderParams defines parameters for ConfirmPreorder.
No description provided by the author
ConfirmPreorderResponse defines model for ConfirmPreorderResponse.
ConfirmPreorderResult defines model for ConfirmPreorderResult.
No description provided by the author
ConfirmTransportResponse defines model for ConfirmTransportResponse.
Contact defines model for Contact.
CreateInboundShipmentPlanRequest defines model for CreateInboundShipmentPlanRequest.
No description provided by the author
CreateInboundShipmentPlanResponse defines model for CreateInboundShipmentPlanResponse.
CreateInboundShipmentPlanResult defines model for CreateInboundShipmentPlanResult.
No description provided by the author
Dimensions defines model for Dimensions.
Error defines model for Error.
No description provided by the author
EstimateTransportResponse defines model for EstimateTransportResponse.
No description provided by the author
GetBillOfLadingResponse defines model for GetBillOfLadingResponse.
GetInboundGuidanceParams defines parameters for GetInboundGuidance.
No description provided by the author
GetInboundGuidanceResponse defines model for GetInboundGuidanceResponse.
GetInboundGuidanceResult defines model for GetInboundGuidanceResult.
GetLabelsParams defines parameters for GetLabels.
No description provided by the author
GetLabelsResponse defines model for GetLabelsResponse.
GetPreorderInfoParams defines parameters for GetPreorderInfo.
No description provided by the author
GetPreorderInfoResponse defines model for GetPreorderInfoResponse.
GetPreorderInfoResult defines model for GetPreorderInfoResult.
GetPrepInstructionsParams defines parameters for GetPrepInstructions.
No description provided by the author
GetPrepInstructionsResponse defines model for GetPrepInstructionsResponse.
GetPrepInstructionsResult defines model for GetPrepInstructionsResult.
GetShipmentItemsByShipmentIdParams defines parameters for GetShipmentItemsByShipmentId.
No description provided by the author
GetShipmentItemsParams defines parameters for GetShipmentItems.
No description provided by the author
GetShipmentItemsResponse defines model for GetShipmentItemsResponse.
GetShipmentItemsResult defines model for GetShipmentItemsResult.
GetShipmentsParams defines parameters for GetShipments.
No description provided by the author
GetShipmentsResponse defines model for GetShipmentsResponse.
GetShipmentsResult defines model for GetShipmentsResult.
No description provided by the author
GetTransportDetailsResponse defines model for GetTransportDetailsResponse.
GetTransportDetailsResult defines model for GetTransportDetailsResult.
InboundShipmentHeader defines model for InboundShipmentHeader.
InboundShipmentInfo defines model for InboundShipmentInfo.
InboundShipmentItem defines model for InboundShipmentItem.
InboundShipmentPlan defines model for InboundShipmentPlan.
InboundShipmentPlanItem defines model for InboundShipmentPlanItem.
InboundShipmentPlanRequestItem defines model for InboundShipmentPlanRequestItem.
InboundShipmentRequest defines model for InboundShipmentRequest.
InboundShipmentResponse defines model for InboundShipmentResponse.
InboundShipmentResult defines model for InboundShipmentResult.
InvalidASIN defines model for InvalidASIN.
InvalidSKU defines model for InvalidSKU.
LabelDownloadURL defines model for LabelDownloadURL.
NonPartneredLtlDataInput defines model for NonPartneredLtlDataInput.
NonPartneredLtlDataOutput defines model for NonPartneredLtlDataOutput.
NonPartneredSmallParcelDataInput defines model for NonPartneredSmallParcelDataInput.
NonPartneredSmallParcelDataOutput defines model for NonPartneredSmallParcelDataOutput.
NonPartneredSmallParcelPackageInput defines model for NonPartneredSmallParcelPackageInput.
NonPartneredSmallParcelPackageOutput defines model for NonPartneredSmallParcelPackageOutput.
Pallet defines model for Pallet.
PartneredEstimate defines model for PartneredEstimate.
PartneredLtlDataInput defines model for PartneredLtlDataInput.
PartneredLtlDataOutput defines model for PartneredLtlDataOutput.
PartneredSmallParcelDataInput defines model for PartneredSmallParcelDataInput.
PartneredSmallParcelDataOutput defines model for PartneredSmallParcelDataOutput.
PartneredSmallParcelPackageInput defines model for PartneredSmallParcelPackageInput.
PartneredSmallParcelPackageOutput defines model for PartneredSmallParcelPackageOutput.
PrepDetails defines model for PrepDetails.
PutTransportDetailsRequest defines model for PutTransportDetailsRequest.
No description provided by the author
PutTransportDetailsResponse defines model for PutTransportDetailsResponse.
SKUInboundGuidance defines model for SKUInboundGuidance.
SKUPrepInstructions defines model for SKUPrepInstructions.
TransportContent defines model for TransportContent.
TransportDetailInput defines model for TransportDetailInput.
TransportDetailOutput defines model for TransportDetailOutput.
TransportHeader defines model for TransportHeader.
TransportResult defines model for TransportResult.
No description provided by the author
No description provided by the author
VoidTransportResponse defines model for VoidTransportResponse.
Weight defines model for Weight.

# 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

AmazonPrepFeesDetailsList defines model for AmazonPrepFeesDetailsList.
ASINInboundGuidanceList defines model for ASINInboundGuidanceList.
ASINPrepInstructionsList defines model for ASINPrepInstructionsList.
BarcodeInstruction defines model for BarcodeInstruction.
BigDecimalType defines model for BigDecimalType.
BoxContentsSource defines model for BoxContentsSource.
ClientOption allows setting custom parameters during construction.
Condition defines model for Condition.
CreateInboundShipmentJSONBody defines parameters for CreateInboundShipment.
CreateInboundShipmentRequestBody defines body for CreateInboundShipment for application/json ContentType.
CreateInboundShipmentPlanJSONBody defines parameters for CreateInboundShipmentPlan.
CreateInboundShipmentPlanRequestBody defines body for CreateInboundShipmentPlan for application/json ContentType.
CurrencyCode defines model for CurrencyCode.
DateStringType defines model for DateStringType.
ErrorList defines model for ErrorList.
ErrorReason defines model for ErrorReason.
GuidanceReason defines model for GuidanceReason.
GuidanceReasonList defines model for GuidanceReasonList.
InboundGuidance defines model for InboundGuidance.
InboundShipmentItemList defines model for InboundShipmentItemList.
InboundShipmentList defines model for InboundShipmentList.
InboundShipmentPlanItemList defines model for InboundShipmentPlanItemList.
InboundShipmentPlanList defines model for InboundShipmentPlanList.
InboundShipmentPlanRequestItemList defines model for InboundShipmentPlanRequestItemList.
IntendedBoxContentsSource defines model for IntendedBoxContentsSource.
InvalidASINList defines model for InvalidASINList.
InvalidSKUList defines model for InvalidSKUList.
LabelPrepPreference defines model for LabelPrepPreference.
LabelPrepType defines model for LabelPrepType.
NonPartneredSmallParcelPackageInputList defines model for NonPartneredSmallParcelPackageInputList.
NonPartneredSmallParcelPackageOutputList defines model for NonPartneredSmallParcelPackageOutputList.
PackageStatus defines model for PackageStatus.
PalletList defines model for PalletList.
PartneredSmallParcelPackageInputList defines model for PartneredSmallParcelPackageInputList.
PartneredSmallParcelPackageOutputList defines model for PartneredSmallParcelPackageOutputList.
PrepDetailsList defines model for PrepDetailsList.
PrepGuidance defines model for PrepGuidance.
PrepInstruction defines model for PrepInstruction.
PrepInstructionList defines model for PrepInstructionList.
PrepOwner defines model for PrepOwner.
ProNumber defines model for ProNumber.
PutTransportDetailsJSONBody defines parameters for PutTransportDetails.
PutTransportDetailsRequestBody defines body for PutTransportDetails for application/json ContentType.
Quantity defines model for Quantity.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.
SellerFreightClass defines model for SellerFreightClass.
ShipmentStatus defines model for ShipmentStatus.
ShipmentType defines model for ShipmentType.
SKUInboundGuidanceList defines model for SKUInboundGuidanceList.
SKUPrepInstructionsList defines model for SKUPrepInstructionsList.
TimeStampStringType defines model for TimeStampStringType.
TrackingId defines model for TrackingId.
TransportStatus defines model for TransportStatus.
UnitOfMeasurement defines model for UnitOfMeasurement.
UnitOfWeight defines model for UnitOfWeight.
UnsignedIntType defines model for UnsignedIntType.
UpdateInboundShipmentJSONBody defines parameters for UpdateInboundShipment.
UpdateInboundShipmentRequestBody defines body for UpdateInboundShipment for application/json ContentType.