@nautical-commerce/graphql-schema 1.57.0-5-gafed69cdd → 1.57.0-6-g46908da6d

Sign up to get free protection for your applications and to get access to all the features.
@@ -1051,16 +1051,10 @@ type Query {
1051
1051
  """End of the period to filter results"""
1052
1052
  endDate: Date
1053
1053
 
1054
- """Vendor type of the payout"""
1055
- vendorType: String @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
1056
-
1057
1054
  """Payout ID"""
1058
1055
  payoutId: ID
1059
1056
  ): VendorPayoutReport
1060
1057
  vendorPayoutList(
1061
- """Vendor type of the payout"""
1062
- vendorType: String
1063
-
1064
1058
  """Vendor ID"""
1065
1059
  vendorId: ID
1066
1060
  ): SingleVendorPayoutReport
@@ -1551,13 +1545,6 @@ type Query {
1551
1545
  """End of the period to filter results"""
1552
1546
  endDate: Date!
1553
1547
  ): InReportMarketplacePayoutsSummaryType
1554
- insightsMarketplaceAffiliatePayoutsSummary(
1555
- """Beginning of the period to filter results"""
1556
- startDate: Date!
1557
-
1558
- """End of the period to filter results"""
1559
- endDate: Date!
1560
- ): InReportMarketplaceAffiliatePayoutsSummaryType @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
1561
1548
  insightsMarketplaceTaxSummary(
1562
1549
  """Beginning of the period to filter results"""
1563
1550
  startDate: Date!
@@ -2002,55 +1989,6 @@ type Query {
2002
1989
  id: ID!
2003
1990
  ): [AgreementSellers!]!
2004
1991
 
2005
- """List of the shop's affiliates"""
2006
- affiliates(
2007
- """Filtering options for affiliates."""
2008
- filter: AffiliateFilterInput
2009
-
2010
- """Sort affiliates."""
2011
- sortBy: UserSortingInput
2012
-
2013
- """Return the elements in the list that come before the specified cursor."""
2014
- before: String
2015
-
2016
- """Return the elements in the list that come after the specified cursor."""
2017
- after: String
2018
-
2019
- """Return the first n elements from the list."""
2020
- first: Int
2021
-
2022
- """Return the last n elements from the list."""
2023
- last: Int
2024
- ): UserCountableConnection @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2025
- affiliate(
2026
- """ID of the affiliate you are querying"""
2027
- id: ID
2028
- ): OptimizedAffiliate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2029
-
2030
- """List of affiliates' codes"""
2031
- affiliateCodes(
2032
- """Affiliate ID to get codes for"""
2033
- id: ID!
2034
-
2035
- """Filtering options for affiliate codes"""
2036
- filter: AffiliateCodeFilterInput
2037
-
2038
- """Sort affiliate codes"""
2039
- sortBy: AffiliateCodeSortingInput
2040
-
2041
- """Return the elements in the list that come before the specified cursor."""
2042
- before: String
2043
-
2044
- """Return the elements in the list that come after the specified cursor."""
2045
- after: String
2046
-
2047
- """Return the first n elements from the list."""
2048
- first: Int
2049
-
2050
- """Return the last n elements from the list."""
2051
- last: Int
2052
- ): AffiliateCodesCountableConnection @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2053
-
2054
1992
  """Returns address validation rules."""
2055
1993
  addressValidationRules(
2056
1994
  """Two-letter ISO 3166-1 country code."""
@@ -2577,22 +2515,9 @@ type User implements Node & ObjectWithMetadata {
2577
2515
  """Return the last n elements from the list."""
2578
2516
  last: Int
2579
2517
  ): WishlistCountableConnection
2580
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2581
2518
  seller: Seller
2582
- hasMicrosite: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2583
- micrositeId: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2584
2519
  isAssignable: Boolean
2585
2520
 
2586
- """Date of last affiliate referral."""
2587
- lastReferral: DateTime @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2588
-
2589
- """Date of last affiliate confirmed order."""
2590
- lastOrder: DateTime @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2591
- affiliateReferrals: Int @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2592
- affiliateOrders: Int @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2593
- affiliateEarnings: Money @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2594
- agreement: Agreement
2595
-
2596
2521
  """List of documents associated with the user."""
2597
2522
  documents: [Document!]!
2598
2523
 
@@ -3849,8 +3774,6 @@ type Order implements Node & ObjectWithMetadata {
3849
3774
  displayGrossPrices: Boolean!
3850
3775
  customerNote: String!
3851
3776
  weight: Weight
3852
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3853
- affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3854
3777
 
3855
3778
  """Data time when the order was imported from another platform."""
3856
3779
  importedAt: DateTime
@@ -3939,9 +3862,6 @@ type Order implements Node & ObjectWithMetadata {
3939
3862
  """Seller commission for the order"""
3940
3863
  sellerCommission: Money
3941
3864
 
3942
- """Affiliate commission for the order"""
3943
- affiliateCommission: Money @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3944
-
3945
3865
  """Volume discount for the order"""
3946
3866
  volumeDiscount: TaxedMoney
3947
3867
 
@@ -5556,83 +5476,61 @@ enum SaleTypeEnum {
5556
5476
  SPECIFIC_PRODUCT
5557
5477
  }
5558
5478
 
5559
- """Represents an affiliate code"""
5560
- type AffiliateCodes implements Node {
5479
+ """Represents order fulfillment."""
5480
+ type Fulfillment implements Node & ObjectWithMetadata {
5561
5481
  """The ID of the object"""
5562
5482
  id: ID!
5563
- externalId: String
5564
- externalSource: String
5565
- externalInventoryId: String
5483
+ fulfillmentOrder: Int!
5484
+ relatedTo: Fulfillment
5485
+ order: Order!
5566
5486
 
5567
- """The id of the affiliate that the code belongs to"""
5568
- affiliate: User
5487
+ """Nautical order via order mapping"""
5488
+ nauticalOrder: NauticalOrder
5489
+ status: FulfillmentStatus!
5569
5490
 
5570
- """
5571
- Number of times the code has been submitted (this includes when the customer did not complete an order)
5572
- """
5573
- uses: Int
5491
+ """Fulfillment tracking company"""
5492
+ trackingCompany: String
5574
5493
 
5575
- """The new affiliate code"""
5576
- code: String
5494
+ """Fulfillment tracking number"""
5495
+ trackingNumber: String
5577
5496
 
5578
- """Channel the code is associated with"""
5579
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5497
+ """Fulfillment tracking url"""
5498
+ trackingUrl: String
5499
+ shippingLabelUrl: String
5500
+ created: DateTime!
5501
+ updated: DateTime!
5580
5502
 
5581
- """Whether or not the code is active"""
5582
- isActive: Boolean
5583
- createdAt: DateTime!
5584
- updatedAt: DateTime!
5585
- affiliateNauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
5586
- affiliateOrders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
5587
- earnings: Money
5588
- orders: Int
5589
- }
5503
+ """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5504
+ user: User
5590
5505
 
5591
- """Represents unique channel in Nautical."""
5592
- type Channel implements Node {
5593
- """The ID of the object"""
5594
- id: ID!
5595
- tenant: Tenant!
5596
- createdAt: DateTime
5597
- updatedAt: DateTime
5598
- channel: String!
5599
- affiliateCodes(offset: Int, before: String, after: String, first: Int, last: Int): AffiliateCodesCountableConnection!
5600
- nauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
5601
- orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
5602
- }
5506
+ """
5507
+ List of private metadata items.Requires proper staff permissions to access.
5508
+ """
5509
+ privateMetadata: [MetadataItem!]!
5603
5510
 
5604
- type AffiliateCodesCountableConnection {
5605
- """Pagination data for this connection."""
5606
- pageInfo: PageInfo!
5607
- edges: [AffiliateCodesCountableEdge!]!
5511
+ """List of public metadata items. Can be accessed without permissions."""
5512
+ metadata: [MetadataItem!]!
5608
5513
 
5609
- """A total count of items in the collection."""
5610
- totalCount: Int
5611
- }
5514
+ """List of lines for the fulfillment."""
5515
+ lines: [FulfillmentLine!]
5612
5516
 
5613
- type AffiliateCodesCountableEdge {
5614
- """The item at the end of the edge."""
5615
- node: AffiliateCodes!
5517
+ """Seller who made the fulfillment."""
5518
+ seller: Seller
5616
5519
 
5617
- """A cursor for use in pagination."""
5618
- cursor: String!
5619
- }
5520
+ """User-friendly fulfillment status."""
5521
+ statusDisplay: String
5620
5522
 
5621
- type NauticalOrderCountableConnection {
5622
- """Pagination data for this connection."""
5623
- pageInfo: PageInfo!
5624
- edges: [NauticalOrderCountableEdge!]!
5523
+ """Warehouse from fulfillment was fulfilled."""
5524
+ warehouse: Warehouse
5625
5525
 
5626
- """A total count of items in the collection."""
5627
- totalCount: Int
5628
- }
5526
+ """Sum of quantities across all lines."""
5527
+ totalLinesQuantity: Int
5629
5528
 
5630
- type NauticalOrderCountableEdge {
5631
- """The item at the end of the edge."""
5632
- node: NauticalOrder!
5529
+ """Total price across all quantities across all lines."""
5530
+ totalLinesMoney: Money!
5633
5531
 
5634
- """A cursor for use in pagination."""
5635
- cursor: String!
5532
+ """List of custom fields assigned to this fulfillment."""
5533
+ customFields: [SelectedAttribute!]!
5636
5534
  }
5637
5535
 
5638
5536
  """Represents a nautical order in the shop."""
@@ -5674,8 +5572,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5674
5572
  displayGrossPrices: Boolean!
5675
5573
  customerNote: String!
5676
5574
  weight: Weight
5677
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
5678
- affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
5679
5575
 
5680
5576
  """Data time when the order was imported from another platform."""
5681
5577
  importedAt: DateTime
@@ -5875,105 +5771,36 @@ enum NauticalOrderSubStatus {
5875
5771
  OFFER_REJECTED
5876
5772
  }
5877
5773
 
5878
- """Represents order fulfillment."""
5879
- type Fulfillment implements Node & ObjectWithMetadata {
5880
- """The ID of the object"""
5881
- id: ID!
5882
- fulfillmentOrder: Int!
5883
- relatedTo: Fulfillment
5884
- order: Order!
5885
-
5886
- """Nautical order via order mapping"""
5887
- nauticalOrder: NauticalOrder
5888
- status: FulfillmentStatus!
5889
-
5890
- """Fulfillment tracking company"""
5891
- trackingCompany: String
5892
-
5893
- """Fulfillment tracking number"""
5894
- trackingNumber: String
5895
-
5896
- """Fulfillment tracking url"""
5897
- trackingUrl: String
5898
- shippingLabelUrl: String
5899
- created: DateTime!
5900
- updated: DateTime!
5901
-
5902
- """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5903
- user: User
5904
-
5905
- """
5906
- List of private metadata items.Requires proper staff permissions to access.
5907
- """
5908
- privateMetadata: [MetadataItem!]!
5909
-
5910
- """List of public metadata items. Can be accessed without permissions."""
5911
- metadata: [MetadataItem!]!
5912
-
5913
- """List of lines for the fulfillment."""
5914
- lines: [FulfillmentLine!]
5915
-
5916
- """Seller who made the fulfillment."""
5917
- seller: Seller
5918
-
5919
- """User-friendly fulfillment status."""
5920
- statusDisplay: String
5921
-
5922
- """Warehouse from fulfillment was fulfilled."""
5923
- warehouse: Warehouse
5924
-
5925
- """Sum of quantities across all lines."""
5926
- totalLinesQuantity: Int
5927
-
5928
- """Total price across all quantities across all lines."""
5929
- totalLinesMoney: Money!
5930
-
5931
- """List of custom fields assigned to this fulfillment."""
5932
- customFields: [SelectedAttribute!]!
5933
- }
5934
-
5935
- """An enumeration."""
5936
- enum FulfillmentStatus {
5937
- """Fulfilled"""
5938
- FULFILLED
5939
-
5940
- """Canceled"""
5941
- CANCELED
5942
-
5943
- """Returned"""
5944
- RETURNED
5774
+ enum OrderSubStatusEnum {
5775
+ """In Review"""
5776
+ IN_REVIEW
5945
5777
 
5946
- """Declined"""
5947
- DECLINED
5778
+ """Quote Requested"""
5779
+ QUOTE_REQUESTED
5948
5780
 
5949
- """Return requested"""
5950
- RETURN_REQUESTED
5781
+ """Awaiting Payment"""
5782
+ AWAITING_PAYMENT
5951
5783
 
5952
- """Return authorized"""
5953
- RETURN_AUTHORIZED
5784
+ """Complete"""
5785
+ COMPLETE
5954
5786
 
5955
- """Return declined"""
5956
- RETURN_DECLINED
5787
+ """Offer Approved"""
5788
+ OFFER_APPROVED
5957
5789
 
5958
- """Return received"""
5959
- RETURN_RECEIVED
5790
+ """Offer Cancelled"""
5791
+ OFFER_CANCELLED
5960
5792
 
5961
- """Return complete"""
5962
- RETURN_COMPLETE
5793
+ """Offer Created"""
5794
+ OFFER_CREATED
5963
5795
 
5964
- """Return cancelled"""
5965
- RETURN_CANCELLED
5966
- }
5796
+ """Offer Expired"""
5797
+ OFFER_EXPIRED
5967
5798
 
5968
- """Represents line of the fulfillment."""
5969
- type FulfillmentLine implements Node {
5970
- """The ID of the object"""
5971
- id: ID!
5972
- quantity: Int!
5973
- orderLine: OrderLine
5799
+ """Offer Negotiating"""
5800
+ OFFER_NEGOTIATING
5974
5801
 
5975
- """Reason customer requested item return."""
5976
- returnReason: String
5802
+ """Offer Rejected"""
5803
+ OFFER_REJECTED
5977
5804
  }
5978
5805
 
5979
5806
  """Represents order line of particular order."""
@@ -6403,47 +6230,15 @@ type ShippingZoneCountryArea implements Node {
6403
6230
  countryArea: CountryArea!
6404
6231
  }
6405
6232
 
6406
- enum OrderSubStatusEnum {
6407
- """In Review"""
6408
- IN_REVIEW
6409
-
6410
- """Quote Requested"""
6411
- QUOTE_REQUESTED
6233
+ enum OrderAction {
6234
+ """Represents the capture action."""
6235
+ CAPTURE
6412
6236
 
6413
- """Awaiting Payment"""
6414
- AWAITING_PAYMENT
6237
+ """Represents a mark-as-paid action."""
6238
+ MARK_AS_PAID
6415
6239
 
6416
- """Complete"""
6417
- COMPLETE
6418
-
6419
- """Offer Approved"""
6420
- OFFER_APPROVED
6421
-
6422
- """Offer Cancelled"""
6423
- OFFER_CANCELLED
6424
-
6425
- """Offer Created"""
6426
- OFFER_CREATED
6427
-
6428
- """Offer Expired"""
6429
- OFFER_EXPIRED
6430
-
6431
- """Offer Negotiating"""
6432
- OFFER_NEGOTIATING
6433
-
6434
- """Offer Rejected"""
6435
- OFFER_REJECTED
6436
- }
6437
-
6438
- enum OrderAction {
6439
- """Represents the capture action."""
6440
- CAPTURE
6441
-
6442
- """Represents a mark-as-paid action."""
6443
- MARK_AS_PAID
6444
-
6445
- """Represents a refund action."""
6446
- REFUND
6240
+ """Represents a refund action."""
6241
+ REFUND
6447
6242
 
6448
6243
  """Represents a void action."""
6449
6244
  VOID
@@ -6914,6 +6709,35 @@ type NauticalOrderEventOrderLineObject {
6914
6709
  itemName: String
6915
6710
  }
6916
6711
 
6712
+ """Represents unique channel in Nautical."""
6713
+ type Channel implements Node {
6714
+ """The ID of the object"""
6715
+ id: ID!
6716
+ tenant: Tenant!
6717
+ createdAt: DateTime
6718
+ updatedAt: DateTime
6719
+ channel: String!
6720
+ nauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
6721
+ orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
6722
+ }
6723
+
6724
+ type NauticalOrderCountableConnection {
6725
+ """Pagination data for this connection."""
6726
+ pageInfo: PageInfo!
6727
+ edges: [NauticalOrderCountableEdge!]!
6728
+
6729
+ """A total count of items in the collection."""
6730
+ totalCount: Int
6731
+ }
6732
+
6733
+ type NauticalOrderCountableEdge {
6734
+ """The item at the end of the edge."""
6735
+ node: NauticalOrder!
6736
+
6737
+ """A cursor for use in pagination."""
6738
+ cursor: String!
6739
+ }
6740
+
6917
6741
  """Represents a bid."""
6918
6742
  type Bid implements Node {
6919
6743
  """The ID of the object"""
@@ -7184,6 +7008,50 @@ enum RefundTypeEnum {
7184
7008
  ORDERLINEREFUND
7185
7009
  }
7186
7010
 
7011
+ """An enumeration."""
7012
+ enum FulfillmentStatus {
7013
+ """Fulfilled"""
7014
+ FULFILLED
7015
+
7016
+ """Canceled"""
7017
+ CANCELED
7018
+
7019
+ """Returned"""
7020
+ RETURNED
7021
+
7022
+ """Declined"""
7023
+ DECLINED
7024
+
7025
+ """Return requested"""
7026
+ RETURN_REQUESTED
7027
+
7028
+ """Return authorized"""
7029
+ RETURN_AUTHORIZED
7030
+
7031
+ """Return declined"""
7032
+ RETURN_DECLINED
7033
+
7034
+ """Return received"""
7035
+ RETURN_RECEIVED
7036
+
7037
+ """Return complete"""
7038
+ RETURN_COMPLETE
7039
+
7040
+ """Return cancelled"""
7041
+ RETURN_CANCELLED
7042
+ }
7043
+
7044
+ """Represents line of the fulfillment."""
7045
+ type FulfillmentLine implements Node {
7046
+ """The ID of the object"""
7047
+ id: ID!
7048
+ quantity: Int!
7049
+ orderLine: OrderLine
7050
+
7051
+ """Reason customer requested item return."""
7052
+ returnReason: String
7053
+ }
7054
+
7187
7055
  """Extra fee associated with an order"""
7188
7056
  type OrderFee implements Node {
7189
7057
  """The ID of the object"""
@@ -7536,7 +7404,6 @@ type Microsite implements Node & ObjectWithMetadata {
7536
7404
  name: String!
7537
7405
  slug: String!
7538
7406
  footerText: String
7539
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
7540
7407
  seller: Seller
7541
7408
 
7542
7409
  """
@@ -10838,7 +10705,6 @@ type OrderVendorSummaryType {
10838
10705
  revenue: Float
10839
10706
  totals: Int
10840
10707
  commission: Float
10841
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10842
10708
  payout: Float
10843
10709
  vendors: Int
10844
10710
  adjustments: Decimal
@@ -10859,7 +10725,6 @@ type OrderVendorReportType {
10859
10725
  revenue: Float
10860
10726
  totals: Int
10861
10727
  commission: Float
10862
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10863
10728
  payout: Float
10864
10729
  vendorId: Int
10865
10730
  vendor: Vendor
@@ -10889,7 +10754,6 @@ type SingleVendorReportType {
10889
10754
  revenue: Float
10890
10755
  totals: Int
10891
10756
  commission: Float
10892
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10893
10757
  payout: Decimal
10894
10758
  adjustments: Decimal
10895
10759
  penalties: Decimal
@@ -10914,7 +10778,6 @@ type SingleVendorSummaryType {
10914
10778
  revenue: Float
10915
10779
  totals: Int
10916
10780
  commission: Float
10917
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10918
10781
  payout: Float
10919
10782
  adjustments: Decimal
10920
10783
  penalties: Decimal
@@ -12452,7 +12315,6 @@ type OrderSellerSummaryType {
12452
12315
  revenue: Float
12453
12316
  totals: Int
12454
12317
  commission: Float
12455
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12456
12318
  payout: Float
12457
12319
  sellers: Float
12458
12320
  }
@@ -12469,7 +12331,6 @@ type OrderCustomerReportType {
12469
12331
  revenue: Float
12470
12332
  totals: Int
12471
12333
  commission: Float
12472
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12473
12334
  payout: Float
12474
12335
  userId: Int
12475
12336
  user: User
@@ -12511,7 +12372,6 @@ type OrderSellerReportType {
12511
12372
  revenue: Float
12512
12373
  totals: Int
12513
12374
  commission: Float
12514
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12515
12375
  payout: Float
12516
12376
  sellerId: Int
12517
12377
  seller: Seller
@@ -12553,7 +12413,6 @@ type OrderMarketplaceReportType {
12553
12413
  revenue: Float
12554
12414
  totals: Int
12555
12415
  commission: Float
12556
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12557
12416
  payout: Float
12558
12417
  dimension: Date
12559
12418
  }
@@ -12590,65 +12449,6 @@ type InReportMarketplacePayoutsSummaryType {
12590
12449
  report: [OrderSellerReportType!]
12591
12450
  }
12592
12451
 
12593
- type InReportMarketplaceAffiliatePayoutsSummaryType {
12594
- """Category of the metric."""
12595
- category: String!
12596
-
12597
- """Title of the metric."""
12598
- title: String!
12599
-
12600
- """
12601
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12602
- """
12603
- columns: [ColumnObjectType!]
12604
-
12605
- """Info about applied filters."""
12606
- filters: [FilterObjectType!]
12607
-
12608
- """Total summary for selected period."""
12609
- summary: OrderAffiliateSummaryType!
12610
-
12611
- """
12612
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12613
- """
12614
- report: [OrderAffiliateReportType!]
12615
- }
12616
-
12617
- type OrderAffiliateSummaryType {
12618
- gross: Float
12619
- orders: Int
12620
- net: Float
12621
- shipping: Float
12622
- average: Float
12623
- taxes: Float
12624
- discounts: Float
12625
- volumeDiscounts: Float
12626
- revenue: Float
12627
- totals: Int
12628
- commission: Float
12629
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12630
- payout: Float
12631
- affiliates: Float
12632
- }
12633
-
12634
- type OrderAffiliateReportType {
12635
- gross: Float
12636
- orders: Int
12637
- net: Float
12638
- shipping: Float
12639
- average: Float
12640
- taxes: Float
12641
- discounts: Float
12642
- volumeDiscounts: Float
12643
- revenue: Float
12644
- totals: Int
12645
- commission: Float
12646
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12647
- payout: Float
12648
- affiliateId: Int
12649
- affiliate: User
12650
- }
12651
-
12652
12452
  type InReportMarketplaceTaxSummaryType {
12653
12453
  """Category of the metric."""
12654
12454
  category: String!
@@ -12685,7 +12485,6 @@ type AbstractOrderSellerReportType {
12685
12485
  revenue: Float
12686
12486
  totals: Int
12687
12487
  commission: Float
12688
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12689
12488
  payout: Float
12690
12489
  }
12691
12490
 
@@ -12701,7 +12500,6 @@ type MarketplaceTaxReportType {
12701
12500
  revenue: Float
12702
12501
  totals: Int
12703
12502
  commission: Float
12704
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12705
12503
  payout: Float
12706
12504
  dimension: Date
12707
12505
  }
@@ -12742,7 +12540,6 @@ type MarketplaceTaxReportByLocaleType {
12742
12540
  revenue: Float
12743
12541
  totals: Int
12744
12542
  commission: Float
12745
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12746
12543
  payout: Float
12747
12544
  billingAddress_Country: String
12748
12545
  billingAddress_CountryArea: String
@@ -12954,7 +12751,6 @@ type DashboardSellerOrderPerformanceType {
12954
12751
  revenue: Float
12955
12752
  totals: Int
12956
12753
  commission: Float
12957
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12958
12754
  payout: Float
12959
12755
  sellerId: Int
12960
12756
  seller: Seller
@@ -12977,7 +12773,6 @@ type GraphDataType {
12977
12773
  revenue: Float
12978
12774
  totals: Int
12979
12775
  commission: Float
12980
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12981
12776
  payout: Float
12982
12777
  dimension: DateTime
12983
12778
  }
@@ -13687,50 +13482,6 @@ input AgreementFilterInput {
13687
13482
  search: String
13688
13483
  }
13689
13484
 
13690
- input AffiliateFilterInput {
13691
- dateJoined: DateRangeInput
13692
- moneySpent: PriceRangeInput
13693
- numberOfOrders: IntRangeInput
13694
- placedOrders: DateRangeInput
13695
- search: String
13696
- }
13697
-
13698
- type OptimizedAffiliate {
13699
- affiliate: User
13700
- channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13701
- topCodes: [AffiliateCodes!]
13702
- agreement: Agreement
13703
- }
13704
-
13705
- type OptimizedAffiliateChannels {
13706
- channelName: String
13707
- totalReferrals: Int
13708
- }
13709
-
13710
- input AffiliateCodeFilterInput {
13711
- search: String
13712
- isActive: Boolean
13713
- }
13714
-
13715
- input AffiliateCodeSortingInput {
13716
- """Specifies the direction in which to sort products."""
13717
- direction: OrderDirection!
13718
-
13719
- """Sort affiliate_codes by the selected field."""
13720
- field: AffiliateCodeSortField!
13721
- }
13722
-
13723
- enum AffiliateCodeSortField {
13724
- """Sort affiliate codes by code."""
13725
- CODE
13726
-
13727
- """Sort affiliate codes by status."""
13728
- STATUS
13729
-
13730
- """Sort affiliate codes by referrals."""
13731
- REFERRALS
13732
- }
13733
-
13734
13485
  type AddressValidationData {
13735
13486
  countryCode: String
13736
13487
  countryName: String
@@ -13846,7 +13597,7 @@ type Mutation {
13846
13597
  description: String
13847
13598
 
13848
13599
  """
13849
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-pdf, text/svg-xml, drawing/x-dwf, application/gzip-compressed, text/x-csv, drawing/dwg, pplication/vnd.rar, image/png, application/vnd.ms-word, application/vnd.pdf, application/x-csv, image/heif-sequence, application/eps, application/gzip, application/vnd.oasis.opendocument.text, application/x-zip-compressed, application/svg+xml, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-tiff, application/rtf, text/pdf, image/tif, application/x-dxf, image/bmp, application/pdf, image/x-ms-bmp, image/heic, image/x-bmp, application/acrobat, text/x-comma-separated-values, application/x-rtf, application/excel, application/msword, application/x-jpg, application/vnd.ms-powerpoint, image/vnd.dwg, application/x-tif, text/csv, image/webp, text/plain, application/vnd.oasis.opendocument.spreadsheet, application/dxf, image/x-eps, text/x-pdf, image/dxf, application/x-acad, application/dwg, text/svg, image/svg, drawing/x-dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tar, image/x-dwg, application/vnd.ms-excel, application/postscript, image/x-dxf, application/x-autocad, text/comma-separated-values, application/x-rar, image/svg+xml, application/x-dwg, text/rtf, image/jpeg, image/eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-gzip, application/vnd.oasis.opendocument.presentation, application/gzipped, application/tiff, image/x-tiff, image/heif, application/jpg, application/csv, image/gif, image/heic-sequence, application/acad, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tif, application/tif, application/zip, image/jpg, image/tiff, application/x-eps.
13600
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-zip-compressed, application/rtf, application/pdf, image/webp, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/comma-separated-values, image/heic-sequence, drawing/x-dwg, image/svg+xml, text/x-comma-separated-values, image/tif, pplication/vnd.rar, application/acrobat, image/x-eps, application/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tar, application/x-gzip, application/postscript, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-csv, image/bmp, application/vnd.ms-powerpoint, application/acad, application/x-rtf, application/excel, application/gzipped, application/jpg, application/csv, application/x-rar-compressed, image/x-tiff, application/x-tif, image/heic, image/x-dwg, text/pdf, drawing/dwg, application/tif, application/x-acad, application/x-eps, application/x-dwg, text/csv, image/eps, application/x-rar, text/x-pdf, application/svg+xml, application/vnd.ms-word, text/svg-xml, application/tiff, image/gif, application/vnd.pdf, application/x-csv, image/dxf, application/gzip-compressed, image/x-dxf, image/vnd.dwg, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.ms-excel, application/vnd.oasis.opendocument.text, image/x-ms-bmp, application/zip, text/svg, application/vnd.oasis.opendocument.presentation, application/x-autocad, application/vnd.oasis.opendocument.spreadsheet, application/x-pdf, application/msword, text/plain, image/x-tif, application/x-dxf, image/svg, text/rtf, image/tiff, image/heif-sequence, image/jpeg, application/eps, drawing/x-dwf, application/x-tiff, image/jpg, image/heif, application/dxf, application/x-jpg, image/x-bmp, image/png.
13850
13601
  """
13851
13602
  file: Upload!
13852
13603
 
@@ -13955,15 +13706,6 @@ type Mutation {
13955
13706
  id: ID!
13956
13707
  ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13957
13708
 
13958
- """Updates an affiliate code channel"""
13959
- affiliateCodeChannelUpdate(
13960
- """ID of the channel to associate with the affiliate code"""
13961
- channel: ID
13962
-
13963
- """ID of the affiliate code to update channel for"""
13964
- id: ID!
13965
- ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
13966
-
13967
13709
  """Updates marketplace configuration."""
13968
13710
  marketplaceConfigurationUpdate(
13969
13711
  """Fields required to update marketplace configuration."""
@@ -14242,70 +13984,6 @@ type Mutation {
14242
13984
  input: MicrositeInput!
14243
13985
  ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
14244
13986
 
14245
- """Creates a new affiliate code"""
14246
- affiliateCodeCreate(
14247
- """Fields required to create an affiliate code."""
14248
- input: AffiliateCodeCreateInput
14249
- ): AffiliateCodeCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14250
-
14251
- """Increments affiliate code uses"""
14252
- affiliateCodeUse(
14253
- """Affiliate code to increment use for"""
14254
- code: String
14255
- ): AffiliateCodeUse @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14256
-
14257
- """Sets whether code is active"""
14258
- affiliateCodeSetActive(
14259
- """Whether the code is active or not"""
14260
- isActive: Boolean
14261
- ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14262
-
14263
- """Activate or deactivate affiliate codes."""
14264
- affiliateCodeBulkSetActive(
14265
- """List of code IDs to (de)activate)."""
14266
- ids: [ID!]!
14267
-
14268
- """Determine if codes will be set active or not."""
14269
- isActive: Boolean!
14270
- ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14271
-
14272
- """
14273
- Create an affiliate avatar. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
14274
- """
14275
- affiliateAvatarUpdate(
14276
- affiliate: ID
14277
-
14278
- """Represents an image file in a multipart request."""
14279
- image: Upload!
14280
- ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14281
-
14282
- """Creates a new affiliate."""
14283
- affiliateCreate(
14284
- """Fields required to create a affiliate."""
14285
- input: UserCreateInput!
14286
- ): AffiliateCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14287
-
14288
- """Updates an existing affiliate."""
14289
- affiliateUpdate(
14290
- """ID of a affiliate to update."""
14291
- id: ID!
14292
-
14293
- """Fields required to update a affiliate."""
14294
- input: AffiliateInput!
14295
- ): AffiliateUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14296
-
14297
- """Deletes a affiliate."""
14298
- affiliateDelete(
14299
- """ID of a affiliate to delete."""
14300
- id: ID!
14301
- ): AffiliateDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14302
-
14303
- """Deletes affiliates."""
14304
- affiliateBulkDelete(
14305
- """List of user IDs to delete."""
14306
- ids: [ID!]!
14307
- ): AffiliateBulkDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14308
-
14309
13987
  """Creates a new agreement."""
14310
13988
  agreementCreate(
14311
13989
  """Fields required to create a agreement."""
@@ -16475,9 +16153,6 @@ type Mutation {
16475
16153
  Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation.
16476
16154
  """
16477
16155
  checkoutComplete(
16478
- """ID of affiliate code used for checkout completion"""
16479
- affiliate: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
16480
-
16481
16156
  """Checkout ID."""
16482
16157
  checkoutId: ID!
16483
16158
 
@@ -17540,13 +17215,6 @@ type NauticalOrderChannelUpdate {
17540
17215
  channelErrors: [ChannelError!]!
17541
17216
  }
17542
17217
 
17543
- """Updates an affiliate code channel"""
17544
- type AffiliateCodeChannelUpdate {
17545
- """Updated affiliate code instance"""
17546
- affiliateCode: AffiliateCodes
17547
- channelErrors: [ChannelError!]!
17548
- }
17549
-
17550
17218
  """Updates marketplace configuration."""
17551
17219
  type MarketplaceConfigurationUpdate {
17552
17220
  """Updated marketplace configuration."""
@@ -18121,364 +17789,78 @@ type MicrositeReorderProducts {
18121
17789
  }
18122
17790
 
18123
17791
  input MoveProductInput {
18124
- """The ID of the product to move."""
18125
- productId: ID!
18126
-
18127
- """
18128
- The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.
18129
- """
18130
- sortOrder: Int
18131
- }
18132
-
18133
- """Deletes microsites."""
18134
- type MicrositeBulkDelete {
18135
- """Returns how many objects were affected."""
18136
- count: Int!
18137
- micrositeErrors: [ProductError!]!
18138
- }
18139
-
18140
- """Publish microsites."""
18141
- type MicrositeBulkPublish {
18142
- """Returns how many objects were affected."""
18143
- count: Int!
18144
- micrositeErrors: [ProductError!]!
18145
- }
18146
-
18147
- """Remove products from a microsite."""
18148
- type MicrositeRemoveProducts {
18149
- """Microsite from which products will be removed."""
18150
- microsite: Microsite
18151
- micrositeErrors: [ProductError!]!
18152
- }
18153
-
18154
- """Updates a microsite."""
18155
- type MicrositeUpdate {
18156
- micrositeErrors: [ProductError!]!
18157
- microsite: Microsite
18158
- }
18159
-
18160
- input MicrositeInput {
18161
- """Informs whether a microsite is published."""
18162
- isPublished: Boolean
18163
-
18164
- """Name of the microsite."""
18165
- name: String
18166
-
18167
- """Text to appear in footer of microsite."""
18168
- footerText: String
18169
-
18170
- """Slug of the microsite."""
18171
- slug: String
18172
-
18173
- """Description of the microsite (plaintext, deprecated for input)."""
18174
- description: String
18175
-
18176
- """Description of the microsite (HTML)."""
18177
- descriptionHtml: String
18178
-
18179
- """Banner image file."""
18180
- bannerImage: Upload
18181
-
18182
- """Alt text for an image."""
18183
- bannerImageAlt: String
18184
-
18185
- """Logo image file."""
18186
- logoImage: Upload
18187
-
18188
- """Alt text for an image."""
18189
- logoImageAlt: String
18190
-
18191
- """Search engine optimization fields."""
18192
- seo: SeoInput
18193
-
18194
- """Publication date. ISO 8601 standard."""
18195
- publicationDate: Date
18196
- }
18197
-
18198
- """Creates a new affiliate code"""
18199
- type AffiliateCodeCreate {
18200
- affiliateErrors: [AffiliateError!]!
18201
- affiliateCodes: AffiliateCodes
18202
- }
18203
-
18204
- type AffiliateError {
18205
- """
18206
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18207
- """
18208
- field: String
18209
-
18210
- """The error message."""
18211
- message: String!
18212
-
18213
- """The error code."""
18214
- code: AffiliateErrorCode!
18215
- }
18216
-
18217
- """An enumeration."""
18218
- enum AffiliateErrorCode {
18219
- UNIQUE
18220
- REQUIRED
18221
- NOT_FOUND
18222
- }
18223
-
18224
- input AffiliateCodeCreateInput {
18225
- """The id of the affiliate that the code belongs to"""
18226
- affiliate: ID!
18227
-
18228
- """The new affiliate code"""
18229
- code: String
18230
-
18231
- """ID of the channel code is used for"""
18232
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18233
- }
18234
-
18235
- """Increments affiliate code uses"""
18236
- type AffiliateCodeUse {
18237
- affiliateErrors: [AffiliateError!]!
18238
- affiliateCodes: AffiliateCodes
18239
- }
18240
-
18241
- """Sets whether code is active"""
18242
- type AffiliateCodeSetActive {
18243
- affiliateErrors: [AffiliateError!]!
18244
- affiliateCodes: AffiliateCodes
18245
- }
18246
-
18247
- """Activate or deactivate affiliate codes."""
18248
- type AffiliateCodeBulkSetActive {
18249
- """Returns how many objects were affected."""
18250
- count: Int!
18251
- codeErrors: [AccountError!]!
18252
- }
18253
-
18254
- type AccountError {
18255
- """
18256
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18257
- """
18258
- field: String
18259
-
18260
- """The error message."""
18261
- message: String!
18262
-
18263
- """The error code."""
18264
- code: AccountErrorCode!
18265
- }
18266
-
18267
- """An enumeration."""
18268
- enum AccountErrorCode {
18269
- ACTIVATE_OWN_ACCOUNT
18270
- ACTIVATE_SUPERUSER_ACCOUNT
18271
- ACCOUNT_NOT_ACTIVE
18272
- ATTRIBUTE_CANNOT_BE_ASSIGNED
18273
- DUPLICATED_INPUT_ITEM
18274
- DEACTIVATE_OWN_ACCOUNT
18275
- DEACTIVATE_SUPERUSER_ACCOUNT
18276
- DELETE_NON_STAFF_USER
18277
- DELETE_OWN_ACCOUNT
18278
- DELETE_STAFF_ACCOUNT
18279
- DELETE_SUPERUSER_ACCOUNT
18280
- GRAPHQL_ERROR
18281
- INVALID
18282
- INVALID_PHONE
18283
- INVALID_PASSWORD
18284
- LEFT_NOT_MANAGEABLE_PERMISSION
18285
- MUST_CHOOSE_PERMISSION_GROUP
18286
- INVALID_CREDENTIALS
18287
- NO_SELLER
18288
- NOT_FOUND
18289
- OUT_OF_SCOPE_SERVICE_ACCOUNT
18290
- OUT_OF_SCOPE_USER
18291
- OUT_OF_SCOPE_GROUP
18292
- OUT_OF_SCOPE_PERMISSION
18293
- PASSWORD_ENTIRELY_NUMERIC
18294
- PASSWORD_IDENTICAL
18295
- PASSWORD_TOO_COMMON
18296
- PASSWORD_TOO_SHORT
18297
- PASSWORD_TOO_SIMILAR
18298
- REQUIRED
18299
- UNIQUE
18300
- JWT_SIGNATURE_EXPIRED
18301
- JWT_INVALID_TOKEN
18302
- JWT_DECODE_ERROR
18303
- JWT_MISSING_TOKEN
18304
- JWT_INVALID_CSRF_TOKEN
18305
- }
18306
-
18307
- """
18308
- Create an affiliate avatar. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
18309
- """
18310
- type AffiliateAvatarUpdate {
18311
- """An updated affiliate instance."""
18312
- affiliate: User
18313
- accountErrors: [AccountError!]!
18314
- }
18315
-
18316
- """Creates a new affiliate."""
18317
- type AffiliateCreate {
18318
- accountErrors: [AccountError!]!
18319
- user: User
18320
- }
18321
-
18322
- input UserCreateInput {
18323
- """Billing address of the customer."""
18324
- defaultBillingAddress: AddressInput
18325
-
18326
- """Shipping address of the customer."""
18327
- defaultShippingAddress: AddressInput
18328
-
18329
- """Given name."""
18330
- firstName: String
18331
-
18332
- """Family name."""
18333
- lastName: String
18334
-
18335
- """The unique email address of the user."""
18336
- email: String
18337
-
18338
- """User account is active."""
18339
- isActive: Boolean
18340
-
18341
- """User is staff member."""
18342
- isStaff: Boolean
18343
-
18344
- """User account is affiliate."""
18345
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18346
-
18347
- """A note about the user."""
18348
- note: String
18349
-
18350
- """Only filled out if the account is a business account."""
18351
- companyName: String
18352
-
18353
- """Personal phone number."""
18354
- personalPhone: String
18355
-
18356
- """Password url"""
18357
- passwordUrl: String
18358
-
18359
- """Tax exempt code"""
18360
- taxExemptCode: String
18361
-
18362
- """List of custom fields."""
18363
- customFields: [AttributeValueInput!]
18364
-
18365
- """Marketplace VAT identification number"""
18366
- vatIdentificationNumber: String
18367
-
18368
- """
18369
- URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
18370
- """
18371
- redirectUrl: String
18372
- }
18373
-
18374
- input AttributeValueInput {
18375
- """ID of the selected attribute."""
18376
- id: ID
18377
-
18378
- """
18379
- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
18380
- """
18381
- values: [String!]
18382
-
18383
- """
18384
- Value representation of the attribute value (e.g. color value for swatch attributes).
18385
- """
18386
- value: String
18387
-
18388
- """Date and time representation of attribute value."""
18389
- dateTime: DateTime
18390
-
18391
- """Supports attribute values with long text (plain text)."""
18392
- plainText: String
18393
-
18394
- """Supports attribute values with long text (html)."""
18395
- richText: String
18396
-
18397
- """Numeric value to support money or numeric attribute values."""
18398
- amount: Decimal
18399
-
18400
- """Currency to support money attribute values."""
18401
- currency: String
17792
+ """The ID of the product to move."""
17793
+ productId: ID!
18402
17794
 
18403
17795
  """
18404
- Supports attribute values to reference any other nautical object (should be base64 ID)
17796
+ The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.
18405
17797
  """
18406
- reference: String
18407
-
18408
- """Supports boolean attribute values."""
18409
- boolean: Boolean
18410
-
18411
- """Supports file type attribute values."""
18412
- file: Upload
18413
-
18414
- """URL type to support external links as attribute values."""
18415
- fileUrl: String
17798
+ sortOrder: Int
18416
17799
  }
18417
17800
 
18418
- """Updates an existing affiliate."""
18419
- type AffiliateUpdate {
18420
- accountErrors: [AccountError!]!
18421
- user: User
17801
+ """Deletes microsites."""
17802
+ type MicrositeBulkDelete {
17803
+ """Returns how many objects were affected."""
17804
+ count: Int!
17805
+ micrositeErrors: [ProductError!]!
18422
17806
  }
18423
17807
 
18424
- input AffiliateInput {
18425
- """Billing address of the customer."""
18426
- defaultBillingAddress: AddressInput
18427
-
18428
- """Shipping address of the customer."""
18429
- defaultShippingAddress: AddressInput
18430
-
18431
- """Given name."""
18432
- firstName: String
17808
+ """Publish microsites."""
17809
+ type MicrositeBulkPublish {
17810
+ """Returns how many objects were affected."""
17811
+ count: Int!
17812
+ micrositeErrors: [ProductError!]!
17813
+ }
18433
17814
 
18434
- """Family name."""
18435
- lastName: String
17815
+ """Remove products from a microsite."""
17816
+ type MicrositeRemoveProducts {
17817
+ """Microsite from which products will be removed."""
17818
+ microsite: Microsite
17819
+ micrositeErrors: [ProductError!]!
17820
+ }
18436
17821
 
18437
- """The unique email address of the user."""
18438
- email: String
17822
+ """Updates a microsite."""
17823
+ type MicrositeUpdate {
17824
+ micrositeErrors: [ProductError!]!
17825
+ microsite: Microsite
17826
+ }
18439
17827
 
18440
- """User account is active."""
18441
- isActive: Boolean
17828
+ input MicrositeInput {
17829
+ """Informs whether a microsite is published."""
17830
+ isPublished: Boolean
18442
17831
 
18443
- """User is staff member."""
18444
- isStaff: Boolean
17832
+ """Name of the microsite."""
17833
+ name: String
18445
17834
 
18446
- """User account is affiliate."""
18447
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
17835
+ """Text to appear in footer of microsite."""
17836
+ footerText: String
18448
17837
 
18449
- """A note about the user."""
18450
- note: String
17838
+ """Slug of the microsite."""
17839
+ slug: String
18451
17840
 
18452
- """Only filled out if the account is a business account."""
18453
- companyName: String
17841
+ """Description of the microsite (plaintext, deprecated for input)."""
17842
+ description: String
18454
17843
 
18455
- """Personal phone number."""
18456
- personalPhone: String
17844
+ """Description of the microsite (HTML)."""
17845
+ descriptionHtml: String
18457
17846
 
18458
- """Password url"""
18459
- passwordUrl: String
17847
+ """Banner image file."""
17848
+ bannerImage: Upload
18460
17849
 
18461
- """Tax exempt code"""
18462
- taxExemptCode: String
17850
+ """Alt text for an image."""
17851
+ bannerImageAlt: String
18463
17852
 
18464
- """List of custom fields."""
18465
- customFields: [AttributeValueInput!]
17853
+ """Logo image file."""
17854
+ logoImage: Upload
18466
17855
 
18467
- """ID of the plan to assign affiliate to."""
18468
- plan: ID
18469
- }
17856
+ """Alt text for an image."""
17857
+ logoImageAlt: String
18470
17858
 
18471
- """Deletes a affiliate."""
18472
- type AffiliateDelete {
18473
- accountErrors: [AccountError!]!
18474
- user: User
18475
- }
17859
+ """Search engine optimization fields."""
17860
+ seo: SeoInput
18476
17861
 
18477
- """Deletes affiliates."""
18478
- type AffiliateBulkDelete {
18479
- """Returns how many objects were affected."""
18480
- count: Int!
18481
- affiliateErrors: [AccountError!]!
17862
+ """Publication date. ISO 8601 standard."""
17863
+ publicationDate: Date
18482
17864
  }
18483
17865
 
18484
17866
  """Creates a new agreement."""
@@ -18542,9 +17924,6 @@ input AgreementInput {
18542
17924
  """Last update date. ISO 8601 standard."""
18543
17925
  updatedAt: String
18544
17926
 
18545
- """Seller or Affiliate"""
18546
- vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18547
-
18548
17927
  """Gross Price, Markup, Absolute etc"""
18549
17928
  commissionType: CommissionTypeEnum
18550
17929
 
@@ -18555,14 +17934,6 @@ input AgreementInput {
18555
17934
  markupCommissionValue: Decimal
18556
17935
  }
18557
17936
 
18558
- enum VendorTypeEnum {
18559
- """Seller"""
18560
- SELLER
18561
-
18562
- """Affiliate"""
18563
- AFFILIATE
18564
- }
18565
-
18566
17937
  """Deletes a agreement."""
18567
17938
  type AgreementDelete {
18568
17939
  agreementErrors: [AgreementError!]!
@@ -20339,6 +19710,50 @@ input CategoryInput {
20339
19710
  customFields: [AttributeValueInput!]
20340
19711
  }
20341
19712
 
19713
+ input AttributeValueInput {
19714
+ """ID of the selected attribute."""
19715
+ id: ID
19716
+
19717
+ """
19718
+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
19719
+ """
19720
+ values: [String!]
19721
+
19722
+ """
19723
+ Value representation of the attribute value (e.g. color value for swatch attributes).
19724
+ """
19725
+ value: String
19726
+
19727
+ """Date and time representation of attribute value."""
19728
+ dateTime: DateTime
19729
+
19730
+ """Supports attribute values with long text (plain text)."""
19731
+ plainText: String
19732
+
19733
+ """Supports attribute values with long text (html)."""
19734
+ richText: String
19735
+
19736
+ """Numeric value to support money or numeric attribute values."""
19737
+ amount: Decimal
19738
+
19739
+ """Currency to support money attribute values."""
19740
+ currency: String
19741
+
19742
+ """
19743
+ Supports attribute values to reference any other nautical object (should be base64 ID)
19744
+ """
19745
+ reference: String
19746
+
19747
+ """Supports boolean attribute values."""
19748
+ boolean: Boolean
19749
+
19750
+ """Supports file type attribute values."""
19751
+ file: Upload
19752
+
19753
+ """URL type to support external links as attribute values."""
19754
+ fileUrl: String
19755
+ }
19756
+
20342
19757
  """Deletes a category."""
20343
19758
  type CategoryDelete {
20344
19759
  productErrors: [ProductError!]!
@@ -24529,6 +23944,59 @@ type CreateToken {
24529
23944
  accountErrors: [AccountError!]!
24530
23945
  }
24531
23946
 
23947
+ type AccountError {
23948
+ """
23949
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
23950
+ """
23951
+ field: String
23952
+
23953
+ """The error message."""
23954
+ message: String!
23955
+
23956
+ """The error code."""
23957
+ code: AccountErrorCode!
23958
+ }
23959
+
23960
+ """An enumeration."""
23961
+ enum AccountErrorCode {
23962
+ ACTIVATE_OWN_ACCOUNT
23963
+ ACTIVATE_SUPERUSER_ACCOUNT
23964
+ ACCOUNT_NOT_ACTIVE
23965
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
23966
+ DUPLICATED_INPUT_ITEM
23967
+ DEACTIVATE_OWN_ACCOUNT
23968
+ DEACTIVATE_SUPERUSER_ACCOUNT
23969
+ DELETE_NON_STAFF_USER
23970
+ DELETE_OWN_ACCOUNT
23971
+ DELETE_STAFF_ACCOUNT
23972
+ DELETE_SUPERUSER_ACCOUNT
23973
+ GRAPHQL_ERROR
23974
+ INVALID
23975
+ INVALID_PHONE
23976
+ INVALID_PASSWORD
23977
+ LEFT_NOT_MANAGEABLE_PERMISSION
23978
+ MUST_CHOOSE_PERMISSION_GROUP
23979
+ INVALID_CREDENTIALS
23980
+ NO_SELLER
23981
+ NOT_FOUND
23982
+ OUT_OF_SCOPE_SERVICE_ACCOUNT
23983
+ OUT_OF_SCOPE_USER
23984
+ OUT_OF_SCOPE_GROUP
23985
+ OUT_OF_SCOPE_PERMISSION
23986
+ PASSWORD_ENTIRELY_NUMERIC
23987
+ PASSWORD_IDENTICAL
23988
+ PASSWORD_TOO_COMMON
23989
+ PASSWORD_TOO_SHORT
23990
+ PASSWORD_TOO_SIMILAR
23991
+ REQUIRED
23992
+ UNIQUE
23993
+ JWT_SIGNATURE_EXPIRED
23994
+ JWT_INVALID_TOKEN
23995
+ JWT_DECODE_ERROR
23996
+ JWT_MISSING_TOKEN
23997
+ JWT_INVALID_CSRF_TOKEN
23998
+ }
23999
+
24532
24000
  """Create authorization URL."""
24533
24001
  type AuthURLGenerate {
24534
24002
  """Generated auth URL for google login."""
@@ -24785,6 +24253,55 @@ type CustomerCreate {
24785
24253
  user: User
24786
24254
  }
24787
24255
 
24256
+ input UserCreateInput {
24257
+ """Billing address of the customer."""
24258
+ defaultBillingAddress: AddressInput
24259
+
24260
+ """Shipping address of the customer."""
24261
+ defaultShippingAddress: AddressInput
24262
+
24263
+ """Given name."""
24264
+ firstName: String
24265
+
24266
+ """Family name."""
24267
+ lastName: String
24268
+
24269
+ """The unique email address of the user."""
24270
+ email: String
24271
+
24272
+ """User account is active."""
24273
+ isActive: Boolean
24274
+
24275
+ """User is staff member."""
24276
+ isStaff: Boolean
24277
+
24278
+ """A note about the user."""
24279
+ note: String
24280
+
24281
+ """Only filled out if the account is a business account."""
24282
+ companyName: String
24283
+
24284
+ """Personal phone number."""
24285
+ personalPhone: String
24286
+
24287
+ """Password url"""
24288
+ passwordUrl: String
24289
+
24290
+ """Tax exempt code"""
24291
+ taxExemptCode: String
24292
+
24293
+ """List of custom fields."""
24294
+ customFields: [AttributeValueInput!]
24295
+
24296
+ """Marketplace VAT identification number"""
24297
+ vatIdentificationNumber: String
24298
+
24299
+ """
24300
+ URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
24301
+ """
24302
+ redirectUrl: String
24303
+ }
24304
+
24788
24305
  """Updates an existing customer."""
24789
24306
  type CustomerUpdate {
24790
24307
  accountErrors: [AccountError!]!
@@ -24813,9 +24330,6 @@ input CustomerInput {
24813
24330
  """User is staff member."""
24814
24331
  isStaff: Boolean
24815
24332
 
24816
- """User account is affiliate."""
24817
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24818
-
24819
24333
  """A note about the user."""
24820
24334
  note: String
24821
24335
 
@@ -24895,9 +24409,6 @@ input StaffCreateInput {
24895
24409
  """User is staff member."""
24896
24410
  isStaff: Boolean
24897
24411
 
24898
- """User account is affiliate."""
24899
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24900
-
24901
24412
  """A note about the user."""
24902
24413
  note: String
24903
24414
 
@@ -24950,9 +24461,6 @@ input StaffUpdateInput {
24950
24461
  """User is staff member."""
24951
24462
  isStaff: Boolean
24952
24463
 
24953
- """User account is affiliate."""
24954
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24955
-
24956
24464
  """A note about the user."""
24957
24465
  note: String
24958
24466