@teemill/orders 1.31.0 → 1.31.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/README.md +2 -2
- package/api.ts +7 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +7 -2
- package/dist/esm/api.js +7 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/OrderImportErrorCode.md +11 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/orders@1.31.
|
|
1
|
+
## @teemill/orders@1.31.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/orders@1.31.
|
|
39
|
+
npm install @teemill/orders@1.31.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -574,13 +574,18 @@ export interface OrderImportError {
|
|
|
574
574
|
|
|
575
575
|
|
|
576
576
|
/**
|
|
577
|
-
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
577
|
+
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `PRODUCT_UNAVAILABLE` — A product variant cannot be fulfilled by the factory - `STOCK_UNAVAILABLE` — Insufficient stock is available for the requested quantity - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `SHIPPING_COUNTRY_REQUIRED` — The shipping country field was missing - `SHIPPING_COUNTRY_INVALID` — The shipping country code is invalid or unsupported - `CUSTOMS_EORI_INVALID` — The EORI number format is invalid - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
578
578
|
*/
|
|
579
579
|
|
|
580
580
|
export const OrderImportErrorCode = {
|
|
581
581
|
VariantNotFound: 'VARIANT_NOT_FOUND',
|
|
582
582
|
MissingSku: 'MISSING_SKU',
|
|
583
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
584
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
583
585
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
586
|
+
ShippingCountryRequired: 'SHIPPING_COUNTRY_REQUIRED',
|
|
587
|
+
ShippingCountryInvalid: 'SHIPPING_COUNTRY_INVALID',
|
|
588
|
+
CustomsEoriInvalid: 'CUSTOMS_EORI_INVALID',
|
|
584
589
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
585
590
|
ImportFailed: 'IMPORT_FAILED',
|
|
586
591
|
} as const;
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Orders
|
|
4
4
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.31.
|
|
6
|
+
* The version of the OpenAPI document: 1.31.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -548,12 +548,17 @@ export interface OrderImportError {
|
|
|
548
548
|
'referenceCode'?: string | null;
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
|
-
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
551
|
+
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `PRODUCT_UNAVAILABLE` — A product variant cannot be fulfilled by the factory - `STOCK_UNAVAILABLE` — Insufficient stock is available for the requested quantity - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `SHIPPING_COUNTRY_REQUIRED` — The shipping country field was missing - `SHIPPING_COUNTRY_INVALID` — The shipping country code is invalid or unsupported - `CUSTOMS_EORI_INVALID` — The EORI number format is invalid - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
552
552
|
*/
|
|
553
553
|
export declare const OrderImportErrorCode: {
|
|
554
554
|
readonly VariantNotFound: "VARIANT_NOT_FOUND";
|
|
555
555
|
readonly MissingSku: "MISSING_SKU";
|
|
556
|
+
readonly ProductUnavailable: "PRODUCT_UNAVAILABLE";
|
|
557
|
+
readonly StockUnavailable: "STOCK_UNAVAILABLE";
|
|
556
558
|
readonly ShippingMethodUnavailable: "SHIPPING_METHOD_UNAVAILABLE";
|
|
559
|
+
readonly ShippingCountryRequired: "SHIPPING_COUNTRY_REQUIRED";
|
|
560
|
+
readonly ShippingCountryInvalid: "SHIPPING_COUNTRY_INVALID";
|
|
561
|
+
readonly CustomsEoriInvalid: "CUSTOMS_EORI_INVALID";
|
|
557
562
|
readonly TransientSystemError: "TRANSIENT_SYSTEM_ERROR";
|
|
558
563
|
readonly ImportFailed: "IMPORT_FAILED";
|
|
559
564
|
};
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.31.
|
|
8
|
+
* The version of the OpenAPI document: 1.31.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -50,12 +50,17 @@ exports.FulfillmentFrozenReasonsEnum = {
|
|
|
50
50
|
Fraud: 'fraud',
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
-
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
53
|
+
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `PRODUCT_UNAVAILABLE` — A product variant cannot be fulfilled by the factory - `STOCK_UNAVAILABLE` — Insufficient stock is available for the requested quantity - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `SHIPPING_COUNTRY_REQUIRED` — The shipping country field was missing - `SHIPPING_COUNTRY_INVALID` — The shipping country code is invalid or unsupported - `CUSTOMS_EORI_INVALID` — The EORI number format is invalid - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
54
54
|
*/
|
|
55
55
|
exports.OrderImportErrorCode = {
|
|
56
56
|
VariantNotFound: 'VARIANT_NOT_FOUND',
|
|
57
57
|
MissingSku: 'MISSING_SKU',
|
|
58
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
59
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
58
60
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
61
|
+
ShippingCountryRequired: 'SHIPPING_COUNTRY_REQUIRED',
|
|
62
|
+
ShippingCountryInvalid: 'SHIPPING_COUNTRY_INVALID',
|
|
63
|
+
CustomsEoriInvalid: 'CUSTOMS_EORI_INVALID',
|
|
59
64
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
60
65
|
ImportFailed: 'IMPORT_FAILED',
|
|
61
66
|
};
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.31.
|
|
8
|
+
* The version of the OpenAPI document: 1.31.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.31.
|
|
8
|
+
* The version of the OpenAPI document: 1.31.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -548,12 +548,17 @@ export interface OrderImportError {
|
|
|
548
548
|
'referenceCode'?: string | null;
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
|
-
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
551
|
+
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `PRODUCT_UNAVAILABLE` — A product variant cannot be fulfilled by the factory - `STOCK_UNAVAILABLE` — Insufficient stock is available for the requested quantity - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `SHIPPING_COUNTRY_REQUIRED` — The shipping country field was missing - `SHIPPING_COUNTRY_INVALID` — The shipping country code is invalid or unsupported - `CUSTOMS_EORI_INVALID` — The EORI number format is invalid - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
552
552
|
*/
|
|
553
553
|
export declare const OrderImportErrorCode: {
|
|
554
554
|
readonly VariantNotFound: "VARIANT_NOT_FOUND";
|
|
555
555
|
readonly MissingSku: "MISSING_SKU";
|
|
556
|
+
readonly ProductUnavailable: "PRODUCT_UNAVAILABLE";
|
|
557
|
+
readonly StockUnavailable: "STOCK_UNAVAILABLE";
|
|
556
558
|
readonly ShippingMethodUnavailable: "SHIPPING_METHOD_UNAVAILABLE";
|
|
559
|
+
readonly ShippingCountryRequired: "SHIPPING_COUNTRY_REQUIRED";
|
|
560
|
+
readonly ShippingCountryInvalid: "SHIPPING_COUNTRY_INVALID";
|
|
561
|
+
readonly CustomsEoriInvalid: "CUSTOMS_EORI_INVALID";
|
|
557
562
|
readonly TransientSystemError: "TRANSIENT_SYSTEM_ERROR";
|
|
558
563
|
readonly ImportFailed: "IMPORT_FAILED";
|
|
559
564
|
};
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -47,12 +47,17 @@ export const FulfillmentFrozenReasonsEnum = {
|
|
|
47
47
|
Fraud: 'fraud',
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
|
-
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
50
|
+
* Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `PRODUCT_UNAVAILABLE` — A product variant cannot be fulfilled by the factory - `STOCK_UNAVAILABLE` — Insufficient stock is available for the requested quantity - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `SHIPPING_COUNTRY_REQUIRED` — The shipping country field was missing - `SHIPPING_COUNTRY_INVALID` — The shipping country code is invalid or unsupported - `CUSTOMS_EORI_INVALID` — The EORI number format is invalid - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
51
51
|
*/
|
|
52
52
|
export const OrderImportErrorCode = {
|
|
53
53
|
VariantNotFound: 'VARIANT_NOT_FOUND',
|
|
54
54
|
MissingSku: 'MISSING_SKU',
|
|
55
|
+
ProductUnavailable: 'PRODUCT_UNAVAILABLE',
|
|
56
|
+
StockUnavailable: 'STOCK_UNAVAILABLE',
|
|
55
57
|
ShippingMethodUnavailable: 'SHIPPING_METHOD_UNAVAILABLE',
|
|
58
|
+
ShippingCountryRequired: 'SHIPPING_COUNTRY_REQUIRED',
|
|
59
|
+
ShippingCountryInvalid: 'SHIPPING_COUNTRY_INVALID',
|
|
60
|
+
CustomsEoriInvalid: 'CUSTOMS_EORI_INVALID',
|
|
56
61
|
TransientSystemError: 'TRANSIENT_SYSTEM_ERROR',
|
|
57
62
|
ImportFailed: 'IMPORT_FAILED',
|
|
58
63
|
};
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Orders
|
|
4
4
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.31.
|
|
6
|
+
* The version of the OpenAPI document: 1.31.1
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Orders
|
|
3
3
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.31.
|
|
5
|
+
* The version of the OpenAPI document: 1.31.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Orders
|
|
6
6
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.31.
|
|
8
|
+
* The version of the OpenAPI document: 1.31.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OrderImportErrorCode
|
|
2
2
|
|
|
3
|
-
Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
3
|
+
Machine-readable error code identifying the type of import failure: - `VARIANT_NOT_FOUND` — The SKU does not match any variant in the project\'s catalog - `MISSING_SKU` — A required SKU field was empty or missing - `PRODUCT_UNAVAILABLE` — A product variant cannot be fulfilled by the factory - `STOCK_UNAVAILABLE` — Insufficient stock is available for the requested quantity - `SHIPPING_METHOD_UNAVAILABLE` — No shipping methods are available for the fulfillment - `SHIPPING_COUNTRY_REQUIRED` — The shipping country field was missing - `SHIPPING_COUNTRY_INVALID` — The shipping country code is invalid or unsupported - `CUSTOMS_EORI_INVALID` — The EORI number format is invalid - `TRANSIENT_SYSTEM_ERROR` — A temporary system issue occurred; the import may succeed on retry - `IMPORT_FAILED` — A general import failure that does not match a more specific code
|
|
4
4
|
|
|
5
5
|
## Enum
|
|
6
6
|
|
|
@@ -8,8 +8,18 @@ Machine-readable error code identifying the type of import failure: - `VARIANT_N
|
|
|
8
8
|
|
|
9
9
|
* `MissingSku` (value: `'MISSING_SKU'`)
|
|
10
10
|
|
|
11
|
+
* `ProductUnavailable` (value: `'PRODUCT_UNAVAILABLE'`)
|
|
12
|
+
|
|
13
|
+
* `StockUnavailable` (value: `'STOCK_UNAVAILABLE'`)
|
|
14
|
+
|
|
11
15
|
* `ShippingMethodUnavailable` (value: `'SHIPPING_METHOD_UNAVAILABLE'`)
|
|
12
16
|
|
|
17
|
+
* `ShippingCountryRequired` (value: `'SHIPPING_COUNTRY_REQUIRED'`)
|
|
18
|
+
|
|
19
|
+
* `ShippingCountryInvalid` (value: `'SHIPPING_COUNTRY_INVALID'`)
|
|
20
|
+
|
|
21
|
+
* `CustomsEoriInvalid` (value: `'CUSTOMS_EORI_INVALID'`)
|
|
22
|
+
|
|
13
23
|
* `TransientSystemError` (value: `'TRANSIENT_SYSTEM_ERROR'`)
|
|
14
24
|
|
|
15
25
|
* `ImportFailed` (value: `'IMPORT_FAILED'`)
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Orders
|
|
5
5
|
* Use this API to create and retrieve updates for print-on-demand orders. Use it to request fulfillment for variants of products attached to the given project. You can fetch details and references to these products and variants from the Product Catalog API.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.31.
|
|
7
|
+
* The version of the OpenAPI document: 1.31.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|