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

# Functions

NewCancelFulfillmentOrderRequest generates requests for CancelFulfillmentOrder.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateFulfillmentOrderRequest calls the generic CreateFulfillmentOrder builder with application/json body.
NewCreateFulfillmentOrderRequestWithBody generates requests for CreateFulfillmentOrder with any type of body.
NewCreateFulfillmentReturnRequest calls the generic CreateFulfillmentReturn builder with application/json body.
NewCreateFulfillmentReturnRequestWithBody generates requests for CreateFulfillmentReturn with any type of body.
NewGetFeatureInventoryRequest generates requests for GetFeatureInventory.
NewGetFeatureSKURequest generates requests for GetFeatureSKU.
NewGetFeaturesRequest generates requests for GetFeatures.
NewGetFulfillmentOrderRequest generates requests for GetFulfillmentOrder.
NewGetFulfillmentPreviewRequest calls the generic GetFulfillmentPreview builder with application/json body.
NewGetFulfillmentPreviewRequestWithBody generates requests for GetFulfillmentPreview with any type of body.
NewGetPackageTrackingDetailsRequest generates requests for GetPackageTrackingDetails.
NewListAllFulfillmentOrdersRequest generates requests for ListAllFulfillmentOrders.
NewListReturnReasonCodesRequest generates requests for ListReturnReasonCodes.
NewUpdateFulfillmentOrderRequest calls the generic UpdateFulfillmentOrder builder with application/json body.
NewUpdateFulfillmentOrderRequestWithBody generates requests for UpdateFulfillmentOrder with any type of body.
ParseCancelFulfillmentOrderResp parses an HTTP response from a CancelFulfillmentOrderWithResponse call.
ParseCreateFulfillmentOrderResp parses an HTTP response from a CreateFulfillmentOrderWithResponse call.
ParseCreateFulfillmentReturnResp parses an HTTP response from a CreateFulfillmentReturnWithResponse call.
ParseGetFeatureInventoryResp parses an HTTP response from a GetFeatureInventoryWithResponse call.
ParseGetFeatureSKUResp parses an HTTP response from a GetFeatureSKUWithResponse call.
ParseGetFeaturesResp parses an HTTP response from a GetFeaturesWithResponse call.
ParseGetFulfillmentOrderResp parses an HTTP response from a GetFulfillmentOrderWithResponse call.
ParseGetFulfillmentPreviewResp parses an HTTP response from a GetFulfillmentPreviewWithResponse call.
ParseGetPackageTrackingDetailsResp parses an HTTP response from a GetPackageTrackingDetailsWithResponse call.
ParseListAllFulfillmentOrdersResp parses an HTTP response from a ListAllFulfillmentOrdersWithResponse call.
ParseListReturnReasonCodesResp parses an HTTP response from a ListReturnReasonCodesWithResponse call.
ParseUpdateFulfillmentOrderResp parses an HTTP response from a UpdateFulfillmentOrderWithResponse 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 AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of AdditionalLocationInfo.
List of CurrentStatus.
List of CurrentStatus.
List of CurrentStatus.
List of CurrentStatus.
List of CurrentStatus.
List of CurrentStatus.
List of CurrentStatus.
List of CurrentStatus.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of EventCode.
List of FulfillmentAction.
List of FulfillmentAction.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentOrderStatus.
List of FulfillmentPolicy.
List of FulfillmentPolicy.
List of FulfillmentPolicy.
List of FulfillmentReturnItemStatus.
List of FulfillmentReturnItemStatus.
List of InvalidItemReasonCode.
List of InvalidItemReasonCode.
List of InvalidItemReasonCode.
List of InvalidItemReasonCode.
List of ReturnItemDisposition.
List of ReturnItemDisposition.
List of ReturnItemDisposition.
List of ReturnItemDisposition.
List of ReturnItemDisposition.
List of ShippingSpeedCategory.
List of ShippingSpeedCategory.
List of ShippingSpeedCategory.
List of ShippingSpeedCategory.

# Structs

Address defines model for Address.
No description provided by the author
CancelFulfillmentOrderResponse defines model for CancelFulfillmentOrderResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CODSettings defines model for CODSettings.
CreateFulfillmentOrderItem defines model for CreateFulfillmentOrderItem.
CreateFulfillmentOrderRequest defines model for CreateFulfillmentOrderRequest.
No description provided by the author
CreateFulfillmentOrderResponse defines model for CreateFulfillmentOrderResponse.
CreateFulfillmentReturnRequest defines model for CreateFulfillmentReturnRequest.
No description provided by the author
CreateFulfillmentReturnResponse defines model for CreateFulfillmentReturnResponse.
CreateFulfillmentReturnResult defines model for CreateFulfillmentReturnResult.
CreateReturnItem defines model for CreateReturnItem.
DeliveryWindow defines model for DeliveryWindow.
Error defines model for Error.
Feature defines model for Feature.
FeatureSettings defines model for FeatureSettings.
FeatureSku defines model for FeatureSku.
Fee defines model for Fee.
FulfillmentOrder defines model for FulfillmentOrder.
FulfillmentOrderItem defines model for FulfillmentOrderItem.
FulfillmentPreview defines model for FulfillmentPreview.
FulfillmentPreviewItem defines model for FulfillmentPreviewItem.
FulfillmentPreviewShipment defines model for FulfillmentPreviewShipment.
FulfillmentShipment defines model for FulfillmentShipment.
FulfillmentShipmentItem defines model for FulfillmentShipmentItem.
FulfillmentShipmentPackage defines model for FulfillmentShipmentPackage.
GetFeatureInventoryParams defines parameters for GetFeatureInventory.
No description provided by the author
GetFeatureInventoryResponse defines model for GetFeatureInventoryResponse.
GetFeatureInventoryResult defines model for GetFeatureInventoryResult.
GetFeatureSKUParams defines parameters for GetFeatureSKU.
No description provided by the author
GetFeatureSkuResponse defines model for GetFeatureSkuResponse.
GetFeatureSkuResult defines model for GetFeatureSkuResult.
GetFeaturesParams defines parameters for GetFeatures.
No description provided by the author
GetFeaturesResponse defines model for GetFeaturesResponse.
GetFeaturesResult defines model for GetFeaturesResult.
No description provided by the author
GetFulfillmentOrderResponse defines model for GetFulfillmentOrderResponse.
GetFulfillmentOrderResult defines model for GetFulfillmentOrderResult.
GetFulfillmentPreviewItem defines model for GetFulfillmentPreviewItem.
GetFulfillmentPreviewRequest defines model for GetFulfillmentPreviewRequest.
No description provided by the author
GetFulfillmentPreviewResponse defines model for GetFulfillmentPreviewResponse.
GetFulfillmentPreviewResult defines model for GetFulfillmentPreviewResult.
GetPackageTrackingDetailsParams defines parameters for GetPackageTrackingDetails.
No description provided by the author
GetPackageTrackingDetailsResponse defines model for GetPackageTrackingDetailsResponse.
InvalidItemReason defines model for InvalidItemReason.
InvalidReturnItem defines model for InvalidReturnItem.
ListAllFulfillmentOrdersParams defines parameters for ListAllFulfillmentOrders.
No description provided by the author
ListAllFulfillmentOrdersResponse defines model for ListAllFulfillmentOrdersResponse.
ListAllFulfillmentOrdersResult defines model for ListAllFulfillmentOrdersResult.
ListReturnReasonCodesParams defines parameters for ListReturnReasonCodes.
No description provided by the author
ListReturnReasonCodesResponse defines model for ListReturnReasonCodesResponse.
ListReturnReasonCodesResult defines model for ListReturnReasonCodesResult.
Money defines model for Money.
PackageTrackingDetails defines model for PackageTrackingDetails.
ReasonCodeDetails defines model for ReasonCodeDetails.
ReturnAuthorization defines model for ReturnAuthorization.
ReturnItem defines model for ReturnItem.
ScheduledDeliveryInfo defines model for ScheduledDeliveryInfo.
TrackingAddress defines model for TrackingAddress.
TrackingEvent defines model for TrackingEvent.
UnfulfillablePreviewItem defines model for UnfulfillablePreviewItem.
UpdateFulfillmentOrderItem defines model for UpdateFulfillmentOrderItem.
UpdateFulfillmentOrderRequest defines model for UpdateFulfillmentOrderRequest.
No description provided by the author
UpdateFulfillmentOrderResponse defines model for UpdateFulfillmentOrderResponse.
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

AdditionalLocationInfo defines model for AdditionalLocationInfo.
ClientOption allows setting custom parameters during construction.
CreateFulfillmentOrderItemList defines model for CreateFulfillmentOrderItemList.
CreateFulfillmentOrderJSONBody defines parameters for CreateFulfillmentOrder.
CreateFulfillmentOrderRequestBody defines body for CreateFulfillmentOrder for application/json ContentType.
CreateFulfillmentReturnJSONBody defines parameters for CreateFulfillmentReturn.
CreateFulfillmentReturnRequestBody defines body for CreateFulfillmentReturn for application/json ContentType.
CreateReturnItemList defines model for CreateReturnItemList.
CurrentStatus defines model for CurrentStatus.
Decimal defines model for Decimal.
DeliveryWindowList defines model for DeliveryWindowList.
ErrorList defines model for ErrorList.
EventCode defines model for EventCode.
Features defines model for Features.
FeeList defines model for FeeList.
FulfillmentAction defines model for FulfillmentAction.
FulfillmentOrderItemList defines model for FulfillmentOrderItemList.
FulfillmentOrderStatus defines model for FulfillmentOrderStatus.
FulfillmentPolicy defines model for FulfillmentPolicy.
FulfillmentPreviewItemList defines model for FulfillmentPreviewItemList.
FulfillmentPreviewList defines model for FulfillmentPreviewList.
FulfillmentPreviewShipmentList defines model for FulfillmentPreviewShipmentList.
FulfillmentReturnItemStatus defines model for FulfillmentReturnItemStatus.
FulfillmentShipmentItemList defines model for FulfillmentShipmentItemList.
FulfillmentShipmentList defines model for FulfillmentShipmentList.
FulfillmentShipmentPackageList defines model for FulfillmentShipmentPackageList.
GetFulfillmentPreviewItemList defines model for GetFulfillmentPreviewItemList.
GetFulfillmentPreviewJSONBody defines parameters for GetFulfillmentPreview.
GetFulfillmentPreviewRequestBody defines body for GetFulfillmentPreview for application/json ContentType.
InvalidItemReasonCode defines model for InvalidItemReasonCode.
InvalidReturnItemList defines model for InvalidReturnItemList.
NotificationEmailList defines model for NotificationEmailList.
Quantity defines model for Quantity.
ReasonCodeDetailsList defines model for ReasonCodeDetailsList.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.
ReturnAuthorizationList defines model for ReturnAuthorizationList.
ReturnItemDisposition defines model for ReturnItemDisposition.
ReturnItemList defines model for ReturnItemList.
ShippingSpeedCategory defines model for ShippingSpeedCategory.
ShippingSpeedCategoryList defines model for ShippingSpeedCategoryList.
StringList defines model for StringList.
Timestamp defines model for Timestamp.
TrackingEventList defines model for TrackingEventList.
UnfulfillablePreviewItemList defines model for UnfulfillablePreviewItemList.
UpdateFulfillmentOrderItemList defines model for UpdateFulfillmentOrderItemList.
UpdateFulfillmentOrderJSONBody defines parameters for UpdateFulfillmentOrder.
UpdateFulfillmentOrderRequestBody defines body for UpdateFulfillmentOrder for application/json ContentType.