fulfillmentinboundv20240320

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package fulfillmentinboundv20240320 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCancelInboundPlanRequest

func NewCancelInboundPlanRequest(server string, inboundPlanId string) (*http.Request, error)

NewCancelInboundPlanRequest generates requests for CancelInboundPlan

func NewCancelSelfShipAppointmentRequest

func NewCancelSelfShipAppointmentRequest(server string, inboundPlanId string, shipmentId string, body CancelSelfShipAppointmentJSONRequestBody) (*http.Request, error)

NewCancelSelfShipAppointmentRequest calls the generic CancelSelfShipAppointment builder with application/json body

func NewCancelSelfShipAppointmentRequestWithBody

func NewCancelSelfShipAppointmentRequestWithBody(server string, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Request, error)

NewCancelSelfShipAppointmentRequestWithBody generates requests for CancelSelfShipAppointment with any type of body

func NewConfirmDeliveryWindowOptionsRequest added in v1.0.9

func NewConfirmDeliveryWindowOptionsRequest(server string, inboundPlanId string, shipmentId string, deliveryWindowOptionId string) (*http.Request, error)

NewConfirmDeliveryWindowOptionsRequest generates requests for ConfirmDeliveryWindowOptions

func NewConfirmPackingOptionRequest

func NewConfirmPackingOptionRequest(server string, inboundPlanId string, packingOptionId string) (*http.Request, error)

NewConfirmPackingOptionRequest generates requests for ConfirmPackingOption

func NewConfirmPlacementOptionRequest

func NewConfirmPlacementOptionRequest(server string, inboundPlanId string, placementOptionId string) (*http.Request, error)

NewConfirmPlacementOptionRequest generates requests for ConfirmPlacementOption

func NewConfirmShipmentContentUpdatePreviewRequest added in v1.0.9

func NewConfirmShipmentContentUpdatePreviewRequest(server string, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*http.Request, error)

NewConfirmShipmentContentUpdatePreviewRequest generates requests for ConfirmShipmentContentUpdatePreview

func NewConfirmTransportationOptionsRequest

func NewConfirmTransportationOptionsRequest(server string, inboundPlanId string, body ConfirmTransportationOptionsJSONRequestBody) (*http.Request, error)

NewConfirmTransportationOptionsRequest calls the generic ConfirmTransportationOptions builder with application/json body

func NewConfirmTransportationOptionsRequestWithBody

func NewConfirmTransportationOptionsRequestWithBody(server string, inboundPlanId string, contentType string, body io.Reader) (*http.Request, error)

NewConfirmTransportationOptionsRequestWithBody generates requests for ConfirmTransportationOptions with any type of body

func NewCreateInboundPlanRequest

func NewCreateInboundPlanRequest(server string, body CreateInboundPlanJSONRequestBody) (*http.Request, error)

NewCreateInboundPlanRequest calls the generic CreateInboundPlan builder with application/json body

func NewCreateInboundPlanRequestWithBody

func NewCreateInboundPlanRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateInboundPlanRequestWithBody generates requests for CreateInboundPlan with any type of body

func NewCreateMarketplaceItemLabelsRequest added in v1.0.9

func NewCreateMarketplaceItemLabelsRequest(server string, body CreateMarketplaceItemLabelsJSONRequestBody) (*http.Request, error)

NewCreateMarketplaceItemLabelsRequest calls the generic CreateMarketplaceItemLabels builder with application/json body

func NewCreateMarketplaceItemLabelsRequestWithBody added in v1.0.9

func NewCreateMarketplaceItemLabelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateMarketplaceItemLabelsRequestWithBody generates requests for CreateMarketplaceItemLabels with any type of body

func NewGenerateDeliveryWindowOptionsRequest added in v1.0.9

func NewGenerateDeliveryWindowOptionsRequest(server string, inboundPlanId string, shipmentId string) (*http.Request, error)

NewGenerateDeliveryWindowOptionsRequest generates requests for GenerateDeliveryWindowOptions

func NewGeneratePackingOptionsRequest

func NewGeneratePackingOptionsRequest(server string, inboundPlanId string) (*http.Request, error)

NewGeneratePackingOptionsRequest generates requests for GeneratePackingOptions

func NewGeneratePlacementOptionsRequest

func NewGeneratePlacementOptionsRequest(server string, inboundPlanId string, body GeneratePlacementOptionsJSONRequestBody) (*http.Request, error)

NewGeneratePlacementOptionsRequest calls the generic GeneratePlacementOptions builder with application/json body

func NewGeneratePlacementOptionsRequestWithBody

func NewGeneratePlacementOptionsRequestWithBody(server string, inboundPlanId string, contentType string, body io.Reader) (*http.Request, error)

NewGeneratePlacementOptionsRequestWithBody generates requests for GeneratePlacementOptions with any type of body

func NewGenerateSelfShipAppointmentSlotsRequest

func NewGenerateSelfShipAppointmentSlotsRequest(server string, inboundPlanId string, shipmentId string, body GenerateSelfShipAppointmentSlotsJSONRequestBody) (*http.Request, error)

NewGenerateSelfShipAppointmentSlotsRequest calls the generic GenerateSelfShipAppointmentSlots builder with application/json body

func NewGenerateSelfShipAppointmentSlotsRequestWithBody

func NewGenerateSelfShipAppointmentSlotsRequestWithBody(server string, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Request, error)

NewGenerateSelfShipAppointmentSlotsRequestWithBody generates requests for GenerateSelfShipAppointmentSlots with any type of body

func NewGenerateShipmentContentUpdatePreviewsRequest added in v1.0.9

func NewGenerateShipmentContentUpdatePreviewsRequest(server string, inboundPlanId string, shipmentId string, body GenerateShipmentContentUpdatePreviewsJSONRequestBody) (*http.Request, error)

NewGenerateShipmentContentUpdatePreviewsRequest calls the generic GenerateShipmentContentUpdatePreviews builder with application/json body

func NewGenerateShipmentContentUpdatePreviewsRequestWithBody added in v1.0.9

func NewGenerateShipmentContentUpdatePreviewsRequestWithBody(server string, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Request, error)

NewGenerateShipmentContentUpdatePreviewsRequestWithBody generates requests for GenerateShipmentContentUpdatePreviews with any type of body

func NewGenerateTransportationOptionsRequest

func NewGenerateTransportationOptionsRequest(server string, inboundPlanId string, body GenerateTransportationOptionsJSONRequestBody) (*http.Request, error)

NewGenerateTransportationOptionsRequest calls the generic GenerateTransportationOptions builder with application/json body

func NewGenerateTransportationOptionsRequestWithBody

func NewGenerateTransportationOptionsRequestWithBody(server string, inboundPlanId string, contentType string, body io.Reader) (*http.Request, error)

NewGenerateTransportationOptionsRequestWithBody generates requests for GenerateTransportationOptions with any type of body

func NewGetDeliveryChallanDocumentRequest

func NewGetDeliveryChallanDocumentRequest(server string, inboundPlanId string, shipmentId string) (*http.Request, error)

NewGetDeliveryChallanDocumentRequest generates requests for GetDeliveryChallanDocument

func NewGetInboundOperationStatusRequest

func NewGetInboundOperationStatusRequest(server string, operationId string) (*http.Request, error)

NewGetInboundOperationStatusRequest generates requests for GetInboundOperationStatus

func NewGetInboundPlanRequest

func NewGetInboundPlanRequest(server string, inboundPlanId string) (*http.Request, error)

NewGetInboundPlanRequest generates requests for GetInboundPlan

func NewGetSelfShipAppointmentSlotsRequest

func NewGetSelfShipAppointmentSlotsRequest(server string, inboundPlanId string, shipmentId string, params *GetSelfShipAppointmentSlotsParams) (*http.Request, error)

NewGetSelfShipAppointmentSlotsRequest generates requests for GetSelfShipAppointmentSlots

func NewGetShipmentContentUpdatePreviewRequest added in v1.0.9

func NewGetShipmentContentUpdatePreviewRequest(server string, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*http.Request, error)

NewGetShipmentContentUpdatePreviewRequest generates requests for GetShipmentContentUpdatePreview

func NewGetShipmentRequest

func NewGetShipmentRequest(server string, inboundPlanId string, shipmentId string) (*http.Request, error)

NewGetShipmentRequest generates requests for GetShipment

func NewListDeliveryWindowOptionsRequest added in v1.0.9

func NewListDeliveryWindowOptionsRequest(server string, inboundPlanId string, shipmentId string, params *ListDeliveryWindowOptionsParams) (*http.Request, error)

NewListDeliveryWindowOptionsRequest generates requests for ListDeliveryWindowOptions

func NewListInboundPlanBoxesRequest

func NewListInboundPlanBoxesRequest(server string, inboundPlanId string, params *ListInboundPlanBoxesParams) (*http.Request, error)

NewListInboundPlanBoxesRequest generates requests for ListInboundPlanBoxes

func NewListInboundPlanItemsRequest

func NewListInboundPlanItemsRequest(server string, inboundPlanId string, params *ListInboundPlanItemsParams) (*http.Request, error)

NewListInboundPlanItemsRequest generates requests for ListInboundPlanItems

func NewListInboundPlanPalletsRequest

func NewListInboundPlanPalletsRequest(server string, inboundPlanId string, params *ListInboundPlanPalletsParams) (*http.Request, error)

NewListInboundPlanPalletsRequest generates requests for ListInboundPlanPallets

func NewListInboundPlansRequest

func NewListInboundPlansRequest(server string, params *ListInboundPlansParams) (*http.Request, error)

NewListInboundPlansRequest generates requests for ListInboundPlans

func NewListItemComplianceDetailsRequest

func NewListItemComplianceDetailsRequest(server string, params *ListItemComplianceDetailsParams) (*http.Request, error)

NewListItemComplianceDetailsRequest generates requests for ListItemComplianceDetails

func NewListPackingGroupBoxesRequest added in v1.0.9

func NewListPackingGroupBoxesRequest(server string, inboundPlanId string, packingGroupId string, params *ListPackingGroupBoxesParams) (*http.Request, error)

NewListPackingGroupBoxesRequest generates requests for ListPackingGroupBoxes

func NewListPackingGroupItemsRequest

func NewListPackingGroupItemsRequest(server string, inboundPlanId string, packingGroupId string, params *ListPackingGroupItemsParams) (*http.Request, error)

NewListPackingGroupItemsRequest generates requests for ListPackingGroupItems

func NewListPackingOptionsRequest

func NewListPackingOptionsRequest(server string, inboundPlanId string, params *ListPackingOptionsParams) (*http.Request, error)

NewListPackingOptionsRequest generates requests for ListPackingOptions

func NewListPlacementOptionsRequest

func NewListPlacementOptionsRequest(server string, inboundPlanId string, params *ListPlacementOptionsParams) (*http.Request, error)

NewListPlacementOptionsRequest generates requests for ListPlacementOptions

func NewListPrepDetailsRequest added in v1.0.9

func NewListPrepDetailsRequest(server string, params *ListPrepDetailsParams) (*http.Request, error)

NewListPrepDetailsRequest generates requests for ListPrepDetails

func NewListShipmentBoxesRequest added in v1.0.9

func NewListShipmentBoxesRequest(server string, inboundPlanId string, shipmentId string, params *ListShipmentBoxesParams) (*http.Request, error)

NewListShipmentBoxesRequest generates requests for ListShipmentBoxes

func NewListShipmentContentUpdatePreviewsRequest added in v1.0.9

func NewListShipmentContentUpdatePreviewsRequest(server string, inboundPlanId string, shipmentId string, params *ListShipmentContentUpdatePreviewsParams) (*http.Request, error)

NewListShipmentContentUpdatePreviewsRequest generates requests for ListShipmentContentUpdatePreviews

func NewListShipmentItemsRequest added in v1.0.9

func NewListShipmentItemsRequest(server string, inboundPlanId string, shipmentId string, params *ListShipmentItemsParams) (*http.Request, error)

NewListShipmentItemsRequest generates requests for ListShipmentItems

func NewListShipmentPalletsRequest added in v1.0.9

func NewListShipmentPalletsRequest(server string, inboundPlanId string, shipmentId string, params *ListShipmentPalletsParams) (*http.Request, error)

NewListShipmentPalletsRequest generates requests for ListShipmentPallets

func NewListTransportationOptionsRequest

func NewListTransportationOptionsRequest(server string, inboundPlanId string, params *ListTransportationOptionsParams) (*http.Request, error)

NewListTransportationOptionsRequest generates requests for ListTransportationOptions

func NewScheduleSelfShipAppointmentRequest

func NewScheduleSelfShipAppointmentRequest(server string, inboundPlanId string, shipmentId string, slotId string, body ScheduleSelfShipAppointmentJSONRequestBody) (*http.Request, error)

NewScheduleSelfShipAppointmentRequest calls the generic ScheduleSelfShipAppointment builder with application/json body

func NewScheduleSelfShipAppointmentRequestWithBody

func NewScheduleSelfShipAppointmentRequestWithBody(server string, inboundPlanId string, shipmentId string, slotId string, contentType string, body io.Reader) (*http.Request, error)

NewScheduleSelfShipAppointmentRequestWithBody generates requests for ScheduleSelfShipAppointment with any type of body

func NewSetPackingInformationRequest

func NewSetPackingInformationRequest(server string, inboundPlanId string, body SetPackingInformationJSONRequestBody) (*http.Request, error)

NewSetPackingInformationRequest calls the generic SetPackingInformation builder with application/json body

func NewSetPackingInformationRequestWithBody

func NewSetPackingInformationRequestWithBody(server string, inboundPlanId string, contentType string, body io.Reader) (*http.Request, error)

NewSetPackingInformationRequestWithBody generates requests for SetPackingInformation with any type of body

func NewSetPrepDetailsRequest added in v1.0.9

func NewSetPrepDetailsRequest(server string, body SetPrepDetailsJSONRequestBody) (*http.Request, error)

NewSetPrepDetailsRequest calls the generic SetPrepDetails builder with application/json body

func NewSetPrepDetailsRequestWithBody added in v1.0.9

func NewSetPrepDetailsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetPrepDetailsRequestWithBody generates requests for SetPrepDetails with any type of body

func NewUpdateInboundPlanNameRequest added in v1.0.9

func NewUpdateInboundPlanNameRequest(server string, inboundPlanId string, body UpdateInboundPlanNameJSONRequestBody) (*http.Request, error)

NewUpdateInboundPlanNameRequest calls the generic UpdateInboundPlanName builder with application/json body

func NewUpdateInboundPlanNameRequestWithBody added in v1.0.9

func NewUpdateInboundPlanNameRequestWithBody(server string, inboundPlanId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateInboundPlanNameRequestWithBody generates requests for UpdateInboundPlanName with any type of body

func NewUpdateItemComplianceDetailsRequest

func NewUpdateItemComplianceDetailsRequest(server string, params *UpdateItemComplianceDetailsParams, body UpdateItemComplianceDetailsJSONRequestBody) (*http.Request, error)

NewUpdateItemComplianceDetailsRequest calls the generic UpdateItemComplianceDetails builder with application/json body

func NewUpdateItemComplianceDetailsRequestWithBody

func NewUpdateItemComplianceDetailsRequestWithBody(server string, params *UpdateItemComplianceDetailsParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateItemComplianceDetailsRequestWithBody generates requests for UpdateItemComplianceDetails with any type of body

func NewUpdateShipmentNameRequest added in v1.0.9

func NewUpdateShipmentNameRequest(server string, inboundPlanId string, shipmentId string, body UpdateShipmentNameJSONRequestBody) (*http.Request, error)

NewUpdateShipmentNameRequest calls the generic UpdateShipmentName builder with application/json body

func NewUpdateShipmentNameRequestWithBody added in v1.0.9

func NewUpdateShipmentNameRequestWithBody(server string, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateShipmentNameRequestWithBody generates requests for UpdateShipmentName with any type of body

func NewUpdateShipmentSourceAddressRequest added in v1.0.9

func NewUpdateShipmentSourceAddressRequest(server string, inboundPlanId string, shipmentId string, body UpdateShipmentSourceAddressJSONRequestBody) (*http.Request, error)

NewUpdateShipmentSourceAddressRequest calls the generic UpdateShipmentSourceAddress builder with application/json body

func NewUpdateShipmentSourceAddressRequestWithBody added in v1.0.9

func NewUpdateShipmentSourceAddressRequestWithBody(server string, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateShipmentSourceAddressRequestWithBody generates requests for UpdateShipmentSourceAddress with any type of body

func NewUpdateShipmentTrackingDetailsRequest

func NewUpdateShipmentTrackingDetailsRequest(server string, inboundPlanId string, shipmentId string, body UpdateShipmentTrackingDetailsJSONRequestBody) (*http.Request, error)

NewUpdateShipmentTrackingDetailsRequest calls the generic UpdateShipmentTrackingDetails builder with application/json body

func NewUpdateShipmentTrackingDetailsRequestWithBody

func NewUpdateShipmentTrackingDetailsRequestWithBody(server string, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateShipmentTrackingDetailsRequestWithBody generates requests for UpdateShipmentTrackingDetails with any type of body

Types

type Address

type Address struct {
	// AddressLine1 Street address information.
	AddressLine1 string `json:"addressLine1"`

	// AddressLine2 Additional street address information.
	AddressLine2 *string `json:"addressLine2,omitempty"`

	// City The city.
	City string `json:"city"`

	// CompanyName The name of the business.
	CompanyName *string `json:"companyName,omitempty"`

	// CountryCode The country code in two-character ISO 3166-1 alpha-2 format.
	CountryCode string `json:"countryCode"`

	// Email The email address.
	Email *string `json:"email,omitempty"`

	// Name The name of the individual who is the primary contact.
	Name string `json:"name"`

	// PhoneNumber The phone number.
	PhoneNumber *string `json:"phoneNumber,omitempty"`

	// PostalCode The postal code.
	PostalCode string `json:"postalCode"`

	// StateOrProvinceCode The state or province code.
	StateOrProvinceCode *string `json:"stateOrProvinceCode,omitempty"`
}

Address Specific details to identify a place.

type AddressInput added in v1.0.9

type AddressInput struct {
	// AddressLine1 Street address information.
	AddressLine1 string `json:"addressLine1"`

	// AddressLine2 Additional street address information.
	AddressLine2 *string `json:"addressLine2,omitempty"`

	// City The city.
	City string `json:"city"`

	// CompanyName The name of the business.
	CompanyName *string `json:"companyName,omitempty"`

	// CountryCode The country code in two-character ISO 3166-1 alpha-2 format.
	CountryCode string `json:"countryCode"`

	// Email The email address.
	Email *string `json:"email,omitempty"`

	// Name The name of the individual who is the primary contact.
	Name string `json:"name"`

	// PhoneNumber The phone number.
	PhoneNumber string `json:"phoneNumber"`

	// PostalCode The postal code.
	PostalCode string `json:"postalCode"`

	// StateOrProvinceCode The state or province code.
	StateOrProvinceCode *string `json:"stateOrProvinceCode,omitempty"`
}

AddressInput Specific details to identify a place.

type AllOwnersConstraint added in v1.0.9

type AllOwnersConstraint string

AllOwnersConstraint A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.

const (
	MUSTMATCH AllOwnersConstraint = "MUST_MATCH"
)

Defines values for AllOwnersConstraint.

type AppointmentSlot

type AppointmentSlot struct {
	// SlotId An identifier to a self-ship appointment slot.
	SlotId string `json:"slotId"`

	// SlotTime An appointment slot time with start and end.
	SlotTime AppointmentSlotTime `json:"slotTime"`
}

AppointmentSlot The fulfillment center appointment slot for the transportation option.

type AppointmentSlotTime

type AppointmentSlotTime struct {
	// EndTime The end timestamp of the appointment in UTC.
	EndTime time.Time `json:"endTime"`

	// StartTime The start timestamp of the appointment in UTC.
	StartTime time.Time `json:"startTime"`
}

AppointmentSlotTime An appointment slot time with start and end.

type Box

type Box struct {
	// BoxId The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
	BoxId *string `json:"boxId,omitempty"`

	// ContentInformationSource Indication of how box content is meant to be provided.
	ContentInformationSource *BoxContentInformationSource `json:"contentInformationSource,omitempty"`

	// DestinationRegion Representation of a location used within the inbounding experience.
	DestinationRegion *Region `json:"destinationRegion,omitempty"`

	// Dimensions Measurement of a package's dimensions.
	Dimensions *Dimensions `json:"dimensions,omitempty"`

	// Items Items contained within the box.
	Items *[]Item `json:"items,omitempty"`

	// PackageId Primary key to uniquely identify a Package (Box or Pallet).
	PackageId string `json:"packageId"`

	// Quantity The number of containers where all other properties like weight or dimensions are identical.
	Quantity *int `json:"quantity,omitempty"`

	// TemplateName Template name of the box.
	TemplateName *string `json:"templateName,omitempty"`

	// Weight The weight of a package.
	Weight *Weight `json:"weight,omitempty"`
}

Box Contains information about a box that is used in the inbound plan. The box is a container that holds multiple items.

type BoxContentInformationSource

type BoxContentInformationSource string

BoxContentInformationSource Indication of how box content is meant to be provided.

const (
	BARCODE2D          BoxContentInformationSource = "BARCODE_2D"
	BOXCONTENTPROVIDED BoxContentInformationSource = "BOX_CONTENT_PROVIDED"
	MANUALPROCESS      BoxContentInformationSource = "MANUAL_PROCESS"
)

Defines values for BoxContentInformationSource.

type BoxInput

type BoxInput struct {
	// ContentInformationSource Indication of how box content is meant to be provided.
	ContentInformationSource BoxContentInformationSource `json:"contentInformationSource"`

	// Dimensions Measurement of a package's dimensions.
	Dimensions Dimensions `json:"dimensions"`

	// Items The items and their quantity in the box. This must be empty if the box `contentInformationSource` is `BARCODE_2D` or `MANUAL_PROCESS`.
	Items *[]ItemInput `json:"items,omitempty"`

	// Quantity The number of containers where all other properties like weight or dimensions are identical.
	Quantity int `json:"quantity"`

	// Weight The weight of a package.
	Weight Weight `json:"weight"`
}

BoxInput Input information for a given box.

type BoxUpdateInput added in v1.0.9

type BoxUpdateInput struct {
	// ContentInformationSource Indication of how box content is meant to be provided.
	ContentInformationSource BoxContentInformationSource `json:"contentInformationSource"`

	// Dimensions Measurement of a package's dimensions.
	Dimensions Dimensions `json:"dimensions"`

	// Items The items and their quantity in the box. This must be empty if the box `contentInformationSource` is `BARCODE_2D` or `MANUAL_PROCESS`.
	Items *[]ItemInput `json:"items,omitempty"`

	// PackageId Primary key to uniquely identify a Box Package. PackageId must be provided if the intent is to update an existing box. Adding a new box will not require providing this value. Any existing PackageIds not provided will be treated as to-be-removed
	PackageId *string `json:"packageId,omitempty"`

	// Quantity The number of containers where all other properties like weight or dimensions are identical.
	Quantity int `json:"quantity"`

	// Weight The weight of a package.
	Weight Weight `json:"weight"`
}

BoxUpdateInput Input information for updating a box

type CancelInboundPlanResp

type CancelInboundPlanResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *CancelInboundPlanResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseCancelInboundPlanResp

func ParseCancelInboundPlanResp(rsp *http.Response) (*CancelInboundPlanResp, error)

ParseCancelInboundPlanResp parses an HTTP response from a CancelInboundPlanWithResponse call

func (CancelInboundPlanResp) Status

func (r CancelInboundPlanResp) Status() string

Status returns HTTPResponse.Status

func (CancelInboundPlanResp) StatusCode

func (r CancelInboundPlanResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelInboundPlanResponse

type CancelInboundPlanResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

CancelInboundPlanResponse The `cancelInboundPlan` response.

type CancelSelfShipAppointmentJSONRequestBody

type CancelSelfShipAppointmentJSONRequestBody = CancelSelfShipAppointmentRequest

CancelSelfShipAppointmentJSONRequestBody defines body for CancelSelfShipAppointment for application/json ContentType.

type CancelSelfShipAppointmentRequest

type CancelSelfShipAppointmentRequest struct {
	// ReasonComment Reason for cancelling or rescheduling a self-ship appointment.
	ReasonComment *ReasonComment `json:"reasonComment,omitempty"`
}

CancelSelfShipAppointmentRequest The `cancelSelfShipAppointment` request.

type CancelSelfShipAppointmentResp

type CancelSelfShipAppointmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *CancelSelfShipAppointmentResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseCancelSelfShipAppointmentResp

func ParseCancelSelfShipAppointmentResp(rsp *http.Response) (*CancelSelfShipAppointmentResp, error)

ParseCancelSelfShipAppointmentResp parses an HTTP response from a CancelSelfShipAppointmentWithResponse call

func (CancelSelfShipAppointmentResp) Status

Status returns HTTPResponse.Status

func (CancelSelfShipAppointmentResp) StatusCode

func (r CancelSelfShipAppointmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelSelfShipAppointmentResponse

type CancelSelfShipAppointmentResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

CancelSelfShipAppointmentResponse The `CancelSelfShipAppointment` response.

type Carrier

type Carrier struct {
	// AlphaCode The carrier code. For example, USPS or DHLEX.
	AlphaCode *string `json:"alphaCode,omitempty"`

	// Name The name of the carrier.
	Name *string `json:"name,omitempty"`
}

Carrier The carrier for the inbound shipment.

type CarrierAppointment added in v1.0.9

type CarrierAppointment struct {
	// EndTime The end timestamp of the appointment in UTC.
	EndTime time.Time `json:"endTime"`

	// StartTime The start timestamp of the appointment in UTC.
	StartTime time.Time `json:"startTime"`
}

CarrierAppointment Contains details for a transportation carrier appointment. This appointment is vended out by Amazon and is an indicator for when a transportation carrier is accepting shipments to be picked up.

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) CancelInboundPlan

func (c *Client) CancelInboundPlan(ctx context.Context, inboundPlanId string) (*http.Response, error)

func (*Client) CancelSelfShipAppointment

func (c *Client) CancelSelfShipAppointment(ctx context.Context, inboundPlanId string, shipmentId string, body CancelSelfShipAppointmentJSONRequestBody) (*http.Response, error)

func (*Client) CancelSelfShipAppointmentWithBody

func (c *Client) CancelSelfShipAppointmentWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) ConfirmDeliveryWindowOptions added in v1.0.9

func (c *Client) ConfirmDeliveryWindowOptions(ctx context.Context, inboundPlanId string, shipmentId string, deliveryWindowOptionId string) (*http.Response, error)

func (*Client) ConfirmPackingOption

func (c *Client) ConfirmPackingOption(ctx context.Context, inboundPlanId string, packingOptionId string) (*http.Response, error)

func (*Client) ConfirmPlacementOption

func (c *Client) ConfirmPlacementOption(ctx context.Context, inboundPlanId string, placementOptionId string) (*http.Response, error)

func (*Client) ConfirmShipmentContentUpdatePreview added in v1.0.9

func (c *Client) ConfirmShipmentContentUpdatePreview(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*http.Response, error)

func (*Client) ConfirmTransportationOptions

func (c *Client) ConfirmTransportationOptions(ctx context.Context, inboundPlanId string, body ConfirmTransportationOptionsJSONRequestBody) (*http.Response, error)

func (*Client) ConfirmTransportationOptionsWithBody

func (c *Client) ConfirmTransportationOptionsWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateInboundPlan

func (c *Client) CreateInboundPlan(ctx context.Context, body CreateInboundPlanJSONRequestBody) (*http.Response, error)

func (*Client) CreateInboundPlanWithBody

func (c *Client) CreateInboundPlanWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

func (*Client) CreateMarketplaceItemLabels added in v1.0.9

func (c *Client) CreateMarketplaceItemLabels(ctx context.Context, body CreateMarketplaceItemLabelsJSONRequestBody) (*http.Response, error)

func (*Client) CreateMarketplaceItemLabelsWithBody added in v1.0.9

func (c *Client) CreateMarketplaceItemLabelsWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GenerateDeliveryWindowOptions added in v1.0.9

func (c *Client) GenerateDeliveryWindowOptions(ctx context.Context, inboundPlanId string, shipmentId string) (*http.Response, error)

func (*Client) GeneratePackingOptions

func (c *Client) GeneratePackingOptions(ctx context.Context, inboundPlanId string) (*http.Response, error)

func (*Client) GeneratePlacementOptions

func (c *Client) GeneratePlacementOptions(ctx context.Context, inboundPlanId string, body GeneratePlacementOptionsJSONRequestBody) (*http.Response, error)

func (*Client) GeneratePlacementOptionsWithBody

func (c *Client) GeneratePlacementOptionsWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GenerateSelfShipAppointmentSlots

func (c *Client) GenerateSelfShipAppointmentSlots(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateSelfShipAppointmentSlotsJSONRequestBody) (*http.Response, error)

func (*Client) GenerateSelfShipAppointmentSlotsWithBody

func (c *Client) GenerateSelfShipAppointmentSlotsWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GenerateShipmentContentUpdatePreviews added in v1.0.9

func (c *Client) GenerateShipmentContentUpdatePreviews(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateShipmentContentUpdatePreviewsJSONRequestBody) (*http.Response, error)

func (*Client) GenerateShipmentContentUpdatePreviewsWithBody added in v1.0.9

func (c *Client) GenerateShipmentContentUpdatePreviewsWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GenerateTransportationOptions

func (c *Client) GenerateTransportationOptions(ctx context.Context, inboundPlanId string, body GenerateTransportationOptionsJSONRequestBody) (*http.Response, error)

func (*Client) GenerateTransportationOptionsWithBody

func (c *Client) GenerateTransportationOptionsWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) GetDeliveryChallanDocument

func (c *Client) GetDeliveryChallanDocument(ctx context.Context, inboundPlanId string, shipmentId string) (*http.Response, error)

func (*Client) GetInboundOperationStatus

func (c *Client) GetInboundOperationStatus(ctx context.Context, operationId string) (*http.Response, error)

func (*Client) GetInboundPlan

func (c *Client) GetInboundPlan(ctx context.Context, inboundPlanId string) (*http.Response, error)

func (*Client) GetSelfShipAppointmentSlots

func (c *Client) GetSelfShipAppointmentSlots(ctx context.Context, inboundPlanId string, shipmentId string, params *GetSelfShipAppointmentSlotsParams) (*http.Response, error)

func (*Client) GetShipment

func (c *Client) GetShipment(ctx context.Context, inboundPlanId string, shipmentId string) (*http.Response, error)

func (*Client) GetShipmentContentUpdatePreview added in v1.0.9

func (c *Client) GetShipmentContentUpdatePreview(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*http.Response, error)

func (*Client) ListDeliveryWindowOptions added in v1.0.9

func (c *Client) ListDeliveryWindowOptions(ctx context.Context, inboundPlanId string, shipmentId string, params *ListDeliveryWindowOptionsParams) (*http.Response, error)

func (*Client) ListInboundPlanBoxes

func (c *Client) ListInboundPlanBoxes(ctx context.Context, inboundPlanId string, params *ListInboundPlanBoxesParams) (*http.Response, error)

func (*Client) ListInboundPlanItems

func (c *Client) ListInboundPlanItems(ctx context.Context, inboundPlanId string, params *ListInboundPlanItemsParams) (*http.Response, error)

func (*Client) ListInboundPlanPallets

func (c *Client) ListInboundPlanPallets(ctx context.Context, inboundPlanId string, params *ListInboundPlanPalletsParams) (*http.Response, error)

func (*Client) ListInboundPlans

func (c *Client) ListInboundPlans(ctx context.Context, params *ListInboundPlansParams) (*http.Response, error)

func (*Client) ListItemComplianceDetails

func (c *Client) ListItemComplianceDetails(ctx context.Context, params *ListItemComplianceDetailsParams) (*http.Response, error)

func (*Client) ListPackingGroupBoxes added in v1.0.9

func (c *Client) ListPackingGroupBoxes(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupBoxesParams) (*http.Response, error)

func (*Client) ListPackingGroupItems

func (c *Client) ListPackingGroupItems(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupItemsParams) (*http.Response, error)

func (*Client) ListPackingOptions

func (c *Client) ListPackingOptions(ctx context.Context, inboundPlanId string, params *ListPackingOptionsParams) (*http.Response, error)

func (*Client) ListPlacementOptions

func (c *Client) ListPlacementOptions(ctx context.Context, inboundPlanId string, params *ListPlacementOptionsParams) (*http.Response, error)

func (*Client) ListPrepDetails added in v1.0.9

func (c *Client) ListPrepDetails(ctx context.Context, params *ListPrepDetailsParams) (*http.Response, error)

func (*Client) ListShipmentBoxes added in v1.0.9

func (c *Client) ListShipmentBoxes(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentBoxesParams) (*http.Response, error)

func (*Client) ListShipmentContentUpdatePreviews added in v1.0.9

func (c *Client) ListShipmentContentUpdatePreviews(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentContentUpdatePreviewsParams) (*http.Response, error)

func (*Client) ListShipmentItems added in v1.0.9

func (c *Client) ListShipmentItems(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentItemsParams) (*http.Response, error)

func (*Client) ListShipmentPallets added in v1.0.9

func (c *Client) ListShipmentPallets(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentPalletsParams) (*http.Response, error)

func (*Client) ListTransportationOptions

func (c *Client) ListTransportationOptions(ctx context.Context, inboundPlanId string, params *ListTransportationOptionsParams) (*http.Response, error)

func (*Client) ScheduleSelfShipAppointment

func (c *Client) ScheduleSelfShipAppointment(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, body ScheduleSelfShipAppointmentJSONRequestBody) (*http.Response, error)

func (*Client) ScheduleSelfShipAppointmentWithBody

func (c *Client) ScheduleSelfShipAppointmentWithBody(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) SetPackingInformation

func (c *Client) SetPackingInformation(ctx context.Context, inboundPlanId string, body SetPackingInformationJSONRequestBody) (*http.Response, error)

func (*Client) SetPackingInformationWithBody

func (c *Client) SetPackingInformationWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) SetPrepDetails added in v1.0.9

func (c *Client) SetPrepDetails(ctx context.Context, body SetPrepDetailsJSONRequestBody) (*http.Response, error)

func (*Client) SetPrepDetailsWithBody added in v1.0.9

func (c *Client) SetPrepDetailsWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateInboundPlanName added in v1.0.9

func (c *Client) UpdateInboundPlanName(ctx context.Context, inboundPlanId string, body UpdateInboundPlanNameJSONRequestBody) (*http.Response, error)

func (*Client) UpdateInboundPlanNameWithBody added in v1.0.9

func (c *Client) UpdateInboundPlanNameWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateItemComplianceDetailsWithBody

func (c *Client) UpdateItemComplianceDetailsWithBody(ctx context.Context, params *UpdateItemComplianceDetailsParams, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateShipmentName added in v1.0.9

func (c *Client) UpdateShipmentName(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentNameJSONRequestBody) (*http.Response, error)

func (*Client) UpdateShipmentNameWithBody added in v1.0.9

func (c *Client) UpdateShipmentNameWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateShipmentSourceAddress added in v1.0.9

func (c *Client) UpdateShipmentSourceAddress(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentSourceAddressJSONRequestBody) (*http.Response, error)

func (*Client) UpdateShipmentSourceAddressWithBody added in v1.0.9

func (c *Client) UpdateShipmentSourceAddressWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

func (*Client) UpdateShipmentTrackingDetails

func (c *Client) UpdateShipmentTrackingDetails(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentTrackingDetailsJSONRequestBody) (*http.Response, error)

func (*Client) UpdateShipmentTrackingDetailsWithBody

func (c *Client) UpdateShipmentTrackingDetailsWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListInboundPlans request
	ListInboundPlans(ctx context.Context, params *ListInboundPlansParams) (*http.Response, error)

	// CreateInboundPlanWithBody request with any body
	CreateInboundPlanWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

	CreateInboundPlan(ctx context.Context, body CreateInboundPlanJSONRequestBody) (*http.Response, error)

	// GetInboundPlan request
	GetInboundPlan(ctx context.Context, inboundPlanId string) (*http.Response, error)

	// ListInboundPlanBoxes request
	ListInboundPlanBoxes(ctx context.Context, inboundPlanId string, params *ListInboundPlanBoxesParams) (*http.Response, error)

	// CancelInboundPlan request
	CancelInboundPlan(ctx context.Context, inboundPlanId string) (*http.Response, error)

	// ListInboundPlanItems request
	ListInboundPlanItems(ctx context.Context, inboundPlanId string, params *ListInboundPlanItemsParams) (*http.Response, error)

	// UpdateInboundPlanNameWithBody request with any body
	UpdateInboundPlanNameWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

	UpdateInboundPlanName(ctx context.Context, inboundPlanId string, body UpdateInboundPlanNameJSONRequestBody) (*http.Response, error)

	// ListPackingGroupBoxes request
	ListPackingGroupBoxes(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupBoxesParams) (*http.Response, error)

	// ListPackingGroupItems request
	ListPackingGroupItems(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupItemsParams) (*http.Response, error)

	// SetPackingInformationWithBody request with any body
	SetPackingInformationWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

	SetPackingInformation(ctx context.Context, inboundPlanId string, body SetPackingInformationJSONRequestBody) (*http.Response, error)

	// ListPackingOptions request
	ListPackingOptions(ctx context.Context, inboundPlanId string, params *ListPackingOptionsParams) (*http.Response, error)

	// GeneratePackingOptions request
	GeneratePackingOptions(ctx context.Context, inboundPlanId string) (*http.Response, error)

	// ConfirmPackingOption request
	ConfirmPackingOption(ctx context.Context, inboundPlanId string, packingOptionId string) (*http.Response, error)

	// ListInboundPlanPallets request
	ListInboundPlanPallets(ctx context.Context, inboundPlanId string, params *ListInboundPlanPalletsParams) (*http.Response, error)

	// ListPlacementOptions request
	ListPlacementOptions(ctx context.Context, inboundPlanId string, params *ListPlacementOptionsParams) (*http.Response, error)

	// GeneratePlacementOptionsWithBody request with any body
	GeneratePlacementOptionsWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

	GeneratePlacementOptions(ctx context.Context, inboundPlanId string, body GeneratePlacementOptionsJSONRequestBody) (*http.Response, error)

	// ConfirmPlacementOption request
	ConfirmPlacementOption(ctx context.Context, inboundPlanId string, placementOptionId string) (*http.Response, error)

	// GetShipment request
	GetShipment(ctx context.Context, inboundPlanId string, shipmentId string) (*http.Response, error)

	// ListShipmentBoxes request
	ListShipmentBoxes(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentBoxesParams) (*http.Response, error)

	// ListShipmentContentUpdatePreviews request
	ListShipmentContentUpdatePreviews(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentContentUpdatePreviewsParams) (*http.Response, error)

	// GenerateShipmentContentUpdatePreviewsWithBody request with any body
	GenerateShipmentContentUpdatePreviewsWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

	GenerateShipmentContentUpdatePreviews(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateShipmentContentUpdatePreviewsJSONRequestBody) (*http.Response, error)

	// GetShipmentContentUpdatePreview request
	GetShipmentContentUpdatePreview(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*http.Response, error)

	// ConfirmShipmentContentUpdatePreview request
	ConfirmShipmentContentUpdatePreview(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*http.Response, error)

	// GetDeliveryChallanDocument request
	GetDeliveryChallanDocument(ctx context.Context, inboundPlanId string, shipmentId string) (*http.Response, error)

	// ListDeliveryWindowOptions request
	ListDeliveryWindowOptions(ctx context.Context, inboundPlanId string, shipmentId string, params *ListDeliveryWindowOptionsParams) (*http.Response, error)

	// GenerateDeliveryWindowOptions request
	GenerateDeliveryWindowOptions(ctx context.Context, inboundPlanId string, shipmentId string) (*http.Response, error)

	// ConfirmDeliveryWindowOptions request
	ConfirmDeliveryWindowOptions(ctx context.Context, inboundPlanId string, shipmentId string, deliveryWindowOptionId string) (*http.Response, error)

	// ListShipmentItems request
	ListShipmentItems(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentItemsParams) (*http.Response, error)

	// UpdateShipmentNameWithBody request with any body
	UpdateShipmentNameWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

	UpdateShipmentName(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentNameJSONRequestBody) (*http.Response, error)

	// ListShipmentPallets request
	ListShipmentPallets(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentPalletsParams) (*http.Response, error)

	// CancelSelfShipAppointmentWithBody request with any body
	CancelSelfShipAppointmentWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

	CancelSelfShipAppointment(ctx context.Context, inboundPlanId string, shipmentId string, body CancelSelfShipAppointmentJSONRequestBody) (*http.Response, error)

	// GetSelfShipAppointmentSlots request
	GetSelfShipAppointmentSlots(ctx context.Context, inboundPlanId string, shipmentId string, params *GetSelfShipAppointmentSlotsParams) (*http.Response, error)

	// GenerateSelfShipAppointmentSlotsWithBody request with any body
	GenerateSelfShipAppointmentSlotsWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

	GenerateSelfShipAppointmentSlots(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateSelfShipAppointmentSlotsJSONRequestBody) (*http.Response, error)

	// ScheduleSelfShipAppointmentWithBody request with any body
	ScheduleSelfShipAppointmentWithBody(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, contentType string, body io.Reader) (*http.Response, error)

	ScheduleSelfShipAppointment(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, body ScheduleSelfShipAppointmentJSONRequestBody) (*http.Response, error)

	// UpdateShipmentSourceAddressWithBody request with any body
	UpdateShipmentSourceAddressWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

	UpdateShipmentSourceAddress(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentSourceAddressJSONRequestBody) (*http.Response, error)

	// UpdateShipmentTrackingDetailsWithBody request with any body
	UpdateShipmentTrackingDetailsWithBody(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*http.Response, error)

	UpdateShipmentTrackingDetails(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentTrackingDetailsJSONRequestBody) (*http.Response, error)

	// ListTransportationOptions request
	ListTransportationOptions(ctx context.Context, inboundPlanId string, params *ListTransportationOptionsParams) (*http.Response, error)

	// GenerateTransportationOptionsWithBody request with any body
	GenerateTransportationOptionsWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

	GenerateTransportationOptions(ctx context.Context, inboundPlanId string, body GenerateTransportationOptionsJSONRequestBody) (*http.Response, error)

	// ConfirmTransportationOptionsWithBody request with any body
	ConfirmTransportationOptionsWithBody(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*http.Response, error)

	ConfirmTransportationOptions(ctx context.Context, inboundPlanId string, body ConfirmTransportationOptionsJSONRequestBody) (*http.Response, error)

	// ListItemComplianceDetails request
	ListItemComplianceDetails(ctx context.Context, params *ListItemComplianceDetailsParams) (*http.Response, error)

	// UpdateItemComplianceDetailsWithBody request with any body
	UpdateItemComplianceDetailsWithBody(ctx context.Context, params *UpdateItemComplianceDetailsParams, contentType string, body io.Reader) (*http.Response, error)

	UpdateItemComplianceDetails(ctx context.Context, params *UpdateItemComplianceDetailsParams, body UpdateItemComplianceDetailsJSONRequestBody) (*http.Response, error)

	// CreateMarketplaceItemLabelsWithBody request with any body
	CreateMarketplaceItemLabelsWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

	CreateMarketplaceItemLabels(ctx context.Context, body CreateMarketplaceItemLabelsJSONRequestBody) (*http.Response, error)

	// ListPrepDetails request
	ListPrepDetails(ctx context.Context, params *ListPrepDetailsParams) (*http.Response, error)

	// SetPrepDetailsWithBody request with any body
	SetPrepDetailsWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)

	SetPrepDetails(ctx context.Context, body SetPrepDetailsJSONRequestBody) (*http.Response, error)

	// GetInboundOperationStatus request
	GetInboundOperationStatus(ctx context.Context, operationId string) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) CancelInboundPlanWithResponse

func (c *ClientWithResponses) CancelInboundPlanWithResponse(ctx context.Context, inboundPlanId string) (*CancelInboundPlanResp, error)

CancelInboundPlanWithResponse request returning *CancelInboundPlanResp

func (*ClientWithResponses) CancelSelfShipAppointmentWithBodyWithResponse

func (c *ClientWithResponses) CancelSelfShipAppointmentWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*CancelSelfShipAppointmentResp, error)

CancelSelfShipAppointmentWithBodyWithResponse request with arbitrary body returning *CancelSelfShipAppointmentResp

func (*ClientWithResponses) CancelSelfShipAppointmentWithResponse

func (c *ClientWithResponses) CancelSelfShipAppointmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body CancelSelfShipAppointmentJSONRequestBody) (*CancelSelfShipAppointmentResp, error)

func (*ClientWithResponses) ConfirmDeliveryWindowOptionsWithResponse added in v1.0.9

func (c *ClientWithResponses) ConfirmDeliveryWindowOptionsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, deliveryWindowOptionId string) (*ConfirmDeliveryWindowOptionsResp, error)

ConfirmDeliveryWindowOptionsWithResponse request returning *ConfirmDeliveryWindowOptionsResp

func (*ClientWithResponses) ConfirmPackingOptionWithResponse

func (c *ClientWithResponses) ConfirmPackingOptionWithResponse(ctx context.Context, inboundPlanId string, packingOptionId string) (*ConfirmPackingOptionResp, error)

ConfirmPackingOptionWithResponse request returning *ConfirmPackingOptionResp

func (*ClientWithResponses) ConfirmPlacementOptionWithResponse

func (c *ClientWithResponses) ConfirmPlacementOptionWithResponse(ctx context.Context, inboundPlanId string, placementOptionId string) (*ConfirmPlacementOptionResp, error)

ConfirmPlacementOptionWithResponse request returning *ConfirmPlacementOptionResp

func (*ClientWithResponses) ConfirmShipmentContentUpdatePreviewWithResponse added in v1.0.9

func (c *ClientWithResponses) ConfirmShipmentContentUpdatePreviewWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*ConfirmShipmentContentUpdatePreviewResp, error)

ConfirmShipmentContentUpdatePreviewWithResponse request returning *ConfirmShipmentContentUpdatePreviewResp

func (*ClientWithResponses) ConfirmTransportationOptionsWithBodyWithResponse

func (c *ClientWithResponses) ConfirmTransportationOptionsWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*ConfirmTransportationOptionsResp, error)

ConfirmTransportationOptionsWithBodyWithResponse request with arbitrary body returning *ConfirmTransportationOptionsResp

func (*ClientWithResponses) ConfirmTransportationOptionsWithResponse

func (c *ClientWithResponses) ConfirmTransportationOptionsWithResponse(ctx context.Context, inboundPlanId string, body ConfirmTransportationOptionsJSONRequestBody) (*ConfirmTransportationOptionsResp, error)

func (*ClientWithResponses) CreateInboundPlanWithBodyWithResponse

func (c *ClientWithResponses) CreateInboundPlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInboundPlanResp, error)

CreateInboundPlanWithBodyWithResponse request with arbitrary body returning *CreateInboundPlanResp

func (*ClientWithResponses) CreateInboundPlanWithResponse

func (c *ClientWithResponses) CreateInboundPlanWithResponse(ctx context.Context, body CreateInboundPlanJSONRequestBody) (*CreateInboundPlanResp, error)

func (*ClientWithResponses) CreateMarketplaceItemLabelsWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) CreateMarketplaceItemLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateMarketplaceItemLabelsResp, error)

CreateMarketplaceItemLabelsWithBodyWithResponse request with arbitrary body returning *CreateMarketplaceItemLabelsResp

func (*ClientWithResponses) CreateMarketplaceItemLabelsWithResponse added in v1.0.9

func (*ClientWithResponses) GenerateDeliveryWindowOptionsWithResponse added in v1.0.9

func (c *ClientWithResponses) GenerateDeliveryWindowOptionsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string) (*GenerateDeliveryWindowOptionsResp, error)

GenerateDeliveryWindowOptionsWithResponse request returning *GenerateDeliveryWindowOptionsResp

func (*ClientWithResponses) GeneratePackingOptionsWithResponse

func (c *ClientWithResponses) GeneratePackingOptionsWithResponse(ctx context.Context, inboundPlanId string) (*GeneratePackingOptionsResp, error)

GeneratePackingOptionsWithResponse request returning *GeneratePackingOptionsResp

func (*ClientWithResponses) GeneratePlacementOptionsWithBodyWithResponse

func (c *ClientWithResponses) GeneratePlacementOptionsWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*GeneratePlacementOptionsResp, error)

GeneratePlacementOptionsWithBodyWithResponse request with arbitrary body returning *GeneratePlacementOptionsResp

func (*ClientWithResponses) GeneratePlacementOptionsWithResponse

func (c *ClientWithResponses) GeneratePlacementOptionsWithResponse(ctx context.Context, inboundPlanId string, body GeneratePlacementOptionsJSONRequestBody) (*GeneratePlacementOptionsResp, error)

func (*ClientWithResponses) GenerateSelfShipAppointmentSlotsWithBodyWithResponse

func (c *ClientWithResponses) GenerateSelfShipAppointmentSlotsWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*GenerateSelfShipAppointmentSlotsResp, error)

GenerateSelfShipAppointmentSlotsWithBodyWithResponse request with arbitrary body returning *GenerateSelfShipAppointmentSlotsResp

func (*ClientWithResponses) GenerateSelfShipAppointmentSlotsWithResponse

func (c *ClientWithResponses) GenerateSelfShipAppointmentSlotsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateSelfShipAppointmentSlotsJSONRequestBody) (*GenerateSelfShipAppointmentSlotsResp, error)

func (*ClientWithResponses) GenerateShipmentContentUpdatePreviewsWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) GenerateShipmentContentUpdatePreviewsWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*GenerateShipmentContentUpdatePreviewsResp, error)

GenerateShipmentContentUpdatePreviewsWithBodyWithResponse request with arbitrary body returning *GenerateShipmentContentUpdatePreviewsResp

func (*ClientWithResponses) GenerateShipmentContentUpdatePreviewsWithResponse added in v1.0.9

func (c *ClientWithResponses) GenerateShipmentContentUpdatePreviewsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateShipmentContentUpdatePreviewsJSONRequestBody) (*GenerateShipmentContentUpdatePreviewsResp, error)

func (*ClientWithResponses) GenerateTransportationOptionsWithBodyWithResponse

func (c *ClientWithResponses) GenerateTransportationOptionsWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*GenerateTransportationOptionsResp, error)

GenerateTransportationOptionsWithBodyWithResponse request with arbitrary body returning *GenerateTransportationOptionsResp

func (*ClientWithResponses) GenerateTransportationOptionsWithResponse

func (c *ClientWithResponses) GenerateTransportationOptionsWithResponse(ctx context.Context, inboundPlanId string, body GenerateTransportationOptionsJSONRequestBody) (*GenerateTransportationOptionsResp, error)

func (*ClientWithResponses) GetDeliveryChallanDocumentWithResponse

func (c *ClientWithResponses) GetDeliveryChallanDocumentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string) (*GetDeliveryChallanDocumentResp, error)

GetDeliveryChallanDocumentWithResponse request returning *GetDeliveryChallanDocumentResp

func (*ClientWithResponses) GetInboundOperationStatusWithResponse

func (c *ClientWithResponses) GetInboundOperationStatusWithResponse(ctx context.Context, operationId string) (*GetInboundOperationStatusResp, error)

GetInboundOperationStatusWithResponse request returning *GetInboundOperationStatusResp

func (*ClientWithResponses) GetInboundPlanWithResponse

func (c *ClientWithResponses) GetInboundPlanWithResponse(ctx context.Context, inboundPlanId string) (*GetInboundPlanResp, error)

GetInboundPlanWithResponse request returning *GetInboundPlanResp

func (*ClientWithResponses) GetSelfShipAppointmentSlotsWithResponse

func (c *ClientWithResponses) GetSelfShipAppointmentSlotsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *GetSelfShipAppointmentSlotsParams) (*GetSelfShipAppointmentSlotsResp, error)

GetSelfShipAppointmentSlotsWithResponse request returning *GetSelfShipAppointmentSlotsResp

func (*ClientWithResponses) GetShipmentContentUpdatePreviewWithResponse added in v1.0.9

func (c *ClientWithResponses) GetShipmentContentUpdatePreviewWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*GetShipmentContentUpdatePreviewResp, error)

GetShipmentContentUpdatePreviewWithResponse request returning *GetShipmentContentUpdatePreviewResp

func (*ClientWithResponses) GetShipmentWithResponse

func (c *ClientWithResponses) GetShipmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string) (*GetShipmentResp, error)

GetShipmentWithResponse request returning *GetShipmentResp

func (*ClientWithResponses) ListDeliveryWindowOptionsWithResponse added in v1.0.9

func (c *ClientWithResponses) ListDeliveryWindowOptionsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListDeliveryWindowOptionsParams) (*ListDeliveryWindowOptionsResp, error)

ListDeliveryWindowOptionsWithResponse request returning *ListDeliveryWindowOptionsResp

func (*ClientWithResponses) ListInboundPlanBoxesWithResponse

func (c *ClientWithResponses) ListInboundPlanBoxesWithResponse(ctx context.Context, inboundPlanId string, params *ListInboundPlanBoxesParams) (*ListInboundPlanBoxesResp, error)

ListInboundPlanBoxesWithResponse request returning *ListInboundPlanBoxesResp

func (*ClientWithResponses) ListInboundPlanItemsWithResponse

func (c *ClientWithResponses) ListInboundPlanItemsWithResponse(ctx context.Context, inboundPlanId string, params *ListInboundPlanItemsParams) (*ListInboundPlanItemsResp, error)

ListInboundPlanItemsWithResponse request returning *ListInboundPlanItemsResp

func (*ClientWithResponses) ListInboundPlanPalletsWithResponse

func (c *ClientWithResponses) ListInboundPlanPalletsWithResponse(ctx context.Context, inboundPlanId string, params *ListInboundPlanPalletsParams) (*ListInboundPlanPalletsResp, error)

ListInboundPlanPalletsWithResponse request returning *ListInboundPlanPalletsResp

func (*ClientWithResponses) ListInboundPlansWithResponse

func (c *ClientWithResponses) ListInboundPlansWithResponse(ctx context.Context, params *ListInboundPlansParams) (*ListInboundPlansResp, error)

ListInboundPlansWithResponse request returning *ListInboundPlansResp

func (*ClientWithResponses) ListItemComplianceDetailsWithResponse

func (c *ClientWithResponses) ListItemComplianceDetailsWithResponse(ctx context.Context, params *ListItemComplianceDetailsParams) (*ListItemComplianceDetailsResp, error)

ListItemComplianceDetailsWithResponse request returning *ListItemComplianceDetailsResp

func (*ClientWithResponses) ListPackingGroupBoxesWithResponse added in v1.0.9

func (c *ClientWithResponses) ListPackingGroupBoxesWithResponse(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupBoxesParams) (*ListPackingGroupBoxesResp, error)

ListPackingGroupBoxesWithResponse request returning *ListPackingGroupBoxesResp

func (*ClientWithResponses) ListPackingGroupItemsWithResponse

func (c *ClientWithResponses) ListPackingGroupItemsWithResponse(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupItemsParams) (*ListPackingGroupItemsResp, error)

ListPackingGroupItemsWithResponse request returning *ListPackingGroupItemsResp

func (*ClientWithResponses) ListPackingOptionsWithResponse

func (c *ClientWithResponses) ListPackingOptionsWithResponse(ctx context.Context, inboundPlanId string, params *ListPackingOptionsParams) (*ListPackingOptionsResp, error)

ListPackingOptionsWithResponse request returning *ListPackingOptionsResp

func (*ClientWithResponses) ListPlacementOptionsWithResponse

func (c *ClientWithResponses) ListPlacementOptionsWithResponse(ctx context.Context, inboundPlanId string, params *ListPlacementOptionsParams) (*ListPlacementOptionsResp, error)

ListPlacementOptionsWithResponse request returning *ListPlacementOptionsResp

func (*ClientWithResponses) ListPrepDetailsWithResponse added in v1.0.9

func (c *ClientWithResponses) ListPrepDetailsWithResponse(ctx context.Context, params *ListPrepDetailsParams) (*ListPrepDetailsResp, error)

ListPrepDetailsWithResponse request returning *ListPrepDetailsResp

func (*ClientWithResponses) ListShipmentBoxesWithResponse added in v1.0.9

func (c *ClientWithResponses) ListShipmentBoxesWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentBoxesParams) (*ListShipmentBoxesResp, error)

ListShipmentBoxesWithResponse request returning *ListShipmentBoxesResp

func (*ClientWithResponses) ListShipmentContentUpdatePreviewsWithResponse added in v1.0.9

func (c *ClientWithResponses) ListShipmentContentUpdatePreviewsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentContentUpdatePreviewsParams) (*ListShipmentContentUpdatePreviewsResp, error)

ListShipmentContentUpdatePreviewsWithResponse request returning *ListShipmentContentUpdatePreviewsResp

func (*ClientWithResponses) ListShipmentItemsWithResponse added in v1.0.9

func (c *ClientWithResponses) ListShipmentItemsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentItemsParams) (*ListShipmentItemsResp, error)

ListShipmentItemsWithResponse request returning *ListShipmentItemsResp

func (*ClientWithResponses) ListShipmentPalletsWithResponse added in v1.0.9

func (c *ClientWithResponses) ListShipmentPalletsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentPalletsParams) (*ListShipmentPalletsResp, error)

ListShipmentPalletsWithResponse request returning *ListShipmentPalletsResp

func (*ClientWithResponses) ListTransportationOptionsWithResponse

func (c *ClientWithResponses) ListTransportationOptionsWithResponse(ctx context.Context, inboundPlanId string, params *ListTransportationOptionsParams) (*ListTransportationOptionsResp, error)

ListTransportationOptionsWithResponse request returning *ListTransportationOptionsResp

func (*ClientWithResponses) ScheduleSelfShipAppointmentWithBodyWithResponse

func (c *ClientWithResponses) ScheduleSelfShipAppointmentWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, contentType string, body io.Reader) (*ScheduleSelfShipAppointmentResp, error)

ScheduleSelfShipAppointmentWithBodyWithResponse request with arbitrary body returning *ScheduleSelfShipAppointmentResp

func (*ClientWithResponses) ScheduleSelfShipAppointmentWithResponse

func (c *ClientWithResponses) ScheduleSelfShipAppointmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, body ScheduleSelfShipAppointmentJSONRequestBody) (*ScheduleSelfShipAppointmentResp, error)

func (*ClientWithResponses) SetPackingInformationWithBodyWithResponse

func (c *ClientWithResponses) SetPackingInformationWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*SetPackingInformationResp, error)

SetPackingInformationWithBodyWithResponse request with arbitrary body returning *SetPackingInformationResp

func (*ClientWithResponses) SetPackingInformationWithResponse

func (c *ClientWithResponses) SetPackingInformationWithResponse(ctx context.Context, inboundPlanId string, body SetPackingInformationJSONRequestBody) (*SetPackingInformationResp, error)

func (*ClientWithResponses) SetPrepDetailsWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) SetPrepDetailsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*SetPrepDetailsResp, error)

SetPrepDetailsWithBodyWithResponse request with arbitrary body returning *SetPrepDetailsResp

func (*ClientWithResponses) SetPrepDetailsWithResponse added in v1.0.9

func (c *ClientWithResponses) SetPrepDetailsWithResponse(ctx context.Context, body SetPrepDetailsJSONRequestBody) (*SetPrepDetailsResp, error)

func (*ClientWithResponses) UpdateInboundPlanNameWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) UpdateInboundPlanNameWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*UpdateInboundPlanNameResp, error)

UpdateInboundPlanNameWithBodyWithResponse request with arbitrary body returning *UpdateInboundPlanNameResp

func (*ClientWithResponses) UpdateInboundPlanNameWithResponse added in v1.0.9

func (c *ClientWithResponses) UpdateInboundPlanNameWithResponse(ctx context.Context, inboundPlanId string, body UpdateInboundPlanNameJSONRequestBody) (*UpdateInboundPlanNameResp, error)

func (*ClientWithResponses) UpdateItemComplianceDetailsWithBodyWithResponse

func (c *ClientWithResponses) UpdateItemComplianceDetailsWithBodyWithResponse(ctx context.Context, params *UpdateItemComplianceDetailsParams, contentType string, body io.Reader) (*UpdateItemComplianceDetailsResp, error)

UpdateItemComplianceDetailsWithBodyWithResponse request with arbitrary body returning *UpdateItemComplianceDetailsResp

func (*ClientWithResponses) UpdateShipmentNameWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) UpdateShipmentNameWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*UpdateShipmentNameResp, error)

UpdateShipmentNameWithBodyWithResponse request with arbitrary body returning *UpdateShipmentNameResp

func (*ClientWithResponses) UpdateShipmentNameWithResponse added in v1.0.9

func (c *ClientWithResponses) UpdateShipmentNameWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentNameJSONRequestBody) (*UpdateShipmentNameResp, error)

func (*ClientWithResponses) UpdateShipmentSourceAddressWithBodyWithResponse added in v1.0.9

func (c *ClientWithResponses) UpdateShipmentSourceAddressWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*UpdateShipmentSourceAddressResp, error)

UpdateShipmentSourceAddressWithBodyWithResponse request with arbitrary body returning *UpdateShipmentSourceAddressResp

func (*ClientWithResponses) UpdateShipmentSourceAddressWithResponse added in v1.0.9

func (c *ClientWithResponses) UpdateShipmentSourceAddressWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentSourceAddressJSONRequestBody) (*UpdateShipmentSourceAddressResp, error)

func (*ClientWithResponses) UpdateShipmentTrackingDetailsWithBodyWithResponse

func (c *ClientWithResponses) UpdateShipmentTrackingDetailsWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*UpdateShipmentTrackingDetailsResp, error)

UpdateShipmentTrackingDetailsWithBodyWithResponse request with arbitrary body returning *UpdateShipmentTrackingDetailsResp

func (*ClientWithResponses) UpdateShipmentTrackingDetailsWithResponse

func (c *ClientWithResponses) UpdateShipmentTrackingDetailsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentTrackingDetailsJSONRequestBody) (*UpdateShipmentTrackingDetailsResp, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListInboundPlansWithResponse request
	ListInboundPlansWithResponse(ctx context.Context, params *ListInboundPlansParams) (*ListInboundPlansResp, error)

	// CreateInboundPlanWithBodyWithResponse request with any body
	CreateInboundPlanWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInboundPlanResp, error)

	CreateInboundPlanWithResponse(ctx context.Context, body CreateInboundPlanJSONRequestBody) (*CreateInboundPlanResp, error)

	// GetInboundPlanWithResponse request
	GetInboundPlanWithResponse(ctx context.Context, inboundPlanId string) (*GetInboundPlanResp, error)

	// ListInboundPlanBoxesWithResponse request
	ListInboundPlanBoxesWithResponse(ctx context.Context, inboundPlanId string, params *ListInboundPlanBoxesParams) (*ListInboundPlanBoxesResp, error)

	// CancelInboundPlanWithResponse request
	CancelInboundPlanWithResponse(ctx context.Context, inboundPlanId string) (*CancelInboundPlanResp, error)

	// ListInboundPlanItemsWithResponse request
	ListInboundPlanItemsWithResponse(ctx context.Context, inboundPlanId string, params *ListInboundPlanItemsParams) (*ListInboundPlanItemsResp, error)

	// UpdateInboundPlanNameWithBodyWithResponse request with any body
	UpdateInboundPlanNameWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*UpdateInboundPlanNameResp, error)

	UpdateInboundPlanNameWithResponse(ctx context.Context, inboundPlanId string, body UpdateInboundPlanNameJSONRequestBody) (*UpdateInboundPlanNameResp, error)

	// ListPackingGroupBoxesWithResponse request
	ListPackingGroupBoxesWithResponse(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupBoxesParams) (*ListPackingGroupBoxesResp, error)

	// ListPackingGroupItemsWithResponse request
	ListPackingGroupItemsWithResponse(ctx context.Context, inboundPlanId string, packingGroupId string, params *ListPackingGroupItemsParams) (*ListPackingGroupItemsResp, error)

	// SetPackingInformationWithBodyWithResponse request with any body
	SetPackingInformationWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*SetPackingInformationResp, error)

	SetPackingInformationWithResponse(ctx context.Context, inboundPlanId string, body SetPackingInformationJSONRequestBody) (*SetPackingInformationResp, error)

	// ListPackingOptionsWithResponse request
	ListPackingOptionsWithResponse(ctx context.Context, inboundPlanId string, params *ListPackingOptionsParams) (*ListPackingOptionsResp, error)

	// GeneratePackingOptionsWithResponse request
	GeneratePackingOptionsWithResponse(ctx context.Context, inboundPlanId string) (*GeneratePackingOptionsResp, error)

	// ConfirmPackingOptionWithResponse request
	ConfirmPackingOptionWithResponse(ctx context.Context, inboundPlanId string, packingOptionId string) (*ConfirmPackingOptionResp, error)

	// ListInboundPlanPalletsWithResponse request
	ListInboundPlanPalletsWithResponse(ctx context.Context, inboundPlanId string, params *ListInboundPlanPalletsParams) (*ListInboundPlanPalletsResp, error)

	// ListPlacementOptionsWithResponse request
	ListPlacementOptionsWithResponse(ctx context.Context, inboundPlanId string, params *ListPlacementOptionsParams) (*ListPlacementOptionsResp, error)

	// GeneratePlacementOptionsWithBodyWithResponse request with any body
	GeneratePlacementOptionsWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*GeneratePlacementOptionsResp, error)

	GeneratePlacementOptionsWithResponse(ctx context.Context, inboundPlanId string, body GeneratePlacementOptionsJSONRequestBody) (*GeneratePlacementOptionsResp, error)

	// ConfirmPlacementOptionWithResponse request
	ConfirmPlacementOptionWithResponse(ctx context.Context, inboundPlanId string, placementOptionId string) (*ConfirmPlacementOptionResp, error)

	// GetShipmentWithResponse request
	GetShipmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string) (*GetShipmentResp, error)

	// ListShipmentBoxesWithResponse request
	ListShipmentBoxesWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentBoxesParams) (*ListShipmentBoxesResp, error)

	// ListShipmentContentUpdatePreviewsWithResponse request
	ListShipmentContentUpdatePreviewsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentContentUpdatePreviewsParams) (*ListShipmentContentUpdatePreviewsResp, error)

	// GenerateShipmentContentUpdatePreviewsWithBodyWithResponse request with any body
	GenerateShipmentContentUpdatePreviewsWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*GenerateShipmentContentUpdatePreviewsResp, error)

	GenerateShipmentContentUpdatePreviewsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateShipmentContentUpdatePreviewsJSONRequestBody) (*GenerateShipmentContentUpdatePreviewsResp, error)

	// GetShipmentContentUpdatePreviewWithResponse request
	GetShipmentContentUpdatePreviewWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*GetShipmentContentUpdatePreviewResp, error)

	// ConfirmShipmentContentUpdatePreviewWithResponse request
	ConfirmShipmentContentUpdatePreviewWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentUpdatePreviewId string) (*ConfirmShipmentContentUpdatePreviewResp, error)

	// GetDeliveryChallanDocumentWithResponse request
	GetDeliveryChallanDocumentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string) (*GetDeliveryChallanDocumentResp, error)

	// ListDeliveryWindowOptionsWithResponse request
	ListDeliveryWindowOptionsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListDeliveryWindowOptionsParams) (*ListDeliveryWindowOptionsResp, error)

	// GenerateDeliveryWindowOptionsWithResponse request
	GenerateDeliveryWindowOptionsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string) (*GenerateDeliveryWindowOptionsResp, error)

	// ConfirmDeliveryWindowOptionsWithResponse request
	ConfirmDeliveryWindowOptionsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, deliveryWindowOptionId string) (*ConfirmDeliveryWindowOptionsResp, error)

	// ListShipmentItemsWithResponse request
	ListShipmentItemsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentItemsParams) (*ListShipmentItemsResp, error)

	// UpdateShipmentNameWithBodyWithResponse request with any body
	UpdateShipmentNameWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*UpdateShipmentNameResp, error)

	UpdateShipmentNameWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentNameJSONRequestBody) (*UpdateShipmentNameResp, error)

	// ListShipmentPalletsWithResponse request
	ListShipmentPalletsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *ListShipmentPalletsParams) (*ListShipmentPalletsResp, error)

	// CancelSelfShipAppointmentWithBodyWithResponse request with any body
	CancelSelfShipAppointmentWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*CancelSelfShipAppointmentResp, error)

	CancelSelfShipAppointmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body CancelSelfShipAppointmentJSONRequestBody) (*CancelSelfShipAppointmentResp, error)

	// GetSelfShipAppointmentSlotsWithResponse request
	GetSelfShipAppointmentSlotsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, params *GetSelfShipAppointmentSlotsParams) (*GetSelfShipAppointmentSlotsResp, error)

	// GenerateSelfShipAppointmentSlotsWithBodyWithResponse request with any body
	GenerateSelfShipAppointmentSlotsWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*GenerateSelfShipAppointmentSlotsResp, error)

	GenerateSelfShipAppointmentSlotsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body GenerateSelfShipAppointmentSlotsJSONRequestBody) (*GenerateSelfShipAppointmentSlotsResp, error)

	// ScheduleSelfShipAppointmentWithBodyWithResponse request with any body
	ScheduleSelfShipAppointmentWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, contentType string, body io.Reader) (*ScheduleSelfShipAppointmentResp, error)

	ScheduleSelfShipAppointmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, body ScheduleSelfShipAppointmentJSONRequestBody) (*ScheduleSelfShipAppointmentResp, error)

	// UpdateShipmentSourceAddressWithBodyWithResponse request with any body
	UpdateShipmentSourceAddressWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*UpdateShipmentSourceAddressResp, error)

	UpdateShipmentSourceAddressWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentSourceAddressJSONRequestBody) (*UpdateShipmentSourceAddressResp, error)

	// UpdateShipmentTrackingDetailsWithBodyWithResponse request with any body
	UpdateShipmentTrackingDetailsWithBodyWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, contentType string, body io.Reader) (*UpdateShipmentTrackingDetailsResp, error)

	UpdateShipmentTrackingDetailsWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentTrackingDetailsJSONRequestBody) (*UpdateShipmentTrackingDetailsResp, error)

	// ListTransportationOptionsWithResponse request
	ListTransportationOptionsWithResponse(ctx context.Context, inboundPlanId string, params *ListTransportationOptionsParams) (*ListTransportationOptionsResp, error)

	// GenerateTransportationOptionsWithBodyWithResponse request with any body
	GenerateTransportationOptionsWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*GenerateTransportationOptionsResp, error)

	GenerateTransportationOptionsWithResponse(ctx context.Context, inboundPlanId string, body GenerateTransportationOptionsJSONRequestBody) (*GenerateTransportationOptionsResp, error)

	// ConfirmTransportationOptionsWithBodyWithResponse request with any body
	ConfirmTransportationOptionsWithBodyWithResponse(ctx context.Context, inboundPlanId string, contentType string, body io.Reader) (*ConfirmTransportationOptionsResp, error)

	ConfirmTransportationOptionsWithResponse(ctx context.Context, inboundPlanId string, body ConfirmTransportationOptionsJSONRequestBody) (*ConfirmTransportationOptionsResp, error)

	// ListItemComplianceDetailsWithResponse request
	ListItemComplianceDetailsWithResponse(ctx context.Context, params *ListItemComplianceDetailsParams) (*ListItemComplianceDetailsResp, error)

	// UpdateItemComplianceDetailsWithBodyWithResponse request with any body
	UpdateItemComplianceDetailsWithBodyWithResponse(ctx context.Context, params *UpdateItemComplianceDetailsParams, contentType string, body io.Reader) (*UpdateItemComplianceDetailsResp, error)

	UpdateItemComplianceDetailsWithResponse(ctx context.Context, params *UpdateItemComplianceDetailsParams, body UpdateItemComplianceDetailsJSONRequestBody) (*UpdateItemComplianceDetailsResp, error)

	// CreateMarketplaceItemLabelsWithBodyWithResponse request with any body
	CreateMarketplaceItemLabelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateMarketplaceItemLabelsResp, error)

	CreateMarketplaceItemLabelsWithResponse(ctx context.Context, body CreateMarketplaceItemLabelsJSONRequestBody) (*CreateMarketplaceItemLabelsResp, error)

	// ListPrepDetailsWithResponse request
	ListPrepDetailsWithResponse(ctx context.Context, params *ListPrepDetailsParams) (*ListPrepDetailsResp, error)

	// SetPrepDetailsWithBodyWithResponse request with any body
	SetPrepDetailsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*SetPrepDetailsResp, error)

	SetPrepDetailsWithResponse(ctx context.Context, body SetPrepDetailsJSONRequestBody) (*SetPrepDetailsResp, error)

	// GetInboundOperationStatusWithResponse request
	GetInboundOperationStatusWithResponse(ctx context.Context, operationId string) (*GetInboundOperationStatusResp, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ComplianceDetail

type ComplianceDetail struct {
	// Asin The Amazon Standard Identification Number, which identifies the detail page identifier.
	Asin *string `json:"asin,omitempty"`

	// Fnsku The Fulfillment Network SKU, which identifies a real fulfillable item with catalog data and condition.
	Fnsku *string `json:"fnsku,omitempty"`

	// Msku The merchant SKU, a merchant-supplied identifier for a specific SKU.
	Msku *string `json:"msku,omitempty"`

	// TaxDetails Information used to determine the tax compliance.
	TaxDetails *TaxDetails `json:"taxDetails,omitempty"`
}

ComplianceDetail Contains item identifiers and related tax information.

type ConfirmDeliveryWindowOptionsResp added in v1.0.9

type ConfirmDeliveryWindowOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ConfirmDeliveryWindowOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseConfirmDeliveryWindowOptionsResp added in v1.0.9

func ParseConfirmDeliveryWindowOptionsResp(rsp *http.Response) (*ConfirmDeliveryWindowOptionsResp, error)

ParseConfirmDeliveryWindowOptionsResp parses an HTTP response from a ConfirmDeliveryWindowOptionsWithResponse call

func (ConfirmDeliveryWindowOptionsResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (ConfirmDeliveryWindowOptionsResp) StatusCode added in v1.0.9

func (r ConfirmDeliveryWindowOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConfirmDeliveryWindowOptionsResponse added in v1.0.9

type ConfirmDeliveryWindowOptionsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

ConfirmDeliveryWindowOptionsResponse The `confirmDeliveryWindowOptions` response.

type ConfirmPackingOptionResp

type ConfirmPackingOptionResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ConfirmPackingOptionResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseConfirmPackingOptionResp

func ParseConfirmPackingOptionResp(rsp *http.Response) (*ConfirmPackingOptionResp, error)

ParseConfirmPackingOptionResp parses an HTTP response from a ConfirmPackingOptionWithResponse call

func (ConfirmPackingOptionResp) Status

func (r ConfirmPackingOptionResp) Status() string

Status returns HTTPResponse.Status

func (ConfirmPackingOptionResp) StatusCode

func (r ConfirmPackingOptionResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConfirmPackingOptionResponse

type ConfirmPackingOptionResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

ConfirmPackingOptionResponse The `confirmPackingOption` response.

type ConfirmPlacementOptionResp

type ConfirmPlacementOptionResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ConfirmPlacementOptionResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseConfirmPlacementOptionResp

func ParseConfirmPlacementOptionResp(rsp *http.Response) (*ConfirmPlacementOptionResp, error)

ParseConfirmPlacementOptionResp parses an HTTP response from a ConfirmPlacementOptionWithResponse call

func (ConfirmPlacementOptionResp) Status

Status returns HTTPResponse.Status

func (ConfirmPlacementOptionResp) StatusCode

func (r ConfirmPlacementOptionResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConfirmPlacementOptionResponse

type ConfirmPlacementOptionResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

ConfirmPlacementOptionResponse The `confirmPlacementOption` response.

type ConfirmShipmentContentUpdatePreviewResp added in v1.0.9

type ConfirmShipmentContentUpdatePreviewResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ConfirmShipmentContentUpdatePreviewResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseConfirmShipmentContentUpdatePreviewResp added in v1.0.9

func ParseConfirmShipmentContentUpdatePreviewResp(rsp *http.Response) (*ConfirmShipmentContentUpdatePreviewResp, error)

ParseConfirmShipmentContentUpdatePreviewResp parses an HTTP response from a ConfirmShipmentContentUpdatePreviewWithResponse call

func (ConfirmShipmentContentUpdatePreviewResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (ConfirmShipmentContentUpdatePreviewResp) StatusCode added in v1.0.9

StatusCode returns HTTPResponse.StatusCode

type ConfirmShipmentContentUpdatePreviewResponse added in v1.0.9

type ConfirmShipmentContentUpdatePreviewResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

ConfirmShipmentContentUpdatePreviewResponse The `confirmShipmentContentUpdatePreview` response.

type ConfirmTransportationOptionsJSONRequestBody

type ConfirmTransportationOptionsJSONRequestBody = ConfirmTransportationOptionsRequest

ConfirmTransportationOptionsJSONRequestBody defines body for ConfirmTransportationOptions for application/json ContentType.

type ConfirmTransportationOptionsRequest

type ConfirmTransportationOptionsRequest struct {
	// TransportationSelections Information needed to confirm one of the available transportation options.
	TransportationSelections []TransportationSelection `json:"transportationSelections"`
}

ConfirmTransportationOptionsRequest The `confirmTransportationOptions` request.

type ConfirmTransportationOptionsResp

type ConfirmTransportationOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ConfirmTransportationOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseConfirmTransportationOptionsResp

func ParseConfirmTransportationOptionsResp(rsp *http.Response) (*ConfirmTransportationOptionsResp, error)

ParseConfirmTransportationOptionsResp parses an HTTP response from a ConfirmTransportationOptionsWithResponse call

func (ConfirmTransportationOptionsResp) Status

Status returns HTTPResponse.Status

func (ConfirmTransportationOptionsResp) StatusCode

func (r ConfirmTransportationOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConfirmTransportationOptionsResponse

type ConfirmTransportationOptionsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

ConfirmTransportationOptionsResponse The `confirmTransportationOptions` response.

type ContactInformation

type ContactInformation struct {
	// Email The email address.
	Email *string `json:"email,omitempty"`

	// Name The contact's name.
	Name string `json:"name"`

	// PhoneNumber The phone number.
	PhoneNumber string `json:"phoneNumber"`
}

ContactInformation The seller's contact information.

type ContentUpdatePreview added in v1.0.9

type ContentUpdatePreview struct {
	// ContentUpdatePreviewId Identifier of a content update preview.
	ContentUpdatePreviewId string `json:"contentUpdatePreviewId"`

	// Expiration The time at which the content update expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	Expiration time.Time `json:"expiration"`

	// RequestedUpdates Objects that were included in the update request.
	RequestedUpdates RequestedUpdates `json:"requestedUpdates"`

	// TransportationOption Contains information pertaining to a transportation option and the related carrier.
	TransportationOption TransportationOption `json:"transportationOption"`
}

ContentUpdatePreview Preview of the changes that will be applied to the shipment.

type CreateInboundPlanJSONRequestBody

type CreateInboundPlanJSONRequestBody = CreateInboundPlanRequest

CreateInboundPlanJSONRequestBody defines body for CreateInboundPlan for application/json ContentType.

type CreateInboundPlanRequest

type CreateInboundPlanRequest struct {
	// DestinationMarketplaces Marketplaces where the items need to be shipped to. Currently only one marketplace can be selected in this request.
	DestinationMarketplaces []string `json:"destinationMarketplaces"`

	// Items Items included in this plan.
	Items []ItemInput `json:"items"`

	// Name Name for the Inbound Plan. If one isn't provided, a default name will be provided.
	Name *string `json:"name,omitempty"`

	// SourceAddress Specific details to identify a place.
	SourceAddress AddressInput `json:"sourceAddress"`
}

CreateInboundPlanRequest The `createInboundPlan` request.

type CreateInboundPlanResp

type CreateInboundPlanResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *CreateInboundPlanResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseCreateInboundPlanResp

func ParseCreateInboundPlanResp(rsp *http.Response) (*CreateInboundPlanResp, error)

ParseCreateInboundPlanResp parses an HTTP response from a CreateInboundPlanWithResponse call

func (CreateInboundPlanResp) Status

func (r CreateInboundPlanResp) Status() string

Status returns HTTPResponse.Status

func (CreateInboundPlanResp) StatusCode

func (r CreateInboundPlanResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInboundPlanResponse

type CreateInboundPlanResponse struct {
	// InboundPlanId Identifier of an inbound plan.
	InboundPlanId string `json:"inboundPlanId"`

	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

CreateInboundPlanResponse The `createInboundPlan` response.

type CreateMarketplaceItemLabelsJSONRequestBody added in v1.0.9

type CreateMarketplaceItemLabelsJSONRequestBody = CreateMarketplaceItemLabelsRequest

CreateMarketplaceItemLabelsJSONRequestBody defines body for CreateMarketplaceItemLabels for application/json ContentType.

type CreateMarketplaceItemLabelsRequest added in v1.0.9

type CreateMarketplaceItemLabelsRequest struct {
	// Height The height of the item label.
	Height *float32 `json:"height,omitempty"`

	// LabelType Indicates the type of print type for a given label.
	LabelType LabelPrintType `json:"labelType"`

	// LocaleCode The locale code constructed from ISO 639 language code and ISO 3166-1 alpha-2 standard of country codes separated by an underscore character.
	LocaleCode *string `json:"localeCode,omitempty"`

	// MarketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
	MarketplaceId string `json:"marketplaceId"`

	// MskuQuantities Represents the quantity of an MSKU to print item labels for.
	MskuQuantities []MskuQuantity `json:"mskuQuantities"`

	// PageType The page type to use to print the labels. Possible values: 'A4_21', 'A4_24', 'A4_24_64x33', 'A4_24_66x35', 'A4_24_70x36', 'A4_24_70x37', 'A4_24i', 'A4_27', 'A4_40_52x29', 'A4_44_48x25', 'Letter_30'.
	PageType *ItemLabelPageType `json:"pageType,omitempty"`

	// Width The width of the item label.
	Width *float32 `json:"width,omitempty"`
}

CreateMarketplaceItemLabelsRequest The `createMarketplaceItemLabels` request.

type CreateMarketplaceItemLabelsResp added in v1.0.9

type CreateMarketplaceItemLabelsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateMarketplaceItemLabelsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseCreateMarketplaceItemLabelsResp added in v1.0.9

func ParseCreateMarketplaceItemLabelsResp(rsp *http.Response) (*CreateMarketplaceItemLabelsResp, error)

ParseCreateMarketplaceItemLabelsResp parses an HTTP response from a CreateMarketplaceItemLabelsWithResponse call

func (CreateMarketplaceItemLabelsResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (CreateMarketplaceItemLabelsResp) StatusCode added in v1.0.9

func (r CreateMarketplaceItemLabelsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMarketplaceItemLabelsResponse added in v1.0.9

type CreateMarketplaceItemLabelsResponse struct {
	// DocumentDownloads Resources to download the requested document.
	DocumentDownloads []DocumentDownload `json:"documentDownloads"`
}

CreateMarketplaceItemLabelsResponse The `createMarketplaceItemLabels` response.

type Currency

type Currency struct {
	// Amount Decimal value of the currency.
	Amount float32 `json:"amount"`

	// Code ISO 4217 standard of a currency code.
	Code string `json:"code"`
}

Currency The type and amount of currency.

type CustomPlacementInput

type CustomPlacementInput struct {
	// Items Items included while creating Inbound Plan.
	Items []ItemInput `json:"items"`

	// WarehouseId Warehouse Id.
	WarehouseId string `json:"warehouseId"`
}

CustomPlacementInput Provide units going to the warehouse.

type Dates

type Dates struct {
	// ReadyToShipWindow Contains a start and end DateTime representing a time range.
	ReadyToShipWindow *Window `json:"readyToShipWindow,omitempty"`
}

Dates Specifies the date that the seller expects their shipment will be shipped.

type DeliveryWindowOption added in v1.0.9

type DeliveryWindowOption struct {
	// AvailabilityType Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
	AvailabilityType string `json:"availabilityType"`

	// DeliveryWindowOptionId Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
	DeliveryWindowOptionId string `json:"deliveryWindowOptionId"`

	// EndDate The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
	EndDate time.Time `json:"endDate"`

	// StartDate The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
	StartDate time.Time `json:"startDate"`

	// ValidUntil The time at which this window delivery option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
	ValidUntil time.Time `json:"validUntil"`
}

DeliveryWindowOption Contains information pertaining to a delivery window option.

type Dimensions

type Dimensions struct {
	// Height The height of a package.
	Height float32 `json:"height"`

	// Length The length of a package.
	Length float32 `json:"length"`

	// UnitOfMeasurement Unit of linear measure.
	UnitOfMeasurement UnitOfMeasurement `json:"unitOfMeasurement"`

	// Width The width of a package.
	Width float32 `json:"width"`
}

Dimensions Measurement of a package's dimensions.

type DocumentDownload

type DocumentDownload struct {
	// DownloadType The type of download. Possible values: `URL`.
	DownloadType string `json:"downloadType"`

	// Expiration The URI's expiration time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	Expiration *time.Time `json:"expiration,omitempty"`

	// Uri Uniform resource identifier to identify where the document is located.
	Uri string `json:"uri"`
}

DocumentDownload Resource to download the requested document.

type Error

type Error struct {
	// Code An error code that identifies the type of error that occurred.
	Code string `json:"code"`

	// Details Additional details that can help the caller understand or fix the issue.
	Details *string `json:"details,omitempty"`

	// Message A message that describes the error condition.
	Message string `json:"message"`
}

Error Error object containing information about what went wrong.

type ErrorList

type ErrorList struct {
	// Errors List of errors.
	Errors []Error `json:"errors"`
}

ErrorList A list of error responses returned when a request is unsuccessful.

type FreightInformation added in v1.0.9

type FreightInformation struct {
	// DeclaredValue The type and amount of currency.
	DeclaredValue *Currency `json:"declaredValue,omitempty"`

	// FreightClass Freight class.
	//
	// Possible values: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`.
	FreightClass *string `json:"freightClass,omitempty"`
}

FreightInformation Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.

type GenerateDeliveryWindowOptionsResp added in v1.0.9

type GenerateDeliveryWindowOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *GenerateDeliveryWindowOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGenerateDeliveryWindowOptionsResp added in v1.0.9

func ParseGenerateDeliveryWindowOptionsResp(rsp *http.Response) (*GenerateDeliveryWindowOptionsResp, error)

ParseGenerateDeliveryWindowOptionsResp parses an HTTP response from a GenerateDeliveryWindowOptionsWithResponse call

func (GenerateDeliveryWindowOptionsResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (GenerateDeliveryWindowOptionsResp) StatusCode added in v1.0.9

func (r GenerateDeliveryWindowOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenerateDeliveryWindowOptionsResponse added in v1.0.9

type GenerateDeliveryWindowOptionsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

GenerateDeliveryWindowOptionsResponse The `generateDeliveryWindowOptions` response.

type GeneratePackingOptionsResp

type GeneratePackingOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *GeneratePackingOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGeneratePackingOptionsResp

func ParseGeneratePackingOptionsResp(rsp *http.Response) (*GeneratePackingOptionsResp, error)

ParseGeneratePackingOptionsResp parses an HTTP response from a GeneratePackingOptionsWithResponse call

func (GeneratePackingOptionsResp) Status

Status returns HTTPResponse.Status

func (GeneratePackingOptionsResp) StatusCode

func (r GeneratePackingOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GeneratePackingOptionsResponse

type GeneratePackingOptionsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

GeneratePackingOptionsResponse The `generatePackingOptions` response.

type GeneratePlacementOptionsJSONRequestBody

type GeneratePlacementOptionsJSONRequestBody = GeneratePlacementOptionsRequest

GeneratePlacementOptionsJSONRequestBody defines body for GeneratePlacementOptions for application/json ContentType.

type GeneratePlacementOptionsRequest

type GeneratePlacementOptionsRequest struct {
	// CustomPlacement Custom placement options you want to add to the plan. This is only used for the India (IN - A21TJRUUN4KGV) marketplace.
	CustomPlacement *[]CustomPlacementInput `json:"customPlacement,omitempty"`
}

GeneratePlacementOptionsRequest The `generatePlacementOptions` request.

type GeneratePlacementOptionsResp

type GeneratePlacementOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *GeneratePlacementOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGeneratePlacementOptionsResp

func ParseGeneratePlacementOptionsResp(rsp *http.Response) (*GeneratePlacementOptionsResp, error)

ParseGeneratePlacementOptionsResp parses an HTTP response from a GeneratePlacementOptionsWithResponse call

func (GeneratePlacementOptionsResp) Status

Status returns HTTPResponse.Status

func (GeneratePlacementOptionsResp) StatusCode

func (r GeneratePlacementOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GeneratePlacementOptionsResponse

type GeneratePlacementOptionsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

GeneratePlacementOptionsResponse The `generatePlacementOptions` response.

type GenerateSelfShipAppointmentSlotsJSONRequestBody

type GenerateSelfShipAppointmentSlotsJSONRequestBody = GenerateSelfShipAppointmentSlotsRequest

GenerateSelfShipAppointmentSlotsJSONRequestBody defines body for GenerateSelfShipAppointmentSlots for application/json ContentType.

type GenerateSelfShipAppointmentSlotsRequest

type GenerateSelfShipAppointmentSlotsRequest struct {
	// DesiredEndDate The desired end date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.
	DesiredEndDate *time.Time `json:"desiredEndDate,omitempty"`

	// DesiredStartDate The desired start date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.
	DesiredStartDate *time.Time `json:"desiredStartDate,omitempty"`
}

GenerateSelfShipAppointmentSlotsRequest The `generateSelfShipAppointmentSlots` request.

type GenerateSelfShipAppointmentSlotsResp

type GenerateSelfShipAppointmentSlotsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *GenerateSelfShipAppointmentSlotsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGenerateSelfShipAppointmentSlotsResp

func ParseGenerateSelfShipAppointmentSlotsResp(rsp *http.Response) (*GenerateSelfShipAppointmentSlotsResp, error)

ParseGenerateSelfShipAppointmentSlotsResp parses an HTTP response from a GenerateSelfShipAppointmentSlotsWithResponse call

func (GenerateSelfShipAppointmentSlotsResp) Status

Status returns HTTPResponse.Status

func (GenerateSelfShipAppointmentSlotsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GenerateSelfShipAppointmentSlotsResponse

type GenerateSelfShipAppointmentSlotsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

GenerateSelfShipAppointmentSlotsResponse The `generateSelfShipAppointmentSlots` response.

type GenerateShipmentContentUpdatePreviewsJSONRequestBody added in v1.0.9

type GenerateShipmentContentUpdatePreviewsJSONRequestBody = GenerateShipmentContentUpdatePreviewsRequest

GenerateShipmentContentUpdatePreviewsJSONRequestBody defines body for GenerateShipmentContentUpdatePreviews for application/json ContentType.

type GenerateShipmentContentUpdatePreviewsRequest added in v1.0.9

type GenerateShipmentContentUpdatePreviewsRequest struct {
	// Boxes A list of boxes that will be present in the shipment after the update.
	Boxes []BoxUpdateInput `json:"boxes"`

	// Items A list of all items that will be present in the shipment after the update.
	Items []ItemInput `json:"items"`
}

GenerateShipmentContentUpdatePreviewsRequest The `GenerateShipmentContentUpdatePreviews` request.

type GenerateShipmentContentUpdatePreviewsResp added in v1.0.9

type GenerateShipmentContentUpdatePreviewsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *GenerateShipmentContentUpdatePreviewsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGenerateShipmentContentUpdatePreviewsResp added in v1.0.9

func ParseGenerateShipmentContentUpdatePreviewsResp(rsp *http.Response) (*GenerateShipmentContentUpdatePreviewsResp, error)

ParseGenerateShipmentContentUpdatePreviewsResp parses an HTTP response from a GenerateShipmentContentUpdatePreviewsWithResponse call

func (GenerateShipmentContentUpdatePreviewsResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (GenerateShipmentContentUpdatePreviewsResp) StatusCode added in v1.0.9

StatusCode returns HTTPResponse.StatusCode

type GenerateShipmentContentUpdatePreviewsResponse added in v1.0.9

type GenerateShipmentContentUpdatePreviewsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

GenerateShipmentContentUpdatePreviewsResponse The `GenerateShipmentContentUpdatePreviews` response.

type GenerateTransportationOptionsJSONRequestBody

type GenerateTransportationOptionsJSONRequestBody = GenerateTransportationOptionsRequest

GenerateTransportationOptionsJSONRequestBody defines body for GenerateTransportationOptions for application/json ContentType.

type GenerateTransportationOptionsRequest

type GenerateTransportationOptionsRequest struct {
	// PlacementOptionId The placement option to generate transportation options for.
	PlacementOptionId string `json:"placementOptionId"`

	// ShipmentTransportationConfigurations List of shipment transportation configurations.
	ShipmentTransportationConfigurations []ShipmentTransportationConfiguration `json:"shipmentTransportationConfigurations"`
}

GenerateTransportationOptionsRequest The `generateTransportationOptions` request.

type GenerateTransportationOptionsResp

type GenerateTransportationOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *GenerateTransportationOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGenerateTransportationOptionsResp

func ParseGenerateTransportationOptionsResp(rsp *http.Response) (*GenerateTransportationOptionsResp, error)

ParseGenerateTransportationOptionsResp parses an HTTP response from a GenerateTransportationOptionsWithResponse call

func (GenerateTransportationOptionsResp) Status

Status returns HTTPResponse.Status

func (GenerateTransportationOptionsResp) StatusCode

func (r GenerateTransportationOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenerateTransportationOptionsResponse

type GenerateTransportationOptionsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

GenerateTransportationOptionsResponse The `generateTransportationOptions` response.

type GetDeliveryChallanDocumentResp

type GetDeliveryChallanDocumentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetDeliveryChallanDocumentResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGetDeliveryChallanDocumentResp

func ParseGetDeliveryChallanDocumentResp(rsp *http.Response) (*GetDeliveryChallanDocumentResp, error)

ParseGetDeliveryChallanDocumentResp parses an HTTP response from a GetDeliveryChallanDocumentWithResponse call

func (GetDeliveryChallanDocumentResp) Status

Status returns HTTPResponse.Status

func (GetDeliveryChallanDocumentResp) StatusCode

func (r GetDeliveryChallanDocumentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeliveryChallanDocumentResponse

type GetDeliveryChallanDocumentResponse struct {
	// DocumentDownload Resource to download the requested document.
	DocumentDownload DocumentDownload `json:"documentDownload"`
}

GetDeliveryChallanDocumentResponse The `getDeliveryChallanDocumentResponse` response.

type GetInboundOperationStatusResp

type GetInboundOperationStatusResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InboundOperationStatus
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGetInboundOperationStatusResp

func ParseGetInboundOperationStatusResp(rsp *http.Response) (*GetInboundOperationStatusResp, error)

ParseGetInboundOperationStatusResp parses an HTTP response from a GetInboundOperationStatusWithResponse call

func (GetInboundOperationStatusResp) Status

Status returns HTTPResponse.Status

func (GetInboundOperationStatusResp) StatusCode

func (r GetInboundOperationStatusResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboundPlanResp

type GetInboundPlanResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InboundPlan
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGetInboundPlanResp

func ParseGetInboundPlanResp(rsp *http.Response) (*GetInboundPlanResp, error)

ParseGetInboundPlanResp parses an HTTP response from a GetInboundPlanWithResponse call

func (GetInboundPlanResp) Status

func (r GetInboundPlanResp) Status() string

Status returns HTTPResponse.Status

func (GetInboundPlanResp) StatusCode

func (r GetInboundPlanResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSelfShipAppointmentSlotsParams

type GetSelfShipAppointmentSlotsParams struct {
	// PageSize The number of self ship appointment slots to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

GetSelfShipAppointmentSlotsParams defines parameters for GetSelfShipAppointmentSlots.

type GetSelfShipAppointmentSlotsResp

type GetSelfShipAppointmentSlotsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetSelfShipAppointmentSlotsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGetSelfShipAppointmentSlotsResp

func ParseGetSelfShipAppointmentSlotsResp(rsp *http.Response) (*GetSelfShipAppointmentSlotsResp, error)

ParseGetSelfShipAppointmentSlotsResp parses an HTTP response from a GetSelfShipAppointmentSlotsWithResponse call

func (GetSelfShipAppointmentSlotsResp) Status

Status returns HTTPResponse.Status

func (GetSelfShipAppointmentSlotsResp) StatusCode

func (r GetSelfShipAppointmentSlotsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSelfShipAppointmentSlotsResponse

type GetSelfShipAppointmentSlotsResponse struct {
	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`

	// SelfShipAppointmentSlotsAvailability The self ship appointment time slots availability and an expiration date for which the slots can be scheduled.
	SelfShipAppointmentSlotsAvailability SelfShipAppointmentSlotsAvailability `json:"selfShipAppointmentSlotsAvailability"`
}

GetSelfShipAppointmentSlotsResponse The `getSelfShipAppointmentSlots` response.

type GetShipmentContentUpdatePreviewResp added in v1.0.9

type GetShipmentContentUpdatePreviewResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContentUpdatePreview
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGetShipmentContentUpdatePreviewResp added in v1.0.9

func ParseGetShipmentContentUpdatePreviewResp(rsp *http.Response) (*GetShipmentContentUpdatePreviewResp, error)

ParseGetShipmentContentUpdatePreviewResp parses an HTTP response from a GetShipmentContentUpdatePreviewWithResponse call

func (GetShipmentContentUpdatePreviewResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (GetShipmentContentUpdatePreviewResp) StatusCode added in v1.0.9

StatusCode returns HTTPResponse.StatusCode

type GetShipmentResp

type GetShipmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Shipment
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseGetShipmentResp

func ParseGetShipmentResp(rsp *http.Response) (*GetShipmentResp, error)

ParseGetShipmentResp parses an HTTP response from a GetShipmentWithResponse call

func (GetShipmentResp) Status

func (r GetShipmentResp) Status() string

Status returns HTTPResponse.Status

func (GetShipmentResp) StatusCode

func (r GetShipmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InboundOperationStatus

type InboundOperationStatus struct {
	// Operation The name of the operation in the asynchronous API call.
	Operation string `json:"operation"`

	// OperationId The operation ID returned by the asynchronous API call.
	OperationId string `json:"operationId"`

	// OperationProblems The problems in the processing of the asynchronous operation.
	OperationProblems []OperationProblem `json:"operationProblems"`

	// OperationStatus The status of an operation.
	OperationStatus OperationStatus `json:"operationStatus"`
}

InboundOperationStatus GetInboundOperationStatus response.

type InboundPlan

type InboundPlan struct {
	// CreatedAt The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ssZ`.
	CreatedAt time.Time `json:"createdAt"`

	// InboundPlanId Identifier of an inbound plan.
	InboundPlanId string `json:"inboundPlanId"`

	// LastUpdatedAt The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.
	LastUpdatedAt time.Time `json:"lastUpdatedAt"`

	// MarketplaceIds A list of marketplace IDs.
	MarketplaceIds []string `json:"marketplaceIds"`

	// Name Human-readable name of the inbound plan.
	Name string `json:"name"`

	// PackingOptions Packing options for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, only packing options for that placement option will be returned. If there are confirmed shipments, only packing options for those shipments will be returned. Query the packing option for more details.
	PackingOptions *[]PackingOptionSummary `json:"packingOptions,omitempty"`

	// PlacementOptions Placement options for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, that will be the only returned option. Query the placement option for more details.
	PlacementOptions *[]PlacementOptionSummary `json:"placementOptions,omitempty"`

	// Shipments A list of shipment IDs for the inbound plan. This property is populated when it has been generated with the `confirmPlacementOptions` operation. Only shipments from the chosen placement option are returned. Query the shipment for more details.
	Shipments *[]ShipmentSummary `json:"shipments,omitempty"`

	// SourceAddress Specific details to identify a place.
	SourceAddress Address `json:"sourceAddress"`

	// Status Current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`.
	Status string `json:"status"`
}

InboundPlan Inbound plan containing details of the inbound workflow.

type InboundPlanSummary

type InboundPlanSummary struct {
	// CreatedAt The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.
	CreatedAt time.Time `json:"createdAt"`

	// InboundPlanId Identifier of an inbound plan.
	InboundPlanId string `json:"inboundPlanId"`

	// LastUpdatedAt The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.
	LastUpdatedAt time.Time `json:"lastUpdatedAt"`

	// MarketplaceIds A list of marketplace IDs.
	MarketplaceIds []string `json:"marketplaceIds"`

	// Name Human-readable name of the inbound plan.
	Name string `json:"name"`

	// SourceAddress Specific details to identify a place.
	SourceAddress Address `json:"sourceAddress"`

	// Status The current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`.
	Status string `json:"status"`
}

InboundPlanSummary A light-weight inbound plan.

type Incentive

type Incentive struct {
	// Description Description of the incentive.
	Description string `json:"description"`

	// Target Target of the incentive. Possible values: 'Placement Services', 'Fulfillment Fee Discount'.
	Target string `json:"target"`

	// Type Type of incentive. Possible values: `FEE`, `DISCOUNT`.
	Type string `json:"type"`

	// Value The type and amount of currency.
	Value Currency `json:"value"`
}

Incentive Contains details about cost related modifications to the placement cost.

type Item

type Item struct {
	// Asin The Amazon Standard Identification Number (ASIN) of the item.
	Asin string `json:"asin"`

	// Expiration The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern`YYYY-MM-DD`. The same MSKU with different expiration dates cannot go into the same box.
	Expiration *string `json:"expiration,omitempty"`

	// Fnsku A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
	Fnsku string `json:"fnsku"`

	// LabelOwner Specifies who will label the items. Options include `AMAZON`, `SELLER`, and `NONE`.
	LabelOwner string `json:"labelOwner"`

	// ManufacturingLotCode The manufacturing lot code.
	ManufacturingLotCode *string `json:"manufacturingLotCode,omitempty"`

	// Msku The merchant SKU, a merchant-supplied identifier of a specific SKU.
	Msku string `json:"msku"`

	// PrepInstructions Special preparations that are required for an item.
	PrepInstructions []PrepInstruction `json:"prepInstructions"`

	// Quantity The number of the specified MSKU.
	Quantity int `json:"quantity"`
}

Item Information associated with a single SKU in the seller's catalog.

type ItemInput

type ItemInput struct {
	// Expiration The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `YYYY-MM-DD`. Items with the same MSKU but different expiration dates cannot go into the same box.
	Expiration *string `json:"expiration,omitempty"`

	// LabelOwner Specifies who will label the items. Options include `AMAZON`, `SELLER` or `NONE`.
	LabelOwner LabelOwner `json:"labelOwner"`

	// ManufacturingLotCode The manufacturing lot code.
	ManufacturingLotCode *string `json:"manufacturingLotCode,omitempty"`

	// Msku The merchant SKU, a merchant-supplied identifier of a specific SKU.
	Msku string `json:"msku"`

	// PrepOwner The owner of the preparations, if special preparations are required.
	PrepOwner PrepOwner `json:"prepOwner"`

	// Quantity The number of units of the specified MSKU that will be shipped.
	Quantity int `json:"quantity"`
}

ItemInput Defines an item's input parameters.

type ItemLabelPageType added in v1.0.9

type ItemLabelPageType string

ItemLabelPageType The page type to use to print the labels. Possible values: 'A4_21', 'A4_24', 'A4_24_64x33', 'A4_24_66x35', 'A4_24_70x36', 'A4_24_70x37', 'A4_24i', 'A4_27', 'A4_40_52x29', 'A4_44_48x25', 'Letter_30'.

const (
	A421      ItemLabelPageType = "A4_21"
	A424      ItemLabelPageType = "A4_24"
	A42464x33 ItemLabelPageType = "A4_24_64x33"
	A42466x35 ItemLabelPageType = "A4_24_66x35"
	A42470x36 ItemLabelPageType = "A4_24_70x36"
	A42470x37 ItemLabelPageType = "A4_24_70x37"
	A424i     ItemLabelPageType = "A4_24i"
	A427      ItemLabelPageType = "A4_27"
	A44052x29 ItemLabelPageType = "A4_40_52x29"
	A44448x25 ItemLabelPageType = "A4_44_48x25"
	Letter30  ItemLabelPageType = "Letter_30"
)

Defines values for ItemLabelPageType.

type LabelOwner

type LabelOwner string

LabelOwner Specifies who will label the items. Options include `AMAZON`, `SELLER` or `NONE`.

const (
	LabelOwnerAMAZON LabelOwner = "AMAZON"
	LabelOwnerNONE   LabelOwner = "NONE"
	LabelOwnerSELLER LabelOwner = "SELLER"
)

Defines values for LabelOwner.

type LabelPrintType added in v1.0.9

type LabelPrintType string

LabelPrintType Indicates the type of print type for a given label.

const (
	STANDARDFORMAT  LabelPrintType = "STANDARD_FORMAT"
	THERMALPRINTING LabelPrintType = "THERMAL_PRINTING"
)

Defines values for LabelPrintType.

type ListDeliveryWindowOptionsParams added in v1.0.9

type ListDeliveryWindowOptionsParams struct {
	// PageSize The number of delivery window options to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListDeliveryWindowOptionsParams defines parameters for ListDeliveryWindowOptions.

type ListDeliveryWindowOptionsResp added in v1.0.9

type ListDeliveryWindowOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDeliveryWindowOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListDeliveryWindowOptionsResp added in v1.0.9

func ParseListDeliveryWindowOptionsResp(rsp *http.Response) (*ListDeliveryWindowOptionsResp, error)

ParseListDeliveryWindowOptionsResp parses an HTTP response from a ListDeliveryWindowOptionsWithResponse call

func (ListDeliveryWindowOptionsResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (ListDeliveryWindowOptionsResp) StatusCode added in v1.0.9

func (r ListDeliveryWindowOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDeliveryWindowOptionsResponse added in v1.0.9

type ListDeliveryWindowOptionsResponse struct {
	// DeliveryWindowOptions Delivery window options generated for the placement option.
	DeliveryWindowOptions []DeliveryWindowOption `json:"deliveryWindowOptions"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListDeliveryWindowOptionsResponse The `listDeliveryWindowOptions` response.

type ListInboundPlanBoxesParams

type ListInboundPlanBoxesParams struct {
	// PageSize The number of boxes to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListInboundPlanBoxesParams defines parameters for ListInboundPlanBoxes.

type ListInboundPlanBoxesResp

type ListInboundPlanBoxesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInboundPlanBoxesResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListInboundPlanBoxesResp

func ParseListInboundPlanBoxesResp(rsp *http.Response) (*ListInboundPlanBoxesResp, error)

ParseListInboundPlanBoxesResp parses an HTTP response from a ListInboundPlanBoxesWithResponse call

func (ListInboundPlanBoxesResp) Status

func (r ListInboundPlanBoxesResp) Status() string

Status returns HTTPResponse.Status

func (ListInboundPlanBoxesResp) StatusCode

func (r ListInboundPlanBoxesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboundPlanBoxesResponse

type ListInboundPlanBoxesResponse struct {
	// Boxes A list of boxes in an inbound plan.
	Boxes []Box `json:"boxes"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListInboundPlanBoxesResponse The `listInboundPlanBoxes` response.

type ListInboundPlanItemsParams

type ListInboundPlanItemsParams struct {
	// PageSize The number of items to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListInboundPlanItemsParams defines parameters for ListInboundPlanItems.

type ListInboundPlanItemsResp

type ListInboundPlanItemsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInboundPlanItemsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListInboundPlanItemsResp

func ParseListInboundPlanItemsResp(rsp *http.Response) (*ListInboundPlanItemsResp, error)

ParseListInboundPlanItemsResp parses an HTTP response from a ListInboundPlanItemsWithResponse call

func (ListInboundPlanItemsResp) Status

func (r ListInboundPlanItemsResp) Status() string

Status returns HTTPResponse.Status

func (ListInboundPlanItemsResp) StatusCode

func (r ListInboundPlanItemsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboundPlanItemsResponse

type ListInboundPlanItemsResponse struct {
	// Items The items in an inbound plan.
	Items []Item `json:"items"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListInboundPlanItemsResponse The `listInboundPlanItems` response.

type ListInboundPlanPalletsParams

type ListInboundPlanPalletsParams struct {
	// PageSize The number of pallets to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListInboundPlanPalletsParams defines parameters for ListInboundPlanPallets.

type ListInboundPlanPalletsResp

type ListInboundPlanPalletsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInboundPlanPalletsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListInboundPlanPalletsResp

func ParseListInboundPlanPalletsResp(rsp *http.Response) (*ListInboundPlanPalletsResp, error)

ParseListInboundPlanPalletsResp parses an HTTP response from a ListInboundPlanPalletsWithResponse call

func (ListInboundPlanPalletsResp) Status

Status returns HTTPResponse.Status

func (ListInboundPlanPalletsResp) StatusCode

func (r ListInboundPlanPalletsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboundPlanPalletsResponse

type ListInboundPlanPalletsResponse struct {
	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`

	// Pallets The pallets in an inbound plan.
	Pallets []Pallet `json:"pallets"`
}

ListInboundPlanPalletsResponse The `listInboundPlanPallets` response.

type ListInboundPlansParams

type ListInboundPlansParams struct {
	// PageSize The number of inbound plans to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`

	// Status The status of an inbound plan.
	Status *ListInboundPlansParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// SortBy Sort by field.
	SortBy *ListInboundPlansParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// SortOrder The sort order.
	SortOrder *ListInboundPlansParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

ListInboundPlansParams defines parameters for ListInboundPlans.

type ListInboundPlansParamsSortBy

type ListInboundPlansParamsSortBy string

ListInboundPlansParamsSortBy defines parameters for ListInboundPlans.

const (
	CREATIONTIME    ListInboundPlansParamsSortBy = "CREATION_TIME"
	LASTUPDATEDTIME ListInboundPlansParamsSortBy = "LAST_UPDATED_TIME"
)

Defines values for ListInboundPlansParamsSortBy.

type ListInboundPlansParamsSortOrder

type ListInboundPlansParamsSortOrder string

ListInboundPlansParamsSortOrder defines parameters for ListInboundPlans.

Defines values for ListInboundPlansParamsSortOrder.

type ListInboundPlansParamsStatus

type ListInboundPlansParamsStatus string

ListInboundPlansParamsStatus defines parameters for ListInboundPlans.

const (
	ACTIVE  ListInboundPlansParamsStatus = "ACTIVE"
	SHIPPED ListInboundPlansParamsStatus = "SHIPPED"
	VOIDED  ListInboundPlansParamsStatus = "VOIDED"
)

Defines values for ListInboundPlansParamsStatus.

type ListInboundPlansResp

type ListInboundPlansResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInboundPlansResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListInboundPlansResp

func ParseListInboundPlansResp(rsp *http.Response) (*ListInboundPlansResp, error)

ParseListInboundPlansResp parses an HTTP response from a ListInboundPlansWithResponse call

func (ListInboundPlansResp) Status

func (r ListInboundPlansResp) Status() string

Status returns HTTPResponse.Status

func (ListInboundPlansResp) StatusCode

func (r ListInboundPlansResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInboundPlansResponse

type ListInboundPlansResponse struct {
	// InboundPlans A list of inbound plans with minimal information.
	InboundPlans *[]InboundPlanSummary `json:"inboundPlans,omitempty"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListInboundPlansResponse The `listInboundPlans` response.

type ListItemComplianceDetailsParams

type ListItemComplianceDetailsParams struct {
	// Mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
	Mskus []string `form:"mskus" json:"mskus"`

	// MarketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
	MarketplaceId string `form:"marketplaceId" json:"marketplaceId"`
}

ListItemComplianceDetailsParams defines parameters for ListItemComplianceDetails.

type ListItemComplianceDetailsResp

type ListItemComplianceDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListItemComplianceDetailsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListItemComplianceDetailsResp

func ParseListItemComplianceDetailsResp(rsp *http.Response) (*ListItemComplianceDetailsResp, error)

ParseListItemComplianceDetailsResp parses an HTTP response from a ListItemComplianceDetailsWithResponse call

func (ListItemComplianceDetailsResp) Status

Status returns HTTPResponse.Status

func (ListItemComplianceDetailsResp) StatusCode

func (r ListItemComplianceDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListItemComplianceDetailsResponse

type ListItemComplianceDetailsResponse struct {
	// ComplianceDetails List of compliance details.
	ComplianceDetails *[]ComplianceDetail `json:"complianceDetails,omitempty"`
}

ListItemComplianceDetailsResponse The `listItemComplianceDetails` response.

type ListPackingGroupBoxesParams added in v1.0.9

type ListPackingGroupBoxesParams struct {
	// PageSize The number of packing group boxes to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListPackingGroupBoxesParams defines parameters for ListPackingGroupBoxes.

type ListPackingGroupBoxesResp added in v1.0.9

type ListPackingGroupBoxesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPackingGroupBoxesResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListPackingGroupBoxesResp added in v1.0.9

func ParseListPackingGroupBoxesResp(rsp *http.Response) (*ListPackingGroupBoxesResp, error)

ParseListPackingGroupBoxesResp parses an HTTP response from a ListPackingGroupBoxesWithResponse call

func (ListPackingGroupBoxesResp) Status added in v1.0.9

func (r ListPackingGroupBoxesResp) Status() string

Status returns HTTPResponse.Status

func (ListPackingGroupBoxesResp) StatusCode added in v1.0.9

func (r ListPackingGroupBoxesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPackingGroupBoxesResponse added in v1.0.9

type ListPackingGroupBoxesResponse struct {
	// Boxes Provides the information about the list of boxes in the packing group.
	Boxes []Box `json:"boxes"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListPackingGroupBoxesResponse The `listPackingGroupBoxes` response.

type ListPackingGroupItemsParams

type ListPackingGroupItemsParams struct {
	// PageSize The number of packing group items to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListPackingGroupItemsParams defines parameters for ListPackingGroupItems.

type ListPackingGroupItemsResp

type ListPackingGroupItemsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPackingGroupItemsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListPackingGroupItemsResp

func ParseListPackingGroupItemsResp(rsp *http.Response) (*ListPackingGroupItemsResp, error)

ParseListPackingGroupItemsResp parses an HTTP response from a ListPackingGroupItemsWithResponse call

func (ListPackingGroupItemsResp) Status

func (r ListPackingGroupItemsResp) Status() string

Status returns HTTPResponse.Status

func (ListPackingGroupItemsResp) StatusCode

func (r ListPackingGroupItemsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPackingGroupItemsResponse

type ListPackingGroupItemsResponse struct {
	// Items Provides the information about the list of items in the packing group.
	Items []Item `json:"items"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListPackingGroupItemsResponse The `listPackingGroupItems` response.

type ListPackingOptionsParams

type ListPackingOptionsParams struct {
	// PageSize The number of packing options to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListPackingOptionsParams defines parameters for ListPackingOptions.

type ListPackingOptionsResp

type ListPackingOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPackingOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListPackingOptionsResp

func ParseListPackingOptionsResp(rsp *http.Response) (*ListPackingOptionsResp, error)

ParseListPackingOptionsResp parses an HTTP response from a ListPackingOptionsWithResponse call

func (ListPackingOptionsResp) Status

func (r ListPackingOptionsResp) Status() string

Status returns HTTPResponse.Status

func (ListPackingOptionsResp) StatusCode

func (r ListPackingOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPackingOptionsResponse

type ListPackingOptionsResponse struct {
	// PackingOptions List of packing options.
	PackingOptions []PackingOption `json:"packingOptions"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListPackingOptionsResponse The `listPlacementOptions` response.

type ListPlacementOptionsParams

type ListPlacementOptionsParams struct {
	// PageSize The number of placement options to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListPlacementOptionsParams defines parameters for ListPlacementOptions.

type ListPlacementOptionsResp

type ListPlacementOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPlacementOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListPlacementOptionsResp

func ParseListPlacementOptionsResp(rsp *http.Response) (*ListPlacementOptionsResp, error)

ParseListPlacementOptionsResp parses an HTTP response from a ListPlacementOptionsWithResponse call

func (ListPlacementOptionsResp) Status

func (r ListPlacementOptionsResp) Status() string

Status returns HTTPResponse.Status

func (ListPlacementOptionsResp) StatusCode

func (r ListPlacementOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPlacementOptionsResponse

type ListPlacementOptionsResponse struct {
	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`

	// PlacementOptions Placement options generated for the inbound plan.
	PlacementOptions []PlacementOption `json:"placementOptions"`
}

ListPlacementOptionsResponse The `listPlacementOptions` response.

type ListPrepDetailsParams added in v1.0.9

type ListPrepDetailsParams struct {
	// MarketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
	MarketplaceId string `form:"marketplaceId" json:"marketplaceId"`

	// Mskus A list of merchant SKUs, a merchant-supplied identifier of a specific SKU.
	Mskus []string `form:"mskus" json:"mskus"`
}

ListPrepDetailsParams defines parameters for ListPrepDetails.

type ListPrepDetailsResp added in v1.0.9

type ListPrepDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPrepDetailsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListPrepDetailsResp added in v1.0.9

func ParseListPrepDetailsResp(rsp *http.Response) (*ListPrepDetailsResp, error)

ParseListPrepDetailsResp parses an HTTP response from a ListPrepDetailsWithResponse call

func (ListPrepDetailsResp) Status added in v1.0.9

func (r ListPrepDetailsResp) Status() string

Status returns HTTPResponse.Status

func (ListPrepDetailsResp) StatusCode added in v1.0.9

func (r ListPrepDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrepDetailsResponse added in v1.0.9

type ListPrepDetailsResponse struct {
	// MskuPrepDetails A list of MSKUs and related prep details.
	MskuPrepDetails []MskuPrepDetail `json:"mskuPrepDetails"`
}

ListPrepDetailsResponse The response to the `listPrepDetails` operation.

type ListShipmentBoxesParams added in v1.0.9

type ListShipmentBoxesParams struct {
	// PageSize The number of boxes to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListShipmentBoxesParams defines parameters for ListShipmentBoxes.

type ListShipmentBoxesResp added in v1.0.9

type ListShipmentBoxesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListShipmentBoxesResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListShipmentBoxesResp added in v1.0.9

func ParseListShipmentBoxesResp(rsp *http.Response) (*ListShipmentBoxesResp, error)

ParseListShipmentBoxesResp parses an HTTP response from a ListShipmentBoxesWithResponse call

func (ListShipmentBoxesResp) Status added in v1.0.9

func (r ListShipmentBoxesResp) Status() string

Status returns HTTPResponse.Status

func (ListShipmentBoxesResp) StatusCode added in v1.0.9

func (r ListShipmentBoxesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListShipmentBoxesResponse added in v1.0.9

type ListShipmentBoxesResponse struct {
	// Boxes A list of boxes in a shipment.
	Boxes []Box `json:"boxes"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListShipmentBoxesResponse The `listShipmentBoxes` response.

type ListShipmentContentUpdatePreviewsParams added in v1.0.9

type ListShipmentContentUpdatePreviewsParams struct {
	// PageSize The number of content update previews to return.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListShipmentContentUpdatePreviewsParams defines parameters for ListShipmentContentUpdatePreviews.

type ListShipmentContentUpdatePreviewsResp added in v1.0.9

type ListShipmentContentUpdatePreviewsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListShipmentContentUpdatePreviewsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListShipmentContentUpdatePreviewsResp added in v1.0.9

func ParseListShipmentContentUpdatePreviewsResp(rsp *http.Response) (*ListShipmentContentUpdatePreviewsResp, error)

ParseListShipmentContentUpdatePreviewsResp parses an HTTP response from a ListShipmentContentUpdatePreviewsWithResponse call

func (ListShipmentContentUpdatePreviewsResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (ListShipmentContentUpdatePreviewsResp) StatusCode added in v1.0.9

StatusCode returns HTTPResponse.StatusCode

type ListShipmentContentUpdatePreviewsResponse added in v1.0.9

type ListShipmentContentUpdatePreviewsResponse struct {
	// ContentUpdatePreviews A list of content update previews in a shipment.
	ContentUpdatePreviews []ContentUpdatePreview `json:"contentUpdatePreviews"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListShipmentContentUpdatePreviewsResponse The `ListShipmentContentUpdatePreviews` response.

type ListShipmentItemsParams added in v1.0.9

type ListShipmentItemsParams struct {
	// PageSize The number of items to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListShipmentItemsParams defines parameters for ListShipmentItems.

type ListShipmentItemsResp added in v1.0.9

type ListShipmentItemsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListShipmentItemsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListShipmentItemsResp added in v1.0.9

func ParseListShipmentItemsResp(rsp *http.Response) (*ListShipmentItemsResp, error)

ParseListShipmentItemsResp parses an HTTP response from a ListShipmentItemsWithResponse call

func (ListShipmentItemsResp) Status added in v1.0.9

func (r ListShipmentItemsResp) Status() string

Status returns HTTPResponse.Status

func (ListShipmentItemsResp) StatusCode added in v1.0.9

func (r ListShipmentItemsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListShipmentItemsResponse added in v1.0.9

type ListShipmentItemsResponse struct {
	// Items The items in a shipment.
	Items []Item `json:"items"`

	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`
}

ListShipmentItemsResponse The `listShipmentItems` response.

type ListShipmentPalletsParams added in v1.0.9

type ListShipmentPalletsParams struct {
	// PageSize The number of pallets to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`
}

ListShipmentPalletsParams defines parameters for ListShipmentPallets.

type ListShipmentPalletsResp added in v1.0.9

type ListShipmentPalletsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListShipmentPalletsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListShipmentPalletsResp added in v1.0.9

func ParseListShipmentPalletsResp(rsp *http.Response) (*ListShipmentPalletsResp, error)

ParseListShipmentPalletsResp parses an HTTP response from a ListShipmentPalletsWithResponse call

func (ListShipmentPalletsResp) Status added in v1.0.9

func (r ListShipmentPalletsResp) Status() string

Status returns HTTPResponse.Status

func (ListShipmentPalletsResp) StatusCode added in v1.0.9

func (r ListShipmentPalletsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListShipmentPalletsResponse added in v1.0.9

type ListShipmentPalletsResponse struct {
	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`

	// Pallets The pallets in a shipment.
	Pallets []Pallet `json:"pallets"`
}

ListShipmentPalletsResponse The `listShipmentPallets` response.

type ListTransportationOptionsParams

type ListTransportationOptionsParams struct {
	// PageSize The number of transportation options to return in the response matching the given query.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PaginationToken A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the `pagination` returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
	PaginationToken *string `form:"paginationToken,omitempty" json:"paginationToken,omitempty"`

	// PlacementOptionId The placement option to get transportation options for. Either `placementOptionId` or `shipmentId` must be specified.
	PlacementOptionId *string `form:"placementOptionId,omitempty" json:"placementOptionId,omitempty"`

	// ShipmentId The shipment to get transportation options for. Either `placementOptionId` or `shipmentId` must be specified.
	ShipmentId *string `form:"shipmentId,omitempty" json:"shipmentId,omitempty"`
}

ListTransportationOptionsParams defines parameters for ListTransportationOptions.

type ListTransportationOptionsResp

type ListTransportationOptionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListTransportationOptionsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseListTransportationOptionsResp

func ParseListTransportationOptionsResp(rsp *http.Response) (*ListTransportationOptionsResp, error)

ParseListTransportationOptionsResp parses an HTTP response from a ListTransportationOptionsWithResponse call

func (ListTransportationOptionsResp) Status

Status returns HTTPResponse.Status

func (ListTransportationOptionsResp) StatusCode

func (r ListTransportationOptionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTransportationOptionsResponse

type ListTransportationOptionsResponse struct {
	// Pagination Contains tokens to fetch from a certain page.
	Pagination *Pagination `json:"pagination,omitempty"`

	// TransportationOptions Transportation options generated for the placement option.
	TransportationOptions []TransportationOption `json:"transportationOptions"`
}

ListTransportationOptionsResponse The `listTransportationOptions` response.

type LtlTrackingDetail

type LtlTrackingDetail struct {
	// BillOfLadingNumber The number of the carrier shipment acknowledgement document.
	BillOfLadingNumber *string `json:"billOfLadingNumber,omitempty"`

	// FreightBillNumber The number associated with the freight bill.
	FreightBillNumber *[]string `json:"freightBillNumber,omitempty"`
}

LtlTrackingDetail Contains information related to Less-Than-Truckload (LTL) shipment tracking.

type LtlTrackingDetailInput

type LtlTrackingDetailInput struct {
	// BillOfLadingNumber The number of the carrier shipment acknowledgement document.
	BillOfLadingNumber *string `json:"billOfLadingNumber,omitempty"`

	// FreightBillNumber Number associated with the freight bill.
	FreightBillNumber []string `json:"freightBillNumber"`
}

LtlTrackingDetailInput Contains input information to update Less-Than-Truckload (LTL) tracking information.

type MskuPrepDetail added in v1.0.9

type MskuPrepDetail struct {
	// AllOwnersConstraint A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.
	AllOwnersConstraint *AllOwnersConstraint `json:"allOwnersConstraint,omitempty"`

	// LabelOwnerConstraint A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.
	LabelOwnerConstraint *OwnerConstraint `json:"labelOwnerConstraint,omitempty"`

	// Msku The merchant SKU, a merchant-supplied identifier for a specific SKU.
	Msku string `json:"msku"`

	// PrepCategory The preparation category for shipping an item to Amazon's fulfillment network.
	PrepCategory PrepCategory `json:"prepCategory"`

	// PrepOwnerConstraint A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.
	PrepOwnerConstraint *OwnerConstraint `json:"prepOwnerConstraint,omitempty"`

	// PrepTypes A list of preparation types associated with a preparation category.
	PrepTypes []PrepType `json:"prepTypes"`
}

MskuPrepDetail An MSKU and its related prep details.

type MskuPrepDetailInput added in v1.0.9

type MskuPrepDetailInput struct {
	// Msku The merchant SKU, a merchant-supplied identifier for a specific SKU.
	Msku string `json:"msku"`

	// PrepCategory The preparation category for shipping an item to Amazon's fulfillment network.
	PrepCategory PrepCategory `json:"prepCategory"`

	// PrepTypes A list of preparation types associated with a preparation category.
	PrepTypes []PrepType `json:"prepTypes"`
}

MskuPrepDetailInput An MSKU and its related prep details.

type MskuQuantity added in v1.0.9

type MskuQuantity struct {
	// Msku The merchant SKU, a merchant-supplied identifier for a specific SKU.
	Msku string `json:"msku"`

	// Quantity A positive integer.
	Quantity int `json:"quantity"`
}

MskuQuantity Represents an MSKU and the related quantity.

type OperationProblem

type OperationProblem struct {
	// Code An error code that identifies the type of error that occurred.
	Code string `json:"code"`

	// Details Additional details that can help the caller understand or fix the issue.
	Details *string `json:"details,omitempty"`

	// Message A message that describes the error condition.
	Message string `json:"message"`

	// Severity The severity of the problem. Possible values: `WARNING`, `ERROR`.
	Severity string `json:"severity"`
}

OperationProblem A problem with additional properties persisted to an operation.

type OperationStatus

type OperationStatus string

OperationStatus The status of an operation.

const (
	FAILED     OperationStatus = "FAILED"
	INPROGRESS OperationStatus = "IN_PROGRESS"
	SUCCESS    OperationStatus = "SUCCESS"
)

Defines values for OperationStatus.

type OwnerConstraint added in v1.0.9

type OwnerConstraint string

OwnerConstraint A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.

const (
	AMAZONONLY OwnerConstraint = "AMAZON_ONLY"
	NONEONLY   OwnerConstraint = "NONE_ONLY"
	SELLERONLY OwnerConstraint = "SELLER_ONLY"
)

Defines values for OwnerConstraint.

type PackageGroupingInput

type PackageGroupingInput struct {
	// Boxes Box level information being provided.
	Boxes []BoxInput `json:"boxes"`

	// PackingGroupId The ID of the `packingGroup` that packages are grouped according to. The `PackingGroupId` can only be provided before placement confirmation, and it must belong to the confirmed `PackingOption`. One of `ShipmentId` or `PackingGroupId` must be provided with every request.
	PackingGroupId *string `json:"packingGroupId,omitempty"`

	// ShipmentId The ID of the shipment that packages are grouped according to. The `ShipmentId` can only be provided after placement confirmation, and the shipment must belong to the confirmed placement option. One of `ShipmentId` or `PackingGroupId` must be provided with every request.
	ShipmentId *string `json:"shipmentId,omitempty"`
}

PackageGroupingInput Packing information for the inbound plan.

type PackingOption

type PackingOption struct {
	// Discounts Discount for the offered option.
	Discounts []Incentive `json:"discounts"`

	// Expiration The time at which this packing option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	Expiration *time.Time `json:"expiration,omitempty"`

	// Fees Fee for the offered option.
	Fees []Incentive `json:"fees"`

	// PackingGroups Packing group IDs.
	PackingGroups []string `json:"packingGroups"`

	// PackingOptionId Identifier of a packing option.
	PackingOptionId string `json:"packingOptionId"`

	// Status The status of the packing option. Possible values: `OFFERED`, `ACCEPTED`, `EXPIRED`.
	Status string `json:"status"`

	// SupportedShippingConfigurations List of supported shipping modes.
	SupportedShippingConfigurations []ShippingConfiguration `json:"supportedShippingConfigurations"`
}

PackingOption A packing option contains a set of pack groups plus additional information about the packing option, such as any discounts or fees if it's selected.

type PackingOptionSummary

type PackingOptionSummary struct {
	// PackingOptionId Identifier of a packing option.
	PackingOptionId string `json:"packingOptionId"`

	// Status The status of a packing option. Possible values: 'OFFERED', 'ACCEPTED', 'EXPIRED'.
	Status string `json:"status"`
}

PackingOptionSummary Summary information about a packing option.

type Pagination

type Pagination struct {
	// NextToken When present, pass this string token in the next request to return the next response page.
	NextToken *string `json:"nextToken,omitempty"`
}

Pagination Contains tokens to fetch from a certain page.

type Pallet

type Pallet struct {
	// Dimensions Measurement of a package's dimensions.
	Dimensions *Dimensions `json:"dimensions,omitempty"`

	// PackageId Primary key to uniquely identify a Package (Box or Pallet).
	PackageId string `json:"packageId"`

	// Quantity The number of containers where all other properties like weight or dimensions are identical.
	Quantity *int `json:"quantity,omitempty"`

	// Stackability Indicates whether pallets will be stacked when carrier arrives for pick-up.
	Stackability *Stackability `json:"stackability,omitempty"`

	// Weight The weight of a package.
	Weight *Weight `json:"weight,omitempty"`
}

Pallet Contains information about a pallet that is used in the inbound plan. The pallet is a container that holds multiple items or boxes.

type PalletInput

type PalletInput struct {
	// Dimensions Measurement of a package's dimensions.
	Dimensions *Dimensions `json:"dimensions,omitempty"`

	// Quantity The number of containers where all other properties like weight or dimensions are identical.
	Quantity int `json:"quantity"`

	// Stackability Indicates whether pallets will be stacked when carrier arrives for pick-up.
	Stackability *Stackability `json:"stackability,omitempty"`

	// Weight The weight of a package.
	Weight *Weight `json:"weight,omitempty"`
}

PalletInput Contains input information about a pallet to be used in the inbound plan.

type PlacementOption

type PlacementOption struct {
	// Discounts Discount for the offered option.
	Discounts []Incentive `json:"discounts"`

	// Expiration The expiration date of the placement option. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	Expiration *time.Time `json:"expiration,omitempty"`

	// Fees The fee for the offered option.
	Fees []Incentive `json:"fees"`

	// PlacementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
	PlacementOptionId string `json:"placementOptionId"`

	// ShipmentIds Shipment ids.
	ShipmentIds []string `json:"shipmentIds"`

	// Status The status of a placement option. Possible values: `OFFERED`, `ACCEPTED`, `EXPIRED`.
	Status string `json:"status"`
}

PlacementOption Contains information pertaining to the placement of the contents of an inbound plan and the related costs.

type PlacementOptionSummary

type PlacementOptionSummary struct {
	// PlacementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
	PlacementOptionId string `json:"placementOptionId"`

	// Status The status of a placement option. Possible values: `OFFERED`, `ACCEPTED`.
	Status string `json:"status"`
}

PlacementOptionSummary Summary information about a placement option.

type PrepCategory added in v1.0.9

type PrepCategory string

PrepCategory The preparation category for shipping an item to Amazon's fulfillment network.

const (
	PrepCategoryADULT      PrepCategory = "ADULT"
	PrepCategoryBABY       PrepCategory = "BABY"
	PrepCategoryFCPROVIDED PrepCategory = "FC_PROVIDED"
	PrepCategoryFRAGILE    PrepCategory = "FRAGILE"
	PrepCategoryGRANULAR   PrepCategory = "GRANULAR"
	PrepCategoryHANGER     PrepCategory = "HANGER"
	PrepCategoryLIQUID     PrepCategory = "LIQUID"
	PrepCategoryNONE       PrepCategory = "NONE"
	PrepCategoryPERFORATED PrepCategory = "PERFORATED"
	PrepCategorySET        PrepCategory = "SET"
	PrepCategorySHARP      PrepCategory = "SHARP"
	PrepCategorySMALL      PrepCategory = "SMALL"
	PrepCategoryTEXTILE    PrepCategory = "TEXTILE"
	PrepCategoryUNKNOWN    PrepCategory = "UNKNOWN"
)

Defines values for PrepCategory.

type PrepInstruction

type PrepInstruction struct {
	// Fee The type and amount of currency.
	Fee *Currency `json:"fee,omitempty"`

	// PrepOwner In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON`, `SELLER` or `NONE`.
	PrepOwner *string `json:"prepOwner,omitempty"`

	// PrepType Type of preparation that should be done.
	//
	// Possible values: `ITEM_LABELING`, `ITEM_BUBBLEWRAP`, `ITEM_POLYBAGGING`, `ITEM_TAPING`, `ITEM_BLACK_SHRINKWRAP`, `ITEM_HANG_GARMENT`, `ITEM_BOXING`, `ITEM_SETCREAT`, `ITEM_RMOVHANG`, `ITEM_SUFFOSTK`, `ITEM_CAP_SEALING`, `ITEM_DEBUNDLE`, `ITEM_SETSTK`, `ITEM_SIOC`, `ITEM_NO_PREP`, `ADULT`, `BABY`, `TEXTILE`, `HANGER`, `FRAGILE`, `LIQUID`, `SHARP`, `SMALL`, `PERFORATED`, `GRANULAR`, `SET`, `FC_PROVIDED`, `UNKNOWN`, `NONE`.
	PrepType *string `json:"prepType,omitempty"`
}

PrepInstruction Information pertaining to the preparation of inbound goods.

type PrepOwner

type PrepOwner string

PrepOwner The owner of the preparations, if special preparations are required.

const (
	AMAZON PrepOwner = "AMAZON"
	NONE   PrepOwner = "NONE"
	SELLER PrepOwner = "SELLER"
)

Defines values for PrepOwner.

type PrepType added in v1.0.9

type PrepType string

PrepType Preparation instructions for shipping an item to Amazon's fulfillment network. For more information about preparing items for shipment to Amazon's fulfillment network, refer to [Seller Central Help for your marketplace](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls).

const (
	ITEMBLACKSHRINKWRAP PrepType = "ITEM_BLACK_SHRINKWRAP"
	ITEMBLANKSTK        PrepType = "ITEM_BLANKSTK"
	ITEMBOXING          PrepType = "ITEM_BOXING"
	ITEMBUBBLEWRAP      PrepType = "ITEM_BUBBLEWRAP"
	ITEMCAPSEALING      PrepType = "ITEM_CAP_SEALING"
	ITEMDEBUNDLE        PrepType = "ITEM_DEBUNDLE"
	ITEMHANGGARMENT     PrepType = "ITEM_HANG_GARMENT"
	ITEMLABELING        PrepType = "ITEM_LABELING"
	ITEMNOPREP          PrepType = "ITEM_NO_PREP"
	ITEMPOLYBAGGING     PrepType = "ITEM_POLYBAGGING"
	ITEMRMOVHANG        PrepType = "ITEM_RMOVHANG"
	ITEMSETCREAT        PrepType = "ITEM_SETCREAT"
	ITEMSETSTK          PrepType = "ITEM_SETSTK"
	ITEMSIOC            PrepType = "ITEM_SIOC"
	ITEMSUFFOSTK        PrepType = "ITEM_SUFFOSTK"
	ITEMTAPING          PrepType = "ITEM_TAPING"
)

Defines values for PrepType.

type Quote

type Quote struct {
	// Cost The type and amount of currency.
	Cost Currency `json:"cost"`

	// Expiration The time at which this transportation option quote expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	Expiration *time.Time `json:"expiration,omitempty"`

	// VoidableUntil Voidable until timestamp.
	VoidableUntil *time.Time `json:"voidableUntil,omitempty"`
}

Quote The estimated shipping cost associated with the transportation option.

type ReasonComment

type ReasonComment string

ReasonComment Reason for cancelling or rescheduling a self-ship appointment.

const (
	APPOINTMENTREQUESTEDBYMISTAKE  ReasonComment = "APPOINTMENT_REQUESTED_BY_MISTAKE"
	INCREASEDQUANTITY              ReasonComment = "INCREASED_QUANTITY"
	OTHER                          ReasonComment = "OTHER"
	OUTSIDECARRIERBUSINESSHOURS    ReasonComment = "OUTSIDE_CARRIER_BUSINESS_HOURS"
	PROCUREMENTDELAY               ReasonComment = "PROCUREMENT_DELAY"
	SHIPPINGPLANCHANGED            ReasonComment = "SHIPPING_PLAN_CHANGED"
	SLOTNOTSUITABLE                ReasonComment = "SLOT_NOT_SUITABLE"
	UNFAVOURABLEEXTERNALCONDITIONS ReasonComment = "UNFAVOURABLE_EXTERNAL_CONDITIONS"
	VEHICLEDELAY                   ReasonComment = "VEHICLE_DELAY"
)

Defines values for ReasonComment.

type Region

type Region struct {
	// CountryCode ISO 3166 standard alpha-2 country code.
	CountryCode *string `json:"countryCode,omitempty"`

	// State State.
	State *string `json:"state,omitempty"`

	// WarehouseId An identifier for a warehouse, such as a FC, IXD, upstream storage.
	WarehouseId *string `json:"warehouseId,omitempty"`
}

Region Representation of a location used within the inbounding experience.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestedUpdates added in v1.0.9

type RequestedUpdates struct {
	// Boxes A list of boxes that will be present in the shipment after the update.
	Boxes *[]BoxUpdateInput `json:"boxes,omitempty"`

	// Items A list of all items that will be present in the shipment after the update.
	Items *[]ItemInput `json:"items,omitempty"`
}

RequestedUpdates Objects that were included in the update request.

type ResponseEditorFn

type ResponseEditorFn func(ctx context.Context, rsp *http.Response) error

ResponseEditorFn is the function signature for the ResponseEditor callback function

type ScheduleSelfShipAppointmentJSONRequestBody

type ScheduleSelfShipAppointmentJSONRequestBody = ScheduleSelfShipAppointmentRequest

ScheduleSelfShipAppointmentJSONRequestBody defines body for ScheduleSelfShipAppointment for application/json ContentType.

type ScheduleSelfShipAppointmentRequest

type ScheduleSelfShipAppointmentRequest struct {
	// ReasonComment Reason for cancelling or rescheduling a self-ship appointment.
	ReasonComment *ReasonComment `json:"reasonComment,omitempty"`
}

ScheduleSelfShipAppointmentRequest The `scheduleSelfShipAppointment` request.

type ScheduleSelfShipAppointmentResp

type ScheduleSelfShipAppointmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ScheduleSelfShipAppointmentResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseScheduleSelfShipAppointmentResp

func ParseScheduleSelfShipAppointmentResp(rsp *http.Response) (*ScheduleSelfShipAppointmentResp, error)

ParseScheduleSelfShipAppointmentResp parses an HTTP response from a ScheduleSelfShipAppointmentWithResponse call

func (ScheduleSelfShipAppointmentResp) Status

Status returns HTTPResponse.Status

func (ScheduleSelfShipAppointmentResp) StatusCode

func (r ScheduleSelfShipAppointmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScheduleSelfShipAppointmentResponse

type ScheduleSelfShipAppointmentResponse struct {
	// SelfShipAppointmentDetails Appointment details for carrier pickup or fulfillment center appointments.
	SelfShipAppointmentDetails SelfShipAppointmentDetails `json:"selfShipAppointmentDetails"`
}

ScheduleSelfShipAppointmentResponse The `scheduleSelfShipAppointment` response.

type SelectedDeliveryWindow added in v1.0.9

type SelectedDeliveryWindow struct {
	// AvailabilityType Identifies type of Delivery Window Availability. Values: `AVAILABLE`, `CONGESTED`
	AvailabilityType string `json:"availabilityType"`

	// DeliveryWindowOptionId Identifier of a delivery window option. A delivery window option represent one option for when a shipment is expected to be delivered.
	DeliveryWindowOptionId string `json:"deliveryWindowOptionId"`

	// EditableUntil The timestamp at which this Window can no longer be edited.
	EditableUntil *time.Time `json:"editableUntil,omitempty"`

	// EndDate The end timestamp of the window.
	EndDate time.Time `json:"endDate"`

	// StartDate The start timestamp of the window.
	StartDate time.Time `json:"startDate"`
}

SelectedDeliveryWindow Selected delivery window attributes.

type SelfShipAppointmentDetails

type SelfShipAppointmentDetails struct {
	// AppointmentId Identifier for appointment.
	AppointmentId *float32 `json:"appointmentId,omitempty"`

	// AppointmentSlotTime An appointment slot time with start and end.
	AppointmentSlotTime *AppointmentSlotTime `json:"appointmentSlotTime,omitempty"`

	// AppointmentStatus Status of the appointment.
	AppointmentStatus *string `json:"appointmentStatus,omitempty"`
}

SelfShipAppointmentDetails Appointment details for carrier pickup or fulfillment center appointments.

type SelfShipAppointmentSlotsAvailability

type SelfShipAppointmentSlotsAvailability struct {
	// ExpiresAt The time at which the self ship appointment slot expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`

	// Slots A list of appointment slots.
	Slots *[]AppointmentSlot `json:"slots,omitempty"`
}

SelfShipAppointmentSlotsAvailability The self ship appointment time slots availability and an expiration date for which the slots can be scheduled.

type SetPackingInformationJSONRequestBody

type SetPackingInformationJSONRequestBody = SetPackingInformationRequest

SetPackingInformationJSONRequestBody defines body for SetPackingInformation for application/json ContentType.

type SetPackingInformationRequest

type SetPackingInformationRequest struct {
	// PackageGroupings List of packing information for the inbound plan.
	PackageGroupings []PackageGroupingInput `json:"packageGroupings"`
}

SetPackingInformationRequest The `setPackingInformation` request.

type SetPackingInformationResp

type SetPackingInformationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SetPackingInformationResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseSetPackingInformationResp

func ParseSetPackingInformationResp(rsp *http.Response) (*SetPackingInformationResp, error)

ParseSetPackingInformationResp parses an HTTP response from a SetPackingInformationWithResponse call

func (SetPackingInformationResp) Status

func (r SetPackingInformationResp) Status() string

Status returns HTTPResponse.Status

func (SetPackingInformationResp) StatusCode

func (r SetPackingInformationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPackingInformationResponse

type SetPackingInformationResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

SetPackingInformationResponse The `setPackingInformation` response.

type SetPrepDetailsJSONRequestBody added in v1.0.9

type SetPrepDetailsJSONRequestBody = SetPrepDetailsRequest

SetPrepDetailsJSONRequestBody defines body for SetPrepDetails for application/json ContentType.

type SetPrepDetailsRequest added in v1.0.9

type SetPrepDetailsRequest struct {
	// MarketplaceId The marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
	MarketplaceId string `json:"marketplaceId"`

	// MskuPrepDetails A list of MSKUs and related prep details.
	MskuPrepDetails []MskuPrepDetailInput `json:"mskuPrepDetails"`
}

SetPrepDetailsRequest The `setPrepDetails` request.

type SetPrepDetailsResp added in v1.0.9

type SetPrepDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SetPrepDetailsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseSetPrepDetailsResp added in v1.0.9

func ParseSetPrepDetailsResp(rsp *http.Response) (*SetPrepDetailsResp, error)

ParseSetPrepDetailsResp parses an HTTP response from a SetPrepDetailsWithResponse call

func (SetPrepDetailsResp) Status added in v1.0.9

func (r SetPrepDetailsResp) Status() string

Status returns HTTPResponse.Status

func (SetPrepDetailsResp) StatusCode added in v1.0.9

func (r SetPrepDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPrepDetailsResponse added in v1.0.9

type SetPrepDetailsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

SetPrepDetailsResponse The `setPrepDetails` response.

type Shipment

type Shipment struct {
	// AmazonReferenceId A unique identifier created by Amazon that identifies this Amazon-partnered, Less Than Truckload/Full Truckload (LTL/FTL) shipment.
	AmazonReferenceId *string `json:"amazonReferenceId,omitempty"`

	// ContactInformation The seller's contact information.
	ContactInformation *ContactInformation `json:"contactInformation,omitempty"`

	// Dates Specifies the date that the seller expects their shipment will be shipped.
	Dates *Dates `json:"dates,omitempty"`

	// Destination The Amazon fulfillment center address and warehouse ID.
	Destination ShipmentDestination `json:"destination"`

	// FreightInformation Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.
	FreightInformation *FreightInformation `json:"freightInformation,omitempty"`

	// Name The name of the shipment.
	Name *string `json:"name,omitempty"`

	// PlacementOptionId The identifier of a placement option. A placement option represents the shipment splits and destinations of SKUs.
	PlacementOptionId string `json:"placementOptionId"`

	// SelectedDeliveryWindow Selected delivery window attributes.
	SelectedDeliveryWindow *SelectedDeliveryWindow `json:"selectedDeliveryWindow,omitempty"`

	// SelectedTransportationOptionId Identifier of a transportation option. A transportation option represent one option for how to send a shipment.
	SelectedTransportationOptionId *string `json:"selectedTransportationOptionId,omitempty"`

	// SelfShipAppointmentDetails List of self ship appointment details.
	SelfShipAppointmentDetails *[]SelfShipAppointmentDetails `json:"selfShipAppointmentDetails,omitempty"`

	// ShipmentConfirmationId The confirmed shipment ID which shows up on labels (for example, `FBA1234ABCD`).
	ShipmentConfirmationId *string `json:"shipmentConfirmationId,omitempty"`

	// ShipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
	ShipmentId string `json:"shipmentId"`

	// Source Specifies the 'ship from' address for the shipment.
	Source ShipmentSource `json:"source"`

	// Status The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated.
	//
	// Possible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING`
	Status *string `json:"status,omitempty"`

	// TrackingDetails Tracking information for Less-Than-Truckload (LTL) and Small Parcel Delivery (SPD) shipments.
	TrackingDetails *TrackingDetails `json:"trackingDetails,omitempty"`
}

Shipment Contains information pertaining to a shipment in an inbound plan.

type ShipmentDestination

type ShipmentDestination struct {
	// Address Specific details to identify a place.
	Address *Address `json:"address,omitempty"`

	// DestinationType The type of destination for this shipment. Possible values: `AMAZON_OPTIMIZED`, `AMAZON_WAREHOUSE`.
	DestinationType string `json:"destinationType"`

	// WarehouseId The warehouse that the shipment should be sent to. Empty if the destination type is `AMAZON_OPTIMIZED`.
	WarehouseId *string `json:"warehouseId,omitempty"`
}

ShipmentDestination The Amazon fulfillment center address and warehouse ID.

type ShipmentSource

type ShipmentSource struct {
	// Address Specific details to identify a place.
	Address *Address `json:"address,omitempty"`

	// SourceType The type of source for this shipment. Possible values: `SELLER_FACILITY`.
	SourceType string `json:"sourceType"`
}

ShipmentSource Specifies the 'ship from' address for the shipment.

type ShipmentSummary

type ShipmentSummary struct {
	// ShipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
	ShipmentId string `json:"shipmentId"`

	// Status The status of a shipment. The state of the shipment will typically start as `UNCONFIRMED`, then transition to `WORKING` after a placement option has been confirmed, and then to `READY_TO_SHIP` once labels are generated.
	//
	// Possible values: `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, `UNCONFIRMED`, `WORKING`
	Status string `json:"status"`
}

ShipmentSummary Summary information about a shipment.

type ShipmentTransportationConfiguration

type ShipmentTransportationConfiguration struct {
	// ContactInformation The seller's contact information.
	ContactInformation *ContactInformation `json:"contactInformation,omitempty"`

	// FreightInformation Freight information describes the skus being transported. Freight carrier options and quotes will only be returned if the freight information is provided.
	FreightInformation *FreightInformation `json:"freightInformation,omitempty"`

	// Pallets List of pallet configuration inputs.
	Pallets *[]PalletInput `json:"pallets,omitempty"`

	// ReadyToShipWindow Contains only a starting DateTime.
	ReadyToShipWindow WindowInput `json:"readyToShipWindow"`

	// ShipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
	ShipmentId string `json:"shipmentId"`
}

ShipmentTransportationConfiguration Details needed to generate the transportation options.

type ShippingConfiguration

type ShippingConfiguration struct {
	// ShippingMode Mode of shipment transportation that this option will provide.
	//
	// Possible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`.
	ShippingMode *string `json:"shippingMode,omitempty"`

	// ShippingSolution Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`.
	ShippingSolution *string `json:"shippingSolution,omitempty"`
}

ShippingConfiguration The shipping configurations supported for the packing option. Available modes are ground small parcel, freight less-than-truckload (LTL), freight full-truckload (FTL) palletized, freight FTL non-palletized, ocean less-than-container-load (LCL), ocean full-container load (FCL), air small parcel, and air small parcel express.

type SpdTrackingDetail

type SpdTrackingDetail struct {
	// SpdTrackingItems List of Small Parcel Delivery (SPD) tracking items.
	SpdTrackingItems *[]SpdTrackingItem `json:"spdTrackingItems,omitempty"`
}

SpdTrackingDetail Contains information related to Small Parcel Delivery (SPD) shipment tracking.

type SpdTrackingDetailInput

type SpdTrackingDetailInput struct {
	// SpdTrackingItems List of Small Parcel Delivery (SPD) tracking items input.
	SpdTrackingItems []SpdTrackingItemInput `json:"spdTrackingItems"`
}

SpdTrackingDetailInput Contains input information to update Small Parcel Delivery (SPD) tracking information.

type SpdTrackingItem

type SpdTrackingItem struct {
	// BoxId The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
	BoxId *string `json:"boxId,omitempty"`

	// TrackingId The tracking ID associated with each box in a non-Amazon partnered Small Parcel Delivery (SPD) shipment.
	TrackingId *string `json:"trackingId,omitempty"`

	// TrackingNumberValidationStatus Whether or not Amazon has validated the tracking number. If more than 24 hours have passed and the status is not yet 'VALIDATED', please verify the number and update if necessary. Possible values: `VALIDATED`, `NOT_VALIDATED`.
	TrackingNumberValidationStatus *string `json:"trackingNumberValidationStatus,omitempty"`
}

SpdTrackingItem Contains information used to track and identify a Small Parcel Delivery (SPD) item.

type SpdTrackingItemInput

type SpdTrackingItemInput struct {
	// BoxId The ID provided by Amazon that identifies a given box. This ID is comprised of the external shipment ID (which is generated after transportation has been confirmed) and the index of the box.
	BoxId string `json:"boxId"`

	// TrackingId The tracking Id associated with each box in a non-Amazon partnered Small Parcel Delivery (SPD) shipment. The seller must provide this information.
	TrackingId string `json:"trackingId"`
}

SpdTrackingItemInput Small Parcel Delivery (SPD) tracking items input information.

type Stackability

type Stackability string

Stackability Indicates whether pallets will be stacked when carrier arrives for pick-up.

const (
	NONSTACKABLE Stackability = "NON_STACKABLE"
	STACKABLE    Stackability = "STACKABLE"
)

Defines values for Stackability.

type TaxDetails

type TaxDetails struct {
	// DeclaredValue The type and amount of currency.
	DeclaredValue *Currency `json:"declaredValue,omitempty"`

	// HsnCode Harmonized System of Nomenclature code.
	HsnCode *string `json:"hsnCode,omitempty"`

	// TaxRates List of tax rates.
	TaxRates *[]TaxRate `json:"taxRates,omitempty"`
}

TaxDetails Information used to determine the tax compliance.

type TaxRate

type TaxRate struct {
	// CessRate Rate of cess tax.
	CessRate *float32 `json:"cessRate,omitempty"`

	// GstRate Rate of gst tax.
	GstRate *float32 `json:"gstRate,omitempty"`

	// TaxType Type of tax. Possible values: `CGST`, `SGST`, `IGST`, `TOTAL_TAX`.
	TaxType *string `json:"taxType,omitempty"`
}

TaxRate Contains the type and rate of tax.

type TrackingDetails

type TrackingDetails struct {
	// LtlTrackingDetail Contains information related to Less-Than-Truckload (LTL) shipment tracking.
	LtlTrackingDetail *LtlTrackingDetail `json:"ltlTrackingDetail,omitempty"`

	// SpdTrackingDetail Contains information related to Small Parcel Delivery (SPD) shipment tracking.
	SpdTrackingDetail *SpdTrackingDetail `json:"spdTrackingDetail,omitempty"`
}

TrackingDetails Tracking information for Less-Than-Truckload (LTL) and Small Parcel Delivery (SPD) shipments.

type TrackingDetailsInput

type TrackingDetailsInput struct {
	// LtlTrackingDetail Contains input information to update Less-Than-Truckload (LTL) tracking information.
	LtlTrackingDetail *LtlTrackingDetailInput `json:"ltlTrackingDetail,omitempty"`

	// SpdTrackingDetail Contains input information to update Small Parcel Delivery (SPD) tracking information.
	SpdTrackingDetail *SpdTrackingDetailInput `json:"spdTrackingDetail,omitempty"`
}

TrackingDetailsInput Tracking information input for Less-Than-Truckload (LTL) and Small Parcel Delivery (SPD) shipments.

type TransportationOption

type TransportationOption struct {
	// Carrier The carrier for the inbound shipment.
	Carrier Carrier `json:"carrier"`

	// CarrierAppointment Contains details for a transportation carrier appointment. This appointment is vended out by Amazon and is an indicator for when a transportation carrier is accepting shipments to be picked up.
	CarrierAppointment *CarrierAppointment `json:"carrierAppointment,omitempty"`

	// Preconditions Identifies a list of preconditions for confirming the transportation option.
	Preconditions []string `json:"preconditions"`

	// Quote The estimated shipping cost associated with the transportation option.
	Quote *Quote `json:"quote,omitempty"`

	// ShipmentId Identifier of a shipment. A shipment contains the boxes and units being inbounded.
	ShipmentId string `json:"shipmentId"`

	// ShippingMode Mode of shipment transportation that this option will provide.
	//
	// Possible values: `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, `AIR_SMALL_PARCEL_EXPRESS`.
	ShippingMode string `json:"shippingMode"`

	// ShippingSolution Shipping program for the option. Possible values: `AMAZON_PARTNERED_CARRIER`, `USE_YOUR_OWN_CARRIER`.
	ShippingSolution string `json:"shippingSolution"`

	// TransportationOptionId Identifier of a transportation option. A transportation option represent one option for how to send a shipment.
	TransportationOptionId string `json:"transportationOptionId"`
}

TransportationOption Contains information pertaining to a transportation option and the related carrier.

type TransportationSelection

type TransportationSelection struct {
	// ContactInformation The seller's contact information.
	ContactInformation *ContactInformation `json:"contactInformation,omitempty"`

	// ShipmentId Shipment ID that the transportation Option is for.
	ShipmentId string `json:"shipmentId"`

	// TransportationOptionId Transportation option being selected for the provided shipment.
	TransportationOptionId string `json:"transportationOptionId"`
}

TransportationSelection The transportation option selected to confirm.

type UnitOfMeasurement

type UnitOfMeasurement string

UnitOfMeasurement Unit of linear measure.

const (
	CM UnitOfMeasurement = "CM"
	IN UnitOfMeasurement = "IN"
)

Defines values for UnitOfMeasurement.

type UnitOfWeight

type UnitOfWeight string

UnitOfWeight Unit of the weight being measured.

const (
	KG UnitOfWeight = "KG"
	LB UnitOfWeight = "LB"
)

Defines values for UnitOfWeight.

type UpdateInboundPlanNameJSONRequestBody added in v1.0.9

type UpdateInboundPlanNameJSONRequestBody = UpdateInboundPlanNameRequest

UpdateInboundPlanNameJSONRequestBody defines body for UpdateInboundPlanName for application/json ContentType.

type UpdateInboundPlanNameRequest added in v1.0.9

type UpdateInboundPlanNameRequest struct {
	// Name A human-readable name to update the inbound plan name to.
	Name string `json:"name"`
}

UpdateInboundPlanNameRequest The `updateInboundPlanName` request.

type UpdateInboundPlanNameResp added in v1.0.9

type UpdateInboundPlanNameResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseUpdateInboundPlanNameResp added in v1.0.9

func ParseUpdateInboundPlanNameResp(rsp *http.Response) (*UpdateInboundPlanNameResp, error)

ParseUpdateInboundPlanNameResp parses an HTTP response from a UpdateInboundPlanNameWithResponse call

func (UpdateInboundPlanNameResp) Status added in v1.0.9

func (r UpdateInboundPlanNameResp) Status() string

Status returns HTTPResponse.Status

func (UpdateInboundPlanNameResp) StatusCode added in v1.0.9

func (r UpdateInboundPlanNameResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateItemComplianceDetailsJSONRequestBody

type UpdateItemComplianceDetailsJSONRequestBody = UpdateItemComplianceDetailsRequest

UpdateItemComplianceDetailsJSONRequestBody defines body for UpdateItemComplianceDetails for application/json ContentType.

type UpdateItemComplianceDetailsParams

type UpdateItemComplianceDetailsParams struct {
	// MarketplaceId The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
	MarketplaceId string `form:"marketplaceId" json:"marketplaceId"`
}

UpdateItemComplianceDetailsParams defines parameters for UpdateItemComplianceDetails.

type UpdateItemComplianceDetailsRequest

type UpdateItemComplianceDetailsRequest struct {
	// Msku The merchant SKU, a merchant-supplied identifier for a specific SKU.
	Msku string `json:"msku"`

	// TaxDetails Information used to determine the tax compliance.
	TaxDetails TaxDetails `json:"taxDetails"`
}

UpdateItemComplianceDetailsRequest The `updateItemComplianceDetails` request.

type UpdateItemComplianceDetailsResp

type UpdateItemComplianceDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *UpdateItemComplianceDetailsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseUpdateItemComplianceDetailsResp

func ParseUpdateItemComplianceDetailsResp(rsp *http.Response) (*UpdateItemComplianceDetailsResp, error)

ParseUpdateItemComplianceDetailsResp parses an HTTP response from a UpdateItemComplianceDetailsWithResponse call

func (UpdateItemComplianceDetailsResp) Status

Status returns HTTPResponse.Status

func (UpdateItemComplianceDetailsResp) StatusCode

func (r UpdateItemComplianceDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateItemComplianceDetailsResponse

type UpdateItemComplianceDetailsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

UpdateItemComplianceDetailsResponse The `updateItemComplianceDetails` response.

type UpdateShipmentNameJSONRequestBody added in v1.0.9

type UpdateShipmentNameJSONRequestBody = UpdateShipmentNameRequest

UpdateShipmentNameJSONRequestBody defines body for UpdateShipmentName for application/json ContentType.

type UpdateShipmentNameRequest added in v1.0.9

type UpdateShipmentNameRequest struct {
	// Name A human-readable name to update the shipment name to.
	Name string `json:"name"`
}

UpdateShipmentNameRequest The `updateShipmentName` request.

type UpdateShipmentNameResp added in v1.0.9

type UpdateShipmentNameResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseUpdateShipmentNameResp added in v1.0.9

func ParseUpdateShipmentNameResp(rsp *http.Response) (*UpdateShipmentNameResp, error)

ParseUpdateShipmentNameResp parses an HTTP response from a UpdateShipmentNameWithResponse call

func (UpdateShipmentNameResp) Status added in v1.0.9

func (r UpdateShipmentNameResp) Status() string

Status returns HTTPResponse.Status

func (UpdateShipmentNameResp) StatusCode added in v1.0.9

func (r UpdateShipmentNameResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateShipmentSourceAddressJSONRequestBody added in v1.0.9

type UpdateShipmentSourceAddressJSONRequestBody = UpdateShipmentSourceAddressRequest

UpdateShipmentSourceAddressJSONRequestBody defines body for UpdateShipmentSourceAddress for application/json ContentType.

type UpdateShipmentSourceAddressRequest added in v1.0.9

type UpdateShipmentSourceAddressRequest struct {
	// Address Specific details to identify a place.
	Address AddressInput `json:"address"`
}

UpdateShipmentSourceAddressRequest The `UpdateShipmentSourceAddress` request.

type UpdateShipmentSourceAddressResp added in v1.0.9

type UpdateShipmentSourceAddressResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *UpdateShipmentSourceAddressResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseUpdateShipmentSourceAddressResp added in v1.0.9

func ParseUpdateShipmentSourceAddressResp(rsp *http.Response) (*UpdateShipmentSourceAddressResp, error)

ParseUpdateShipmentSourceAddressResp parses an HTTP response from a UpdateShipmentSourceAddressWithResponse call

func (UpdateShipmentSourceAddressResp) Status added in v1.0.9

Status returns HTTPResponse.Status

func (UpdateShipmentSourceAddressResp) StatusCode added in v1.0.9

func (r UpdateShipmentSourceAddressResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateShipmentSourceAddressResponse added in v1.0.9

type UpdateShipmentSourceAddressResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

UpdateShipmentSourceAddressResponse The `UpdateShipmentSourceAddress` response.

type UpdateShipmentTrackingDetailsJSONRequestBody

type UpdateShipmentTrackingDetailsJSONRequestBody = UpdateShipmentTrackingDetailsRequest

UpdateShipmentTrackingDetailsJSONRequestBody defines body for UpdateShipmentTrackingDetails for application/json ContentType.

type UpdateShipmentTrackingDetailsRequest

type UpdateShipmentTrackingDetailsRequest struct {
	// TrackingDetails Tracking information input for Less-Than-Truckload (LTL) and Small Parcel Delivery (SPD) shipments.
	TrackingDetails TrackingDetailsInput `json:"trackingDetails"`
}

UpdateShipmentTrackingDetailsRequest The `updateShipmentTrackingDetails` request.

type UpdateShipmentTrackingDetailsResp

type UpdateShipmentTrackingDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *UpdateShipmentTrackingDetailsResponse
	JSON400      *ErrorList
	JSON403      *ErrorList
	JSON404      *ErrorList
	JSON413      *ErrorList
	JSON415      *ErrorList
	JSON429      *ErrorList
	JSON500      *ErrorList
	JSON503      *ErrorList
}

func ParseUpdateShipmentTrackingDetailsResp

func ParseUpdateShipmentTrackingDetailsResp(rsp *http.Response) (*UpdateShipmentTrackingDetailsResp, error)

ParseUpdateShipmentTrackingDetailsResp parses an HTTP response from a UpdateShipmentTrackingDetailsWithResponse call

func (UpdateShipmentTrackingDetailsResp) Status

Status returns HTTPResponse.Status

func (UpdateShipmentTrackingDetailsResp) StatusCode

func (r UpdateShipmentTrackingDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateShipmentTrackingDetailsResponse

type UpdateShipmentTrackingDetailsResponse struct {
	// OperationId UUID for the given operation.
	OperationId string `json:"operationId"`
}

UpdateShipmentTrackingDetailsResponse The `updateShipmentTrackingDetails` response.

type Weight

type Weight struct {
	// Unit Unit of the weight being measured.
	Unit UnitOfWeight `json:"unit"`

	// Value Value of a weight.
	Value float32 `json:"value"`
}

Weight The weight of a package.

type Window

type Window struct {
	// EditableUntil The timestamp at which this Window can no longer be edited.
	EditableUntil *time.Time `json:"editableUntil,omitempty"`

	// End The end timestamp of the window.
	End time.Time `json:"end"`

	// Start The start timestamp of the window.
	Start time.Time `json:"start"`
}

Window Contains a start and end DateTime representing a time range.

type WindowInput

type WindowInput struct {
	// Start The start date of the window. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with minute precision. Supports patterns `yyyy-MM-ddTHH:mmZ`, `yyyy-MM-ddTHH:mm:ssZ`, or `yyyy-MM-ddTHH:mm:ss.sssZ`. Note that non-zero second and millisecond components are removed.
	Start time.Time `json:"start"`
}

WindowInput Contains only a starting DateTime.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL