@blezgo/api-sdk 0.1.2 → 0.1.4
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/account/generated.d.ts +183 -183
- package/dist/account/generated.d.ts.map +1 -1
- package/dist/activity/generated.d.ts +82 -82
- package/dist/activity/generated.d.ts.map +1 -1
- package/dist/addon/generated.d.ts +88 -88
- package/dist/addon/generated.d.ts.map +1 -1
- package/dist/admin/generated.d.ts +42 -42
- package/dist/admin/generated.d.ts.map +1 -1
- package/dist/affiliate/generated.d.ts +97 -98
- package/dist/affiliate/generated.d.ts.map +1 -1
- package/dist/analytics/generated.d.ts +27 -27
- package/dist/analytics/generated.d.ts.map +1 -1
- package/dist/announcements/generated.d.ts +118 -118
- package/dist/announcements/generated.d.ts.map +1 -1
- package/dist/apikeys/generated.d.ts +46 -46
- package/dist/apikeys/generated.d.ts.map +1 -1
- package/dist/assistance/generated.d.ts +24 -24
- package/dist/assistance/generated.d.ts.map +1 -1
- package/dist/authentication/generated.d.ts +73 -73
- package/dist/authentication/generated.d.ts.map +1 -1
- package/dist/blog/generated.d.ts +142 -142
- package/dist/blog/generated.d.ts.map +1 -1
- package/dist/bundle/generated.d.ts +124 -124
- package/dist/bundle/generated.d.ts.map +1 -1
- package/dist/cache/generated.d.ts +32 -32
- package/dist/cache/generated.d.ts.map +1 -1
- package/dist/calendar/generated.d.ts +59 -59
- package/dist/calendar/generated.d.ts.map +1 -1
- package/dist/campaigns/generated.d.ts +151 -151
- package/dist/campaigns/generated.d.ts.map +1 -1
- package/dist/cart/generated.d.ts +41 -41
- package/dist/cart/generated.d.ts.map +1 -1
- package/dist/changelog/generated.d.ts +90 -90
- package/dist/changelog/generated.d.ts.map +1 -1
- package/dist/channel/generated.d.ts +256 -256
- package/dist/channel/generated.d.ts.map +1 -1
- package/dist/company/generated.d.ts +73 -73
- package/dist/company/generated.d.ts.map +1 -1
- package/dist/conference/generated.d.ts +160 -160
- package/dist/conference/generated.d.ts.map +1 -1
- package/dist/config/generated.d.ts +57 -57
- package/dist/config/generated.d.ts.map +1 -1
- package/dist/content/generated.d.ts +620 -620
- package/dist/content/generated.d.ts.map +1 -1
- package/dist/cookies/generated.d.ts +85 -85
- package/dist/cookies/generated.d.ts.map +1 -1
- package/dist/courses/generated.d.ts +381 -381
- package/dist/courses/generated.d.ts.map +1 -1
- package/dist/custom/generated.d.ts +103 -103
- package/dist/custom/generated.d.ts.map +1 -1
- package/dist/dashboard/generated.d.ts +148 -148
- package/dist/dashboard/generated.d.ts.map +1 -1
- package/dist/elasticsearch/generated.d.ts +37 -37
- package/dist/elasticsearch/generated.d.ts.map +1 -1
- package/dist/enrollments/generated.d.ts +21 -21
- package/dist/enrollments/generated.d.ts.map +1 -1
- package/dist/errors/generated.d.ts +21 -21
- package/dist/errors/generated.d.ts.map +1 -1
- package/dist/eventconfig/generated.d.ts +88 -88
- package/dist/eventconfig/generated.d.ts.map +1 -1
- package/dist/funnels/generated.d.ts +124 -125
- package/dist/funnels/generated.d.ts.map +1 -1
- package/dist/gamification/generated.d.ts +151 -151
- package/dist/gamification/generated.d.ts.map +1 -1
- package/dist/impersonation/generated.d.ts +33 -33
- package/dist/impersonation/generated.d.ts.map +1 -1
- package/dist/inbox/generated.d.ts +154 -154
- package/dist/inbox/generated.d.ts.map +1 -1
- package/dist/internal/generated.d.ts +21 -21
- package/dist/internal/generated.d.ts.map +1 -1
- package/dist/internationalization/generated.d.ts +23 -23
- package/dist/internationalization/generated.d.ts.map +1 -1
- package/dist/invitations/generated.d.ts +107 -107
- package/dist/invitations/generated.d.ts.map +1 -1
- package/dist/meetings/generated.d.ts +332 -332
- package/dist/meetings/generated.d.ts.map +1 -1
- package/dist/metas/generated.d.ts +200 -200
- package/dist/metas/generated.d.ts.map +1 -1
- package/dist/notification/generated.d.ts +279 -279
- package/dist/notification/generated.d.ts.map +1 -1
- package/dist/notifications/generated.d.ts +21 -21
- package/dist/notifications/generated.d.ts.map +1 -1
- package/dist/onboarding/generated.d.ts +95 -95
- package/dist/onboarding/generated.d.ts.map +1 -1
- package/dist/packages/generated.d.ts +77 -77
- package/dist/packages/generated.d.ts.map +1 -1
- package/dist/payments/generated.d.ts +628 -631
- package/dist/payments/generated.d.ts.map +1 -1
- package/dist/payouts/generated.d.ts +21 -21
- package/dist/payouts/generated.d.ts.map +1 -1
- package/dist/plans/generated.d.ts +405 -405
- package/dist/plans/generated.d.ts.map +1 -1
- package/dist/pricing/generated.d.ts +75 -75
- package/dist/pricing/generated.d.ts.map +1 -1
- package/dist/products/generated.d.ts +420 -420
- package/dist/products/generated.d.ts.map +1 -1
- package/dist/profile/generated.d.ts +310 -310
- package/dist/profile/generated.d.ts.map +1 -1
- package/dist/reasons/generated.d.ts +64 -64
- package/dist/reasons/generated.d.ts.map +1 -1
- package/dist/registration/generated.d.ts +163 -163
- package/dist/registration/generated.d.ts.map +1 -1
- package/dist/reviews/generated.d.ts +47 -47
- package/dist/reviews/generated.d.ts.map +1 -1
- package/dist/role/generated.d.ts +944 -446
- package/dist/role/generated.d.ts.map +1 -1
- package/dist/scheduling/generated.d.ts +76 -76
- package/dist/scheduling/generated.d.ts.map +1 -1
- package/dist/services/generated.d.ts +1119 -1119
- package/dist/services/generated.d.ts.map +1 -1
- package/dist/sessions/generated.d.ts +313 -313
- package/dist/sessions/generated.d.ts.map +1 -1
- package/dist/spaces/generated.d.ts +340 -340
- package/dist/spaces/generated.d.ts.map +1 -1
- package/dist/storefront/generated.d.ts +21 -21
- package/dist/storefront/generated.d.ts.map +1 -1
- package/dist/support/generated.d.ts +1624 -1624
- package/dist/support/generated.d.ts.map +1 -1
- package/dist/sync/generated.d.ts +176 -176
- package/dist/sync/generated.d.ts.map +1 -1
- package/dist/tenant/generated.d.ts +487 -487
- package/dist/tenant/generated.d.ts.map +1 -1
- package/dist/testimonials/generated.d.ts +86 -86
- package/dist/testimonials/generated.d.ts.map +1 -1
- package/dist/tests/generated.d.ts +456 -456
- package/dist/tests/generated.d.ts.map +1 -1
- package/dist/tokens/generated.d.ts +54 -54
- package/dist/tokens/generated.d.ts.map +1 -1
- package/dist/uploads/generated.d.ts +65 -65
- package/dist/uploads/generated.d.ts.map +1 -1
- package/dist/upsell/generated.d.ts +105 -105
- package/dist/upsell/generated.d.ts.map +1 -1
- package/dist/user/generated.d.ts +272 -527
- package/dist/user/generated.d.ts.map +1 -1
- package/dist/webinars/generated.d.ts +260 -260
- package/dist/webinars/generated.d.ts.map +1 -1
- package/package.json +1 -1
- package/test-commit.txt +1 -0
|
@@ -1217,65 +1217,156 @@ export type webhooks = Record<string, never>;
|
|
|
1217
1217
|
export interface components {
|
|
1218
1218
|
schemas: {
|
|
1219
1219
|
/**
|
|
1220
|
-
*
|
|
1221
|
-
* @description
|
|
1220
|
+
* ProductType
|
|
1221
|
+
* @description Product types supported (11 active types)
|
|
1222
|
+
* @enum {string}
|
|
1222
1223
|
*/
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
barcode?: string | null;
|
|
1230
|
-
/** Attributes */
|
|
1231
|
-
attributes?: {
|
|
1232
|
-
[key: string]: unknown;
|
|
1233
|
-
} | null;
|
|
1234
|
-
/** Is Default */
|
|
1235
|
-
is_default?: boolean | null;
|
|
1236
|
-
status?: components["schemas"]["VariantStatus"] | null;
|
|
1237
|
-
/** Display Order */
|
|
1238
|
-
display_order?: number | null;
|
|
1239
|
-
/** Metadata */
|
|
1240
|
-
metadata?: {
|
|
1241
|
-
[key: string]: unknown;
|
|
1242
|
-
} | null;
|
|
1243
|
-
/** Track Inventory */
|
|
1244
|
-
track_inventory?: boolean | null;
|
|
1245
|
-
/** Stock Quantity */
|
|
1246
|
-
stock_quantity?: number | null;
|
|
1247
|
-
/** Allow Backorder */
|
|
1248
|
-
allow_backorder?: boolean | null;
|
|
1249
|
-
/** Weight */
|
|
1250
|
-
weight?: number | string | null;
|
|
1251
|
-
/** Length */
|
|
1252
|
-
length?: number | string | null;
|
|
1253
|
-
/** Width */
|
|
1254
|
-
width?: number | string | null;
|
|
1255
|
-
/** Height */
|
|
1256
|
-
height?: number | string | null;
|
|
1224
|
+
ProductType: "course" | "package" | "session" | "webinar" | "bundle" | "meeting" | "open_class" | "plan" | "test" | "appointment" | "limit_minutes";
|
|
1225
|
+
InvalidParam: {
|
|
1226
|
+
/** @example items[0].quantity */
|
|
1227
|
+
field?: string;
|
|
1228
|
+
/** @example Input should be greater than or equal to 1 */
|
|
1229
|
+
error?: string;
|
|
1257
1230
|
};
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1231
|
+
/**
|
|
1232
|
+
* VariantImageInput
|
|
1233
|
+
* @description Image data for variant creation.
|
|
1234
|
+
*/
|
|
1235
|
+
VariantImageInput: {
|
|
1236
|
+
/**
|
|
1237
|
+
* Image Url
|
|
1238
|
+
* @description Image URL
|
|
1239
|
+
*/
|
|
1240
|
+
image_url: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Image Type
|
|
1243
|
+
* @description primary, gallery, thumbnail
|
|
1244
|
+
* @default primary
|
|
1245
|
+
*/
|
|
1246
|
+
image_type: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* Display Order
|
|
1249
|
+
* @description Display order
|
|
1250
|
+
* @default 100
|
|
1251
|
+
*/
|
|
1252
|
+
display_order: number;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* @example {
|
|
1256
|
+
* "status": "success",
|
|
1257
|
+
* "message": "Operation successful",
|
|
1258
|
+
* "message_code": "api_suc_20001",
|
|
1259
|
+
* "data": {},
|
|
1260
|
+
* "metadata": {
|
|
1261
|
+
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
1262
|
+
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
1263
|
+
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
1264
|
+
* "version": "v1",
|
|
1265
|
+
* "executionTime": 42,
|
|
1266
|
+
* "language": "en-US"
|
|
1267
|
+
* }
|
|
1268
|
+
* }
|
|
1269
|
+
*/
|
|
1270
|
+
StandardResponse: {
|
|
1271
|
+
/** @example success */
|
|
1272
|
+
status?: string;
|
|
1273
|
+
data?: Record<string, never> | null;
|
|
1274
|
+
/** @example Operation successful */
|
|
1275
|
+
message?: string | null;
|
|
1276
|
+
/** @example api_suc_20001 */
|
|
1277
|
+
message_code?: string | null;
|
|
1278
|
+
metadata?: Record<string, never> | null;
|
|
1279
|
+
error?: components["schemas"]["ErrorResponse"];
|
|
1280
|
+
};
|
|
1281
|
+
/**
|
|
1282
|
+
* AddBundleItemRequest
|
|
1283
|
+
* @example {
|
|
1284
|
+
* "discount_percentage": 10,
|
|
1285
|
+
* "display_order": 0,
|
|
1286
|
+
* "is_required": true,
|
|
1287
|
+
* "is_visible": true,
|
|
1288
|
+
* "item_product_id": 456,
|
|
1289
|
+
* "quantity": 1
|
|
1290
|
+
* }
|
|
1291
|
+
*/
|
|
1292
|
+
AddBundleItemRequest: {
|
|
1293
|
+
/**
|
|
1294
|
+
* Item Product Id
|
|
1295
|
+
* @example 456
|
|
1296
|
+
*/
|
|
1297
|
+
item_product_id: number;
|
|
1298
|
+
/**
|
|
1299
|
+
* Quantity
|
|
1300
|
+
* @default 1
|
|
1301
|
+
* @example 1
|
|
1302
|
+
*/
|
|
1303
|
+
quantity: number;
|
|
1304
|
+
/**
|
|
1305
|
+
* Discount Percentage
|
|
1306
|
+
* @description Discount % (0-100)
|
|
1307
|
+
* @example 10
|
|
1308
|
+
*/
|
|
1309
|
+
discount_percentage?: number | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Override Price
|
|
1312
|
+
* @description Override price for this item
|
|
1313
|
+
* @example 49.99
|
|
1314
|
+
*/
|
|
1315
|
+
override_price?: number | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* Is Required
|
|
1318
|
+
* @default true
|
|
1319
|
+
* @example true
|
|
1320
|
+
*/
|
|
1321
|
+
is_required: boolean;
|
|
1322
|
+
/**
|
|
1323
|
+
* Is Visible
|
|
1324
|
+
* @default true
|
|
1325
|
+
* @example true
|
|
1326
|
+
*/
|
|
1327
|
+
is_visible: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* Display Order
|
|
1330
|
+
* @default 0
|
|
1331
|
+
* @example 0
|
|
1332
|
+
*/
|
|
1333
|
+
display_order: number;
|
|
1334
|
+
};
|
|
1335
|
+
/**
|
|
1336
|
+
* InventoryAdjustmentRequest
|
|
1337
|
+
* @description Request model for inventory adjustment.
|
|
1338
|
+
*/
|
|
1339
|
+
InventoryAdjustmentRequest: {
|
|
1340
|
+
/**
|
|
1341
|
+
* Adjustment Type
|
|
1342
|
+
* @description add, subtract, or set
|
|
1343
|
+
*/
|
|
1344
|
+
adjustment_type: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* Quantity
|
|
1347
|
+
* @description Quantity to add/subtract/set
|
|
1348
|
+
*/
|
|
1349
|
+
quantity: number;
|
|
1350
|
+
/**
|
|
1351
|
+
* Reason
|
|
1352
|
+
* @description Reason for adjustment
|
|
1353
|
+
*/
|
|
1354
|
+
reason?: string | null;
|
|
1355
|
+
};
|
|
1356
|
+
Extensions: {
|
|
1261
1357
|
/** @example GENERIC_ERROR */
|
|
1262
|
-
|
|
1263
|
-
/** @example
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
detail?: string;
|
|
1269
|
-
/** @example /v1/cart/items */
|
|
1270
|
-
instance?: string;
|
|
1271
|
-
extensions?: components["schemas"]["Extensions"];
|
|
1358
|
+
message_code?: string;
|
|
1359
|
+
/** @example [] */
|
|
1360
|
+
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
1361
|
+
extra_data?: Record<string, never> | null;
|
|
1362
|
+
/** @example Detailed debug information */
|
|
1363
|
+
debug?: string | null;
|
|
1272
1364
|
};
|
|
1273
1365
|
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @description Variant status enum.
|
|
1366
|
+
* ProductPriceType
|
|
1276
1367
|
* @enum {string}
|
|
1277
1368
|
*/
|
|
1278
|
-
|
|
1369
|
+
ProductPriceType: "free" | "subscription" | "onetime" | "emi";
|
|
1279
1370
|
/**
|
|
1280
1371
|
* SeoUpsertRequest
|
|
1281
1372
|
* @description Unified SEO upsert schema for all entity types (space, product, service, ...).
|
|
@@ -1489,149 +1580,49 @@ export interface components {
|
|
|
1489
1580
|
}[] | null;
|
|
1490
1581
|
};
|
|
1491
1582
|
/**
|
|
1492
|
-
*
|
|
1493
|
-
* @description
|
|
1583
|
+
* VariantCreateRequest
|
|
1584
|
+
* @description Request model for creating a product variant.
|
|
1494
1585
|
*/
|
|
1495
|
-
|
|
1586
|
+
VariantCreateRequest: {
|
|
1496
1587
|
/**
|
|
1497
|
-
*
|
|
1498
|
-
* @description
|
|
1588
|
+
* Name
|
|
1589
|
+
* @description Variant display name: '24 inch Black'
|
|
1499
1590
|
*/
|
|
1500
|
-
|
|
1501
|
-
/** @description Product type (rarely changed) */
|
|
1502
|
-
product_type?: components["schemas"]["ProductType"] | null;
|
|
1503
|
-
/** @description Product status */
|
|
1504
|
-
status?: components["schemas"]["ProductStatus"] | null;
|
|
1591
|
+
name: string;
|
|
1505
1592
|
/**
|
|
1506
|
-
*
|
|
1507
|
-
* @description
|
|
1593
|
+
* Sku
|
|
1594
|
+
* @description Stock Keeping Unit (unique)
|
|
1508
1595
|
*/
|
|
1509
|
-
|
|
1596
|
+
sku?: string | null;
|
|
1510
1597
|
/**
|
|
1511
|
-
*
|
|
1512
|
-
* @description
|
|
1598
|
+
* Barcode
|
|
1599
|
+
* @description EAN, UPC, ISBN, etc.
|
|
1513
1600
|
*/
|
|
1514
|
-
|
|
1601
|
+
barcode?: string | null;
|
|
1515
1602
|
/**
|
|
1516
|
-
*
|
|
1517
|
-
* @description
|
|
1603
|
+
* Attributes
|
|
1604
|
+
* @description Variant attributes: {'size': '24 inch', 'color': 'black'}
|
|
1605
|
+
* @example {
|
|
1606
|
+
* "color": "black",
|
|
1607
|
+
* "size": "24 inch"
|
|
1608
|
+
* }
|
|
1518
1609
|
*/
|
|
1519
|
-
|
|
1610
|
+
attributes?: {
|
|
1611
|
+
[key: string]: unknown;
|
|
1612
|
+
} | null;
|
|
1520
1613
|
/**
|
|
1521
|
-
*
|
|
1522
|
-
* @description
|
|
1614
|
+
* Is Default
|
|
1615
|
+
* @description Set as default variant for product
|
|
1616
|
+
* @default false
|
|
1523
1617
|
*/
|
|
1524
|
-
|
|
1618
|
+
is_default: boolean;
|
|
1619
|
+
/** @description Inventory settings */
|
|
1620
|
+
inventory?: components["schemas"]["VariantInventoryInput"] | null;
|
|
1621
|
+
/** @description Pricing for this variant */
|
|
1622
|
+
pricing?: components["schemas"]["VariantPricingInput"] | null;
|
|
1525
1623
|
/**
|
|
1526
|
-
*
|
|
1527
|
-
* @description
|
|
1528
|
-
*/
|
|
1529
|
-
description?: string | null;
|
|
1530
|
-
};
|
|
1531
|
-
Extensions: {
|
|
1532
|
-
/** @example GENERIC_ERROR */
|
|
1533
|
-
message_code?: string;
|
|
1534
|
-
/** @example [] */
|
|
1535
|
-
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
1536
|
-
extra_data?: Record<string, never> | null;
|
|
1537
|
-
/** @example Detailed debug information */
|
|
1538
|
-
debug?: string | null;
|
|
1539
|
-
};
|
|
1540
|
-
InvalidParam: {
|
|
1541
|
-
/** @example items[0].quantity */
|
|
1542
|
-
field?: string;
|
|
1543
|
-
/** @example Input should be greater than or equal to 1 */
|
|
1544
|
-
error?: string;
|
|
1545
|
-
};
|
|
1546
|
-
/** Body_createProductImageUpload */
|
|
1547
|
-
Body_createProductImageUpload: {
|
|
1548
|
-
/**
|
|
1549
|
-
* Image File
|
|
1550
|
-
* Format: binary
|
|
1551
|
-
*/
|
|
1552
|
-
image_file: string;
|
|
1553
|
-
};
|
|
1554
|
-
/**
|
|
1555
|
-
* ProductType
|
|
1556
|
-
* @description Product types supported (11 active types)
|
|
1557
|
-
* @enum {string}
|
|
1558
|
-
*/
|
|
1559
|
-
ProductType: "course" | "package" | "session" | "webinar" | "bundle" | "meeting" | "open_class" | "plan" | "test" | "appointment" | "limit_minutes";
|
|
1560
|
-
/**
|
|
1561
|
-
* ProductCurrency
|
|
1562
|
-
* @enum {string}
|
|
1563
|
-
*/
|
|
1564
|
-
ProductCurrency: "USD" | "INR" | "EUR" | "GBP";
|
|
1565
|
-
/**
|
|
1566
|
-
* ProductInterval
|
|
1567
|
-
* @enum {string}
|
|
1568
|
-
*/
|
|
1569
|
-
ProductInterval: "day" | "week" | "month" | "year";
|
|
1570
|
-
/**
|
|
1571
|
-
* InventoryAdjustmentRequest
|
|
1572
|
-
* @description Request model for inventory adjustment.
|
|
1573
|
-
*/
|
|
1574
|
-
InventoryAdjustmentRequest: {
|
|
1575
|
-
/**
|
|
1576
|
-
* Adjustment Type
|
|
1577
|
-
* @description add, subtract, or set
|
|
1578
|
-
*/
|
|
1579
|
-
adjustment_type: string;
|
|
1580
|
-
/**
|
|
1581
|
-
* Quantity
|
|
1582
|
-
* @description Quantity to add/subtract/set
|
|
1583
|
-
*/
|
|
1584
|
-
quantity: number;
|
|
1585
|
-
/**
|
|
1586
|
-
* Reason
|
|
1587
|
-
* @description Reason for adjustment
|
|
1588
|
-
*/
|
|
1589
|
-
reason?: string | null;
|
|
1590
|
-
};
|
|
1591
|
-
/**
|
|
1592
|
-
* VariantCreateRequest
|
|
1593
|
-
* @description Request model for creating a product variant.
|
|
1594
|
-
*/
|
|
1595
|
-
VariantCreateRequest: {
|
|
1596
|
-
/**
|
|
1597
|
-
* Name
|
|
1598
|
-
* @description Variant display name: '24 inch Black'
|
|
1599
|
-
*/
|
|
1600
|
-
name: string;
|
|
1601
|
-
/**
|
|
1602
|
-
* Sku
|
|
1603
|
-
* @description Stock Keeping Unit (unique)
|
|
1604
|
-
*/
|
|
1605
|
-
sku?: string | null;
|
|
1606
|
-
/**
|
|
1607
|
-
* Barcode
|
|
1608
|
-
* @description EAN, UPC, ISBN, etc.
|
|
1609
|
-
*/
|
|
1610
|
-
barcode?: string | null;
|
|
1611
|
-
/**
|
|
1612
|
-
* Attributes
|
|
1613
|
-
* @description Variant attributes: {'size': '24 inch', 'color': 'black'}
|
|
1614
|
-
* @example {
|
|
1615
|
-
* "color": "black",
|
|
1616
|
-
* "size": "24 inch"
|
|
1617
|
-
* }
|
|
1618
|
-
*/
|
|
1619
|
-
attributes?: {
|
|
1620
|
-
[key: string]: unknown;
|
|
1621
|
-
} | null;
|
|
1622
|
-
/**
|
|
1623
|
-
* Is Default
|
|
1624
|
-
* @description Set as default variant for product
|
|
1625
|
-
* @default false
|
|
1626
|
-
*/
|
|
1627
|
-
is_default: boolean;
|
|
1628
|
-
/** @description Inventory settings */
|
|
1629
|
-
inventory?: components["schemas"]["VariantInventoryInput"] | null;
|
|
1630
|
-
/** @description Pricing for this variant */
|
|
1631
|
-
pricing?: components["schemas"]["VariantPricingInput"] | null;
|
|
1632
|
-
/**
|
|
1633
|
-
* Images
|
|
1634
|
-
* @description Variant-specific images
|
|
1624
|
+
* Images
|
|
1625
|
+
* @description Variant-specific images
|
|
1635
1626
|
*/
|
|
1636
1627
|
images?: components["schemas"]["VariantImageInput"][] | null;
|
|
1637
1628
|
/**
|
|
@@ -1668,188 +1659,12 @@ export interface components {
|
|
|
1668
1659
|
[key: string]: unknown;
|
|
1669
1660
|
} | null;
|
|
1670
1661
|
};
|
|
1671
|
-
/**
|
|
1672
|
-
* ProductIdentityCreateRequest
|
|
1673
|
-
* @description Create localized product content
|
|
1674
|
-
*/
|
|
1675
|
-
ProductIdentityCreateRequest: {
|
|
1676
|
-
/**
|
|
1677
|
-
* @description Locale (language-country format)
|
|
1678
|
-
* @example en-US
|
|
1679
|
-
*/
|
|
1680
|
-
locale: components["schemas"]["Locale"];
|
|
1681
|
-
/**
|
|
1682
|
-
* Title
|
|
1683
|
-
* @example Python Programming Course
|
|
1684
|
-
*/
|
|
1685
|
-
title: string;
|
|
1686
|
-
/**
|
|
1687
|
-
* Subtitle
|
|
1688
|
-
* @example Master Python in 30 days
|
|
1689
|
-
*/
|
|
1690
|
-
subtitle?: string | null;
|
|
1691
|
-
/**
|
|
1692
|
-
* Description
|
|
1693
|
-
* @example Comprehensive Python course covering basics to advanced topics
|
|
1694
|
-
*/
|
|
1695
|
-
description?: string | null;
|
|
1696
|
-
/**
|
|
1697
|
-
* Short Description
|
|
1698
|
-
* @example Learn Python from scratch with hands-on projects
|
|
1699
|
-
*/
|
|
1700
|
-
short_description?: string | null;
|
|
1701
|
-
};
|
|
1702
|
-
/**
|
|
1703
|
-
* VariantInventoryInput
|
|
1704
|
-
* @description Inventory data for variant creation.
|
|
1705
|
-
*/
|
|
1706
|
-
VariantInventoryInput: {
|
|
1707
|
-
/**
|
|
1708
|
-
* Track Inventory
|
|
1709
|
-
* @description Track stock for this variant
|
|
1710
|
-
* @default true
|
|
1711
|
-
*/
|
|
1712
|
-
track_inventory: boolean;
|
|
1713
|
-
/**
|
|
1714
|
-
* Stock Quantity
|
|
1715
|
-
* @description Initial stock quantity
|
|
1716
|
-
*/
|
|
1717
|
-
stock_quantity?: number | null;
|
|
1718
|
-
/**
|
|
1719
|
-
* Allow Backorder
|
|
1720
|
-
* @description Allow orders when out of stock
|
|
1721
|
-
* @default false
|
|
1722
|
-
*/
|
|
1723
|
-
allow_backorder: boolean;
|
|
1724
|
-
};
|
|
1725
1662
|
/**
|
|
1726
1663
|
* Locale
|
|
1727
1664
|
* @description Supported locales (language-country format)
|
|
1728
1665
|
* @enum {string}
|
|
1729
1666
|
*/
|
|
1730
1667
|
Locale: "en-US" | "es-PR" | "es-ES" | "fr-FR" | "pt-BR" | "de-DE" | "it-IT" | "ja-JP" | "zh-CN";
|
|
1731
|
-
/**
|
|
1732
|
-
* VariantPricingInput
|
|
1733
|
-
* @description Pricing data for variant creation.
|
|
1734
|
-
*/
|
|
1735
|
-
VariantPricingInput: {
|
|
1736
|
-
/**
|
|
1737
|
-
* Amount
|
|
1738
|
-
* @description Price amount
|
|
1739
|
-
*/
|
|
1740
|
-
amount: number | string;
|
|
1741
|
-
/**
|
|
1742
|
-
* Currency
|
|
1743
|
-
* @description Currency code
|
|
1744
|
-
* @default USD
|
|
1745
|
-
*/
|
|
1746
|
-
currency: string;
|
|
1747
|
-
/**
|
|
1748
|
-
* Interval
|
|
1749
|
-
* @description one_time, daily, weekly, monthly, yearly
|
|
1750
|
-
* @default one_time
|
|
1751
|
-
*/
|
|
1752
|
-
interval: string;
|
|
1753
|
-
/**
|
|
1754
|
-
* Interval Count
|
|
1755
|
-
* @description Billing frequency
|
|
1756
|
-
* @default 1
|
|
1757
|
-
*/
|
|
1758
|
-
interval_count: number;
|
|
1759
|
-
/**
|
|
1760
|
-
* Is Active
|
|
1761
|
-
* @description Is pricing active
|
|
1762
|
-
* @default true
|
|
1763
|
-
*/
|
|
1764
|
-
is_active: boolean;
|
|
1765
|
-
};
|
|
1766
|
-
/** Body_createProductImage */
|
|
1767
|
-
Body_createProductImage: {
|
|
1768
|
-
/**
|
|
1769
|
-
* File
|
|
1770
|
-
* Format: binary
|
|
1771
|
-
*/
|
|
1772
|
-
file: string;
|
|
1773
|
-
};
|
|
1774
|
-
/**
|
|
1775
|
-
* AddBundleItemRequest
|
|
1776
|
-
* @example {
|
|
1777
|
-
* "discount_percentage": 10,
|
|
1778
|
-
* "display_order": 0,
|
|
1779
|
-
* "is_required": true,
|
|
1780
|
-
* "is_visible": true,
|
|
1781
|
-
* "item_product_id": 456,
|
|
1782
|
-
* "quantity": 1
|
|
1783
|
-
* }
|
|
1784
|
-
*/
|
|
1785
|
-
AddBundleItemRequest: {
|
|
1786
|
-
/**
|
|
1787
|
-
* Item Product Id
|
|
1788
|
-
* @example 456
|
|
1789
|
-
*/
|
|
1790
|
-
item_product_id: number;
|
|
1791
|
-
/**
|
|
1792
|
-
* Quantity
|
|
1793
|
-
* @default 1
|
|
1794
|
-
* @example 1
|
|
1795
|
-
*/
|
|
1796
|
-
quantity: number;
|
|
1797
|
-
/**
|
|
1798
|
-
* Discount Percentage
|
|
1799
|
-
* @description Discount % (0-100)
|
|
1800
|
-
* @example 10
|
|
1801
|
-
*/
|
|
1802
|
-
discount_percentage?: number | null;
|
|
1803
|
-
/**
|
|
1804
|
-
* Override Price
|
|
1805
|
-
* @description Override price for this item
|
|
1806
|
-
* @example 49.99
|
|
1807
|
-
*/
|
|
1808
|
-
override_price?: number | null;
|
|
1809
|
-
/**
|
|
1810
|
-
* Is Required
|
|
1811
|
-
* @default true
|
|
1812
|
-
* @example true
|
|
1813
|
-
*/
|
|
1814
|
-
is_required: boolean;
|
|
1815
|
-
/**
|
|
1816
|
-
* Is Visible
|
|
1817
|
-
* @default true
|
|
1818
|
-
* @example true
|
|
1819
|
-
*/
|
|
1820
|
-
is_visible: boolean;
|
|
1821
|
-
/**
|
|
1822
|
-
* Display Order
|
|
1823
|
-
* @default 0
|
|
1824
|
-
* @example 0
|
|
1825
|
-
*/
|
|
1826
|
-
display_order: number;
|
|
1827
|
-
};
|
|
1828
|
-
/**
|
|
1829
|
-
* AddTagToProductRequest
|
|
1830
|
-
* @example {
|
|
1831
|
-
* "display_order": 0,
|
|
1832
|
-
* "tag_id": 5
|
|
1833
|
-
* }
|
|
1834
|
-
*/
|
|
1835
|
-
AddTagToProductRequest: {
|
|
1836
|
-
/**
|
|
1837
|
-
* Tag Id
|
|
1838
|
-
* @example 5
|
|
1839
|
-
*/
|
|
1840
|
-
tag_id: number;
|
|
1841
|
-
/**
|
|
1842
|
-
* Display Order
|
|
1843
|
-
* @default 0
|
|
1844
|
-
* @example 0
|
|
1845
|
-
*/
|
|
1846
|
-
display_order: number;
|
|
1847
|
-
};
|
|
1848
|
-
/**
|
|
1849
|
-
* ProductPriceType
|
|
1850
|
-
* @enum {string}
|
|
1851
|
-
*/
|
|
1852
|
-
ProductPriceType: "free" | "subscription" | "onetime" | "emi";
|
|
1853
1668
|
/** ProductPriceUpdateRequest */
|
|
1854
1669
|
ProductPriceUpdateRequest: {
|
|
1855
1670
|
/** Amount */
|
|
@@ -1938,37 +1753,79 @@ export interface components {
|
|
|
1938
1753
|
description?: string | null;
|
|
1939
1754
|
};
|
|
1940
1755
|
/**
|
|
1941
|
-
*
|
|
1942
|
-
* @
|
|
1943
|
-
* "color": "#3776AB",
|
|
1944
|
-
* "description": "Programming language tag for Python courses",
|
|
1945
|
-
* "tag_name": "Python Programming",
|
|
1946
|
-
* "tag_type": "skill"
|
|
1947
|
-
* }
|
|
1756
|
+
* ProductUpdateRequest
|
|
1757
|
+
* @description Update existing product (base record only)
|
|
1948
1758
|
*/
|
|
1949
|
-
|
|
1759
|
+
ProductUpdateRequest: {
|
|
1760
|
+
/**
|
|
1761
|
+
* Company Id
|
|
1762
|
+
* @description Company ID
|
|
1763
|
+
*/
|
|
1764
|
+
company_id?: number | null;
|
|
1765
|
+
/** @description Product type (rarely changed) */
|
|
1766
|
+
product_type?: components["schemas"]["ProductType"] | null;
|
|
1767
|
+
/** @description Product status */
|
|
1768
|
+
status?: components["schemas"]["ProductStatus"] | null;
|
|
1769
|
+
/**
|
|
1770
|
+
* Featured
|
|
1771
|
+
* @description Featured flag
|
|
1772
|
+
*/
|
|
1773
|
+
featured?: boolean | null;
|
|
1774
|
+
/**
|
|
1775
|
+
* Is Digital
|
|
1776
|
+
* @description Digital product flag
|
|
1777
|
+
*/
|
|
1778
|
+
is_digital?: boolean | null;
|
|
1779
|
+
/**
|
|
1780
|
+
* Is Active
|
|
1781
|
+
* @description Active status
|
|
1782
|
+
*/
|
|
1783
|
+
is_active?: boolean | null;
|
|
1784
|
+
/**
|
|
1785
|
+
* Title
|
|
1786
|
+
* @description DEPRECATED: Use ProductIdentity instead
|
|
1787
|
+
*/
|
|
1788
|
+
title?: string | null;
|
|
1789
|
+
/**
|
|
1790
|
+
* Description
|
|
1791
|
+
* @description DEPRECATED: Use ProductIdentity instead
|
|
1792
|
+
*/
|
|
1793
|
+
description?: string | null;
|
|
1794
|
+
};
|
|
1795
|
+
/**
|
|
1796
|
+
* VariantPricingInput
|
|
1797
|
+
* @description Pricing data for variant creation.
|
|
1798
|
+
*/
|
|
1799
|
+
VariantPricingInput: {
|
|
1950
1800
|
/**
|
|
1951
|
-
*
|
|
1952
|
-
* @
|
|
1801
|
+
* Amount
|
|
1802
|
+
* @description Price amount
|
|
1953
1803
|
*/
|
|
1954
|
-
|
|
1804
|
+
amount: number | string;
|
|
1955
1805
|
/**
|
|
1956
|
-
*
|
|
1957
|
-
* @description
|
|
1958
|
-
* @
|
|
1806
|
+
* Currency
|
|
1807
|
+
* @description Currency code
|
|
1808
|
+
* @default USD
|
|
1959
1809
|
*/
|
|
1960
|
-
|
|
1810
|
+
currency: string;
|
|
1961
1811
|
/**
|
|
1962
|
-
*
|
|
1963
|
-
* @
|
|
1812
|
+
* Interval
|
|
1813
|
+
* @description one_time, daily, weekly, monthly, yearly
|
|
1814
|
+
* @default one_time
|
|
1964
1815
|
*/
|
|
1965
|
-
|
|
1816
|
+
interval: string;
|
|
1966
1817
|
/**
|
|
1967
|
-
*
|
|
1968
|
-
* @description
|
|
1969
|
-
* @
|
|
1818
|
+
* Interval Count
|
|
1819
|
+
* @description Billing frequency
|
|
1820
|
+
* @default 1
|
|
1970
1821
|
*/
|
|
1971
|
-
|
|
1822
|
+
interval_count: number;
|
|
1823
|
+
/**
|
|
1824
|
+
* Is Active
|
|
1825
|
+
* @description Is pricing active
|
|
1826
|
+
* @default true
|
|
1827
|
+
*/
|
|
1828
|
+
is_active: boolean;
|
|
1972
1829
|
};
|
|
1973
1830
|
/** ProductPriceRequest */
|
|
1974
1831
|
ProductPriceRequest: {
|
|
@@ -2039,33 +1896,6 @@ export interface components {
|
|
|
2039
1896
|
*/
|
|
2040
1897
|
requires_payment_method_upfront: boolean;
|
|
2041
1898
|
};
|
|
2042
|
-
/**
|
|
2043
|
-
* @example {
|
|
2044
|
-
* "status": "success",
|
|
2045
|
-
* "message": "Operation successful",
|
|
2046
|
-
* "message_code": "api_suc_20001",
|
|
2047
|
-
* "data": {},
|
|
2048
|
-
* "metadata": {
|
|
2049
|
-
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
2050
|
-
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
2051
|
-
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
2052
|
-
* "version": "v1",
|
|
2053
|
-
* "executionTime": 42,
|
|
2054
|
-
* "language": "en-US"
|
|
2055
|
-
* }
|
|
2056
|
-
* }
|
|
2057
|
-
*/
|
|
2058
|
-
StandardResponse: {
|
|
2059
|
-
/** @example success */
|
|
2060
|
-
status?: string;
|
|
2061
|
-
data?: Record<string, never> | null;
|
|
2062
|
-
/** @example Operation successful */
|
|
2063
|
-
message?: string | null;
|
|
2064
|
-
/** @example api_suc_20001 */
|
|
2065
|
-
message_code?: string | null;
|
|
2066
|
-
metadata?: Record<string, never> | null;
|
|
2067
|
-
error?: components["schemas"]["ErrorResponse"];
|
|
2068
|
-
};
|
|
2069
1899
|
/**
|
|
2070
1900
|
* ProductStatus
|
|
2071
1901
|
* @description Product status values (Phase 1 - VARCHAR)
|
|
@@ -2073,28 +1903,198 @@ export interface components {
|
|
|
2073
1903
|
*/
|
|
2074
1904
|
ProductStatus: "draft" | "published" | "archived" | "review_required" | "deleted";
|
|
2075
1905
|
/**
|
|
2076
|
-
*
|
|
2077
|
-
* @description
|
|
1906
|
+
* VariantUpdateRequest
|
|
1907
|
+
* @description Request model for updating a variant.
|
|
2078
1908
|
*/
|
|
2079
|
-
|
|
1909
|
+
VariantUpdateRequest: {
|
|
1910
|
+
/** Name */
|
|
1911
|
+
name?: string | null;
|
|
1912
|
+
/** Sku */
|
|
1913
|
+
sku?: string | null;
|
|
1914
|
+
/** Barcode */
|
|
1915
|
+
barcode?: string | null;
|
|
1916
|
+
/** Attributes */
|
|
1917
|
+
attributes?: {
|
|
1918
|
+
[key: string]: unknown;
|
|
1919
|
+
} | null;
|
|
1920
|
+
/** Is Default */
|
|
1921
|
+
is_default?: boolean | null;
|
|
1922
|
+
status?: components["schemas"]["VariantStatus"] | null;
|
|
1923
|
+
/** Display Order */
|
|
1924
|
+
display_order?: number | null;
|
|
1925
|
+
/** Metadata */
|
|
1926
|
+
metadata?: {
|
|
1927
|
+
[key: string]: unknown;
|
|
1928
|
+
} | null;
|
|
1929
|
+
/** Track Inventory */
|
|
1930
|
+
track_inventory?: boolean | null;
|
|
1931
|
+
/** Stock Quantity */
|
|
1932
|
+
stock_quantity?: number | null;
|
|
1933
|
+
/** Allow Backorder */
|
|
1934
|
+
allow_backorder?: boolean | null;
|
|
1935
|
+
/** Weight */
|
|
1936
|
+
weight?: number | string | null;
|
|
1937
|
+
/** Length */
|
|
1938
|
+
length?: number | string | null;
|
|
1939
|
+
/** Width */
|
|
1940
|
+
width?: number | string | null;
|
|
1941
|
+
/** Height */
|
|
1942
|
+
height?: number | string | null;
|
|
1943
|
+
};
|
|
1944
|
+
/**
|
|
1945
|
+
* ProductInterval
|
|
1946
|
+
* @enum {string}
|
|
1947
|
+
*/
|
|
1948
|
+
ProductInterval: "day" | "week" | "month" | "year";
|
|
1949
|
+
/** Body_createProductImageUpload */
|
|
1950
|
+
Body_createProductImageUpload: {
|
|
2080
1951
|
/**
|
|
2081
|
-
* Image
|
|
2082
|
-
*
|
|
1952
|
+
* Image File
|
|
1953
|
+
* Format: binary
|
|
2083
1954
|
*/
|
|
2084
|
-
|
|
1955
|
+
image_file: string;
|
|
1956
|
+
};
|
|
1957
|
+
/** Body_createProductImage */
|
|
1958
|
+
Body_createProductImage: {
|
|
2085
1959
|
/**
|
|
2086
|
-
*
|
|
2087
|
-
*
|
|
2088
|
-
* @default primary
|
|
1960
|
+
* File
|
|
1961
|
+
* Format: binary
|
|
2089
1962
|
*/
|
|
2090
|
-
|
|
1963
|
+
file: string;
|
|
1964
|
+
};
|
|
1965
|
+
/**
|
|
1966
|
+
* CreateTagRequest
|
|
1967
|
+
* @example {
|
|
1968
|
+
* "color": "#3776AB",
|
|
1969
|
+
* "description": "Programming language tag for Python courses",
|
|
1970
|
+
* "tag_name": "Python Programming",
|
|
1971
|
+
* "tag_type": "skill"
|
|
1972
|
+
* }
|
|
1973
|
+
*/
|
|
1974
|
+
CreateTagRequest: {
|
|
1975
|
+
/**
|
|
1976
|
+
* Tag Name
|
|
1977
|
+
* @example Python Programming
|
|
1978
|
+
*/
|
|
1979
|
+
tag_name: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* Tag Type
|
|
1982
|
+
* @description category, topic, skill, difficulty
|
|
1983
|
+
* @example skill
|
|
1984
|
+
*/
|
|
1985
|
+
tag_type?: string | null;
|
|
1986
|
+
/**
|
|
1987
|
+
* Description
|
|
1988
|
+
* @example Programming language tag for Python courses
|
|
1989
|
+
*/
|
|
1990
|
+
description?: string | null;
|
|
1991
|
+
/**
|
|
1992
|
+
* Color
|
|
1993
|
+
* @description HEX color code
|
|
1994
|
+
* @example #3776AB
|
|
1995
|
+
*/
|
|
1996
|
+
color?: string | null;
|
|
1997
|
+
};
|
|
1998
|
+
/**
|
|
1999
|
+
* ProductIdentityCreateRequest
|
|
2000
|
+
* @description Create localized product content
|
|
2001
|
+
*/
|
|
2002
|
+
ProductIdentityCreateRequest: {
|
|
2003
|
+
/**
|
|
2004
|
+
* @description Locale (language-country format)
|
|
2005
|
+
* @example en-US
|
|
2006
|
+
*/
|
|
2007
|
+
locale: components["schemas"]["Locale"];
|
|
2008
|
+
/**
|
|
2009
|
+
* Title
|
|
2010
|
+
* @example Python Programming Course
|
|
2011
|
+
*/
|
|
2012
|
+
title: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* Subtitle
|
|
2015
|
+
* @example Master Python in 30 days
|
|
2016
|
+
*/
|
|
2017
|
+
subtitle?: string | null;
|
|
2018
|
+
/**
|
|
2019
|
+
* Description
|
|
2020
|
+
* @example Comprehensive Python course covering basics to advanced topics
|
|
2021
|
+
*/
|
|
2022
|
+
description?: string | null;
|
|
2023
|
+
/**
|
|
2024
|
+
* Short Description
|
|
2025
|
+
* @example Learn Python from scratch with hands-on projects
|
|
2026
|
+
*/
|
|
2027
|
+
short_description?: string | null;
|
|
2028
|
+
};
|
|
2029
|
+
ErrorResponse: {
|
|
2030
|
+
/** @example about:blank */
|
|
2031
|
+
type?: string;
|
|
2032
|
+
/** @example GENERIC_ERROR */
|
|
2033
|
+
code?: string;
|
|
2034
|
+
/** @example Client Error */
|
|
2035
|
+
title?: string;
|
|
2036
|
+
/** @example 400 */
|
|
2037
|
+
status?: number;
|
|
2038
|
+
/** @example An error occurred */
|
|
2039
|
+
detail?: string;
|
|
2040
|
+
/** @example /v1/cart/items */
|
|
2041
|
+
instance?: string;
|
|
2042
|
+
extensions?: components["schemas"]["Extensions"];
|
|
2043
|
+
};
|
|
2044
|
+
/**
|
|
2045
|
+
* ProductCurrency
|
|
2046
|
+
* @enum {string}
|
|
2047
|
+
*/
|
|
2048
|
+
ProductCurrency: "USD" | "INR" | "EUR" | "GBP";
|
|
2049
|
+
/**
|
|
2050
|
+
* VariantStatus
|
|
2051
|
+
* @description Variant status enum.
|
|
2052
|
+
* @enum {string}
|
|
2053
|
+
*/
|
|
2054
|
+
VariantStatus: "active" | "inactive" | "out_of_stock" | "discontinued";
|
|
2055
|
+
/**
|
|
2056
|
+
* AddTagToProductRequest
|
|
2057
|
+
* @example {
|
|
2058
|
+
* "display_order": 0,
|
|
2059
|
+
* "tag_id": 5
|
|
2060
|
+
* }
|
|
2061
|
+
*/
|
|
2062
|
+
AddTagToProductRequest: {
|
|
2063
|
+
/**
|
|
2064
|
+
* Tag Id
|
|
2065
|
+
* @example 5
|
|
2066
|
+
*/
|
|
2067
|
+
tag_id: number;
|
|
2091
2068
|
/**
|
|
2092
2069
|
* Display Order
|
|
2093
|
-
* @
|
|
2094
|
-
* @
|
|
2070
|
+
* @default 0
|
|
2071
|
+
* @example 0
|
|
2095
2072
|
*/
|
|
2096
2073
|
display_order: number;
|
|
2097
2074
|
};
|
|
2075
|
+
/**
|
|
2076
|
+
* VariantInventoryInput
|
|
2077
|
+
* @description Inventory data for variant creation.
|
|
2078
|
+
*/
|
|
2079
|
+
VariantInventoryInput: {
|
|
2080
|
+
/**
|
|
2081
|
+
* Track Inventory
|
|
2082
|
+
* @description Track stock for this variant
|
|
2083
|
+
* @default true
|
|
2084
|
+
*/
|
|
2085
|
+
track_inventory: boolean;
|
|
2086
|
+
/**
|
|
2087
|
+
* Stock Quantity
|
|
2088
|
+
* @description Initial stock quantity
|
|
2089
|
+
*/
|
|
2090
|
+
stock_quantity?: number | null;
|
|
2091
|
+
/**
|
|
2092
|
+
* Allow Backorder
|
|
2093
|
+
* @description Allow orders when out of stock
|
|
2094
|
+
* @default false
|
|
2095
|
+
*/
|
|
2096
|
+
allow_backorder: boolean;
|
|
2097
|
+
};
|
|
2098
2098
|
};
|
|
2099
2099
|
responses: never;
|
|
2100
2100
|
parameters: never;
|