shipbob-node-sdk 0.0.16 → 0.0.18
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 +78 -175
- package/dist/WebScraper.js +7 -5
- package/dist/WebScraper.js.map +1 -1
- package/dist/client/2025-07/client/client.gen.d.ts +2 -0
- package/dist/client/2025-07/client/client.gen.js +240 -0
- package/dist/client/2025-07/client/client.gen.js.map +1 -0
- package/dist/client/2025-07/client/index.d.ts +8 -0
- package/dist/client/2025-07/client/index.js +18 -0
- package/dist/client/2025-07/client/index.js.map +1 -0
- package/dist/client/2025-07/client/types.gen.d.ts +117 -0
- package/dist/client/2025-07/client/types.gen.js +4 -0
- package/dist/client/2025-07/client/types.gen.js.map +1 -0
- package/dist/client/2025-07/client/utils.gen.d.ts +33 -0
- package/dist/client/2025-07/client/utils.gen.js +242 -0
- package/dist/client/2025-07/client/utils.gen.js.map +1 -0
- package/dist/client/2025-07/client.gen.d.ts +12 -0
- package/dist/client/2025-07/client.gen.js +7 -0
- package/dist/client/2025-07/client.gen.js.map +1 -0
- package/dist/client/2025-07/core/auth.gen.d.ts +18 -0
- package/dist/client/2025-07/core/auth.gen.js +19 -0
- package/dist/client/2025-07/core/auth.gen.js.map +1 -0
- package/dist/client/2025-07/core/bodySerializer.gen.d.ts +25 -0
- package/dist/client/2025-07/core/bodySerializer.gen.js +61 -0
- package/dist/client/2025-07/core/bodySerializer.gen.js.map +1 -0
- package/dist/client/2025-07/core/params.gen.d.ts +43 -0
- package/dist/client/2025-07/core/params.gen.js +105 -0
- package/dist/client/2025-07/core/params.gen.js.map +1 -0
- package/dist/client/2025-07/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/2025-07/core/pathSerializer.gen.js +116 -0
- package/dist/client/2025-07/core/pathSerializer.gen.js.map +1 -0
- package/dist/client/2025-07/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/2025-07/core/queryKeySerializer.gen.js +99 -0
- package/dist/client/2025-07/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/client/2025-07/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/2025-07/core/serverSentEvents.gen.js +138 -0
- package/dist/client/2025-07/core/serverSentEvents.gen.js.map +1 -0
- package/dist/client/2025-07/core/types.gen.d.ts +78 -0
- package/dist/client/2025-07/core/types.gen.js +4 -0
- package/dist/client/2025-07/core/types.gen.js.map +1 -0
- package/dist/client/2025-07/core/utils.gen.d.ts +19 -0
- package/dist/client/2025-07/core/utils.gen.js +94 -0
- package/dist/client/2025-07/core/utils.gen.js.map +1 -0
- package/dist/client/2025-07/index.d.ts +2 -0
- package/dist/client/2025-07/index.js +73 -0
- package/dist/client/2025-07/index.js.map +1 -0
- package/dist/client/2025-07/sdk.gen.d.ts +380 -0
- package/dist/client/2025-07/sdk.gen.js +778 -0
- package/dist/client/2025-07/sdk.gen.js.map +1 -0
- package/dist/client/2025-07/types.gen.d.ts +7191 -0
- package/dist/client/2025-07/types.gen.js +4 -0
- package/dist/client/2025-07/types.gen.js.map +1 -0
- package/dist/client/2026-01/client/client.gen.d.ts +2 -0
- package/dist/client/2026-01/client/client.gen.js +240 -0
- package/dist/client/2026-01/client/client.gen.js.map +1 -0
- package/dist/client/2026-01/client/index.d.ts +8 -0
- package/dist/client/2026-01/client/index.js +18 -0
- package/dist/client/2026-01/client/index.js.map +1 -0
- package/dist/client/2026-01/client/types.gen.d.ts +117 -0
- package/dist/client/2026-01/client/types.gen.js +4 -0
- package/dist/client/2026-01/client/types.gen.js.map +1 -0
- package/dist/client/2026-01/client/utils.gen.d.ts +33 -0
- package/dist/client/2026-01/client/utils.gen.js +242 -0
- package/dist/client/2026-01/client/utils.gen.js.map +1 -0
- package/dist/client/2026-01/client.gen.d.ts +12 -0
- package/dist/client/2026-01/client.gen.js +7 -0
- package/dist/client/2026-01/client.gen.js.map +1 -0
- package/dist/client/2026-01/core/auth.gen.d.ts +18 -0
- package/dist/client/2026-01/core/auth.gen.js +19 -0
- package/dist/client/2026-01/core/auth.gen.js.map +1 -0
- package/dist/client/2026-01/core/bodySerializer.gen.d.ts +25 -0
- package/dist/client/2026-01/core/bodySerializer.gen.js +61 -0
- package/dist/client/2026-01/core/bodySerializer.gen.js.map +1 -0
- package/dist/client/2026-01/core/params.gen.d.ts +43 -0
- package/dist/client/2026-01/core/params.gen.js +105 -0
- package/dist/client/2026-01/core/params.gen.js.map +1 -0
- package/dist/client/2026-01/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/2026-01/core/pathSerializer.gen.js +116 -0
- package/dist/client/2026-01/core/pathSerializer.gen.js.map +1 -0
- package/dist/client/2026-01/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/2026-01/core/queryKeySerializer.gen.js +99 -0
- package/dist/client/2026-01/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/client/2026-01/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/2026-01/core/serverSentEvents.gen.js +138 -0
- package/dist/client/2026-01/core/serverSentEvents.gen.js.map +1 -0
- package/dist/client/2026-01/core/types.gen.d.ts +78 -0
- package/dist/client/2026-01/core/types.gen.js +4 -0
- package/dist/client/2026-01/core/types.gen.js.map +1 -0
- package/dist/client/2026-01/core/utils.gen.d.ts +19 -0
- package/dist/client/2026-01/core/utils.gen.js +94 -0
- package/dist/client/2026-01/core/utils.gen.js.map +1 -0
- package/dist/client/2026-01/index.d.ts +2 -0
- package/dist/client/2026-01/index.js +73 -0
- package/dist/client/2026-01/index.js.map +1 -0
- package/dist/client/2026-01/sdk.gen.d.ts +450 -0
- package/dist/client/2026-01/sdk.gen.js +848 -0
- package/dist/client/2026-01/sdk.gen.js.map +1 -0
- package/dist/client/2026-01/types.gen.d.ts +7282 -0
- package/dist/client/2026-01/types.gen.js +4 -0
- package/dist/client/2026-01/types.gen.js.map +1 -0
- package/dist/index.d.ts +20 -178
- package/dist/index.js +116 -386
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +61 -1435
- package/dist/types.js +1 -38
- package/dist/types.js.map +1 -1
- package/openapi-1.0.json +8422 -0
- package/openapi-2025-07.json +1 -0
- package/openapi-2026-01.json +1 -0
- package/package.json +6 -9
|
@@ -0,0 +1,778 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.get202507Invoices = exports.get202507InventoryLevelByInventoryIdLocations = exports.get202507InventoryLevelByInventoryIdLots = exports.get202507InventoryLevelLots = exports.get202507InventoryLevelLocations = exports.get202507InventoryLevel = exports.get202507InventoryLevelByInventoryId = exports.get202507InventoryByInventoryId = exports.get202507Inventory = exports.get202507Taxonomy = exports.post202507Product = exports.get202507Product = exports.post202507ProductByProductIdVariants = exports.patch202507ProductByProductIdVariants = exports.get202507ProductByProductIdVariants = exports.post202507ProductMoveVariants = exports.get202507TaxonomyById = exports.post202507VariantByVariantIdConvertToBundle = exports.post202507ProductByProductIdMoveVariants = exports.patch202507ProductByProductId = exports.get202507ProductByProductId = exports.delete202507ProductByProductId = exports.get202507TaxonomyByIdParent = exports.post202507VariantByVariantIdMerge = exports.get202507PackagingRequirement = exports.get202507Location = exports.put202507ReturnById = exports.get202507ReturnById = exports.get202507OrderByOrderId = exports.get202507OrderByOrderIdShipment = exports.get202507ShipmentByShipmentIdTimeline = exports.get202507ShipmentByShipmentId = exports.get202507OrderByOrderIdShipmentByShipmentIdTimeline = exports.get202507OrderByOrderIdShipmentByShipmentId = exports.post202507Order = exports.get202507Order = exports.get202507OrderByOrderIdShipmentByShipmentIdLogs = exports.get202507ShipmentByShipmentIdLogs = exports.get202507ReceivingByIdBoxes = exports.post202507ReceivingSetExternalSync = exports.post202507ReceivingByIdCancel = exports.get202507ReceivingByIdLabels = exports.post202507Receiving = exports.get202507Receiving = exports.get202507ReceivingById = exports.get202507FulfillmentCenter = exports.delete202507WebhookById = exports.post202507Webhook = exports.get202507Webhook = exports.get202507Channel = void 0;
|
|
5
|
+
exports.post202507ReturnByIdCancel = exports.get202507ReceivingByIdDistributions = exports.post202507Return = exports.get202507Return = exports.post202507ShipmentByShipmentIdCancel = exports.get202507ShippingMethod = exports.post202507OrderByOrderIdShipmentByShipmentIdCancel = exports.post202507OrderEstimate = exports.post202507OrderByOrderIdCancel = exports.post202507OrderByOrderIdStoreOrderJson = exports.get202507OrderByOrderIdStoreOrderJson = exports.post202507ShipmentBatchUpdateTrackingUpload = exports.post202507ShipmentBatchCancel = exports.get202507InvoicesByInvoiceIdTransactions = exports.post202507TransactionsQuery = exports.get202507TransactionFees = void 0;
|
|
6
|
+
const client_gen_1 = require("./client.gen");
|
|
7
|
+
/**
|
|
8
|
+
* Get channels
|
|
9
|
+
*
|
|
10
|
+
* Retrieves a paginated list of channels that the authenticated user has access to based on the provided access token.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
const get202507Channel = (options) => (options?.client ?? client_gen_1.client).get({
|
|
14
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
15
|
+
url: '/2025-07/channel',
|
|
16
|
+
...options
|
|
17
|
+
});
|
|
18
|
+
exports.get202507Channel = get202507Channel;
|
|
19
|
+
/**
|
|
20
|
+
* Get Subscriptions
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* This endpoint returns a list of webhook subscriptions.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
const get202507Webhook = (options) => (options?.client ?? client_gen_1.client).get({
|
|
27
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
28
|
+
url: '/2025-07/webhook',
|
|
29
|
+
...options
|
|
30
|
+
});
|
|
31
|
+
exports.get202507Webhook = get202507Webhook;
|
|
32
|
+
/**
|
|
33
|
+
* Create Subscription
|
|
34
|
+
*
|
|
35
|
+
*
|
|
36
|
+
* This endpoint creates a new webhook subscription.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
const post202507Webhook = (options) => (options?.client ?? client_gen_1.client).post({
|
|
40
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
41
|
+
url: '/2025-07/webhook',
|
|
42
|
+
...options,
|
|
43
|
+
headers: {
|
|
44
|
+
'Content-Type': 'application/json',
|
|
45
|
+
...options?.headers
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
exports.post202507Webhook = post202507Webhook;
|
|
49
|
+
/**
|
|
50
|
+
* Delete Subscription
|
|
51
|
+
*
|
|
52
|
+
*
|
|
53
|
+
* This endpoint deletes a webhook subscription.
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
const delete202507WebhookById = (options) => (options.client ?? client_gen_1.client).delete({
|
|
57
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
58
|
+
url: '/2025-07/webhook/{id}',
|
|
59
|
+
...options
|
|
60
|
+
});
|
|
61
|
+
exports.delete202507WebhookById = delete202507WebhookById;
|
|
62
|
+
/**
|
|
63
|
+
* Get Fulfillment Centers
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
const get202507FulfillmentCenter = (options) => (options?.client ?? client_gen_1.client).get({
|
|
67
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
68
|
+
url: '/2025-07/fulfillment-center',
|
|
69
|
+
...options
|
|
70
|
+
});
|
|
71
|
+
exports.get202507FulfillmentCenter = get202507FulfillmentCenter;
|
|
72
|
+
/**
|
|
73
|
+
* Get Warehouse Receiving Order
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
const get202507ReceivingById = (options) => (options.client ?? client_gen_1.client).get({
|
|
77
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
78
|
+
url: '/2025-07/receiving/{id}',
|
|
79
|
+
...options
|
|
80
|
+
});
|
|
81
|
+
exports.get202507ReceivingById = get202507ReceivingById;
|
|
82
|
+
/**
|
|
83
|
+
* Get Multiple Warehouse Receiving Orders
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
const get202507Receiving = (options) => (options?.client ?? client_gen_1.client).get({
|
|
87
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
88
|
+
url: '/2025-07/receiving',
|
|
89
|
+
...options
|
|
90
|
+
});
|
|
91
|
+
exports.get202507Receiving = get202507Receiving;
|
|
92
|
+
/**
|
|
93
|
+
* Create Warehouse Receiving Order
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
const post202507Receiving = (options) => (options?.client ?? client_gen_1.client).post({
|
|
97
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
98
|
+
url: '/2025-07/receiving',
|
|
99
|
+
...options,
|
|
100
|
+
headers: {
|
|
101
|
+
'Content-Type': 'application/json',
|
|
102
|
+
...options?.headers
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
exports.post202507Receiving = post202507Receiving;
|
|
106
|
+
/**
|
|
107
|
+
* Get Warehouse Receiving Order Box Labels
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
const get202507ReceivingByIdLabels = (options) => (options.client ?? client_gen_1.client).get({
|
|
111
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
112
|
+
url: '/2025-07/receiving/{id}/labels',
|
|
113
|
+
...options
|
|
114
|
+
});
|
|
115
|
+
exports.get202507ReceivingByIdLabels = get202507ReceivingByIdLabels;
|
|
116
|
+
/**
|
|
117
|
+
* Cancel Warehouse Receiving Order
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
const post202507ReceivingByIdCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
121
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
122
|
+
url: '/2025-07/receiving/{id}:cancel',
|
|
123
|
+
...options
|
|
124
|
+
});
|
|
125
|
+
exports.post202507ReceivingByIdCancel = post202507ReceivingByIdCancel;
|
|
126
|
+
/**
|
|
127
|
+
* Set ExternalSync flag for Wros
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
const post202507ReceivingSetExternalSync = (options) => (options?.client ?? client_gen_1.client).post({
|
|
131
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
132
|
+
url: '/2025-07/receiving:setExternalSync',
|
|
133
|
+
...options,
|
|
134
|
+
headers: {
|
|
135
|
+
'Content-Type': 'application/json',
|
|
136
|
+
...options?.headers
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
exports.post202507ReceivingSetExternalSync = post202507ReceivingSetExternalSync;
|
|
140
|
+
/**
|
|
141
|
+
* Get Warehouse Receiving Order Boxes
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
const get202507ReceivingByIdBoxes = (options) => (options.client ?? client_gen_1.client).get({
|
|
145
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
146
|
+
url: '/2025-07/receiving/{id}/boxes',
|
|
147
|
+
...options
|
|
148
|
+
});
|
|
149
|
+
exports.get202507ReceivingByIdBoxes = get202507ReceivingByIdBoxes;
|
|
150
|
+
/**
|
|
151
|
+
* Get logs for one Shipment by Shipment Id
|
|
152
|
+
*/
|
|
153
|
+
const get202507ShipmentByShipmentIdLogs = (options) => (options.client ?? client_gen_1.client).get({
|
|
154
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
155
|
+
url: '/2025-07/shipment/{shipmentId}/logs',
|
|
156
|
+
...options
|
|
157
|
+
});
|
|
158
|
+
exports.get202507ShipmentByShipmentIdLogs = get202507ShipmentByShipmentIdLogs;
|
|
159
|
+
/**
|
|
160
|
+
* Get logs for one Shipment by Order Id and Shipment Id
|
|
161
|
+
*/
|
|
162
|
+
const get202507OrderByOrderIdShipmentByShipmentIdLogs = (options) => (options.client ?? client_gen_1.client).get({
|
|
163
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
164
|
+
url: '/2025-07/order/{orderId}/shipment/{shipmentId}/logs',
|
|
165
|
+
...options
|
|
166
|
+
});
|
|
167
|
+
exports.get202507OrderByOrderIdShipmentByShipmentIdLogs = get202507OrderByOrderIdShipmentByShipmentIdLogs;
|
|
168
|
+
/**
|
|
169
|
+
* Get Orders
|
|
170
|
+
*
|
|
171
|
+
* All parameters are AND filters
|
|
172
|
+
*/
|
|
173
|
+
const get202507Order = (options) => (options?.client ?? client_gen_1.client).get({
|
|
174
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
175
|
+
url: '/2025-07/order',
|
|
176
|
+
...options
|
|
177
|
+
});
|
|
178
|
+
exports.get202507Order = get202507Order;
|
|
179
|
+
/**
|
|
180
|
+
* Create Order
|
|
181
|
+
*/
|
|
182
|
+
const post202507Order = (options) => (options.client ?? client_gen_1.client).post({
|
|
183
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
184
|
+
url: '/2025-07/order',
|
|
185
|
+
...options,
|
|
186
|
+
headers: {
|
|
187
|
+
'Content-Type': 'application/json',
|
|
188
|
+
...options.headers
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
exports.post202507Order = post202507Order;
|
|
192
|
+
/**
|
|
193
|
+
* Get one Shipment by Order Id and Shipment Id
|
|
194
|
+
*/
|
|
195
|
+
const get202507OrderByOrderIdShipmentByShipmentId = (options) => (options.client ?? client_gen_1.client).get({
|
|
196
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
197
|
+
url: '/2025-07/order/{orderId}/shipment/{shipmentId}',
|
|
198
|
+
...options
|
|
199
|
+
});
|
|
200
|
+
exports.get202507OrderByOrderIdShipmentByShipmentId = get202507OrderByOrderIdShipmentByShipmentId;
|
|
201
|
+
/**
|
|
202
|
+
* Get one Shipment's status timeline by Order Id and Shipment Id
|
|
203
|
+
*/
|
|
204
|
+
const get202507OrderByOrderIdShipmentByShipmentIdTimeline = (options) => (options.client ?? client_gen_1.client).get({
|
|
205
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
206
|
+
url: '/2025-07/order/{orderId}/shipment/{shipmentId}/timeline',
|
|
207
|
+
...options
|
|
208
|
+
});
|
|
209
|
+
exports.get202507OrderByOrderIdShipmentByShipmentIdTimeline = get202507OrderByOrderIdShipmentByShipmentIdTimeline;
|
|
210
|
+
/**
|
|
211
|
+
* Get one Shipment by Shipment Id
|
|
212
|
+
*/
|
|
213
|
+
const get202507ShipmentByShipmentId = (options) => (options.client ?? client_gen_1.client).get({
|
|
214
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
215
|
+
url: '/2025-07/shipment/{shipmentId}',
|
|
216
|
+
...options
|
|
217
|
+
});
|
|
218
|
+
exports.get202507ShipmentByShipmentId = get202507ShipmentByShipmentId;
|
|
219
|
+
/**
|
|
220
|
+
* Get one Shipment's status timeline by Shipment Id
|
|
221
|
+
*/
|
|
222
|
+
const get202507ShipmentByShipmentIdTimeline = (options) => (options.client ?? client_gen_1.client).get({
|
|
223
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
224
|
+
url: '/2025-07/shipment/{shipmentId}/timeline',
|
|
225
|
+
...options
|
|
226
|
+
});
|
|
227
|
+
exports.get202507ShipmentByShipmentIdTimeline = get202507ShipmentByShipmentIdTimeline;
|
|
228
|
+
/**
|
|
229
|
+
* Get all Shipments for Order
|
|
230
|
+
*/
|
|
231
|
+
const get202507OrderByOrderIdShipment = (options) => (options.client ?? client_gen_1.client).get({
|
|
232
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
233
|
+
url: '/2025-07/order/{orderId}/shipment',
|
|
234
|
+
...options
|
|
235
|
+
});
|
|
236
|
+
exports.get202507OrderByOrderIdShipment = get202507OrderByOrderIdShipment;
|
|
237
|
+
/**
|
|
238
|
+
* Get Order
|
|
239
|
+
*/
|
|
240
|
+
const get202507OrderByOrderId = (options) => (options.client ?? client_gen_1.client).get({
|
|
241
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
242
|
+
url: '/2025-07/order/{orderId}',
|
|
243
|
+
...options
|
|
244
|
+
});
|
|
245
|
+
exports.get202507OrderByOrderId = get202507OrderByOrderId;
|
|
246
|
+
/**
|
|
247
|
+
* Get Return Order
|
|
248
|
+
*
|
|
249
|
+
*
|
|
250
|
+
* Retrieves the complete details of a specific return order by its unique ID. Use this to view return status, inventory items, transactions, and processing history.
|
|
251
|
+
*
|
|
252
|
+
*/
|
|
253
|
+
const get202507ReturnById = (options) => (options.client ?? client_gen_1.client).get({
|
|
254
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
255
|
+
url: '/2025-07/return/{id}',
|
|
256
|
+
...options
|
|
257
|
+
});
|
|
258
|
+
exports.get202507ReturnById = get202507ReturnById;
|
|
259
|
+
/**
|
|
260
|
+
* Modify Return Order
|
|
261
|
+
*
|
|
262
|
+
*/
|
|
263
|
+
const put202507ReturnById = (options) => (options.client ?? client_gen_1.client).put({
|
|
264
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
265
|
+
url: '/2025-07/return/{id}',
|
|
266
|
+
...options,
|
|
267
|
+
headers: {
|
|
268
|
+
'Content-Type': 'application/json',
|
|
269
|
+
...options.headers
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
exports.put202507ReturnById = put202507ReturnById;
|
|
273
|
+
/**
|
|
274
|
+
* Get locations
|
|
275
|
+
*
|
|
276
|
+
*/
|
|
277
|
+
const get202507Location = (options) => (options?.client ?? client_gen_1.client).get({
|
|
278
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
279
|
+
url: '/2025-07/location',
|
|
280
|
+
...options
|
|
281
|
+
});
|
|
282
|
+
exports.get202507Location = get202507Location;
|
|
283
|
+
/**
|
|
284
|
+
* Get Packaging Requirement
|
|
285
|
+
*
|
|
286
|
+
* Retrieves all available packaging requirements that can be assigned to a product.
|
|
287
|
+
*/
|
|
288
|
+
const get202507PackagingRequirement = (options) => (options?.client ?? client_gen_1.client).get({
|
|
289
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
290
|
+
url: '/2025-07/packaging-requirement',
|
|
291
|
+
...options
|
|
292
|
+
});
|
|
293
|
+
exports.get202507PackagingRequirement = get202507PackagingRequirement;
|
|
294
|
+
/**
|
|
295
|
+
* Merge Variants
|
|
296
|
+
*
|
|
297
|
+
* Merges multiple product variants into a target variant. Provide an array of variant IDs to merge into the target variant specified in the path. Inventory from the merged variants will be consolidated into the target variant.
|
|
298
|
+
*/
|
|
299
|
+
const post202507VariantByVariantIdMerge = (options) => (options.client ?? client_gen_1.client).post({
|
|
300
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
301
|
+
url: '/2025-07/variant/{variantId}:merge',
|
|
302
|
+
...options,
|
|
303
|
+
headers: {
|
|
304
|
+
'Content-Type': 'application/json',
|
|
305
|
+
...options.headers
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
exports.post202507VariantByVariantIdMerge = post202507VariantByVariantIdMerge;
|
|
309
|
+
/**
|
|
310
|
+
* Get Taxonomy Parent
|
|
311
|
+
*
|
|
312
|
+
* Retrieves the parent taxonomy node for a given taxonomy ID.
|
|
313
|
+
*/
|
|
314
|
+
const get202507TaxonomyByIdParent = (options) => (options.client ?? client_gen_1.client).get({
|
|
315
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
316
|
+
url: '/2025-07/taxonomy/{id}/parent',
|
|
317
|
+
...options
|
|
318
|
+
});
|
|
319
|
+
exports.get202507TaxonomyByIdParent = get202507TaxonomyByIdParent;
|
|
320
|
+
/**
|
|
321
|
+
* Delete Product Bundle
|
|
322
|
+
*
|
|
323
|
+
* Deletes a bundle product by ID. Delete operation not allowed for non-bundles.
|
|
324
|
+
*/
|
|
325
|
+
const delete202507ProductByProductId = (options) => (options.client ?? client_gen_1.client).delete({
|
|
326
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
327
|
+
url: '/2025-07/product/{productId}',
|
|
328
|
+
...options
|
|
329
|
+
});
|
|
330
|
+
exports.delete202507ProductByProductId = delete202507ProductByProductId;
|
|
331
|
+
/**
|
|
332
|
+
* Get Product
|
|
333
|
+
*
|
|
334
|
+
* Retrieves a product with all its variants and details.
|
|
335
|
+
*/
|
|
336
|
+
const get202507ProductByProductId = (options) => (options.client ?? client_gen_1.client).get({
|
|
337
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
338
|
+
url: '/2025-07/product/{productId}',
|
|
339
|
+
...options
|
|
340
|
+
});
|
|
341
|
+
exports.get202507ProductByProductId = get202507ProductByProductId;
|
|
342
|
+
/**
|
|
343
|
+
* Update Product
|
|
344
|
+
*
|
|
345
|
+
* Updates a product. Supports partial updates - only the fields provided will be updated. When updating variants through this endpoint, you must include the variant ID.
|
|
346
|
+
*/
|
|
347
|
+
const patch202507ProductByProductId = (options) => (options.client ?? client_gen_1.client).patch({
|
|
348
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
349
|
+
url: '/2025-07/product/{productId}',
|
|
350
|
+
...options,
|
|
351
|
+
headers: {
|
|
352
|
+
'Content-Type': 'application/json',
|
|
353
|
+
...options.headers
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
exports.patch202507ProductByProductId = patch202507ProductByProductId;
|
|
357
|
+
/**
|
|
358
|
+
* Move Variants Between Products
|
|
359
|
+
*
|
|
360
|
+
* Moves variants from their current product to the target product specified in the path. Provide an array of variant IDs to move.
|
|
361
|
+
*/
|
|
362
|
+
const post202507ProductByProductIdMoveVariants = (options) => (options.client ?? client_gen_1.client).post({
|
|
363
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
364
|
+
url: '/2025-07/product/{productId}:moveVariants',
|
|
365
|
+
...options,
|
|
366
|
+
headers: {
|
|
367
|
+
'Content-Type': 'application/json',
|
|
368
|
+
...options.headers
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
exports.post202507ProductByProductIdMoveVariants = post202507ProductByProductIdMoveVariants;
|
|
372
|
+
/**
|
|
373
|
+
* Convert Variant to Bundle
|
|
374
|
+
*
|
|
375
|
+
* Converts an existing product variant into a bundle product. Provide the bundle definition specifying which variants and quantities make up the bundle.
|
|
376
|
+
*/
|
|
377
|
+
const post202507VariantByVariantIdConvertToBundle = (options) => (options.client ?? client_gen_1.client).post({
|
|
378
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
379
|
+
url: '/2025-07/variant/{variantId}:convertToBundle',
|
|
380
|
+
...options,
|
|
381
|
+
headers: {
|
|
382
|
+
'Content-Type': 'application/json',
|
|
383
|
+
...options.headers
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
exports.post202507VariantByVariantIdConvertToBundle = post202507VariantByVariantIdConvertToBundle;
|
|
387
|
+
/**
|
|
388
|
+
* Get Taxonomy by ID
|
|
389
|
+
*
|
|
390
|
+
* Retrieves a specific taxonomy node and its details by taxonomy ID.
|
|
391
|
+
*/
|
|
392
|
+
const get202507TaxonomyById = (options) => (options.client ?? client_gen_1.client).get({
|
|
393
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
394
|
+
url: '/2025-07/taxonomy/{id}',
|
|
395
|
+
...options
|
|
396
|
+
});
|
|
397
|
+
exports.get202507TaxonomyById = get202507TaxonomyById;
|
|
398
|
+
/**
|
|
399
|
+
* Move Variants to New Product
|
|
400
|
+
*
|
|
401
|
+
* Creates a new product and moves existing variants from their current products into it. Provide the new product details and variant IDs.
|
|
402
|
+
*/
|
|
403
|
+
const post202507ProductMoveVariants = (options) => (options?.client ?? client_gen_1.client).post({
|
|
404
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
405
|
+
url: '/2025-07/product:moveVariants',
|
|
406
|
+
...options,
|
|
407
|
+
headers: {
|
|
408
|
+
'Content-Type': 'application/json',
|
|
409
|
+
...options?.headers
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
exports.post202507ProductMoveVariants = post202507ProductMoveVariants;
|
|
413
|
+
/**
|
|
414
|
+
* Get Product Variants
|
|
415
|
+
*
|
|
416
|
+
* Retrieves all variants for a specific product.
|
|
417
|
+
*/
|
|
418
|
+
const get202507ProductByProductIdVariants = (options) => (options.client ?? client_gen_1.client).get({
|
|
419
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
420
|
+
url: '/2025-07/product/{productId}/variants',
|
|
421
|
+
...options
|
|
422
|
+
});
|
|
423
|
+
exports.get202507ProductByProductIdVariants = get202507ProductByProductIdVariants;
|
|
424
|
+
/**
|
|
425
|
+
* Update Product Variants
|
|
426
|
+
*
|
|
427
|
+
* Updates one or more product variants. The request body must be an array of variant objects. Each variant must include the variant ID, and only the fields provided will be updated.
|
|
428
|
+
*/
|
|
429
|
+
const patch202507ProductByProductIdVariants = (options) => (options.client ?? client_gen_1.client).patch({
|
|
430
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
431
|
+
url: '/2025-07/product/{productId}/variants',
|
|
432
|
+
...options,
|
|
433
|
+
headers: {
|
|
434
|
+
'Content-Type': 'application/json',
|
|
435
|
+
...options.headers
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
exports.patch202507ProductByProductIdVariants = patch202507ProductByProductIdVariants;
|
|
439
|
+
/**
|
|
440
|
+
* Add Product Variants
|
|
441
|
+
*
|
|
442
|
+
* Adds new variants to an existing product. The request body must be an array of variant objects, each requiring a unique SKU.
|
|
443
|
+
*/
|
|
444
|
+
const post202507ProductByProductIdVariants = (options) => (options.client ?? client_gen_1.client).post({
|
|
445
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
446
|
+
url: '/2025-07/product/{productId}/variants',
|
|
447
|
+
...options,
|
|
448
|
+
headers: {
|
|
449
|
+
'Content-Type': 'application/json',
|
|
450
|
+
...options.headers
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
exports.post202507ProductByProductIdVariants = post202507ProductByProductIdVariants;
|
|
454
|
+
/**
|
|
455
|
+
* Get Products
|
|
456
|
+
*
|
|
457
|
+
* Retrieves a paginated list of products. Supports filtering by search term, barcode, SKU, status, and other criteria.
|
|
458
|
+
*/
|
|
459
|
+
const get202507Product = (options) => (options?.client ?? client_gen_1.client).get({
|
|
460
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
461
|
+
url: '/2025-07/product',
|
|
462
|
+
...options
|
|
463
|
+
});
|
|
464
|
+
exports.get202507Product = get202507Product;
|
|
465
|
+
/**
|
|
466
|
+
* Create Product
|
|
467
|
+
*
|
|
468
|
+
* Creates a new product with one or more variants. Requires a product name and at least one variant with a unique SKU.
|
|
469
|
+
*/
|
|
470
|
+
const post202507Product = (options) => (options?.client ?? client_gen_1.client).post({
|
|
471
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
472
|
+
url: '/2025-07/product',
|
|
473
|
+
...options,
|
|
474
|
+
headers: {
|
|
475
|
+
'Content-Type': 'application/json',
|
|
476
|
+
...options?.headers
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
exports.post202507Product = post202507Product;
|
|
480
|
+
/**
|
|
481
|
+
* Get Taxonomies
|
|
482
|
+
*
|
|
483
|
+
* Retrieves all available product taxonomies for categorizing products.
|
|
484
|
+
*/
|
|
485
|
+
const get202507Taxonomy = (options) => (options?.client ?? client_gen_1.client).get({
|
|
486
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
487
|
+
url: '/2025-07/taxonomy',
|
|
488
|
+
...options
|
|
489
|
+
});
|
|
490
|
+
exports.get202507Taxonomy = get202507Taxonomy;
|
|
491
|
+
/**
|
|
492
|
+
* Get All Inventories
|
|
493
|
+
*
|
|
494
|
+
*/
|
|
495
|
+
const get202507Inventory = (options) => (options?.client ?? client_gen_1.client).get({
|
|
496
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
497
|
+
url: '/2025-07/inventory',
|
|
498
|
+
...options
|
|
499
|
+
});
|
|
500
|
+
exports.get202507Inventory = get202507Inventory;
|
|
501
|
+
/**
|
|
502
|
+
* Get Inventory
|
|
503
|
+
*
|
|
504
|
+
*/
|
|
505
|
+
const get202507InventoryByInventoryId = (options) => (options.client ?? client_gen_1.client).get({
|
|
506
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
507
|
+
url: '/2025-07/inventory/{inventoryId}',
|
|
508
|
+
...options
|
|
509
|
+
});
|
|
510
|
+
exports.get202507InventoryByInventoryId = get202507InventoryByInventoryId;
|
|
511
|
+
/**
|
|
512
|
+
* Get Inventory Levels
|
|
513
|
+
*
|
|
514
|
+
*/
|
|
515
|
+
const get202507InventoryLevelByInventoryId = (options) => (options.client ?? client_gen_1.client).get({
|
|
516
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
517
|
+
url: '/2025-07/inventory-level/{inventoryId}',
|
|
518
|
+
...options
|
|
519
|
+
});
|
|
520
|
+
exports.get202507InventoryLevelByInventoryId = get202507InventoryLevelByInventoryId;
|
|
521
|
+
/**
|
|
522
|
+
* Get All Inventory Levels
|
|
523
|
+
*
|
|
524
|
+
*/
|
|
525
|
+
const get202507InventoryLevel = (options) => (options?.client ?? client_gen_1.client).get({
|
|
526
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
527
|
+
url: '/2025-07/inventory-level',
|
|
528
|
+
...options
|
|
529
|
+
});
|
|
530
|
+
exports.get202507InventoryLevel = get202507InventoryLevel;
|
|
531
|
+
/**
|
|
532
|
+
* Get All Inventory Levels Grouped By Fulfillment Center
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
const get202507InventoryLevelLocations = (options) => (options?.client ?? client_gen_1.client).get({
|
|
536
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
537
|
+
url: '/2025-07/inventory-level/locations',
|
|
538
|
+
...options
|
|
539
|
+
});
|
|
540
|
+
exports.get202507InventoryLevelLocations = get202507InventoryLevelLocations;
|
|
541
|
+
/**
|
|
542
|
+
* Get All Inventory Levels Grouped By Lot
|
|
543
|
+
*
|
|
544
|
+
*/
|
|
545
|
+
const get202507InventoryLevelLots = (options) => (options?.client ?? client_gen_1.client).get({
|
|
546
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
547
|
+
url: '/2025-07/inventory-level/lots',
|
|
548
|
+
...options
|
|
549
|
+
});
|
|
550
|
+
exports.get202507InventoryLevelLots = get202507InventoryLevelLots;
|
|
551
|
+
/**
|
|
552
|
+
* Get Inventory Levels Grouped By Lot
|
|
553
|
+
*
|
|
554
|
+
*/
|
|
555
|
+
const get202507InventoryLevelByInventoryIdLots = (options) => (options.client ?? client_gen_1.client).get({
|
|
556
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
557
|
+
url: '/2025-07/inventory-level/{inventoryId}/lots',
|
|
558
|
+
...options
|
|
559
|
+
});
|
|
560
|
+
exports.get202507InventoryLevelByInventoryIdLots = get202507InventoryLevelByInventoryIdLots;
|
|
561
|
+
/**
|
|
562
|
+
* Get Inventory Levels Grouped By Fulfillment Center
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
const get202507InventoryLevelByInventoryIdLocations = (options) => (options.client ?? client_gen_1.client).get({
|
|
566
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
567
|
+
url: '/2025-07/inventory-level/{inventoryId}/locations',
|
|
568
|
+
...options
|
|
569
|
+
});
|
|
570
|
+
exports.get202507InventoryLevelByInventoryIdLocations = get202507InventoryLevelByInventoryIdLocations;
|
|
571
|
+
/**
|
|
572
|
+
* Get Invoices
|
|
573
|
+
*
|
|
574
|
+
* Gets a paginated list of invoices, optionally filtered by invoice types and date range
|
|
575
|
+
*/
|
|
576
|
+
const get202507Invoices = (options) => (options?.client ?? client_gen_1.client).get({
|
|
577
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
578
|
+
url: '/2025-07/invoices',
|
|
579
|
+
...options
|
|
580
|
+
});
|
|
581
|
+
exports.get202507Invoices = get202507Invoices;
|
|
582
|
+
/**
|
|
583
|
+
* Get transaction fees
|
|
584
|
+
*
|
|
585
|
+
*
|
|
586
|
+
* This endpoint returns a list of transaction fees
|
|
587
|
+
*
|
|
588
|
+
*/
|
|
589
|
+
const get202507TransactionFees = (options) => (options?.client ?? client_gen_1.client).get({
|
|
590
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
591
|
+
url: '/2025-07/transaction-fees',
|
|
592
|
+
...options
|
|
593
|
+
});
|
|
594
|
+
exports.get202507TransactionFees = get202507TransactionFees;
|
|
595
|
+
/**
|
|
596
|
+
* Search transactions
|
|
597
|
+
*
|
|
598
|
+
* Search transactions with filters (date, invoice, fee type, etc.)
|
|
599
|
+
*/
|
|
600
|
+
const post202507TransactionsQuery = (options) => (options?.client ?? client_gen_1.client).post({
|
|
601
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
602
|
+
url: '/2025-07/transactions:query',
|
|
603
|
+
...options,
|
|
604
|
+
headers: {
|
|
605
|
+
'Content-Type': 'application/json',
|
|
606
|
+
...options?.headers
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
exports.post202507TransactionsQuery = post202507TransactionsQuery;
|
|
610
|
+
/**
|
|
611
|
+
* Get transactions by invoiceid
|
|
612
|
+
*
|
|
613
|
+
*
|
|
614
|
+
* The unique identifier of the invoice whose transactions are to be retrieved
|
|
615
|
+
*/
|
|
616
|
+
const get202507InvoicesByInvoiceIdTransactions = (options) => (options.client ?? client_gen_1.client).get({
|
|
617
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
618
|
+
url: '/2025-07/invoices/{invoiceId}/transactions',
|
|
619
|
+
...options
|
|
620
|
+
});
|
|
621
|
+
exports.get202507InvoicesByInvoiceIdTransactions = get202507InvoicesByInvoiceIdTransactions;
|
|
622
|
+
/**
|
|
623
|
+
* Cancel multiple Shipments by Shipment Id
|
|
624
|
+
*/
|
|
625
|
+
const post202507ShipmentBatchCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
626
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
627
|
+
url: '/2025-07/shipment:batchCancel',
|
|
628
|
+
...options,
|
|
629
|
+
headers: {
|
|
630
|
+
'Content-Type': 'application/json',
|
|
631
|
+
...options.headers
|
|
632
|
+
}
|
|
633
|
+
});
|
|
634
|
+
exports.post202507ShipmentBatchCancel = post202507ShipmentBatchCancel;
|
|
635
|
+
/**
|
|
636
|
+
* Update Tracking Uploaded Status for Multiple Shipments by Shipment Id
|
|
637
|
+
*/
|
|
638
|
+
const post202507ShipmentBatchUpdateTrackingUpload = (options) => (options?.client ?? client_gen_1.client).post({
|
|
639
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
640
|
+
url: '/2025-07/shipment:batchUpdateTrackingUpload',
|
|
641
|
+
...options,
|
|
642
|
+
headers: {
|
|
643
|
+
'Content-Type': 'application/json',
|
|
644
|
+
...options?.headers
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
exports.post202507ShipmentBatchUpdateTrackingUpload = post202507ShipmentBatchUpdateTrackingUpload;
|
|
648
|
+
/**
|
|
649
|
+
* Get Order Store Json
|
|
650
|
+
*/
|
|
651
|
+
const get202507OrderByOrderIdStoreOrderJson = (options) => (options.client ?? client_gen_1.client).get({
|
|
652
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
653
|
+
url: '/2025-07/order/{orderId}/store-order-json',
|
|
654
|
+
...options
|
|
655
|
+
});
|
|
656
|
+
exports.get202507OrderByOrderIdStoreOrderJson = get202507OrderByOrderIdStoreOrderJson;
|
|
657
|
+
/**
|
|
658
|
+
* Save the Store Order Json
|
|
659
|
+
*/
|
|
660
|
+
const post202507OrderByOrderIdStoreOrderJson = (options) => (options.client ?? client_gen_1.client).post({
|
|
661
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
662
|
+
url: '/2025-07/order/{orderId}/store-order-json',
|
|
663
|
+
...options,
|
|
664
|
+
headers: {
|
|
665
|
+
'Content-Type': 'application/json',
|
|
666
|
+
...options.headers
|
|
667
|
+
}
|
|
668
|
+
});
|
|
669
|
+
exports.post202507OrderByOrderIdStoreOrderJson = post202507OrderByOrderIdStoreOrderJson;
|
|
670
|
+
/**
|
|
671
|
+
* Cancel single Order by Order ID
|
|
672
|
+
*/
|
|
673
|
+
const post202507OrderByOrderIdCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
674
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
675
|
+
url: '/2025-07/order/{orderId}:cancel',
|
|
676
|
+
...options
|
|
677
|
+
});
|
|
678
|
+
exports.post202507OrderByOrderIdCancel = post202507OrderByOrderIdCancel;
|
|
679
|
+
/**
|
|
680
|
+
* Estimate Fulfillment Cost For Order
|
|
681
|
+
*
|
|
682
|
+
* This endpoint will provide, where possible, an estimate of pricing and fulfillment center assignment of a potential standard (direct to consumer) order. Keep in mind that there are ways for the merchant to change FC assignment or product configuration after order creation that could invalidate this estimate. Estimates cannot be returned for items that are unknown, out of stock, or too large for fulfillment using standard box sizes. Additional services such as high-pick fees, shipping insurance, auto-splitting or auto-adding items to orders, and signature required are not included in this estimate.
|
|
683
|
+
*/
|
|
684
|
+
const post202507OrderEstimate = (options) => (options.client ?? client_gen_1.client).post({
|
|
685
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
686
|
+
url: '/2025-07/order:estimate',
|
|
687
|
+
...options,
|
|
688
|
+
headers: {
|
|
689
|
+
'Content-Type': 'application/json',
|
|
690
|
+
...options.headers
|
|
691
|
+
}
|
|
692
|
+
});
|
|
693
|
+
exports.post202507OrderEstimate = post202507OrderEstimate;
|
|
694
|
+
/**
|
|
695
|
+
* Cancel one Shipment by Order Id and Shipment Id
|
|
696
|
+
*/
|
|
697
|
+
const post202507OrderByOrderIdShipmentByShipmentIdCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
698
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
699
|
+
url: '/2025-07/order/{orderId}/shipment/{shipmentId}:cancel',
|
|
700
|
+
...options
|
|
701
|
+
});
|
|
702
|
+
exports.post202507OrderByOrderIdShipmentByShipmentIdCancel = post202507OrderByOrderIdShipmentByShipmentIdCancel;
|
|
703
|
+
/**
|
|
704
|
+
* Get shipping methods
|
|
705
|
+
*
|
|
706
|
+
* Get all merchants shipping methods
|
|
707
|
+
*/
|
|
708
|
+
const get202507ShippingMethod = (options) => (options?.client ?? client_gen_1.client).get({
|
|
709
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
710
|
+
url: '/2025-07/shipping-method',
|
|
711
|
+
...options
|
|
712
|
+
});
|
|
713
|
+
exports.get202507ShippingMethod = get202507ShippingMethod;
|
|
714
|
+
/**
|
|
715
|
+
* Cancel one Shipment by Shipment Id
|
|
716
|
+
*/
|
|
717
|
+
const post202507ShipmentByShipmentIdCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
718
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
719
|
+
url: '/2025-07/shipment/{shipmentId}:cancel',
|
|
720
|
+
...options
|
|
721
|
+
});
|
|
722
|
+
exports.post202507ShipmentByShipmentIdCancel = post202507ShipmentByShipmentIdCancel;
|
|
723
|
+
/**
|
|
724
|
+
* Get Return Orders
|
|
725
|
+
*
|
|
726
|
+
*
|
|
727
|
+
* Retrieves a paginated list of return orders with optional filters for IDs, statuses, dates, and other criteria. Use this to track all returns across your ShipBob account.
|
|
728
|
+
*
|
|
729
|
+
*/
|
|
730
|
+
const get202507Return = (options) => (options?.client ?? client_gen_1.client).get({
|
|
731
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
732
|
+
url: '/2025-07/return',
|
|
733
|
+
...options
|
|
734
|
+
});
|
|
735
|
+
exports.get202507Return = get202507Return;
|
|
736
|
+
/**
|
|
737
|
+
* Create Return Order
|
|
738
|
+
*
|
|
739
|
+
*
|
|
740
|
+
* Creates a new return order for a previously shipped order. Specify the original shipment, inventory items to return, and requested return actions.
|
|
741
|
+
*
|
|
742
|
+
*/
|
|
743
|
+
const post202507Return = (options) => (options.client ?? client_gen_1.client).post({
|
|
744
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
745
|
+
url: '/2025-07/return',
|
|
746
|
+
...options,
|
|
747
|
+
headers: {
|
|
748
|
+
'Content-Type': 'application/json',
|
|
749
|
+
...options.headers
|
|
750
|
+
}
|
|
751
|
+
});
|
|
752
|
+
exports.post202507Return = post202507Return;
|
|
753
|
+
/**
|
|
754
|
+
* Get Inventory Distributions by WRO ID
|
|
755
|
+
*
|
|
756
|
+
* Retrieves the distribution details for a specific receiving order within ShipBob's Inventory Placement Program (IPP).
|
|
757
|
+
* <Warning>This endpoint is available only to accounts enrolled in ShipBob's Inventory Placement Program (IPP).</Warning>
|
|
758
|
+
*/
|
|
759
|
+
const get202507ReceivingByIdDistributions = (options) => (options.client ?? client_gen_1.client).get({
|
|
760
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
761
|
+
url: '/2025-07/receiving/{id}/distributions',
|
|
762
|
+
...options
|
|
763
|
+
});
|
|
764
|
+
exports.get202507ReceivingByIdDistributions = get202507ReceivingByIdDistributions;
|
|
765
|
+
/**
|
|
766
|
+
* Cancel Return order
|
|
767
|
+
*
|
|
768
|
+
*
|
|
769
|
+
* Cancels a return order for given return ID.
|
|
770
|
+
*
|
|
771
|
+
*/
|
|
772
|
+
const post202507ReturnByIdCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
773
|
+
security: [{ scheme: 'bearer', type: 'http' }, { scheme: 'bearer', type: 'http' }],
|
|
774
|
+
url: '/2025-07/return/{id}:cancel',
|
|
775
|
+
...options
|
|
776
|
+
});
|
|
777
|
+
exports.post202507ReturnByIdCancel = post202507ReturnByIdCancel;
|
|
778
|
+
//# sourceMappingURL=sdk.gen.js.map
|