fulfillmentinboundv20240320

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: May 4, 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/deepmap/oapi-codegen/v2 version v2.1.0 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, slotId 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, slotId string, contentType string, body io.Reader) (*http.Request, error)

NewCancelSelfShipAppointmentRequestWithBody generates requests for CancelSelfShipAppointment with any type of body

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 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 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 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 NewGetShipmentRequest

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

NewGetShipmentRequest generates requests for GetShipment

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 NewListPackingGroupItemsRequest

func NewListPackingGroupItemsRequest(server string, inboundPlanId string, packingOptionId 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 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 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 NewUpdateShipmentDeliveryWindowRequest

func NewUpdateShipmentDeliveryWindowRequest(server string, inboundPlanId string, shipmentId string, body UpdateShipmentDeliveryWindowJSONRequestBody) (*http.Request, error)

NewUpdateShipmentDeliveryWindowRequest calls the generic UpdateShipmentDeliveryWindow builder with application/json body

func NewUpdateShipmentDeliveryWindowRequestWithBody

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

NewUpdateShipmentDeliveryWindowRequestWithBody generates requests for UpdateShipmentDeliveryWindow 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"`

	// Name The name of the individual or business.
	Name string `json:"name"`

	// 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 AppointmentSlot

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

	// SlotTime An appointment slot time with a 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 a 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"`

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

	// Dimensions Measurement of a package 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 may contain an item and metadata about the box itself.

type BoxContent

type BoxContent struct {
	// Expiration The date in ISO 8601 format for when the MSKU expires.
	Expiration *string `json:"expiration,omitempty"`

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

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

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

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

	// QuantityInBox The number of units of the given MSKU in the box.
	QuantityInBox int `json:"quantityInBox"`
}

BoxContent Specifies contents in a box. Each `BoxContent` minimally contains a mapping of an MSKU to the prep owner, label owner and its quantity in the box. It also contains the MSKU expiration date and manufacturing lot code if applicable.

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 {
	// BoxId The ID of the box to update that was provided by Amazon. 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"`

	// Contents The Contents of the box containing a list of MSKUs and their quantity. If `boxAttribute` is `BARCODE_2D` or `MANUAL_PROCESS`, user should provide ALL of the items that could be in the box, without specifying item quantities.
	Contents *[]BoxContent `json:"contents,omitempty"`

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

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

	// TemplateName The seller-provided name for a 'type' of box (or a group of boxes with the same contents), which will be used to identify all created boxes of that type. When providing bulk box information, this value must be unique from the other box types. When providing individual boxes with existing IDs, this value can be shared between many boxes that have the same contents.
	TemplateName string `json:"templateName"`

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

BoxInput Input information for a given 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 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, slotId string, body CancelSelfShipAppointmentJSONRequestBody) (*http.Response, error)

func (*Client) CancelSelfShipAppointmentWithBody

func (c *Client) CancelSelfShipAppointmentWithBody(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, contentType string, body io.Reader) (*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) 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) 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) 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) 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) ListPackingGroupItems

func (c *Client) ListPackingGroupItems(ctx context.Context, inboundPlanId string, packingOptionId 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) 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) UpdateItemComplianceDetailsWithBody

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

func (*Client) UpdateShipmentDeliveryWindow

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

func (*Client) UpdateShipmentDeliveryWindowWithBody

func (c *Client) UpdateShipmentDeliveryWindowWithBody(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)

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

	// ListPackingGroupItems request
	ListPackingGroupItems(ctx context.Context, inboundPlanId string, packingOptionId string, packingGroupId string, params *ListPackingGroupItemsParams) (*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)

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

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

	UpdateShipmentDeliveryWindow(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentDeliveryWindowJSONRequestBody) (*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)

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

	CancelSelfShipAppointment(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, body CancelSelfShipAppointmentJSONRequestBody) (*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)

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

	// 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, slotId 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, slotId string, body CancelSelfShipAppointmentJSONRequestBody) (*CancelSelfShipAppointmentResp, error)

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

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

GetShipmentWithResponse request returning *GetShipmentResp

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

func (c *ClientWithResponses) ListPackingGroupItemsWithResponse(ctx context.Context, inboundPlanId string, packingOptionId 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) 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) 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) UpdateShipmentDeliveryWindowWithBodyWithResponse

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

UpdateShipmentDeliveryWindowWithBodyWithResponse request with arbitrary body returning *UpdateShipmentDeliveryWindowResp

func (*ClientWithResponses) UpdateShipmentDeliveryWindowWithResponse

func (c *ClientWithResponses) UpdateShipmentDeliveryWindowWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentDeliveryWindowJSONRequestBody) (*UpdateShipmentDeliveryWindowResp, 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)

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

	// ListPackingGroupItemsWithResponse request
	ListPackingGroupItemsWithResponse(ctx context.Context, inboundPlanId string, packingOptionId string, packingGroupId string, params *ListPackingGroupItemsParams) (*ListPackingGroupItemsResp, 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)

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

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

	UpdateShipmentDeliveryWindowWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, body UpdateShipmentDeliveryWindowJSONRequestBody) (*UpdateShipmentDeliveryWindowResp, 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)

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

	CancelSelfShipAppointmentWithResponse(ctx context.Context, inboundPlanId string, shipmentId string, slotId string, body CancelSelfShipAppointmentJSONRequestBody) (*CancelSelfShipAppointmentResp, 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)

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

	// 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 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 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 Email address.
	Email *string `json:"email,omitempty"`

	// Name The name belonging to the contact. This field is required when contact information is being provided for
	//         Less-Than-Truckload (LTL) carrier shipments.
	Name *string `json:"name,omitempty"`

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

ContactInformation The seller's contact information.

type CreateInboundPlanJSONRequestBody

type CreateInboundPlanJSONRequestBody = CreateInboundPlanRequest

CreateInboundPlanJSONRequestBody defines body for CreateInboundPlan for application/json ContentType.

type CreateInboundPlanRequest

type CreateInboundPlanRequest struct {
	// ContactInformation The seller's contact information.
	ContactInformation ContactInformation `json:"contactInformation"`

	// 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 Address `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 to an inbound plan.
	InboundPlanId string `json:"inboundPlanId"`

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

CreateInboundPlanResponse The `createInboundPlan` 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 Currency definition.

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 {
	// DeliveryWindow Contains a start and end DateTime representing a time range.
	DeliveryWindow *Window `json:"deliveryWindow,omitempty"`

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

Dates Specifies the dates that the seller expects their shipment will be shipped and delivered.

type Dimensions

type Dimensions struct {
	// Height Height.
	Height float64 `json:"height"`

	// Length Length.
	Length float64 `json:"length"`

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

	// Width Width.
	Width float64 `json:"width"`
}

Dimensions Measurement of a package dimensions.

type DocumentDownload

type DocumentDownload struct {
	// DownloadType The type of download. Can be `URL` or `PDF_BASE64`.
	DownloadType string `json:"downloadType"`

	// Expiration The timestamp of expiration of the URI. This is in 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 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 placements options to be added to the plan.
	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 ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	DesiredEndDate *time.Time `json:"desiredEndDate,omitempty"`

	// DesiredStartDate The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	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 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 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 that was executed 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 The `getInboundOperationStatus` response.

type InboundPlan

type InboundPlan struct {
	// ContactInformation The seller's contact information.
	ContactInformation ContactInformation `json:"contactInformation"`

	// CreatedAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	CreatedAt time.Time `json:"createdAt"`

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

	// LastUpdatedAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	LastUpdatedAt time.Time `json:"lastUpdatedAt"`

	// MarketplaceIds Marketplace IDs.
	MarketplaceIds []string `json:"marketplaceIds"`

	// Name The 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 endpoint. 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 endpoint. 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 Shipment IDs for the inbound plan. This property will be populated when it has been generated via the corresponding endpoint. If there is a chosen placement option, only shipments for that option will be returned. If there are confirmed shipments, only those shipments will be 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. Can be `ACTIVE`, `VOIDED`, or `SHIPPED`.
	Status string `json:"status"`
}

InboundPlan Inbound plan containing details of the inbound workflow.

type InboundPlanSummary

type InboundPlanSummary struct {
	// ContactInformation The seller's contact information.
	ContactInformation ContactInformation `json:"contactInformation"`

	// CreatedAt The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	CreatedAt time.Time `json:"createdAt"`

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

	// LastUpdatedAt ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	LastUpdatedAt time.Time `json:"lastUpdatedAt"`

	// MarketplaceIds 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 Current status of the inbound plan. Can be 'ACTIVE', 'VOIDED', or 'SHIPPED'.
	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. Can be 'Placement Services' or 'Fulfillment Fee Discount'.
	Target string `json:"target"`

	// Type Type of incentive. Can be `FEE` or `DISCOUNT`.
	Type string `json:"type"`

	// Value Currency definition.
	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 format. 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` and `SELLER`.
	LabelOwner string `json:"labelOwner"`

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

	// Msku The merchant defined SKU ID.
	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 format. The same MSKU with different expiration dates cannot go into the same box.
	Expiration *string `json:"expiration,omitempty"`

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

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

	// Msku The merchant SKU.
	Msku string `json:"msku"`

	// PrepOwner In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON` or `SELLER`.
	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 LabelOwner

type LabelOwner string

LabelOwner Specifies who will label the items. Options include `AMAZON` and `SELLER`.

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

Defines values for LabelOwner.

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 `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 `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 `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 `listInboundPlans` response.

type ListItemComplianceDetailsParams

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

	// MarketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.
	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 `listItemComplianceDetails` 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 inbound plan.
	Items []Item `json:"items"`

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

ListPackingGroupItemsResponse `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 `listPackingOptions` 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 `listPlacementOptions` 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 `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 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. Can be 'WARNING', or '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 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 timestamp at which this packing option becomes no longer valid. This is in 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"`

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

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

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

	// Status The status of the packing option. Can be `OFFERED`, `ACCEPTED`, or `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 to a packing option.
	PackingOptionId string `json:"packingOptionId"`

	// Status The status of a packing option. Can be 'OFFERED', 'ACCEPTED', or '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 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 PalletInformation

type PalletInformation struct {
	// DeclaredValue Currency definition.
	DeclaredValue *Currency `json:"declaredValue,omitempty"`

	// FreightClass Freight class. Can be `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`, or `FC_500`.
	FreightClass *string `json:"freightClass,omitempty"`

	// Pallets Set pallet configuration for Less-Than-Truckload (LTL).
	Pallets []PalletInput `json:"pallets"`
}

PalletInformation Pallet information, including weight, dimensions, quantity, stackability, freight class, and declared value.

type PalletInput

type PalletInput struct {
	// Dimensions Measurement of a package 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 Set pallet configuration for Less-Than-Truckload (LTL).

type PlacementOption

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

	// Expiration The expiration date of the placement option. This is in 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"`

	// PlacementOptionId Identifier to 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. Can be `OFFERED`, `ACCEPTED`, or `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 Identifier to 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. Can be `OFFERED` or `ACCEPTED`.
	Status string `json:"status"`
}

PlacementOptionSummary Summary information about a placement option.

type PrepInstruction

type PrepInstruction struct {
	// Fee Currency definition.
	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` or `SELLER`.
	PrepOwner *string `json:"prepOwner,omitempty"`

	// PrepType Type of preparation that should be done. Can be `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`, or `NONE`.
	PrepType *string `json:"prepType,omitempty"`
}

PrepInstruction Information pertaining to the preparation of inbound goods.

type PrepOwner

type PrepOwner string

PrepOwner In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON` or `SELLER`.

const (
	PrepOwnerAMAZON PrepOwner = "AMAZON"
	PrepOwnerSELLER PrepOwner = "SELLER"
)

Defines values for PrepOwner.

type Quote

type Quote struct {
	// Cost Currency definition.
	Cost Currency `json:"cost"`

	// Expiration The timestamp at which this transportation option quote becomes no longer valid. This is in ISO 8601 datetime format 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 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 `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 `scheduleSelfShipAppointment` response.

type SelfShipAppointmentDetails

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

	// AppointmentSlotTime An appointment slot time with a 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 ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`

	// Slots 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,omitempty"`
}

SetPackingInformationRequest `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 `setPackingInformation` 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 dates that the seller expects their shipment will be shipped and delivered.
	Dates *Dates `json:"dates,omitempty"`

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

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

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

	// PalletInformation Pallet information, including weight, dimensions, quantity, stackability, freight class, and declared value.
	PalletInformation *PalletInformation `json:"palletInformation,omitempty"`

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

	// SelectedTransportationOptionId Identifier to 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 to 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 in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, or `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. Can be `AMAZON_OPTIMIZED`, or `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. Can be `SELLER_FACILITY`.
	SourceType string `json:"sourceType"`
}

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

type ShipmentSummary

type ShipmentSummary struct {
	// ShipmentId Identifier to 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 in `WORKING` and transition to `READY_TO_SHIP` once required actions are complete prior to being picked up or shipped out. Can be `ABANDONED`, `CANCELLED`, `CHECKED_IN`, `CLOSED`, `DELETED`, `DELIVERED`, `IN_TRANSIT`, `MIXED`, `READY_TO_SHIP`, `RECEIVING`, `SHIPPED`, or `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"`

	// PalletInformation Pallet information, including weight, dimensions, quantity, stackability, freight class, and declared value.
	PalletInformation *PalletInformation `json:"palletInformation,omitempty"`

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

	// ShipmentId Identifier to 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. Can be `GROUND_SMALL_PARCEL`, `FREIGHT_LTL`, `FREIGHT_FTL_PALLET`, `FREIGHT_FTL_NONPALLET`, `OCEAN_LCL`, `OCEAN_FCL`, `AIR_SMALL_PARCEL`, or `AIR_SMALL_PARCEL_EXPRESS`.
	ShippingMode *string `json:"shippingMode,omitempty"`

	// ShippingSolution Shipping program for the option. Can be `AMAZON_PARTNERED_CARRIER` or `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. Can be `VALIDATED` or `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 Currency definition.
	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 *float64 `json:"cessRate,omitempty"`

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

	// TaxType Type of tax. Can be `CGST`, `SGST`, `IGST`, or `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 {
	// AppointmentSlot The fulfillment center appointment slot for the transportation option.
	AppointmentSlot *AppointmentSlot `json:"appointmentSlot,omitempty"`

	// Carrier The carrier for the inbound shipment.
	Carrier Carrier `json:"carrier"`

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

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

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

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

	// ShippingMode The shipping mode associated with the transportation 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.
	ShippingMode string `json:"shippingMode"`

	// ShippingSolution The shipping solution associated with the transportation option. Available solutions are Amazon-partnered carrier or 'use your own carrier'.
	ShippingSolution string `json:"shippingSolution"`

	// TransportationOptionId Identifier to 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"`

	// DeliveryWindow Contains only a starting DateTime.
	DeliveryWindow *WindowInput `json:"deliveryWindow,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 UpdateItemComplianceDetailsJSONRequestBody

type UpdateItemComplianceDetailsJSONRequestBody = UpdateItemComplianceDetailsRequest

UpdateItemComplianceDetailsJSONRequestBody defines body for UpdateItemComplianceDetails for application/json ContentType.

type UpdateItemComplianceDetailsParams

type UpdateItemComplianceDetailsParams struct {
	// MarketplaceId The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.
	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 UpdateShipmentDeliveryWindowJSONRequestBody

type UpdateShipmentDeliveryWindowJSONRequestBody = UpdateShipmentDeliveryWindowRequest

UpdateShipmentDeliveryWindowJSONRequestBody defines body for UpdateShipmentDeliveryWindow for application/json ContentType.

type UpdateShipmentDeliveryWindowRequest

type UpdateShipmentDeliveryWindowRequest struct {
	// DeliveryWindow Contains only a starting DateTime.
	DeliveryWindow WindowInput `json:"deliveryWindow"`
}

UpdateShipmentDeliveryWindowRequest The `updateShipmentDeliveryWindow` request.

type UpdateShipmentDeliveryWindowResp

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

func ParseUpdateShipmentDeliveryWindowResp

func ParseUpdateShipmentDeliveryWindowResp(rsp *http.Response) (*UpdateShipmentDeliveryWindowResp, error)

ParseUpdateShipmentDeliveryWindowResp parses an HTTP response from a UpdateShipmentDeliveryWindowWithResponse call

func (UpdateShipmentDeliveryWindowResp) Status

Status returns HTTPResponse.Status

func (UpdateShipmentDeliveryWindowResp) StatusCode

func (r UpdateShipmentDeliveryWindowResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateShipmentDeliveryWindowResponse

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

UpdateShipmentDeliveryWindowResponse The `updateShipmentDeliveryWindow` 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 float64 `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. The time component must be zero.
	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