VendorShippingApi - functional programming interface

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        getCustomerInvoice(
            purchaseOrderNumber: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetCustomerInvoiceResponse>,
        >;
        getCustomerInvoices(
            createdAfter: string,
            createdBefore: string,
            shipFromPartyId?: string,
            limit?: number,
            sortOrder?: GetCustomerInvoicesSortOrderEnum,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetCustomerInvoicesResponse>,
        >;
        getPackingSlip(
            purchaseOrderNumber: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetPackingSlipResponse>,
        >;
        getPackingSlips(
            createdAfter: string,
            createdBefore: string,
            shipFromPartyId?: string,
            limit?: number,
            sortOrder?: GetPackingSlipsSortOrderEnum,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetPackingSlipListResponse>,
        >;
        getShippingLabel(
            purchaseOrderNumber: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetShippingLabelResponse>,
        >;
        getShippingLabels(
            createdAfter: string,
            createdBefore: string,
            shipFromPartyId?: string,
            limit?: number,
            sortOrder?: GetShippingLabelsSortOrderEnum,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetShippingLabelListResponse>,
        >;
        submitShipmentConfirmations(
            body: SubmitShipmentConfirmationsRequest,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<SubmitShipmentConfirmationsResponse>,
        >;
        submitShipmentStatusUpdates(
            body: SubmitShipmentStatusUpdatesRequest,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<SubmitShipmentStatusUpdatesResponse>,
        >;
        submitShippingLabelRequest(
            body: SubmitShippingLabelsRequest,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<SubmitShippingLabelsResponse>,
        >;
    }

    • getCustomerInvoice:function
      • Returns a customer invoice based on the purchaseOrderNumber that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • purchaseOrderNumber: string

          Purchase order number of the shipment for which to return the invoice.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetCustomerInvoiceResponse>,
        >

    • getCustomerInvoices:function
      • Returns a list of customer invoices created during a time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must be no more than 7 days. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • createdAfter: string

          Orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.

        • createdBefore: string

          Orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.

        • OptionalshipFromPartyId: string

          The vendor warehouseId for order fulfillment. If not specified, the result will contain orders for all warehouses.

        • Optionallimit: number

          The limit to the number of records returned

        • OptionalsortOrder: GetCustomerInvoicesSortOrderEnum

          Sort ASC or DESC by order creation date.

        • OptionalnextToken: string

          Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetCustomerInvoicesResponse>,
        >

    • getPackingSlip:function
      • Returns a packing slip based on the purchaseOrderNumber that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • purchaseOrderNumber: string

          The purchaseOrderNumber for the packing slip you want.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetPackingSlipResponse>,
        >

    • getPackingSlips:function
      • Returns a list of packing slips for the purchase orders that match the criteria specified. Date range to search must not be more than 7 days. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • createdAfter: string

          Packing slips that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.

        • createdBefore: string

          Packing slips that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.

        • OptionalshipFromPartyId: string

          The vendor warehouseId for order fulfillment. If not specified the result will contain orders for all warehouses.

        • Optionallimit: number

          The limit to the number of records returned

        • OptionalsortOrder: GetPackingSlipsSortOrderEnum

          Sort ASC or DESC by packing slip creation date.

        • OptionalnextToken: string

          Used for pagination when there are more packing slips than the specified result size limit. The token value is returned in the previous API call.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetPackingSlipListResponse>,
        >

    • getShippingLabel:function
      • Returns a shipping label for the purchaseOrderNumber that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • purchaseOrderNumber: string

          The purchase order number for which you want to return the shipping label. It should be the same purchaseOrderNumber as received in the order.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetShippingLabelResponse>,
        >

    • getShippingLabels:function
      • Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must not be more than 7 days. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • createdAfter: string

          Shipping labels that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.

        • createdBefore: string

          Shipping labels that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.

        • OptionalshipFromPartyId: string

          The vendor warehouseId for order fulfillment. If not specified, the result will contain orders for all warehouses.

        • Optionallimit: number

          The limit to the number of records returned.

        • OptionalsortOrder: GetShippingLabelsSortOrderEnum

          Sort ASC or DESC by order creation date.

        • OptionalnextToken: string

          Used for pagination when there are more ship labels than the specified result size limit. The token value is returned in the previous API call.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<GetShippingLabelListResponse>,
        >

    • submitShipmentConfirmations:function
      • Submits one or more shipment confirmations for vendor orders. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<SubmitShipmentConfirmationsResponse>,
        >

    • submitShipmentStatusUpdates:function
      • This API call is only to be used by Vendor-Own-Carrier (VOC) vendors. Calling this API will submit a shipment status update for the package that a vendor has shipped. It will provide the Amazon customer visibility on their order, when the package is outside of Amazon Network visibility. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<SubmitShipmentStatusUpdatesResponse>,
        >

    • submitShippingLabelRequest:function
      • Creates a shipping label for a purchase order and returns a transactionId for reference. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see Usage Plans and Rate Limits in the Selling Partner API.

        Parameters

        • body: SubmitShippingLabelsRequest

          Request body containing one or more shipping labels data.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<SubmitShippingLabelsResponse>,
        >