@sp-api-sdk/orders-api-v0 3.3.1 → 3.5.0
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/README.md +2 -2
- package/dist/cjs/src/api-model/api/orders-v0-api.js +71 -71
- package/dist/cjs/src/api-model/api.js +1 -1
- package/dist/cjs/src/api-model/base.js +1 -1
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +1 -1
- package/dist/cjs/src/api-model/index.js +1 -1
- package/dist/cjs/src/api-model/models/address-extended-fields.js +1 -1
- package/dist/cjs/src/api-model/models/address.js +1 -1
- package/dist/cjs/src/api-model/models/amazon-programs.js +15 -0
- package/dist/cjs/src/api-model/models/associated-item.js +1 -1
- package/dist/cjs/src/api-model/models/association-type.js +1 -1
- package/dist/cjs/src/api-model/models/automated-shipping-settings.js +1 -1
- package/dist/cjs/src/api-model/models/business-hours.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-customized-info-detail.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-requested-cancel.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-tax-info.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-tax-information.js +1 -1
- package/dist/cjs/src/api-model/models/confirm-shipment-error-response.js +1 -1
- package/dist/cjs/src/api-model/models/confirm-shipment-order-item.js +1 -1
- package/dist/cjs/src/api-model/models/confirm-shipment-request.js +1 -1
- package/dist/cjs/src/api-model/models/constraint-type.js +1 -1
- package/dist/cjs/src/api-model/models/delivery-preferences.js +1 -1
- package/dist/cjs/src/api-model/models/easy-ship-shipment-status.js +2 -2
- package/dist/cjs/src/api-model/models/electronic-invoice-status.js +1 -1
- package/dist/cjs/src/api-model/models/exception-dates.js +1 -1
- package/dist/cjs/src/api-model/models/fulfillment-instruction.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-address-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-buyer-info-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-items-buyer-info-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-items-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-regulated-info-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-orders-response.js +1 -1
- package/dist/cjs/src/api-model/models/index.js +4 -0
- package/dist/cjs/src/api-model/models/item-buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/marketplace-tax-info.js +1 -1
- package/dist/cjs/src/api-model/models/measurement.js +1 -1
- package/dist/cjs/src/api-model/models/model-error.js +1 -1
- package/dist/cjs/src/api-model/models/money.js +1 -1
- package/dist/cjs/src/api-model/models/open-interval.js +1 -1
- package/dist/cjs/src/api-model/models/open-time-interval.js +1 -1
- package/dist/cjs/src/api-model/models/order-address.js +1 -1
- package/dist/cjs/src/api-model/models/order-buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/order-item-buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/order-item.js +1 -1
- package/dist/cjs/src/api-model/models/order-items-buyer-info-list.js +1 -1
- package/dist/cjs/src/api-model/models/order-items-inner.js +1 -1
- package/dist/cjs/src/api-model/models/order-items-list.js +1 -1
- package/dist/cjs/src/api-model/models/order-regulated-info.js +1 -1
- package/dist/cjs/src/api-model/models/order.js +1 -1
- package/dist/cjs/src/api-model/models/orders-list.js +1 -1
- package/dist/cjs/src/api-model/models/other-delivery-attributes.js +1 -1
- package/dist/cjs/src/api-model/models/package-detail.js +1 -1
- package/dist/cjs/src/api-model/models/payment-execution-detail-item.js +1 -1
- package/dist/cjs/src/api-model/models/points-granted-detail.js +1 -1
- package/dist/cjs/src/api-model/models/preferred-delivery-time.js +1 -1
- package/dist/cjs/src/api-model/models/prescription-detail.js +15 -0
- package/dist/cjs/src/api-model/models/product-info-detail.js +1 -1
- package/dist/cjs/src/api-model/models/regulated-information-field.js +1 -1
- package/dist/cjs/src/api-model/models/regulated-information.js +1 -1
- package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +1 -1
- package/dist/cjs/src/api-model/models/rejection-reason.js +1 -1
- package/dist/cjs/src/api-model/models/shipment-status.js +1 -1
- package/dist/cjs/src/api-model/models/shipping-constraints.js +1 -1
- package/dist/cjs/src/api-model/models/substitution-option.js +1 -1
- package/dist/cjs/src/api-model/models/substitution-preferences.js +1 -1
- package/dist/cjs/src/api-model/models/tax-classification.js +1 -1
- package/dist/cjs/src/api-model/models/tax-collection.js +1 -1
- package/dist/cjs/src/api-model/models/update-shipment-status-error-response.js +1 -1
- package/dist/cjs/src/api-model/models/update-shipment-status-request.js +1 -1
- package/dist/cjs/src/api-model/models/update-verification-status-error-response.js +1 -1
- package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +1 -1
- package/dist/cjs/src/api-model/models/update-verification-status-request.js +1 -1
- package/dist/cjs/src/api-model/models/valid-verification-detail.js +15 -0
- package/dist/cjs/src/api-model/models/verification-details.js +15 -0
- package/dist/cjs/src/api-model/models/verification-status.js +1 -1
- package/dist/es/src/api-model/api/orders-v0-api.js +71 -71
- package/dist/es/src/api-model/api.js +1 -1
- package/dist/es/src/api-model/base.js +1 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +1 -1
- package/dist/es/src/api-model/index.js +1 -1
- package/dist/es/src/api-model/models/address-extended-fields.js +1 -1
- package/dist/es/src/api-model/models/address.js +1 -1
- package/dist/es/src/api-model/models/amazon-programs.js +14 -0
- package/dist/es/src/api-model/models/associated-item.js +1 -1
- package/dist/es/src/api-model/models/association-type.js +1 -1
- package/dist/es/src/api-model/models/automated-shipping-settings.js +1 -1
- package/dist/es/src/api-model/models/business-hours.js +1 -1
- package/dist/es/src/api-model/models/buyer-customized-info-detail.js +1 -1
- package/dist/es/src/api-model/models/buyer-info.js +1 -1
- package/dist/es/src/api-model/models/buyer-requested-cancel.js +1 -1
- package/dist/es/src/api-model/models/buyer-tax-info.js +1 -1
- package/dist/es/src/api-model/models/buyer-tax-information.js +1 -1
- package/dist/es/src/api-model/models/confirm-shipment-error-response.js +1 -1
- package/dist/es/src/api-model/models/confirm-shipment-order-item.js +1 -1
- package/dist/es/src/api-model/models/confirm-shipment-request.js +1 -1
- package/dist/es/src/api-model/models/constraint-type.js +1 -1
- package/dist/es/src/api-model/models/delivery-preferences.js +1 -1
- package/dist/es/src/api-model/models/easy-ship-shipment-status.js +2 -2
- package/dist/es/src/api-model/models/electronic-invoice-status.js +1 -1
- package/dist/es/src/api-model/models/exception-dates.js +1 -1
- package/dist/es/src/api-model/models/fulfillment-instruction.js +1 -1
- package/dist/es/src/api-model/models/get-order-address-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-buyer-info-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-items-buyer-info-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-items-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-regulated-info-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-response.js +1 -1
- package/dist/es/src/api-model/models/get-orders-response.js +1 -1
- package/dist/es/src/api-model/models/index.js +4 -0
- package/dist/es/src/api-model/models/item-buyer-info.js +1 -1
- package/dist/es/src/api-model/models/marketplace-tax-info.js +1 -1
- package/dist/es/src/api-model/models/measurement.js +1 -1
- package/dist/es/src/api-model/models/model-error.js +1 -1
- package/dist/es/src/api-model/models/money.js +1 -1
- package/dist/es/src/api-model/models/open-interval.js +1 -1
- package/dist/es/src/api-model/models/open-time-interval.js +1 -1
- package/dist/es/src/api-model/models/order-address.js +1 -1
- package/dist/es/src/api-model/models/order-buyer-info.js +1 -1
- package/dist/es/src/api-model/models/order-item-buyer-info.js +1 -1
- package/dist/es/src/api-model/models/order-item.js +1 -1
- package/dist/es/src/api-model/models/order-items-buyer-info-list.js +1 -1
- package/dist/es/src/api-model/models/order-items-inner.js +1 -1
- package/dist/es/src/api-model/models/order-items-list.js +1 -1
- package/dist/es/src/api-model/models/order-regulated-info.js +1 -1
- package/dist/es/src/api-model/models/order.js +1 -1
- package/dist/es/src/api-model/models/orders-list.js +1 -1
- package/dist/es/src/api-model/models/other-delivery-attributes.js +1 -1
- package/dist/es/src/api-model/models/package-detail.js +1 -1
- package/dist/es/src/api-model/models/payment-execution-detail-item.js +1 -1
- package/dist/es/src/api-model/models/points-granted-detail.js +1 -1
- package/dist/es/src/api-model/models/preferred-delivery-time.js +1 -1
- package/dist/es/src/api-model/models/prescription-detail.js +14 -0
- package/dist/es/src/api-model/models/product-info-detail.js +1 -1
- package/dist/es/src/api-model/models/regulated-information-field.js +1 -1
- package/dist/es/src/api-model/models/regulated-information.js +1 -1
- package/dist/es/src/api-model/models/regulated-order-verification-status.js +1 -1
- package/dist/es/src/api-model/models/rejection-reason.js +1 -1
- package/dist/es/src/api-model/models/shipment-status.js +1 -1
- package/dist/es/src/api-model/models/shipping-constraints.js +1 -1
- package/dist/es/src/api-model/models/substitution-option.js +1 -1
- package/dist/es/src/api-model/models/substitution-preferences.js +1 -1
- package/dist/es/src/api-model/models/tax-classification.js +1 -1
- package/dist/es/src/api-model/models/tax-collection.js +1 -1
- package/dist/es/src/api-model/models/update-shipment-status-error-response.js +1 -1
- package/dist/es/src/api-model/models/update-shipment-status-request.js +1 -1
- package/dist/es/src/api-model/models/update-verification-status-error-response.js +1 -1
- package/dist/es/src/api-model/models/update-verification-status-request-body.js +1 -1
- package/dist/es/src/api-model/models/update-verification-status-request.js +1 -1
- package/dist/es/src/api-model/models/valid-verification-detail.js +14 -0
- package/dist/es/src/api-model/models/verification-details.js +14 -0
- package/dist/es/src/api-model/models/verification-status.js +1 -1
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +86 -86
- package/dist/types/src/api-model/api.d.ts +1 -1
- package/dist/types/src/api-model/base.d.ts +1 -1
- package/dist/types/src/api-model/common.d.ts +1 -1
- package/dist/types/src/api-model/configuration.d.ts +1 -1
- package/dist/types/src/api-model/index.d.ts +1 -1
- package/dist/types/src/api-model/models/address-extended-fields.d.ts +4 -4
- package/dist/types/src/api-model/models/address.d.ts +2 -2
- package/dist/types/src/api-model/models/amazon-programs.d.ts +24 -0
- package/dist/types/src/api-model/models/associated-item.d.ts +2 -2
- package/dist/types/src/api-model/models/association-type.d.ts +1 -1
- package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +1 -1
- package/dist/types/src/api-model/models/business-hours.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +2 -2
- package/dist/types/src/api-model/models/buyer-info.d.ts +2 -2
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +1 -1
- package/dist/types/src/api-model/models/confirm-shipment-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/confirm-shipment-order-item.d.ts +3 -3
- package/dist/types/src/api-model/models/confirm-shipment-request.d.ts +2 -2
- package/dist/types/src/api-model/models/constraint-type.d.ts +1 -1
- package/dist/types/src/api-model/models/delivery-preferences.d.ts +1 -1
- package/dist/types/src/api-model/models/easy-ship-shipment-status.d.ts +2 -2
- package/dist/types/src/api-model/models/electronic-invoice-status.d.ts +1 -1
- package/dist/types/src/api-model/models/exception-dates.d.ts +1 -1
- package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +3 -3
- package/dist/types/src/api-model/models/get-order-address-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-items-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-orders-response.d.ts +1 -1
- package/dist/types/src/api-model/models/index.d.ts +4 -0
- package/dist/types/src/api-model/models/item-buyer-info.d.ts +2 -2
- package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/measurement.d.ts +3 -3
- package/dist/types/src/api-model/models/model-error.d.ts +1 -1
- package/dist/types/src/api-model/models/money.d.ts +1 -1
- package/dist/types/src/api-model/models/open-interval.d.ts +1 -1
- package/dist/types/src/api-model/models/open-time-interval.d.ts +1 -1
- package/dist/types/src/api-model/models/order-address.d.ts +2 -2
- package/dist/types/src/api-model/models/order-buyer-info.d.ts +2 -2
- package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +2 -2
- package/dist/types/src/api-model/models/order-item.d.ts +21 -14
- package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +1 -1
- package/dist/types/src/api-model/models/order-items-inner.d.ts +2 -2
- package/dist/types/src/api-model/models/order-items-list.d.ts +1 -1
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +1 -1
- package/dist/types/src/api-model/models/order.d.ts +18 -18
- package/dist/types/src/api-model/models/orders-list.d.ts +3 -3
- package/dist/types/src/api-model/models/other-delivery-attributes.d.ts +1 -1
- package/dist/types/src/api-model/models/package-detail.d.ts +4 -4
- package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
- package/dist/types/src/api-model/models/points-granted-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/preferred-delivery-time.d.ts +2 -2
- package/dist/types/src/api-model/models/prescription-detail.d.ts +60 -0
- package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +4 -4
- package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +10 -3
- package/dist/types/src/api-model/models/rejection-reason.d.ts +2 -2
- package/dist/types/src/api-model/models/shipment-status.d.ts +1 -1
- package/dist/types/src/api-model/models/shipping-constraints.d.ts +19 -1
- package/dist/types/src/api-model/models/substitution-option.d.ts +4 -4
- package/dist/types/src/api-model/models/substitution-preferences.d.ts +1 -1
- package/dist/types/src/api-model/models/tax-classification.d.ts +2 -2
- package/dist/types/src/api-model/models/tax-collection.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +11 -4
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/valid-verification-detail.d.ts +31 -0
- package/dist/types/src/api-model/models/verification-details.d.ts +25 -0
- package/dist/types/src/api-model/models/verification-status.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
/**
|
|
13
|
+
* Information about the prescription that is used to verify a regulated product. This must be provided once per order and reflect the seller’s own records. Only approved orders can have prescriptions.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PrescriptionDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface PrescriptionDetail {
|
|
18
|
+
/**
|
|
19
|
+
* The identifier for the prescription used to verify the regulated product.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PrescriptionDetail
|
|
22
|
+
*/
|
|
23
|
+
'prescriptionId': string;
|
|
24
|
+
/**
|
|
25
|
+
* The expiration date of the prescription used to verify the regulated product, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PrescriptionDetail
|
|
28
|
+
*/
|
|
29
|
+
'expirationDate': string;
|
|
30
|
+
/**
|
|
31
|
+
* The number of units in each fill as provided in the prescription.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PrescriptionDetail
|
|
34
|
+
*/
|
|
35
|
+
'writtenQuantity': number;
|
|
36
|
+
/**
|
|
37
|
+
* The total number of refills written in the original prescription used to verify the regulated product. If a prescription originally had no refills, this value must be 0.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PrescriptionDetail
|
|
40
|
+
*/
|
|
41
|
+
'totalRefillsAuthorized': number;
|
|
42
|
+
/**
|
|
43
|
+
* The number of refills remaining for the prescription used to verify the regulated product. If a prescription originally had 10 total refills, this value must be `10` for the first order, `9` for the second order, and `0` for the eleventh order. If a prescription originally had no refills, this value must be 0.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PrescriptionDetail
|
|
46
|
+
*/
|
|
47
|
+
'refillsRemaining': number;
|
|
48
|
+
/**
|
|
49
|
+
* The identifier for the clinic which provided the prescription used to verify the regulated product.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PrescriptionDetail
|
|
52
|
+
*/
|
|
53
|
+
'clinicId': string;
|
|
54
|
+
/**
|
|
55
|
+
* The instructions for the prescription as provided by the approver of the regulated product.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PrescriptionDetail
|
|
58
|
+
*/
|
|
59
|
+
'usageInstructions': string;
|
|
60
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RegulatedInformationField {
|
|
18
18
|
/**
|
|
19
|
-
* The unique identifier
|
|
19
|
+
* The unique identifier of the field.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RegulatedInformationField
|
|
22
22
|
*/
|
|
23
23
|
'FieldId': string;
|
|
24
24
|
/**
|
|
25
|
-
* The name
|
|
25
|
+
* The name of the field.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RegulatedInformationField
|
|
28
28
|
*/
|
|
@@ -34,7 +34,7 @@ export interface RegulatedInformationField {
|
|
|
34
34
|
*/
|
|
35
35
|
'FieldType': RegulatedInformationFieldFieldTypeEnum;
|
|
36
36
|
/**
|
|
37
|
-
* The content of the field as collected in regulatory form. Note that `FileAttachment` type fields
|
|
37
|
+
* The content of the field as collected in regulatory form. Note that `FileAttachment` type fields contain a URL where you can download the attachment.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof RegulatedInformationField
|
|
40
40
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { RejectionReason } from './rejection-reason';
|
|
13
|
+
import type { ValidVerificationDetail } from './valid-verification-detail';
|
|
13
14
|
import type { VerificationStatus } from './verification-status';
|
|
14
15
|
/**
|
|
15
|
-
* The verification status of the order along with associated approval or rejection metadata.
|
|
16
|
+
* The verification status of the order, along with associated approval or rejection metadata.
|
|
16
17
|
* @export
|
|
17
18
|
* @interface RegulatedOrderVerificationStatus
|
|
18
19
|
*/
|
|
@@ -42,7 +43,7 @@ export interface RegulatedOrderVerificationStatus {
|
|
|
42
43
|
*/
|
|
43
44
|
'RejectionReason'?: RejectionReason;
|
|
44
45
|
/**
|
|
45
|
-
* The date the order was reviewed. In
|
|
46
|
+
* The date the order was reviewed. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
|
|
46
47
|
* @type {string}
|
|
47
48
|
* @memberof RegulatedOrderVerificationStatus
|
|
48
49
|
*/
|
|
@@ -53,4 +54,10 @@ export interface RegulatedOrderVerificationStatus {
|
|
|
53
54
|
* @memberof RegulatedOrderVerificationStatus
|
|
54
55
|
*/
|
|
55
56
|
'ExternalReviewerId'?: string;
|
|
57
|
+
/**
|
|
58
|
+
* A list of valid verification details that may be provided and the criteria required for when the verification detail can be provided.
|
|
59
|
+
* @type {Array<ValidVerificationDetail>}
|
|
60
|
+
* @memberof RegulatedOrderVerificationStatus
|
|
61
|
+
*/
|
|
62
|
+
'ValidVerificationDetails'?: Array<ValidVerificationDetail>;
|
|
56
63
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The reason for rejecting the order\'s regulated information.
|
|
13
|
+
* The reason for rejecting the order\'s regulated information. This is only present if the order is rejected.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface RejectionReason
|
|
16
16
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -22,4 +22,22 @@ export interface ShippingConstraints {
|
|
|
22
22
|
* @memberof ShippingConstraints
|
|
23
23
|
*/
|
|
24
24
|
'PalletDelivery'?: ConstraintType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ConstraintType}
|
|
28
|
+
* @memberof ShippingConstraints
|
|
29
|
+
*/
|
|
30
|
+
'SignatureConfirmation'?: ConstraintType;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ConstraintType}
|
|
34
|
+
* @memberof ShippingConstraints
|
|
35
|
+
*/
|
|
36
|
+
'RecipientIdentityVerification'?: ConstraintType;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ConstraintType}
|
|
40
|
+
* @memberof ShippingConstraints
|
|
41
|
+
*/
|
|
42
|
+
'RecipientAgeVerification'?: ConstraintType;
|
|
25
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -17,7 +17,7 @@ import type { Measurement } from './measurement';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface SubstitutionOption {
|
|
19
19
|
/**
|
|
20
|
-
* The Amazon Standard Identification Number (ASIN)
|
|
20
|
+
* The item\'s Amazon Standard Identification Number (ASIN).
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof SubstitutionOption
|
|
23
23
|
*/
|
|
@@ -29,13 +29,13 @@ export interface SubstitutionOption {
|
|
|
29
29
|
*/
|
|
30
30
|
'QuantityOrdered'?: number;
|
|
31
31
|
/**
|
|
32
|
-
* The seller stock keeping unit (SKU)
|
|
32
|
+
* The item\'s seller stock keeping unit (SKU).
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof SubstitutionOption
|
|
35
35
|
*/
|
|
36
36
|
'SellerSKU'?: string;
|
|
37
37
|
/**
|
|
38
|
-
* The title
|
|
38
|
+
* The item\'s title.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof SubstitutionOption
|
|
41
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The tax classification
|
|
13
|
+
* The tax classification of the order.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface TaxClassification
|
|
16
16
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { VerificationDetails } from './verification-details';
|
|
12
13
|
import type { VerificationStatus } from './verification-status';
|
|
13
14
|
/**
|
|
14
15
|
* The updated values of the `VerificationStatus` field.
|
|
@@ -21,17 +22,23 @@ export interface UpdateVerificationStatusRequestBody {
|
|
|
21
22
|
* @type {VerificationStatus}
|
|
22
23
|
* @memberof UpdateVerificationStatusRequestBody
|
|
23
24
|
*/
|
|
24
|
-
'status'
|
|
25
|
+
'status'?: VerificationStatus;
|
|
25
26
|
/**
|
|
26
|
-
* The identifier
|
|
27
|
+
* The identifier of the order\'s regulated information reviewer.
|
|
27
28
|
* @type {string}
|
|
28
29
|
* @memberof UpdateVerificationStatusRequestBody
|
|
29
30
|
*/
|
|
30
31
|
'externalReviewerId': string;
|
|
31
32
|
/**
|
|
32
|
-
* The unique identifier
|
|
33
|
+
* The unique identifier of the rejection reason used for rejecting the order\'s regulated information. Only required if the new status is rejected.
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof UpdateVerificationStatusRequestBody
|
|
35
36
|
*/
|
|
36
37
|
'rejectionReasonId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {VerificationDetails}
|
|
41
|
+
* @memberof UpdateVerificationStatusRequestBody
|
|
42
|
+
*/
|
|
43
|
+
'verificationDetails'?: VerificationDetails;
|
|
37
44
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { VerificationStatus } from './verification-status';
|
|
13
|
+
/**
|
|
14
|
+
* The types of verification details that may be provided for the order and the criteria required for when the type of verification detail can be provided. The types of verification details allowed depend on the type of regulated product and will not change order to order.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidVerificationDetail
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidVerificationDetail {
|
|
19
|
+
/**
|
|
20
|
+
* A supported type of verification detail. The type indicates which verification detail could be shared while updating the regulated order. Valid value: `prescriptionDetail`.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ValidVerificationDetail
|
|
23
|
+
*/
|
|
24
|
+
'VerificationDetailType': string;
|
|
25
|
+
/**
|
|
26
|
+
* A list of valid verification statuses where the associated verification detail type may be provided. For example, if the value of this field is [\"Approved\"], calls to provide the associated verification detail will fail for orders with a `VerificationStatus` of `Pending`, `Rejected`, `Expired`, or `Cancelled`.
|
|
27
|
+
* @type {Array<VerificationStatus>}
|
|
28
|
+
* @memberof ValidVerificationDetail
|
|
29
|
+
*/
|
|
30
|
+
'ValidVerificationStatuses': Array<VerificationStatus>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { PrescriptionDetail } from './prescription-detail';
|
|
13
|
+
/**
|
|
14
|
+
* Additional information related to the verification of a regulated order.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface VerificationDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface VerificationDetails {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {PrescriptionDetail}
|
|
22
|
+
* @memberof VerificationDetails
|
|
23
|
+
*/
|
|
24
|
+
'prescriptionDetail'?: PrescriptionDetail;
|
|
25
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Selling Partner API for Orders
|
|
3
|
-
*
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v0
|
|
6
6
|
*
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sp-api-sdk/orders-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "3.
|
|
4
|
+
"description": "Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. Note: For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).",
|
|
5
|
+
"version": "3.5.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.0.
|
|
22
|
-
"axios": "^1.7.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.14",
|
|
22
|
+
"axios": "^1.7.7"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"orders api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "92609cb0381b1cd32bb0e0f75e1dc4d5acaabe11"
|
|
44
44
|
}
|