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.
NewGetOrderAddressRequest generates requests for GetOrderAddress.
NewGetOrderBuyerInfoRequest generates requests for GetOrderBuyerInfo.
NewGetOrderItemsBuyerInfoRequest generates requests for GetOrderItemsBuyerInfo.
NewGetOrderItemsRequest generates requests for GetOrderItems.
NewGetOrderRequest generates requests for GetOrder.
NewGetOrdersRequest generates requests for GetOrders.
ParseGetOrderAddressResp parses an HTTP response from a GetOrderAddressWithResponse call.
ParseGetOrderBuyerInfoResp parses an HTTP response from a GetOrderBuyerInfoWithResponse call.
ParseGetOrderItemsBuyerInfoResp parses an HTTP response from a GetOrderItemsBuyerInfoWithResponse call.
ParseGetOrderItemsResp parses an HTTP response from a GetOrderItemsWithResponse call.
ParseGetOrderResp parses an HTTP response from a GetOrderWithResponse call.
ParseGetOrdersResp parses an HTTP response from a GetOrdersWithResponse 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 ShipmentStatus.
List of ShipmentStatus.
List of ShipmentStatus.
List of VerificationStatus.
List of VerificationStatus.
List of VerificationStatus.
List of VerificationStatus.
List of VerificationStatus.

# Structs

Address defines model for Address.
AutomatedShippingSettings defines model for AutomatedShippingSettings.
BuyerCustomizedInfoDetail defines model for BuyerCustomizedInfoDetail.
BuyerInfo defines model for BuyerInfo.
BuyerRequestedCancel defines model for BuyerRequestedCancel.
BuyerTaxInfo defines model for BuyerTaxInfo.
BuyerTaxInformation defines model for BuyerTaxInformation.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Error defines model for Error.
FulfillmentInstruction defines model for FulfillmentInstruction.
No description provided by the author
GetOrderAddressResponse defines model for GetOrderAddressResponse.
No description provided by the author
GetOrderBuyerInfoResponse defines model for GetOrderBuyerInfoResponse.
GetOrderItemsBuyerInfoParams defines parameters for GetOrderItemsBuyerInfo.
No description provided by the author
GetOrderItemsBuyerInfoResponse defines model for GetOrderItemsBuyerInfoResponse.
GetOrderItemsParams defines parameters for GetOrderItems.
No description provided by the author
GetOrderItemsResponse defines model for GetOrderItemsResponse.
GetOrderRegulatedInfoResponse defines model for GetOrderRegulatedInfoResponse.
No description provided by the author
GetOrderResponse defines model for GetOrderResponse.
GetOrdersParams defines parameters for GetOrders.
No description provided by the author
GetOrdersResponse defines model for GetOrdersResponse.
ItemBuyerInfo defines model for ItemBuyerInfo.
MarketplaceTaxInfo defines model for MarketplaceTaxInfo.
Money defines model for Money.
Order defines model for Order.
OrderAddress defines model for OrderAddress.
OrderBuyerInfo defines model for OrderBuyerInfo.
OrderItem defines model for OrderItem.
OrderItemBuyerInfo defines model for OrderItemBuyerInfo.
OrderItemsBuyerInfoList defines model for OrderItemsBuyerInfoList.
OrderItemsList defines model for OrderItemsList.
OrderRegulatedInfo defines model for OrderRegulatedInfo.
OrdersList defines model for OrdersList.
PaymentExecutionDetailItem defines model for PaymentExecutionDetailItem.
PointsGrantedDetail defines model for PointsGrantedDetail.
ProductInfoDetail defines model for ProductInfoDetail.
RegulatedInformation defines model for RegulatedInformation.
RegulatedInformationField defines model for RegulatedInformationField.
RegulatedOrderVerificationStatus defines model for RegulatedOrderVerificationStatus.
RejectionReason defines model for RejectionReason.
TaxClassification defines model for TaxClassification.
TaxCollection defines model for TaxCollection.
UpdateShipmentStatusErrorResponse defines model for UpdateShipmentStatusErrorResponse.
UpdateShipmentStatusRequest defines model for UpdateShipmentStatusRequest.
UpdateVerificationStatusErrorResponse defines model for UpdateVerificationStatusErrorResponse.
UpdateVerificationStatusRequest defines model for UpdateVerificationStatusRequest.
UpdateVerificationStatusRequestBody defines model for UpdateVerificationStatusRequestBody.

# 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.
MarketplaceId defines model for MarketplaceId.
OrderItemBuyerInfoList defines model for OrderItemBuyerInfoList.
OrderItemList defines model for OrderItemList.
OrderItems defines model for OrderItems.
OrderList defines model for OrderList.
PaymentExecutionDetailItemList defines model for PaymentExecutionDetailItemList.
PaymentMethodDetailItemList defines model for PaymentMethodDetailItemList.
PromotionIdList defines model for PromotionIdList.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.
ShipmentStatus defines model for ShipmentStatus.
UpdateShipmentStatusJSONBody defines parameters for UpdateShipmentStatus.
UpdateShipmentStatusRequestBody defines body for UpdateShipmentStatus for application/json ContentType.
UpdateVerificationStatusJSONBody defines parameters for UpdateVerificationStatus.
UpdateVerificationStatusRequestBody defines body for UpdateVerificationStatus for application/json ContentType.
VerificationStatus defines model for VerificationStatus.