@sp-api-sdk/orders-api-2026-01-01 0.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +105 -0
- package/dist/cjs/api-model/api/orders-api.js +266 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +52 -0
- package/dist/cjs/api-model/common.js +122 -0
- package/dist/cjs/api-model/configuration.js +98 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/address-extended-fields.js +15 -0
- package/dist/cjs/api-model/models/alias.js +15 -0
- package/dist/cjs/api-model/models/associated-order.js +15 -0
- package/dist/cjs/api-model/models/business-hour.js +25 -0
- package/dist/cjs/api-model/models/buyer.js +15 -0
- package/dist/cjs/api-model/models/constraint-type.js +22 -0
- package/dist/cjs/api-model/models/customer-address.js +15 -0
- package/dist/cjs/api-model/models/date-time-range.js +15 -0
- package/dist/cjs/api-model/models/delivery-preference.js +15 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/exception-date.js +20 -0
- package/dist/cjs/api-model/models/fulfillment-status.js +28 -0
- package/dist/cjs/api-model/models/get-order-response.js +15 -0
- package/dist/cjs/api-model/models/gift-option.js +15 -0
- package/dist/cjs/api-model/models/hour-minute.js +15 -0
- package/dist/cjs/api-model/models/index.js +70 -0
- package/dist/cjs/api-model/models/item-cancellation-request.js +15 -0
- package/dist/cjs/api-model/models/item-cancellation.js +15 -0
- package/dist/cjs/api-model/models/item-condition.js +15 -0
- package/dist/cjs/api-model/models/item-customization.js +15 -0
- package/dist/cjs/api-model/models/item-expense.js +15 -0
- package/dist/cjs/api-model/models/item-fulfillment.js +15 -0
- package/dist/cjs/api-model/models/item-international-shipping.js +15 -0
- package/dist/cjs/api-model/models/item-packing.js +15 -0
- package/dist/cjs/api-model/models/item-picking.js +15 -0
- package/dist/cjs/api-model/models/item-points-cost.js +15 -0
- package/dist/cjs/api-model/models/item-price.js +15 -0
- package/dist/cjs/api-model/models/item-proceeds-breakdown.js +15 -0
- package/dist/cjs/api-model/models/item-proceeds-detailed-breakdown.js +15 -0
- package/dist/cjs/api-model/models/item-proceeds.js +15 -0
- package/dist/cjs/api-model/models/item-product.js +15 -0
- package/dist/cjs/api-model/models/item-promotion-breakdown.js +15 -0
- package/dist/cjs/api-model/models/item-promotion.js +15 -0
- package/dist/cjs/api-model/models/item-shipping-constraints.js +15 -0
- package/dist/cjs/api-model/models/item-shipping.js +15 -0
- package/dist/cjs/api-model/models/item-substitution-option.js +15 -0
- package/dist/cjs/api-model/models/item-substitution-preference.js +21 -0
- package/dist/cjs/api-model/models/measurement.js +42 -0
- package/dist/cjs/api-model/models/merchant-address.js +15 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/money.js +15 -0
- package/dist/cjs/api-model/models/order-fulfillment.js +15 -0
- package/dist/cjs/api-model/models/order-item.js +15 -0
- package/dist/cjs/api-model/models/order-package.js +15 -0
- package/dist/cjs/api-model/models/order-proceeds.js +15 -0
- package/dist/cjs/api-model/models/order.js +15 -0
- package/dist/cjs/api-model/models/package-item.js +15 -0
- package/dist/cjs/api-model/models/package-status.js +24 -0
- package/dist/cjs/api-model/models/pagination.js +15 -0
- package/dist/cjs/api-model/models/points-granted.js +15 -0
- package/dist/cjs/api-model/models/preferred-delivery-time.js +15 -0
- package/dist/cjs/api-model/models/recipient.js +15 -0
- package/dist/cjs/api-model/models/sales-channel.js +15 -0
- package/dist/cjs/api-model/models/search-orders-response.js +15 -0
- package/dist/cjs/api-model/models/time-window.js +15 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/orders-api.js +256 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +44 -0
- package/dist/es/api-model/common.js +109 -0
- package/dist/es/api-model/configuration.js +94 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/address-extended-fields.js +14 -0
- package/dist/es/api-model/models/alias.js +14 -0
- package/dist/es/api-model/models/associated-order.js +14 -0
- package/dist/es/api-model/models/business-hour.js +22 -0
- package/dist/es/api-model/models/buyer.js +14 -0
- package/dist/es/api-model/models/constraint-type.js +19 -0
- package/dist/es/api-model/models/customer-address.js +14 -0
- package/dist/es/api-model/models/date-time-range.js +14 -0
- package/dist/es/api-model/models/delivery-preference.js +14 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/exception-date.js +17 -0
- package/dist/es/api-model/models/fulfillment-status.js +25 -0
- package/dist/es/api-model/models/get-order-response.js +14 -0
- package/dist/es/api-model/models/gift-option.js +14 -0
- package/dist/es/api-model/models/hour-minute.js +14 -0
- package/dist/es/api-model/models/index.js +54 -0
- package/dist/es/api-model/models/item-cancellation-request.js +14 -0
- package/dist/es/api-model/models/item-cancellation.js +14 -0
- package/dist/es/api-model/models/item-condition.js +14 -0
- package/dist/es/api-model/models/item-customization.js +14 -0
- package/dist/es/api-model/models/item-expense.js +14 -0
- package/dist/es/api-model/models/item-fulfillment.js +14 -0
- package/dist/es/api-model/models/item-international-shipping.js +14 -0
- package/dist/es/api-model/models/item-packing.js +14 -0
- package/dist/es/api-model/models/item-picking.js +14 -0
- package/dist/es/api-model/models/item-points-cost.js +14 -0
- package/dist/es/api-model/models/item-price.js +14 -0
- package/dist/es/api-model/models/item-proceeds-breakdown.js +14 -0
- package/dist/es/api-model/models/item-proceeds-detailed-breakdown.js +14 -0
- package/dist/es/api-model/models/item-proceeds.js +14 -0
- package/dist/es/api-model/models/item-product.js +14 -0
- package/dist/es/api-model/models/item-promotion-breakdown.js +14 -0
- package/dist/es/api-model/models/item-promotion.js +14 -0
- package/dist/es/api-model/models/item-shipping-constraints.js +14 -0
- package/dist/es/api-model/models/item-shipping.js +14 -0
- package/dist/es/api-model/models/item-substitution-option.js +14 -0
- package/dist/es/api-model/models/item-substitution-preference.js +18 -0
- package/dist/es/api-model/models/measurement.js +39 -0
- package/dist/es/api-model/models/merchant-address.js +14 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/money.js +14 -0
- package/dist/es/api-model/models/order-fulfillment.js +14 -0
- package/dist/es/api-model/models/order-item.js +14 -0
- package/dist/es/api-model/models/order-package.js +14 -0
- package/dist/es/api-model/models/order-proceeds.js +14 -0
- package/dist/es/api-model/models/order.js +14 -0
- package/dist/es/api-model/models/package-item.js +14 -0
- package/dist/es/api-model/models/package-status.js +21 -0
- package/dist/es/api-model/models/pagination.js +14 -0
- package/dist/es/api-model/models/points-granted.js +14 -0
- package/dist/es/api-model/models/preferred-delivery-time.js +14 -0
- package/dist/es/api-model/models/recipient.js +14 -0
- package/dist/es/api-model/models/sales-channel.js +14 -0
- package/dist/es/api-model/models/search-orders-response.js +14 -0
- package/dist/es/api-model/models/time-window.js +14 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/orders-api.d.ts +208 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +42 -0
- package/dist/types/api-model/common.d.ts +34 -0
- package/dist/types/api-model/configuration.d.ts +98 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/address-extended-fields.d.ts +32 -0
- package/dist/types/api-model/models/alias.d.ts +24 -0
- package/dist/types/api-model/models/associated-order.d.ts +24 -0
- package/dist/types/api-model/models/business-hour.d.ts +35 -0
- package/dist/types/api-model/models/buyer.d.ts +32 -0
- package/dist/types/api-model/models/constraint-type.d.ts +18 -0
- package/dist/types/api-model/models/customer-address.d.ts +70 -0
- package/dist/types/api-model/models/date-time-range.d.ts +24 -0
- package/dist/types/api-model/models/delivery-preference.d.ts +30 -0
- package/dist/types/api-model/models/error-list.d.ts +20 -0
- package/dist/types/api-model/models/exception-date.d.ts +34 -0
- package/dist/types/api-model/models/fulfillment-status.d.ts +24 -0
- package/dist/types/api-model/models/get-order-response.d.ts +18 -0
- package/dist/types/api-model/models/gift-option.d.ts +24 -0
- package/dist/types/api-model/models/hour-minute.d.ts +24 -0
- package/dist/types/api-model/models/index.d.ts +54 -0
- package/dist/types/api-model/models/item-cancellation-request.d.ts +24 -0
- package/dist/types/api-model/models/item-cancellation.d.ts +18 -0
- package/dist/types/api-model/models/item-condition.d.ts +28 -0
- package/dist/types/api-model/models/item-customization.d.ts +20 -0
- package/dist/types/api-model/models/item-expense.d.ts +18 -0
- package/dist/types/api-model/models/item-fulfillment.d.ts +30 -0
- package/dist/types/api-model/models/item-international-shipping.d.ts +20 -0
- package/dist/types/api-model/models/item-packing.d.ts +18 -0
- package/dist/types/api-model/models/item-picking.d.ts +18 -0
- package/dist/types/api-model/models/item-points-cost.d.ts +18 -0
- package/dist/types/api-model/models/item-price.d.ts +22 -0
- package/dist/types/api-model/models/item-proceeds-breakdown.d.ts +27 -0
- package/dist/types/api-model/models/item-proceeds-detailed-breakdown.d.ts +22 -0
- package/dist/types/api-model/models/item-proceeds.d.ts +23 -0
- package/dist/types/api-model/models/item-product.d.ts +38 -0
- package/dist/types/api-model/models/item-promotion-breakdown.d.ts +20 -0
- package/dist/types/api-model/models/item-promotion.d.ts +21 -0
- package/dist/types/api-model/models/item-shipping-constraints.d.ts +22 -0
- package/dist/types/api-model/models/item-shipping.d.ts +22 -0
- package/dist/types/api-model/models/item-substitution-option.d.ts +34 -0
- package/dist/types/api-model/models/item-substitution-preference.d.ts +31 -0
- package/dist/types/api-model/models/measurement.d.ts +51 -0
- package/dist/types/api-model/models/merchant-address.d.ts +56 -0
- package/dist/types/api-model/models/model-error.d.ts +28 -0
- package/dist/types/api-model/models/money.d.ts +24 -0
- package/dist/types/api-model/models/order-fulfillment.d.ts +29 -0
- package/dist/types/api-model/models/order-item.d.ts +42 -0
- package/dist/types/api-model/models/order-package.d.ts +49 -0
- package/dist/types/api-model/models/order-proceeds.d.ts +18 -0
- package/dist/types/api-model/models/order.d.ts +62 -0
- package/dist/types/api-model/models/package-item.d.ts +28 -0
- package/dist/types/api-model/models/package-status.d.ts +33 -0
- package/dist/types/api-model/models/pagination.d.ts +20 -0
- package/dist/types/api-model/models/points-granted.d.ts +22 -0
- package/dist/types/api-model/models/preferred-delivery-time.d.ts +26 -0
- package/dist/types/api-model/models/recipient.d.ts +20 -0
- package/dist/types/api-model/models/sales-channel.d.ts +28 -0
- package/dist/types/api-model/models/search-orders-response.d.ts +31 -0
- package/dist/types/api-model/models/time-window.d.ts +19 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +32 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const PackageStatusStatusEnum = {
|
|
15
|
+
Pending: 'PENDING',
|
|
16
|
+
InTransit: 'IN_TRANSIT',
|
|
17
|
+
Shipped: 'SHIPPED',
|
|
18
|
+
Delivered: 'DELIVERED',
|
|
19
|
+
Cancelled: 'CANCELLED',
|
|
20
|
+
Undeliverable: 'UNDELIVERABLE'
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Orders
|
|
5
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
+
import { Configuration, OrdersApi } from './api-model';
|
|
3
|
+
export const clientRateLimits = [];
|
|
4
|
+
export class OrdersApiClient extends OrdersApi {
|
|
5
|
+
constructor(configuration) {
|
|
6
|
+
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
7
|
+
super(new Configuration(), endpoint, axios);
|
|
8
|
+
}
|
|
9
|
+
}
|
package/dist/es/index.js
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
15
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
+
import type { GetOrderResponse } from '../models';
|
|
17
|
+
import type { SearchOrdersResponse } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* OrdersApi - axios parameter creator
|
|
20
|
+
*/
|
|
21
|
+
export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Returns the order that you specify.
|
|
24
|
+
* @param {string} orderId An Amazon-defined order identifier.
|
|
25
|
+
* @param {Array<GetOrderIncludedDataEnum>} [includedData] A list of datasets to include in the response.
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
getOrder: (orderId: string, includedData?: Array<GetOrderIncludedDataEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
* Returns orders that are created or updated during the time period that you specify. You can filter the response for specific types of orders.
|
|
32
|
+
* @param {string} [createdAfter] The response includes orders created at or after this time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: You must provide exactly one of `createdAfter` and `lastUpdatedAfter` in your request. If `createdAfter` is provided, neither `lastUpdatedAfter` nor `lastUpdatedBefore` may be provided.
|
|
33
|
+
* @param {string} [createdBefore] The response includes orders created at or before this time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: If you include `createdAfter` in the request, `createdBefore` is optional, and if provided must be equal to or after the `createdAfter` date and at least two minutes before the time of the request. If `createdBefore` is provided, neither `lastUpdatedAfter` nor `lastUpdatedBefore` may be provided.
|
|
34
|
+
* @param {string} [lastUpdatedAfter] The response includes orders updated at or after this time. An update is defined as any change made by Amazon or by the seller, including an update to the order status. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: You must provide exactly one of `createdAfter` and `lastUpdatedAfter`. If `lastUpdatedAfter` is provided, neither `createdAfter` nor `createdBefore` may be provided.
|
|
35
|
+
* @param {string} [lastUpdatedBefore] The response includes orders updated at or before this time. An update is defined as any change made by Amazon or by the seller, including an update to the order status. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: If you include `lastUpdatedAfter` in the request, `lastUpdatedBefore` is optional, and if provided must be equal to or after the `lastUpdatedAfter` date and at least two minutes before the time of the request. If `lastUpdatedBefore` is provided, neither `createdAfter` nor `createdBefore` may be provided.
|
|
36
|
+
* @param {Array<SearchOrdersFulfillmentStatusesEnum>} [fulfillmentStatuses] A list of `FulfillmentStatus` values you can use to filter the results.
|
|
37
|
+
* @param {Array<string>} [marketplaceIds] The response includes orders that were placed in marketplaces you include in this list. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of `marketplaceId` values.
|
|
38
|
+
* @param {Array<SearchOrdersFulfilledByEnum>} [fulfilledBy] The response includes orders that are fulfilled by the parties that you include in this list.
|
|
39
|
+
* @param {number} [maxResultsPerPage] The maximum number of orders that can be returned per page. The value must be between 1 and 100. **Default:** 100.
|
|
40
|
+
* @param {string} [paginationToken] Pagination occurs when a request produces a response that exceeds the `maxResultsPerPage`. This means that the response is divided into individual pages. To retrieve the next page, you must pass the `nextToken` value as the `paginationToken` query parameter in the next request. You will not receive a `nextToken` value on the last page.
|
|
41
|
+
* @param {Array<SearchOrdersIncludedDataEnum>} [includedData] A list of datasets to include in the response.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
searchOrders: (createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, fulfillmentStatuses?: Array<SearchOrdersFulfillmentStatusesEnum>, marketplaceIds?: Array<string>, fulfilledBy?: Array<SearchOrdersFulfilledByEnum>, maxResultsPerPage?: number, paginationToken?: string, includedData?: Array<SearchOrdersIncludedDataEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* OrdersApi - functional programming interface
|
|
49
|
+
*/
|
|
50
|
+
export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
51
|
+
/**
|
|
52
|
+
* Returns the order that you specify.
|
|
53
|
+
* @param {string} orderId An Amazon-defined order identifier.
|
|
54
|
+
* @param {Array<GetOrderIncludedDataEnum>} [includedData] A list of datasets to include in the response.
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
getOrder(orderId: string, includedData?: Array<GetOrderIncludedDataEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderResponse>>;
|
|
59
|
+
/**
|
|
60
|
+
* Returns orders that are created or updated during the time period that you specify. You can filter the response for specific types of orders.
|
|
61
|
+
* @param {string} [createdAfter] The response includes orders created at or after this time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: You must provide exactly one of `createdAfter` and `lastUpdatedAfter` in your request. If `createdAfter` is provided, neither `lastUpdatedAfter` nor `lastUpdatedBefore` may be provided.
|
|
62
|
+
* @param {string} [createdBefore] The response includes orders created at or before this time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: If you include `createdAfter` in the request, `createdBefore` is optional, and if provided must be equal to or after the `createdAfter` date and at least two minutes before the time of the request. If `createdBefore` is provided, neither `lastUpdatedAfter` nor `lastUpdatedBefore` may be provided.
|
|
63
|
+
* @param {string} [lastUpdatedAfter] The response includes orders updated at or after this time. An update is defined as any change made by Amazon or by the seller, including an update to the order status. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: You must provide exactly one of `createdAfter` and `lastUpdatedAfter`. If `lastUpdatedAfter` is provided, neither `createdAfter` nor `createdBefore` may be provided.
|
|
64
|
+
* @param {string} [lastUpdatedBefore] The response includes orders updated at or before this time. An update is defined as any change made by Amazon or by the seller, including an update to the order status. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: If you include `lastUpdatedAfter` in the request, `lastUpdatedBefore` is optional, and if provided must be equal to or after the `lastUpdatedAfter` date and at least two minutes before the time of the request. If `lastUpdatedBefore` is provided, neither `createdAfter` nor `createdBefore` may be provided.
|
|
65
|
+
* @param {Array<SearchOrdersFulfillmentStatusesEnum>} [fulfillmentStatuses] A list of `FulfillmentStatus` values you can use to filter the results.
|
|
66
|
+
* @param {Array<string>} [marketplaceIds] The response includes orders that were placed in marketplaces you include in this list. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of `marketplaceId` values.
|
|
67
|
+
* @param {Array<SearchOrdersFulfilledByEnum>} [fulfilledBy] The response includes orders that are fulfilled by the parties that you include in this list.
|
|
68
|
+
* @param {number} [maxResultsPerPage] The maximum number of orders that can be returned per page. The value must be between 1 and 100. **Default:** 100.
|
|
69
|
+
* @param {string} [paginationToken] Pagination occurs when a request produces a response that exceeds the `maxResultsPerPage`. This means that the response is divided into individual pages. To retrieve the next page, you must pass the `nextToken` value as the `paginationToken` query parameter in the next request. You will not receive a `nextToken` value on the last page.
|
|
70
|
+
* @param {Array<SearchOrdersIncludedDataEnum>} [includedData] A list of datasets to include in the response.
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
searchOrders(createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, fulfillmentStatuses?: Array<SearchOrdersFulfillmentStatusesEnum>, marketplaceIds?: Array<string>, fulfilledBy?: Array<SearchOrdersFulfilledByEnum>, maxResultsPerPage?: number, paginationToken?: string, includedData?: Array<SearchOrdersIncludedDataEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchOrdersResponse>>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* OrdersApi - factory interface
|
|
78
|
+
*/
|
|
79
|
+
export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80
|
+
/**
|
|
81
|
+
* Returns the order that you specify.
|
|
82
|
+
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
getOrder(requestParameters: OrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Returns orders that are created or updated during the time period that you specify. You can filter the response for specific types of orders.
|
|
89
|
+
* @param {OrdersApiSearchOrdersRequest} requestParameters Request parameters.
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
searchOrders(requestParameters?: OrdersApiSearchOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchOrdersResponse>;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Request parameters for getOrder operation in OrdersApi.
|
|
97
|
+
*/
|
|
98
|
+
export interface OrdersApiGetOrderRequest {
|
|
99
|
+
/**
|
|
100
|
+
* An Amazon-defined order identifier.
|
|
101
|
+
*/
|
|
102
|
+
readonly orderId: string;
|
|
103
|
+
/**
|
|
104
|
+
* A list of datasets to include in the response.
|
|
105
|
+
*/
|
|
106
|
+
readonly includedData?: Array<GetOrderIncludedDataEnum>;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Request parameters for searchOrders operation in OrdersApi.
|
|
110
|
+
*/
|
|
111
|
+
export interface OrdersApiSearchOrdersRequest {
|
|
112
|
+
/**
|
|
113
|
+
* The response includes orders created at or after this time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: You must provide exactly one of `createdAfter` and `lastUpdatedAfter` in your request. If `createdAfter` is provided, neither `lastUpdatedAfter` nor `lastUpdatedBefore` may be provided.
|
|
114
|
+
*/
|
|
115
|
+
readonly createdAfter?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The response includes orders created at or before this time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: If you include `createdAfter` in the request, `createdBefore` is optional, and if provided must be equal to or after the `createdAfter` date and at least two minutes before the time of the request. If `createdBefore` is provided, neither `lastUpdatedAfter` nor `lastUpdatedBefore` may be provided.
|
|
118
|
+
*/
|
|
119
|
+
readonly createdBefore?: string;
|
|
120
|
+
/**
|
|
121
|
+
* The response includes orders updated at or after this time. An update is defined as any change made by Amazon or by the seller, including an update to the order status. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: You must provide exactly one of `createdAfter` and `lastUpdatedAfter`. If `lastUpdatedAfter` is provided, neither `createdAfter` nor `createdBefore` may be provided.
|
|
122
|
+
*/
|
|
123
|
+
readonly lastUpdatedAfter?: string;
|
|
124
|
+
/**
|
|
125
|
+
* The response includes orders updated at or before this time. An update is defined as any change made by Amazon or by the seller, including an update to the order status. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: If you include `lastUpdatedAfter` in the request, `lastUpdatedBefore` is optional, and if provided must be equal to or after the `lastUpdatedAfter` date and at least two minutes before the time of the request. If `lastUpdatedBefore` is provided, neither `createdAfter` nor `createdBefore` may be provided.
|
|
126
|
+
*/
|
|
127
|
+
readonly lastUpdatedBefore?: string;
|
|
128
|
+
/**
|
|
129
|
+
* A list of `FulfillmentStatus` values you can use to filter the results.
|
|
130
|
+
*/
|
|
131
|
+
readonly fulfillmentStatuses?: Array<SearchOrdersFulfillmentStatusesEnum>;
|
|
132
|
+
/**
|
|
133
|
+
* The response includes orders that were placed in marketplaces you include in this list. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of `marketplaceId` values.
|
|
134
|
+
*/
|
|
135
|
+
readonly marketplaceIds?: Array<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The response includes orders that are fulfilled by the parties that you include in this list.
|
|
138
|
+
*/
|
|
139
|
+
readonly fulfilledBy?: Array<SearchOrdersFulfilledByEnum>;
|
|
140
|
+
/**
|
|
141
|
+
* The maximum number of orders that can be returned per page. The value must be between 1 and 100. **Default:** 100.
|
|
142
|
+
*/
|
|
143
|
+
readonly maxResultsPerPage?: number;
|
|
144
|
+
/**
|
|
145
|
+
* Pagination occurs when a request produces a response that exceeds the `maxResultsPerPage`. This means that the response is divided into individual pages. To retrieve the next page, you must pass the `nextToken` value as the `paginationToken` query parameter in the next request. You will not receive a `nextToken` value on the last page.
|
|
146
|
+
*/
|
|
147
|
+
readonly paginationToken?: string;
|
|
148
|
+
/**
|
|
149
|
+
* A list of datasets to include in the response.
|
|
150
|
+
*/
|
|
151
|
+
readonly includedData?: Array<SearchOrdersIncludedDataEnum>;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* OrdersApi - object-oriented interface
|
|
155
|
+
*/
|
|
156
|
+
export declare class OrdersApi extends BaseAPI {
|
|
157
|
+
/**
|
|
158
|
+
* Returns the order that you specify.
|
|
159
|
+
* @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getOrder(requestParameters: OrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrderResponse, any, {}>>;
|
|
164
|
+
/**
|
|
165
|
+
* Returns orders that are created or updated during the time period that you specify. You can filter the response for specific types of orders.
|
|
166
|
+
* @param {OrdersApiSearchOrdersRequest} requestParameters Request parameters.
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
searchOrders(requestParameters?: OrdersApiSearchOrdersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchOrdersResponse, any, {}>>;
|
|
171
|
+
}
|
|
172
|
+
export declare const GetOrderIncludedDataEnum: {
|
|
173
|
+
readonly Buyer: "BUYER";
|
|
174
|
+
readonly Recipient: "RECIPIENT";
|
|
175
|
+
readonly Proceeds: "PROCEEDS";
|
|
176
|
+
readonly Expense: "EXPENSE";
|
|
177
|
+
readonly Promotion: "PROMOTION";
|
|
178
|
+
readonly Cancellation: "CANCELLATION";
|
|
179
|
+
readonly Fulfillment: "FULFILLMENT";
|
|
180
|
+
readonly Packages: "PACKAGES";
|
|
181
|
+
};
|
|
182
|
+
export type GetOrderIncludedDataEnum = typeof GetOrderIncludedDataEnum[keyof typeof GetOrderIncludedDataEnum];
|
|
183
|
+
export declare const SearchOrdersFulfillmentStatusesEnum: {
|
|
184
|
+
readonly PendingAvailability: "PENDING_AVAILABILITY";
|
|
185
|
+
readonly Pending: "PENDING";
|
|
186
|
+
readonly Unshipped: "UNSHIPPED";
|
|
187
|
+
readonly PartiallyShipped: "PARTIALLY_SHIPPED";
|
|
188
|
+
readonly Shipped: "SHIPPED";
|
|
189
|
+
readonly Cancelled: "CANCELLED";
|
|
190
|
+
readonly Unfulfillable: "UNFULFILLABLE";
|
|
191
|
+
};
|
|
192
|
+
export type SearchOrdersFulfillmentStatusesEnum = typeof SearchOrdersFulfillmentStatusesEnum[keyof typeof SearchOrdersFulfillmentStatusesEnum];
|
|
193
|
+
export declare const SearchOrdersFulfilledByEnum: {
|
|
194
|
+
readonly Merchant: "MERCHANT";
|
|
195
|
+
readonly Amazon: "AMAZON";
|
|
196
|
+
};
|
|
197
|
+
export type SearchOrdersFulfilledByEnum = typeof SearchOrdersFulfilledByEnum[keyof typeof SearchOrdersFulfilledByEnum];
|
|
198
|
+
export declare const SearchOrdersIncludedDataEnum: {
|
|
199
|
+
readonly Buyer: "BUYER";
|
|
200
|
+
readonly Recipient: "RECIPIENT";
|
|
201
|
+
readonly Proceeds: "PROCEEDS";
|
|
202
|
+
readonly Expense: "EXPENSE";
|
|
203
|
+
readonly Promotion: "PROMOTION";
|
|
204
|
+
readonly Cancellation: "CANCELLATION";
|
|
205
|
+
readonly Fulfillment: "FULFILLMENT";
|
|
206
|
+
readonly Packages: "PACKAGES";
|
|
207
|
+
};
|
|
208
|
+
export type SearchOrdersIncludedDataEnum = typeof SearchOrdersIncludedDataEnum[keyof typeof SearchOrdersIncludedDataEnum];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from './api/orders-api';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
export declare const BASE_PATH: string;
|
|
15
|
+
export declare const COLLECTION_FORMATS: {
|
|
16
|
+
csv: string;
|
|
17
|
+
ssv: string;
|
|
18
|
+
tsv: string;
|
|
19
|
+
pipes: string;
|
|
20
|
+
};
|
|
21
|
+
export interface RequestArgs {
|
|
22
|
+
url: string;
|
|
23
|
+
options: RawAxiosRequestConfig;
|
|
24
|
+
}
|
|
25
|
+
export declare class BaseAPI {
|
|
26
|
+
protected basePath: string;
|
|
27
|
+
protected axios: AxiosInstance;
|
|
28
|
+
protected configuration: Configuration | undefined;
|
|
29
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
30
|
+
}
|
|
31
|
+
export declare class RequiredError extends Error {
|
|
32
|
+
field: string;
|
|
33
|
+
constructor(field: string, msg?: string);
|
|
34
|
+
}
|
|
35
|
+
interface ServerMap {
|
|
36
|
+
[key: string]: {
|
|
37
|
+
url: string;
|
|
38
|
+
description: string;
|
|
39
|
+
}[];
|
|
40
|
+
}
|
|
41
|
+
export declare const operationServerMap: ServerMap;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders returns orders information. This API supports the following types of orders: - FBM (Fulfilled by Merchant) - FBA (Fulfilled by Amazon) - read only - Amazon Fresh This API does not display order data that is more than two years old, except in the JP, AU, and SG marketplaces, for which data from 2016 and after is available.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from "./configuration";
|
|
13
|
+
import type { RequestArgs } from "./base";
|
|
14
|
+
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
21
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
22
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
23
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
24
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
25
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
26
|
+
/**
|
|
27
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
30
|
+
*/
|
|
31
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
|
|
32
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
33
|
+
export declare const toPathString: (url: URL) => string;
|
|
34
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|