@zippendo/sdk 1.2.7 → 1.3.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/dist/esm/models/BatchSendShipments200ResponseResultsInner.d.ts +11 -0
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.js +11 -0
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.js +2 -0
- package/dist/esm/models/CreateOrderChannelRequest.d.ts +14 -0
- package/dist/esm/models/CreateOrderChannelRequest.js +9 -0
- package/dist/esm/models/CreateOrderRequestOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/CreateOrderRequestOrderLinesInner.js +2 -0
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +4 -0
- package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +4 -0
- package/dist/esm/models/GetOrder200ResponseOrderLinesInner.d.ts +6 -0
- package/dist/esm/models/GetOrder200ResponseOrderLinesInner.js +2 -0
- package/dist/esm/models/ListApiTokens401Response.d.ts +11 -0
- package/dist/esm/models/ListApiTokens401Response.js +11 -0
- package/dist/esm/models/ListOrderChannels200ResponseDataInner.d.ts +14 -0
- package/dist/esm/models/ListOrderChannels200ResponseDataInner.js +11 -0
- package/dist/esm/models/SendShipment422Response.d.ts +11 -0
- package/dist/esm/models/SendShipment422Response.js +11 -0
- package/dist/esm/models/UpdateOrderChannelRequest.d.ts +14 -0
- package/dist/esm/models/UpdateOrderChannelRequest.js +9 -0
- package/dist/models/BatchSendShipments200ResponseResultsInner.d.ts +11 -0
- package/dist/models/BatchSendShipments200ResponseResultsInner.js +11 -0
- package/dist/models/CreateOrder201ResponseOrderLinesInner.d.ts +6 -0
- package/dist/models/CreateOrder201ResponseOrderLinesInner.js +2 -0
- package/dist/models/CreateOrderChannelRequest.d.ts +14 -0
- package/dist/models/CreateOrderChannelRequest.js +10 -1
- package/dist/models/CreateOrderRequestOrderLinesInner.d.ts +6 -0
- package/dist/models/CreateOrderRequestOrderLinesInner.js +2 -0
- package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +4 -0
- package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +13 -1
- package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +4 -0
- package/dist/models/GetOrder200ResponseOrderLinesInner.d.ts +6 -0
- package/dist/models/GetOrder200ResponseOrderLinesInner.js +2 -0
- package/dist/models/ListApiTokens401Response.d.ts +11 -0
- package/dist/models/ListApiTokens401Response.js +11 -0
- package/dist/models/ListOrderChannels200ResponseDataInner.d.ts +14 -0
- package/dist/models/ListOrderChannels200ResponseDataInner.js +12 -1
- package/dist/models/SendShipment422Response.d.ts +11 -0
- package/dist/models/SendShipment422Response.js +11 -0
- package/dist/models/UpdateOrderChannelRequest.d.ts +14 -0
- package/dist/models/UpdateOrderChannelRequest.js +10 -0
- package/docs/CreateOrder201ResponseOrderLinesInner.md +2 -0
- package/docs/CreateOrderChannelRequest.md +2 -0
- package/docs/CreateOrderRequestOrderLinesInner.md +2 -0
- package/docs/CreateShipment201ResponseParcelsInnerOrderLinesInner.md +4 -0
- package/docs/CreateShipmentRequestParcelsInnerOrderLinesInner.md +4 -0
- package/docs/GetOrder200ResponseOrderLinesInner.md +2 -0
- package/docs/ListOrderChannels200ResponseDataInner.md +2 -0
- package/docs/UpdateOrderChannelRequest.md +2 -0
- package/package.json +1 -1
- package/src/models/BatchSendShipments200ResponseResultsInner.ts +11 -0
- package/src/models/CreateOrder201ResponseOrderLinesInner.ts +8 -0
- package/src/models/CreateOrderChannelRequest.ts +17 -0
- package/src/models/CreateOrderRequestOrderLinesInner.ts +8 -0
- package/src/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.ts +17 -1
- package/src/models/CreateShipmentRequestParcelsInnerOrderLinesInner.ts +17 -1
- package/src/models/GetOrder200ResponseOrderLinesInner.ts +8 -0
- package/src/models/ListApiTokens401Response.ts +11 -0
- package/src/models/ListOrderChannels200ResponseDataInner.ts +18 -0
- package/src/models/SendShipment422Response.ts +11 -0
- package/src/models/UpdateOrderChannelRequest.ts +19 -0
|
@@ -40,6 +40,12 @@ export interface CreateOrderChannelRequest {
|
|
|
40
40
|
* @memberof CreateOrderChannelRequest
|
|
41
41
|
*/
|
|
42
42
|
enabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* What Zippendo is used for on this channel. `orders_and_rates` (default) imports orders and serves checkout rates. `rates_only` serves checkout rates and service-point selection ONLY — orders are owned by an external system such as a WMS, nothing is imported, and no fulfilment or tracking is pushed back to the platform.
|
|
45
|
+
* @type {CreateOrderChannelRequestRoleEnum}
|
|
46
|
+
* @memberof CreateOrderChannelRequest
|
|
47
|
+
*/
|
|
48
|
+
role?: CreateOrderChannelRequestRoleEnum;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {CreateOrderChannelRequestSettings}
|
|
@@ -55,6 +61,14 @@ export declare const CreateOrderChannelRequestTypeEnum: {
|
|
|
55
61
|
readonly Custom: "custom";
|
|
56
62
|
};
|
|
57
63
|
export type CreateOrderChannelRequestTypeEnum = typeof CreateOrderChannelRequestTypeEnum[keyof typeof CreateOrderChannelRequestTypeEnum];
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const CreateOrderChannelRequestRoleEnum: {
|
|
68
|
+
readonly OrdersAndRates: "orders_and_rates";
|
|
69
|
+
readonly RatesOnly: "rates_only";
|
|
70
|
+
};
|
|
71
|
+
export type CreateOrderChannelRequestRoleEnum = typeof CreateOrderChannelRequestRoleEnum[keyof typeof CreateOrderChannelRequestRoleEnum];
|
|
58
72
|
/**
|
|
59
73
|
* Check if a given object implements the CreateOrderChannelRequest interface.
|
|
60
74
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateOrderChannelRequestTypeEnum = void 0;
|
|
16
|
+
exports.CreateOrderChannelRequestRoleEnum = exports.CreateOrderChannelRequestTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfCreateOrderChannelRequest = instanceOfCreateOrderChannelRequest;
|
|
18
18
|
exports.CreateOrderChannelRequestFromJSON = CreateOrderChannelRequestFromJSON;
|
|
19
19
|
exports.CreateOrderChannelRequestFromJSONTyped = CreateOrderChannelRequestFromJSONTyped;
|
|
@@ -27,6 +27,13 @@ exports.CreateOrderChannelRequestTypeEnum = {
|
|
|
27
27
|
Manual: 'manual',
|
|
28
28
|
Custom: 'custom'
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.CreateOrderChannelRequestRoleEnum = {
|
|
34
|
+
OrdersAndRates: 'orders_and_rates',
|
|
35
|
+
RatesOnly: 'rates_only'
|
|
36
|
+
};
|
|
30
37
|
/**
|
|
31
38
|
* Check if a given object implements the CreateOrderChannelRequest interface.
|
|
32
39
|
*/
|
|
@@ -49,6 +56,7 @@ function CreateOrderChannelRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
56
|
'type': json['type'],
|
|
50
57
|
'brandId': json['brandId'] === undefined ? undefined : json['brandId'] === null ? null : json['brandId'],
|
|
51
58
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
59
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
52
60
|
'settings': json['settings'] == null ? undefined : (0, CreateOrderChannelRequestSettings_1.CreateOrderChannelRequestSettingsFromJSON)(json['settings']),
|
|
53
61
|
};
|
|
54
62
|
}
|
|
@@ -64,6 +72,7 @@ function CreateOrderChannelRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
64
72
|
'type': value['type'],
|
|
65
73
|
'brandId': value['brandId'],
|
|
66
74
|
'enabled': value['enabled'],
|
|
75
|
+
'role': value['role'],
|
|
67
76
|
'settings': (0, CreateOrderChannelRequestSettings_1.CreateOrderChannelRequestSettingsToJSON)(value['settings']),
|
|
68
77
|
};
|
|
69
78
|
}
|
|
@@ -129,6 +129,12 @@ export interface CreateOrderRequestOrderLinesInner {
|
|
|
129
129
|
* @memberof CreateOrderRequestOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* ID of the existing order line this entry edits. Omit to add a new line.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateOrderRequestOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
* @export
|
|
@@ -65,6 +65,7 @@ function CreateOrderRequestOrderLinesInnerFromJSONTyped(json, ignoreDiscriminato
|
|
|
65
65
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
66
66
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
67
67
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
68
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function CreateOrderRequestOrderLinesInnerToJSON(json) {
|
|
@@ -94,5 +95,6 @@ function CreateOrderRequestOrderLinesInnerToJSONTyped(value, ignoreDiscriminator
|
|
|
94
95
|
'taxable': value['taxable'],
|
|
95
96
|
'giftCard': value['giftCard'],
|
|
96
97
|
'vendor': value['vendor'],
|
|
98
|
+
'id': value['id'],
|
|
97
99
|
};
|
|
98
100
|
}
|
|
@@ -21,6 +21,12 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
21
21
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
28
|
+
*/
|
|
29
|
+
orderLineId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
26
32
|
* @type {string}
|
|
@@ -70,7 +76,13 @@ export interface CreateShipment201ResponseParcelsInnerOrderLinesInner {
|
|
|
70
76
|
*/
|
|
71
77
|
countryOfOrigin?: string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Harmonized System customs code.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
82
|
+
*/
|
|
83
|
+
hsCode?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
74
86
|
* @type {string}
|
|
75
87
|
* @memberof CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
76
88
|
*/
|
|
@@ -35,6 +35,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONTyped(json,
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
38
39
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
39
40
|
'quantity': json['quantity'],
|
|
40
41
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -43,6 +44,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerFromJSONTyped(json,
|
|
|
43
44
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
44
45
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
45
46
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
47
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
46
48
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -55,6 +57,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(value,
|
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
59
|
'id': value['id'],
|
|
60
|
+
'orderLineId': value['orderLineId'],
|
|
58
61
|
'sku': value['sku'],
|
|
59
62
|
'quantity': value['quantity'],
|
|
60
63
|
'description': value['description'],
|
|
@@ -63,6 +66,7 @@ function CreateShipment201ResponseParcelsInnerOrderLinesInnerToJSONTyped(value,
|
|
|
63
66
|
'vatPercent': value['vatPercent'],
|
|
64
67
|
'location': value['location'],
|
|
65
68
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
69
|
+
'hsCode': value['hsCode'],
|
|
66
70
|
'tarrifNumber': value['tarrifNumber'],
|
|
67
71
|
};
|
|
68
72
|
}
|
|
@@ -21,6 +21,12 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
21
21
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
22
22
|
*/
|
|
23
23
|
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the order line this packed line came from. Null when the item did not originate from an order line, such as a free gift or a replacement part.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
28
|
+
*/
|
|
29
|
+
orderLineId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
* Stock keeping unit of the product. Optional — not every webshop assigns SKUs.
|
|
26
32
|
* @type {string}
|
|
@@ -70,7 +76,13 @@ export interface CreateShipmentRequestParcelsInnerOrderLinesInner {
|
|
|
70
76
|
*/
|
|
71
77
|
countryOfOrigin?: string;
|
|
72
78
|
/**
|
|
73
|
-
*
|
|
79
|
+
* Harmonized System customs code.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
82
|
+
*/
|
|
83
|
+
hsCode?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Deprecated misspelling of `hsCode`, kept for backwards compatibility.
|
|
74
86
|
* @type {string}
|
|
75
87
|
* @memberof CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
76
88
|
*/
|
|
@@ -35,6 +35,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(json, ign
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
+
'orderLineId': json['orderLineId'] === undefined ? undefined : json['orderLineId'] === null ? null : json['orderLineId'],
|
|
38
39
|
'sku': json['sku'] === undefined ? undefined : json['sku'] === null ? null : json['sku'],
|
|
39
40
|
'quantity': json['quantity'],
|
|
40
41
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
@@ -43,6 +44,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerFromJSONTyped(json, ign
|
|
|
43
44
|
'vatPercent': json['vatPercent'] === undefined ? undefined : json['vatPercent'] === null ? null : json['vatPercent'],
|
|
44
45
|
'location': json['location'] === undefined ? undefined : json['location'] === null ? null : json['location'],
|
|
45
46
|
'countryOfOrigin': json['countryOfOrigin'] == null ? undefined : json['countryOfOrigin'],
|
|
47
|
+
'hsCode': json['hsCode'] === undefined ? undefined : json['hsCode'] === null ? null : json['hsCode'],
|
|
46
48
|
'tarrifNumber': json['tarrifNumber'] === undefined ? undefined : json['tarrifNumber'] === null ? null : json['tarrifNumber'],
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -55,6 +57,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(value, igno
|
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
59
|
'id': value['id'],
|
|
60
|
+
'orderLineId': value['orderLineId'],
|
|
58
61
|
'sku': value['sku'],
|
|
59
62
|
'quantity': value['quantity'],
|
|
60
63
|
'description': value['description'],
|
|
@@ -63,6 +66,7 @@ function CreateShipmentRequestParcelsInnerOrderLinesInnerToJSONTyped(value, igno
|
|
|
63
66
|
'vatPercent': value['vatPercent'],
|
|
64
67
|
'location': value['location'],
|
|
65
68
|
'countryOfOrigin': value['countryOfOrigin'],
|
|
69
|
+
'hsCode': value['hsCode'],
|
|
66
70
|
'tarrifNumber': value['tarrifNumber'],
|
|
67
71
|
};
|
|
68
72
|
}
|
|
@@ -129,6 +129,12 @@ export interface GetOrder200ResponseOrderLinesInner {
|
|
|
129
129
|
* @memberof GetOrder200ResponseOrderLinesInner
|
|
130
130
|
*/
|
|
131
131
|
vendor?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Order line ID. Present once the line is a row. Absent for jsonb-only lines during the dual-write window — do not synthesise one, or an edit would re-point packed lines.
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof GetOrder200ResponseOrderLinesInner
|
|
136
|
+
*/
|
|
137
|
+
id?: string;
|
|
132
138
|
/**
|
|
133
139
|
* Quantity already allocated to outbound shipments.
|
|
134
140
|
* @type {number}
|
|
@@ -67,6 +67,7 @@ function GetOrder200ResponseOrderLinesInnerFromJSONTyped(json, ignoreDiscriminat
|
|
|
67
67
|
'taxable': json['taxable'] === undefined ? undefined : json['taxable'] === null ? null : json['taxable'],
|
|
68
68
|
'giftCard': json['giftCard'] === undefined ? undefined : json['giftCard'] === null ? null : json['giftCard'],
|
|
69
69
|
'vendor': json['vendor'] === undefined ? undefined : json['vendor'] === null ? null : json['vendor'],
|
|
70
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
70
71
|
'packedQuantity': json['packedQuantity'],
|
|
71
72
|
};
|
|
72
73
|
}
|
|
@@ -97,6 +98,7 @@ function GetOrder200ResponseOrderLinesInnerToJSONTyped(value, ignoreDiscriminato
|
|
|
97
98
|
'taxable': value['taxable'],
|
|
98
99
|
'giftCard': value['giftCard'],
|
|
99
100
|
'vendor': value['vendor'],
|
|
101
|
+
'id': value['id'],
|
|
100
102
|
'packedQuantity': value['packedQuantity'],
|
|
101
103
|
};
|
|
102
104
|
}
|
|
@@ -140,6 +140,7 @@ export declare const ListApiTokens401ResponseCodeEnum: {
|
|
|
140
140
|
readonly OrderExists: "ORDER_EXISTS";
|
|
141
141
|
readonly OrderChannelNotFound: "ORDER_CHANNEL_NOT_FOUND";
|
|
142
142
|
readonly OrderChannelConfigInvalid: "ORDER_CHANNEL_CONFIG_INVALID";
|
|
143
|
+
readonly OrderChannelRatesOnly: "ORDER_CHANNEL_RATES_ONLY";
|
|
143
144
|
readonly IntegrationNotConfigured: "INTEGRATION_NOT_CONFIGURED";
|
|
144
145
|
readonly InstallationNotFound: "INSTALLATION_NOT_FOUND";
|
|
145
146
|
readonly WebhookSignatureInvalid: "WEBHOOK_SIGNATURE_INVALID";
|
|
@@ -177,6 +178,16 @@ export declare const ListApiTokens401ResponseCodeEnum: {
|
|
|
177
178
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
178
179
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
179
180
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
181
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
182
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
183
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
184
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
185
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
186
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
187
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
188
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
189
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
190
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
180
191
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
181
192
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
182
193
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|
|
@@ -125,6 +125,7 @@ exports.ListApiTokens401ResponseCodeEnum = {
|
|
|
125
125
|
OrderExists: 'ORDER_EXISTS',
|
|
126
126
|
OrderChannelNotFound: 'ORDER_CHANNEL_NOT_FOUND',
|
|
127
127
|
OrderChannelConfigInvalid: 'ORDER_CHANNEL_CONFIG_INVALID',
|
|
128
|
+
OrderChannelRatesOnly: 'ORDER_CHANNEL_RATES_ONLY',
|
|
128
129
|
IntegrationNotConfigured: 'INTEGRATION_NOT_CONFIGURED',
|
|
129
130
|
InstallationNotFound: 'INSTALLATION_NOT_FOUND',
|
|
130
131
|
WebhookSignatureInvalid: 'WEBHOOK_SIGNATURE_INVALID',
|
|
@@ -162,6 +163,16 @@ exports.ListApiTokens401ResponseCodeEnum = {
|
|
|
162
163
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
163
164
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
164
165
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
166
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
167
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
168
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
169
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
170
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
171
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
172
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
173
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
174
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
175
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
165
176
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
166
177
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
167
178
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -40,6 +40,12 @@ export interface ListOrderChannels200ResponseDataInner {
|
|
|
40
40
|
* @memberof ListOrderChannels200ResponseDataInner
|
|
41
41
|
*/
|
|
42
42
|
enabled: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* What Zippendo is used for on this channel. `orders_and_rates` (default) imports orders and serves checkout rates. `rates_only` serves checkout rates and service-point selection ONLY — orders are owned by an external system such as a WMS, nothing is imported, and no fulfilment or tracking is pushed back to the platform.
|
|
45
|
+
* @type {ListOrderChannels200ResponseDataInnerRoleEnum}
|
|
46
|
+
* @memberof ListOrderChannels200ResponseDataInner
|
|
47
|
+
*/
|
|
48
|
+
role: ListOrderChannels200ResponseDataInnerRoleEnum;
|
|
43
49
|
/**
|
|
44
50
|
* Brand this channel belongs to, or null for organization-wide. Orders synced from this channel inherit it, and so do the shipments and documents made from them.
|
|
45
51
|
* @type {string}
|
|
@@ -111,6 +117,14 @@ export declare const ListOrderChannels200ResponseDataInnerTypeEnum: {
|
|
|
111
117
|
readonly Custom: "custom";
|
|
112
118
|
};
|
|
113
119
|
export type ListOrderChannels200ResponseDataInnerTypeEnum = typeof ListOrderChannels200ResponseDataInnerTypeEnum[keyof typeof ListOrderChannels200ResponseDataInnerTypeEnum];
|
|
120
|
+
/**
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export declare const ListOrderChannels200ResponseDataInnerRoleEnum: {
|
|
124
|
+
readonly OrdersAndRates: "orders_and_rates";
|
|
125
|
+
readonly RatesOnly: "rates_only";
|
|
126
|
+
};
|
|
127
|
+
export type ListOrderChannels200ResponseDataInnerRoleEnum = typeof ListOrderChannels200ResponseDataInnerRoleEnum[keyof typeof ListOrderChannels200ResponseDataInnerRoleEnum];
|
|
114
128
|
/**
|
|
115
129
|
* Check if a given object implements the ListOrderChannels200ResponseDataInner interface.
|
|
116
130
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ListOrderChannels200ResponseDataInnerTypeEnum = void 0;
|
|
16
|
+
exports.ListOrderChannels200ResponseDataInnerRoleEnum = exports.ListOrderChannels200ResponseDataInnerTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfListOrderChannels200ResponseDataInner = instanceOfListOrderChannels200ResponseDataInner;
|
|
18
18
|
exports.ListOrderChannels200ResponseDataInnerFromJSON = ListOrderChannels200ResponseDataInnerFromJSON;
|
|
19
19
|
exports.ListOrderChannels200ResponseDataInnerFromJSONTyped = ListOrderChannels200ResponseDataInnerFromJSONTyped;
|
|
@@ -29,6 +29,13 @@ exports.ListOrderChannels200ResponseDataInnerTypeEnum = {
|
|
|
29
29
|
Manual: 'manual',
|
|
30
30
|
Custom: 'custom'
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.ListOrderChannels200ResponseDataInnerRoleEnum = {
|
|
36
|
+
OrdersAndRates: 'orders_and_rates',
|
|
37
|
+
RatesOnly: 'rates_only'
|
|
38
|
+
};
|
|
32
39
|
/**
|
|
33
40
|
* Check if a given object implements the ListOrderChannels200ResponseDataInner interface.
|
|
34
41
|
*/
|
|
@@ -41,6 +48,8 @@ function instanceOfListOrderChannels200ResponseDataInner(value) {
|
|
|
41
48
|
return false;
|
|
42
49
|
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
43
50
|
return false;
|
|
51
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
52
|
+
return false;
|
|
44
53
|
if (!('brandId' in value) || value['brandId'] === undefined)
|
|
45
54
|
return false;
|
|
46
55
|
if (!('hasCredentials' in value) || value['hasCredentials'] === undefined)
|
|
@@ -67,6 +76,7 @@ function ListOrderChannels200ResponseDataInnerFromJSONTyped(json, ignoreDiscrimi
|
|
|
67
76
|
'name': json['name'],
|
|
68
77
|
'type': json['type'],
|
|
69
78
|
'enabled': json['enabled'],
|
|
79
|
+
'role': json['role'],
|
|
70
80
|
'brandId': json['brandId'],
|
|
71
81
|
'hasCredentials': json['hasCredentials'],
|
|
72
82
|
'settings': (0, ListOrderChannels200ResponseDataInnerSettings_1.ListOrderChannels200ResponseDataInnerSettingsFromJSON)(json['settings']),
|
|
@@ -91,6 +101,7 @@ function ListOrderChannels200ResponseDataInnerToJSONTyped(value, ignoreDiscrimin
|
|
|
91
101
|
'name': value['name'],
|
|
92
102
|
'type': value['type'],
|
|
93
103
|
'enabled': value['enabled'],
|
|
104
|
+
'role': value['role'],
|
|
94
105
|
'brandId': value['brandId'],
|
|
95
106
|
'hasCredentials': value['hasCredentials'],
|
|
96
107
|
'settings': (0, ListOrderChannels200ResponseDataInnerSettings_1.ListOrderChannels200ResponseDataInnerSettingsToJSON)(value['settings']),
|
|
@@ -147,6 +147,7 @@ export declare const SendShipment422ResponseCodeEnum: {
|
|
|
147
147
|
readonly OrderExists: "ORDER_EXISTS";
|
|
148
148
|
readonly OrderChannelNotFound: "ORDER_CHANNEL_NOT_FOUND";
|
|
149
149
|
readonly OrderChannelConfigInvalid: "ORDER_CHANNEL_CONFIG_INVALID";
|
|
150
|
+
readonly OrderChannelRatesOnly: "ORDER_CHANNEL_RATES_ONLY";
|
|
150
151
|
readonly IntegrationNotConfigured: "INTEGRATION_NOT_CONFIGURED";
|
|
151
152
|
readonly InstallationNotFound: "INSTALLATION_NOT_FOUND";
|
|
152
153
|
readonly WebhookSignatureInvalid: "WEBHOOK_SIGNATURE_INVALID";
|
|
@@ -184,6 +185,16 @@ export declare const SendShipment422ResponseCodeEnum: {
|
|
|
184
185
|
readonly MigrationSourceUnreachable: "MIGRATION_SOURCE_UNREACHABLE";
|
|
185
186
|
readonly MigrationNotFound: "MIGRATION_NOT_FOUND";
|
|
186
187
|
readonly MigrationInProgress: "MIGRATION_IN_PROGRESS";
|
|
188
|
+
readonly WmsConnectionNotFound: "WMS_CONNECTION_NOT_FOUND";
|
|
189
|
+
readonly WmsConnectionConfigInvalid: "WMS_CONNECTION_CONFIG_INVALID";
|
|
190
|
+
readonly WmsConnectionDisabled: "WMS_CONNECTION_DISABLED";
|
|
191
|
+
readonly WmsAccountMismatch: "WMS_ACCOUNT_MISMATCH";
|
|
192
|
+
readonly WmsHostIdUnmapped: "WMS_HOST_ID_UNMAPPED";
|
|
193
|
+
readonly WmsServicePointRequired: "WMS_SERVICE_POINT_REQUIRED";
|
|
194
|
+
readonly WmsDangerousGoodsUnsupported: "WMS_DANGEROUS_GOODS_UNSUPPORTED";
|
|
195
|
+
readonly WmsLabelInProgress: "WMS_LABEL_IN_PROGRESS";
|
|
196
|
+
readonly WmsLabelAlreadyBooked: "WMS_LABEL_ALREADY_BOOKED";
|
|
197
|
+
readonly WmsLabelCountMismatch: "WMS_LABEL_COUNT_MISMATCH";
|
|
187
198
|
readonly DataExportNotFound: "DATA_EXPORT_NOT_FOUND";
|
|
188
199
|
readonly DataExportInProgress: "DATA_EXPORT_IN_PROGRESS";
|
|
189
200
|
readonly DataExportNotReady: "DATA_EXPORT_NOT_READY";
|
|
@@ -126,6 +126,7 @@ exports.SendShipment422ResponseCodeEnum = {
|
|
|
126
126
|
OrderExists: 'ORDER_EXISTS',
|
|
127
127
|
OrderChannelNotFound: 'ORDER_CHANNEL_NOT_FOUND',
|
|
128
128
|
OrderChannelConfigInvalid: 'ORDER_CHANNEL_CONFIG_INVALID',
|
|
129
|
+
OrderChannelRatesOnly: 'ORDER_CHANNEL_RATES_ONLY',
|
|
129
130
|
IntegrationNotConfigured: 'INTEGRATION_NOT_CONFIGURED',
|
|
130
131
|
InstallationNotFound: 'INSTALLATION_NOT_FOUND',
|
|
131
132
|
WebhookSignatureInvalid: 'WEBHOOK_SIGNATURE_INVALID',
|
|
@@ -163,6 +164,16 @@ exports.SendShipment422ResponseCodeEnum = {
|
|
|
163
164
|
MigrationSourceUnreachable: 'MIGRATION_SOURCE_UNREACHABLE',
|
|
164
165
|
MigrationNotFound: 'MIGRATION_NOT_FOUND',
|
|
165
166
|
MigrationInProgress: 'MIGRATION_IN_PROGRESS',
|
|
167
|
+
WmsConnectionNotFound: 'WMS_CONNECTION_NOT_FOUND',
|
|
168
|
+
WmsConnectionConfigInvalid: 'WMS_CONNECTION_CONFIG_INVALID',
|
|
169
|
+
WmsConnectionDisabled: 'WMS_CONNECTION_DISABLED',
|
|
170
|
+
WmsAccountMismatch: 'WMS_ACCOUNT_MISMATCH',
|
|
171
|
+
WmsHostIdUnmapped: 'WMS_HOST_ID_UNMAPPED',
|
|
172
|
+
WmsServicePointRequired: 'WMS_SERVICE_POINT_REQUIRED',
|
|
173
|
+
WmsDangerousGoodsUnsupported: 'WMS_DANGEROUS_GOODS_UNSUPPORTED',
|
|
174
|
+
WmsLabelInProgress: 'WMS_LABEL_IN_PROGRESS',
|
|
175
|
+
WmsLabelAlreadyBooked: 'WMS_LABEL_ALREADY_BOOKED',
|
|
176
|
+
WmsLabelCountMismatch: 'WMS_LABEL_COUNT_MISMATCH',
|
|
166
177
|
DataExportNotFound: 'DATA_EXPORT_NOT_FOUND',
|
|
167
178
|
DataExportInProgress: 'DATA_EXPORT_IN_PROGRESS',
|
|
168
179
|
DataExportNotReady: 'DATA_EXPORT_NOT_READY',
|
|
@@ -34,6 +34,12 @@ export interface UpdateOrderChannelRequest {
|
|
|
34
34
|
* @memberof UpdateOrderChannelRequest
|
|
35
35
|
*/
|
|
36
36
|
enabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* What Zippendo is used for on this channel. `orders_and_rates` (default) imports orders and serves checkout rates. `rates_only` serves checkout rates and service-point selection ONLY — orders are owned by an external system such as a WMS, nothing is imported, and no fulfilment or tracking is pushed back to the platform.
|
|
39
|
+
* @type {UpdateOrderChannelRequestRoleEnum}
|
|
40
|
+
* @memberof UpdateOrderChannelRequest
|
|
41
|
+
*/
|
|
42
|
+
role?: UpdateOrderChannelRequestRoleEnum;
|
|
37
43
|
/**
|
|
38
44
|
* Type-specific platform credentials.
|
|
39
45
|
* @type {{ [key: string]: any; }}
|
|
@@ -55,6 +61,14 @@ export interface UpdateOrderChannelRequest {
|
|
|
55
61
|
*/
|
|
56
62
|
shippingRuleIds?: Array<string>;
|
|
57
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const UpdateOrderChannelRequestRoleEnum: {
|
|
68
|
+
readonly OrdersAndRates: "orders_and_rates";
|
|
69
|
+
readonly RatesOnly: "rates_only";
|
|
70
|
+
};
|
|
71
|
+
export type UpdateOrderChannelRequestRoleEnum = typeof UpdateOrderChannelRequestRoleEnum[keyof typeof UpdateOrderChannelRequestRoleEnum];
|
|
58
72
|
/**
|
|
59
73
|
* Check if a given object implements the UpdateOrderChannelRequest interface.
|
|
60
74
|
*/
|
|
@@ -13,12 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateOrderChannelRequestRoleEnum = void 0;
|
|
16
17
|
exports.instanceOfUpdateOrderChannelRequest = instanceOfUpdateOrderChannelRequest;
|
|
17
18
|
exports.UpdateOrderChannelRequestFromJSON = UpdateOrderChannelRequestFromJSON;
|
|
18
19
|
exports.UpdateOrderChannelRequestFromJSONTyped = UpdateOrderChannelRequestFromJSONTyped;
|
|
19
20
|
exports.UpdateOrderChannelRequestToJSON = UpdateOrderChannelRequestToJSON;
|
|
20
21
|
exports.UpdateOrderChannelRequestToJSONTyped = UpdateOrderChannelRequestToJSONTyped;
|
|
21
22
|
const UpdateOrderChannelRequestSettings_1 = require("./UpdateOrderChannelRequestSettings");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UpdateOrderChannelRequestRoleEnum = {
|
|
27
|
+
OrdersAndRates: 'orders_and_rates',
|
|
28
|
+
RatesOnly: 'rates_only'
|
|
29
|
+
};
|
|
22
30
|
/**
|
|
23
31
|
* Check if a given object implements the UpdateOrderChannelRequest interface.
|
|
24
32
|
*/
|
|
@@ -36,6 +44,7 @@ function UpdateOrderChannelRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
44
|
'brandId': json['brandId'] === undefined ? undefined : json['brandId'] === null ? null : json['brandId'],
|
|
37
45
|
'name': json['name'] == null ? undefined : json['name'],
|
|
38
46
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
47
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
39
48
|
'credentials': json['credentials'] === undefined ? undefined : json['credentials'] === null ? null : json['credentials'],
|
|
40
49
|
'settings': json['settings'] == null ? undefined : (0, UpdateOrderChannelRequestSettings_1.UpdateOrderChannelRequestSettingsFromJSON)(json['settings']),
|
|
41
50
|
'shippingRuleIds': json['shippingRuleIds'] == null ? undefined : json['shippingRuleIds'],
|
|
@@ -52,6 +61,7 @@ function UpdateOrderChannelRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
52
61
|
'brandId': value['brandId'],
|
|
53
62
|
'name': value['name'],
|
|
54
63
|
'enabled': value['enabled'],
|
|
64
|
+
'role': value['role'],
|
|
55
65
|
'credentials': value['credentials'],
|
|
56
66
|
'settings': (0, UpdateOrderChannelRequestSettings_1.UpdateOrderChannelRequestSettingsToJSON)(value['settings']),
|
|
57
67
|
'shippingRuleIds': value['shippingRuleIds'],
|
|
@@ -25,6 +25,7 @@ Name | Type
|
|
|
25
25
|
`taxable` | boolean
|
|
26
26
|
`giftCard` | boolean
|
|
27
27
|
`vendor` | string
|
|
28
|
+
`id` | string
|
|
28
29
|
|
|
29
30
|
## Example
|
|
30
31
|
|
|
@@ -52,6 +53,7 @@ const example = {
|
|
|
52
53
|
"taxable": true,
|
|
53
54
|
"giftCard": false,
|
|
54
55
|
"vendor": Norse Knits,
|
|
56
|
+
"id": clz9k2f0a0004abcd3456qrst,
|
|
55
57
|
} satisfies CreateOrder201ResponseOrderLinesInner
|
|
56
58
|
|
|
57
59
|
console.log(example)
|
|
@@ -10,6 +10,7 @@ Name | Type
|
|
|
10
10
|
`type` | string
|
|
11
11
|
`brandId` | string
|
|
12
12
|
`enabled` | boolean
|
|
13
|
+
`role` | string
|
|
13
14
|
`settings` | [CreateOrderChannelRequestSettings](CreateOrderChannelRequestSettings.md)
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -23,6 +24,7 @@ const example = {
|
|
|
23
24
|
"type": custom,
|
|
24
25
|
"brandId": brnd_8f3kd92ld0,
|
|
25
26
|
"enabled": true,
|
|
27
|
+
"role": orders_and_rates,
|
|
26
28
|
"settings": null,
|
|
27
29
|
} satisfies CreateOrderChannelRequest
|
|
28
30
|
|
|
@@ -25,6 +25,7 @@ Name | Type
|
|
|
25
25
|
`taxable` | boolean
|
|
26
26
|
`giftCard` | boolean
|
|
27
27
|
`vendor` | string
|
|
28
|
+
`id` | string
|
|
28
29
|
|
|
29
30
|
## Example
|
|
30
31
|
|
|
@@ -52,6 +53,7 @@ const example = {
|
|
|
52
53
|
"taxable": true,
|
|
53
54
|
"giftCard": false,
|
|
54
55
|
"vendor": Norse Knits,
|
|
56
|
+
"id": clz9k2f0a0004abcd3456qrst,
|
|
55
57
|
} satisfies CreateOrderRequestOrderLinesInner
|
|
56
58
|
|
|
57
59
|
console.log(example)
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | string
|
|
10
|
+
`orderLineId` | string
|
|
10
11
|
`sku` | string
|
|
11
12
|
`quantity` | number
|
|
12
13
|
`description` | string
|
|
@@ -15,6 +16,7 @@ Name | Type
|
|
|
15
16
|
`vatPercent` | number
|
|
16
17
|
`location` | string
|
|
17
18
|
`countryOfOrigin` | string
|
|
19
|
+
`hsCode` | string
|
|
18
20
|
`tarrifNumber` | string
|
|
19
21
|
|
|
20
22
|
## Example
|
|
@@ -25,6 +27,7 @@ import type { CreateShipment201ResponseParcelsInnerOrderLinesInner } from '@zipp
|
|
|
25
27
|
// TODO: Update the object below with actual values
|
|
26
28
|
const example = {
|
|
27
29
|
"id": ol_9c1d2e3f,
|
|
30
|
+
"orderLineId": clz9k2f0a0004abcd3456qrst,
|
|
28
31
|
"sku": SKU-1024,
|
|
29
32
|
"quantity": 2,
|
|
30
33
|
"description": Wool sweater, navy,
|
|
@@ -33,6 +36,7 @@ const example = {
|
|
|
33
36
|
"vatPercent": 25,
|
|
34
37
|
"location": A-12-3,
|
|
35
38
|
"countryOfOrigin": DK,
|
|
39
|
+
"hsCode": 61101100,
|
|
36
40
|
"tarrifNumber": 61101100,
|
|
37
41
|
} satisfies CreateShipment201ResponseParcelsInnerOrderLinesInner
|
|
38
42
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | string
|
|
10
|
+
`orderLineId` | string
|
|
10
11
|
`sku` | string
|
|
11
12
|
`quantity` | number
|
|
12
13
|
`description` | string
|
|
@@ -15,6 +16,7 @@ Name | Type
|
|
|
15
16
|
`vatPercent` | number
|
|
16
17
|
`location` | string
|
|
17
18
|
`countryOfOrigin` | string
|
|
19
|
+
`hsCode` | string
|
|
18
20
|
`tarrifNumber` | string
|
|
19
21
|
|
|
20
22
|
## Example
|
|
@@ -25,6 +27,7 @@ import type { CreateShipmentRequestParcelsInnerOrderLinesInner } from '@zippendo
|
|
|
25
27
|
// TODO: Update the object below with actual values
|
|
26
28
|
const example = {
|
|
27
29
|
"id": ol_9c1d2e3f,
|
|
30
|
+
"orderLineId": clz9k2f0a0004abcd3456qrst,
|
|
28
31
|
"sku": SKU-1024,
|
|
29
32
|
"quantity": 2,
|
|
30
33
|
"description": Wool sweater, navy,
|
|
@@ -33,6 +36,7 @@ const example = {
|
|
|
33
36
|
"vatPercent": 25,
|
|
34
37
|
"location": A-12-3,
|
|
35
38
|
"countryOfOrigin": DK,
|
|
39
|
+
"hsCode": 61101100,
|
|
36
40
|
"tarrifNumber": 61101100,
|
|
37
41
|
} satisfies CreateShipmentRequestParcelsInnerOrderLinesInner
|
|
38
42
|
|
|
@@ -25,6 +25,7 @@ Name | Type
|
|
|
25
25
|
`taxable` | boolean
|
|
26
26
|
`giftCard` | boolean
|
|
27
27
|
`vendor` | string
|
|
28
|
+
`id` | string
|
|
28
29
|
`packedQuantity` | number
|
|
29
30
|
|
|
30
31
|
## Example
|
|
@@ -53,6 +54,7 @@ const example = {
|
|
|
53
54
|
"taxable": true,
|
|
54
55
|
"giftCard": false,
|
|
55
56
|
"vendor": Norse Knits,
|
|
57
|
+
"id": clz9k2f0a0004abcd3456qrst,
|
|
56
58
|
"packedQuantity": 1,
|
|
57
59
|
} satisfies GetOrder200ResponseOrderLinesInner
|
|
58
60
|
|
|
@@ -10,6 +10,7 @@ Name | Type
|
|
|
10
10
|
`name` | string
|
|
11
11
|
`type` | string
|
|
12
12
|
`enabled` | boolean
|
|
13
|
+
`role` | string
|
|
13
14
|
`brandId` | string
|
|
14
15
|
`hasCredentials` | boolean
|
|
15
16
|
`settings` | [ListOrderChannels200ResponseDataInnerSettings](ListOrderChannels200ResponseDataInnerSettings.md)
|
|
@@ -32,6 +33,7 @@ const example = {
|
|
|
32
33
|
"name": Anna's Shopify Store,
|
|
33
34
|
"type": shopify,
|
|
34
35
|
"enabled": true,
|
|
36
|
+
"role": orders_and_rates,
|
|
35
37
|
"brandId": brnd_8f3kd92ld0,
|
|
36
38
|
"hasCredentials": true,
|
|
37
39
|
"settings": null,
|