@nautical-commerce/graphql-schema 2.27.0 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nautical/schema.graphql +109 -1
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
|
@@ -1728,6 +1728,17 @@ type Query {
|
|
|
1728
1728
|
sellerId: ID
|
|
1729
1729
|
): SalesMetrics
|
|
1730
1730
|
|
|
1731
|
+
"""
|
|
1732
|
+
Get sales velocity metrics (30/60/90 day windows) for product variants. Shows units sold and sales amount for each time window, plus current inventory. Useful for inventory planning and identifying fast/slow-moving products. Automatically filtered by seller for seller staff users.
|
|
1733
|
+
"""
|
|
1734
|
+
salesVelocity(
|
|
1735
|
+
"""Maximum number of items to return"""
|
|
1736
|
+
first: Int = 50
|
|
1737
|
+
|
|
1738
|
+
"""Number of items to skip (for pagination)"""
|
|
1739
|
+
offset: Int = 0
|
|
1740
|
+
): SalesVelocityReport
|
|
1741
|
+
|
|
1731
1742
|
"""Look up a marketplace agreement by ID or slug."""
|
|
1732
1743
|
agreement(
|
|
1733
1744
|
"""ID of the marketplace agreement."""
|
|
@@ -2810,6 +2821,11 @@ type Product implements Node & ObjectWithMetadata {
|
|
|
2810
2821
|
isDigital: Boolean!
|
|
2811
2822
|
productSource: ProductProductSource!
|
|
2812
2823
|
|
|
2824
|
+
"""
|
|
2825
|
+
When enabled, other sellers can create their own variants on this product (cross-sell). Requires marketplace-level enable_master_products to be True.
|
|
2826
|
+
"""
|
|
2827
|
+
allowSellerVariants: Boolean!
|
|
2828
|
+
|
|
2813
2829
|
"""
|
|
2814
2830
|
List of private metadata items.Requires proper staff permissions to access.
|
|
2815
2831
|
"""
|
|
@@ -3213,6 +3229,11 @@ type MarketplaceConfiguration {
|
|
|
3213
3229
|
"""Determines scope for checking duplicated variant attribute sets"""
|
|
3214
3230
|
variantUniqueness: VariantUniquenessEnum
|
|
3215
3231
|
|
|
3232
|
+
"""
|
|
3233
|
+
Whether cross-sell products feature is enabled. When True, sellers can create variants on other sellers' products (if the product allows it).
|
|
3234
|
+
"""
|
|
3235
|
+
enableMasterProducts: Boolean!
|
|
3236
|
+
|
|
3216
3237
|
"""Returns list of default checklists for seller."""
|
|
3217
3238
|
defaultSellerChecklists: [DefaultSellerChecklist!]!
|
|
3218
3239
|
enableStockAllocationForDrafts: Boolean!
|
|
@@ -4886,6 +4907,7 @@ input ProductFilterInput {
|
|
|
4886
4907
|
sellers: [ID]
|
|
4887
4908
|
subStatus: ProductSubStatusEnum
|
|
4888
4909
|
slug: [String!]
|
|
4910
|
+
allowSellerVariants: Boolean
|
|
4889
4911
|
price: PriceRangeInput
|
|
4890
4912
|
minimalPrice: PriceRangeInput
|
|
4891
4913
|
createdAt: DateTimeRangeInput
|
|
@@ -9191,6 +9213,12 @@ type Plugin implements Node {
|
|
|
9191
9213
|
description: String!
|
|
9192
9214
|
active: Boolean!
|
|
9193
9215
|
configuration: [ConfigurationItem!]
|
|
9216
|
+
seller: Seller
|
|
9217
|
+
|
|
9218
|
+
"""
|
|
9219
|
+
Optional custom field mappings for webhook ingestion. Format: {'product': [...], 'variant': [...], 'image': [...]} where each list contains FieldMapping configurations. If null, uses default mappings from plugin.
|
|
9220
|
+
"""
|
|
9221
|
+
customFieldMappings: JSONString
|
|
9194
9222
|
company: String
|
|
9195
9223
|
category: PluginConfigurationCategory
|
|
9196
9224
|
descriptionShort: String!
|
|
@@ -12281,6 +12309,9 @@ type OrderMetrics {
|
|
|
12281
12309
|
|
|
12282
12310
|
"""Orders broken down by status for pie chart"""
|
|
12283
12311
|
statusBreakdown: [PieChartSegment!]!
|
|
12312
|
+
|
|
12313
|
+
"""Orders broken down by seller (MPO only)"""
|
|
12314
|
+
bySeller: [PieChartSegment!]
|
|
12284
12315
|
}
|
|
12285
12316
|
|
|
12286
12317
|
"""Represents a single point in time-series data for charts"""
|
|
@@ -12344,6 +12375,63 @@ type SalesMetrics {
|
|
|
12344
12375
|
|
|
12345
12376
|
"""Sales broken down by product category"""
|
|
12346
12377
|
byCategory: [PieChartSegment!]!
|
|
12378
|
+
|
|
12379
|
+
"""Sales broken down by product variant (Seller only)"""
|
|
12380
|
+
byVariant: [PieChartSegment!]
|
|
12381
|
+
}
|
|
12382
|
+
|
|
12383
|
+
"""Sales velocity report for inventory planning"""
|
|
12384
|
+
type SalesVelocityReport {
|
|
12385
|
+
"""List of variants with sales velocity metrics"""
|
|
12386
|
+
items: [SalesVelocityItem!]!
|
|
12387
|
+
|
|
12388
|
+
"""Total number of variants"""
|
|
12389
|
+
totalCount: Int!
|
|
12390
|
+
|
|
12391
|
+
"""Currency code for sales figures"""
|
|
12392
|
+
currency: String!
|
|
12393
|
+
}
|
|
12394
|
+
|
|
12395
|
+
"""Sales velocity metrics for inventory planning (30/60/90 day windows)"""
|
|
12396
|
+
type SalesVelocityItem {
|
|
12397
|
+
"""Global ID of the product variant"""
|
|
12398
|
+
variantId: ID!
|
|
12399
|
+
|
|
12400
|
+
"""Name of the variant"""
|
|
12401
|
+
variantName: String!
|
|
12402
|
+
|
|
12403
|
+
"""Name of the parent product"""
|
|
12404
|
+
productName: String!
|
|
12405
|
+
|
|
12406
|
+
"""SKU of the variant"""
|
|
12407
|
+
sku: String
|
|
12408
|
+
|
|
12409
|
+
"""Name of the seller (MPO only)"""
|
|
12410
|
+
sellerName: String
|
|
12411
|
+
|
|
12412
|
+
"""Current inventory quantity across all warehouses"""
|
|
12413
|
+
currentQuantity: Int!
|
|
12414
|
+
|
|
12415
|
+
"""Currency code for sales figures"""
|
|
12416
|
+
currency: String!
|
|
12417
|
+
|
|
12418
|
+
"""Units sold in last 30 days"""
|
|
12419
|
+
sold30d: Int!
|
|
12420
|
+
|
|
12421
|
+
"""Sales amount in last 30 days"""
|
|
12422
|
+
sales30d: Decimal!
|
|
12423
|
+
|
|
12424
|
+
"""Units sold in last 60 days"""
|
|
12425
|
+
sold60d: Int!
|
|
12426
|
+
|
|
12427
|
+
"""Sales amount in last 60 days"""
|
|
12428
|
+
sales60d: Decimal!
|
|
12429
|
+
|
|
12430
|
+
"""Units sold in last 90 days"""
|
|
12431
|
+
sold90d: Int!
|
|
12432
|
+
|
|
12433
|
+
"""Sales amount in last 90 days"""
|
|
12434
|
+
sales90d: Decimal!
|
|
12347
12435
|
}
|
|
12348
12436
|
|
|
12349
12437
|
type AgreementCountableConnection {
|
|
@@ -12631,7 +12719,7 @@ type Mutation {
|
|
|
12631
12719
|
description: String
|
|
12632
12720
|
|
|
12633
12721
|
"""
|
|
12634
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
|
12722
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/heif, application/vnd.pdf, image/heif-sequence, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/acad, application/svg+xml, application/vnd.ms-excel, application/x-eps, application/x-tif, application/x-pdf, image/eps, text/rtf, image/heic, image/vnd.dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-acad, application/tiff, application/x-rar, application/rtf, application/vnd.oasis.opendocument.text, image/tif, application/excel, application/x-gzip, application/x-rar-compressed, application/x-zip-compressed, application/vnd.oasis.opendocument.presentation, image/x-dxf, application/zip, drawing/x-dwf, drawing/dwg, image/svg, image/x-tiff, application/x-tiff, image/tiff, text/svg, application/eps, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tif, application/dwg, application/jpg, image/gif, text/x-csv, application/vnd.oasis.opendocument.spreadsheet, image/dxf, text/csv, image/x-bmp, image/jpg, text/comma-separated-values, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/csv, application/x-tar, image/x-eps, image/jpeg, application/dxf, application/gzip-compressed, application/x-csv, application/vnd.ms-word, image/webp, application/x-dxf, application/gzipped, application/pdf, application/vnd.ms-powerpoint, image/x-dwg, application/tif, image/png, image/svg+xml, application/postscript, text/pdf, application/msword, text/plain, text/svg-xml, application/x-autocad, application/acrobat, application/x-rtf, application/x-dwg, application/x-jpg, drawing/x-dwg, pplication/vnd.rar, image/heic-sequence, image/bmp, application/gzip, text/x-pdf, text/x-comma-separated-values.
|
|
12635
12723
|
"""
|
|
12636
12724
|
file: Upload!
|
|
12637
12725
|
|
|
@@ -15921,6 +16009,11 @@ input MarketplaceConfigurationInput {
|
|
|
15921
16009
|
"""Determines scope for checking duplicated variant attribute sets"""
|
|
15922
16010
|
variantUniqueness: VariantUniquenessEnum = null
|
|
15923
16011
|
|
|
16012
|
+
"""
|
|
16013
|
+
Enable cross-sell products feature. When enabled, sellers can create variants on other sellers' products (if the product allows it). Requires variant_uniqueness to be UNIQUE_PER_SELLER.
|
|
16014
|
+
"""
|
|
16015
|
+
enableMasterProducts: Boolean
|
|
16016
|
+
|
|
15924
16017
|
"""List of all default checklists for seller."""
|
|
15925
16018
|
defaultSellerChecklists: [DefaultSellerChecklistInput!]
|
|
15926
16019
|
|
|
@@ -18230,6 +18323,11 @@ input ProductCreateInput {
|
|
|
18230
18323
|
"""Product dimensions."""
|
|
18231
18324
|
dimensions: ProductDimensionsInput
|
|
18232
18325
|
|
|
18326
|
+
"""
|
|
18327
|
+
When enabled, other sellers can create their own variants on this product (cross-sell). Requires marketplace-level enable_master_products to be True. Only the product owner can modify this setting.
|
|
18328
|
+
"""
|
|
18329
|
+
allowSellerVariants: Boolean
|
|
18330
|
+
|
|
18233
18331
|
"""ID of the seller that product belongs to."""
|
|
18234
18332
|
seller: ID!
|
|
18235
18333
|
|
|
@@ -18454,6 +18552,11 @@ input ProductBulkCreateInput {
|
|
|
18454
18552
|
"""Product dimensions."""
|
|
18455
18553
|
dimensions: ProductDimensionsInput
|
|
18456
18554
|
|
|
18555
|
+
"""
|
|
18556
|
+
When enabled, other sellers can create their own variants on this product (cross-sell). Requires marketplace-level enable_master_products to be True. Only the product owner can modify this setting.
|
|
18557
|
+
"""
|
|
18558
|
+
allowSellerVariants: Boolean
|
|
18559
|
+
|
|
18457
18560
|
"""ID of the seller that product belongs to."""
|
|
18458
18561
|
seller: ID!
|
|
18459
18562
|
|
|
@@ -18627,6 +18730,11 @@ input ProductInput {
|
|
|
18627
18730
|
|
|
18628
18731
|
"""Product dimensions."""
|
|
18629
18732
|
dimensions: ProductDimensionsInput
|
|
18733
|
+
|
|
18734
|
+
"""
|
|
18735
|
+
When enabled, other sellers can create their own variants on this product (cross-sell). Requires marketplace-level enable_master_products to be True. Only the product owner can modify this setting.
|
|
18736
|
+
"""
|
|
18737
|
+
allowSellerVariants: Boolean
|
|
18630
18738
|
}
|
|
18631
18739
|
|
|
18632
18740
|
"""Set product availability for purchase date."""
|