Selling Partner API SDK for JavaScript
    Preparing search index...
    • OrdersApi - factory interface

      Parameters

      • Optionalconfiguration: Configuration
      • OptionalbasePath: string
      • Optionalaxios: AxiosInstance

      Returns {
          confirmShipment(
              requestParameters: OrdersApiConfirmShipmentRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<void>;
          getOrder(
              requestParameters: OrdersApiGetOrderRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrderResponse>;
          getOrderAddress(
              requestParameters: OrdersApiGetOrderAddressRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrderAddressResponse>;
          getOrderBuyerInfo(
              requestParameters: OrdersApiGetOrderBuyerInfoRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrderBuyerInfoResponse>;
          getOrderItems(
              requestParameters: OrdersApiGetOrderItemsRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrderItemsResponse>;
          getOrderItemsBuyerInfo(
              requestParameters: OrdersApiGetOrderItemsBuyerInfoRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrderItemsBuyerInfoResponse>;
          getOrderRegulatedInfo(
              requestParameters: OrdersApiGetOrderRegulatedInfoRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrderRegulatedInfoResponse>;
          getOrders(
              requestParameters: OrdersApiGetOrdersRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<GetOrdersResponse>;
          updateShipmentStatus(
              requestParameters: OrdersApiUpdateShipmentStatusRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<void>;
          updateVerificationStatus(
              requestParameters: OrdersApiUpdateVerificationStatusRequest,
              options?: RawAxiosRequestConfig,
          ): AxiosPromise<void>;
      }

      • confirmShipment: function
        • Updates the shipment confirmation status for a specified order. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<void>

      • getOrder: function
        • Returns the order that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          • requestParameters: OrdersApiGetOrderRequest

            Request parameters.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns AxiosPromise<GetOrderResponse>

      • getOrderAddress: function
        • Returns the shipping address for the order that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<GetOrderAddressResponse>

      • getOrderBuyerInfo: function
        • Returns buyer information for the order that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<GetOrderBuyerInfoResponse>

      • getOrderItems: function
        • Returns detailed order item information for the order that you specify. If NextToken is provided, it's used to retrieve the next page of order items. Note: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<GetOrderItemsResponse>

      • getOrderItemsBuyerInfo: function
        • Returns buyer information for the order items in the order that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<GetOrderItemsBuyerInfoResponse>

      • getOrderRegulatedInfo: function
        • Returns regulated information for the order that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<GetOrderRegulatedInfoResponse>

      • getOrders: function
        • Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. NextToken doesn't affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          • requestParameters: OrdersApiGetOrdersRequest

            Request parameters.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns AxiosPromise<GetOrdersResponse>

      • updateShipmentStatus: function
        • Update the shipment status for an order that you specify. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<void>

      • updateVerificationStatus: function
        • Updates (approves or rejects) the verification status of an order containing regulated products. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The x-amzn-RateLimit-Limit response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits.

          Parameters

          Returns AxiosPromise<void>