@nautical-commerce/graphql-schema 1.57.0-7-gb92be30be → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/nautical/schema.graphql +1068 -387
  2. package/package.json +1 -1
@@ -1051,10 +1051,16 @@ 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
+
1054
1057
  """Payout ID"""
1055
1058
  payoutId: ID
1056
1059
  ): VendorPayoutReport
1057
1060
  vendorPayoutList(
1061
+ """Vendor type of the payout"""
1062
+ vendorType: String
1063
+
1058
1064
  """Vendor ID"""
1059
1065
  vendorId: ID
1060
1066
  ): SingleVendorPayoutReport
@@ -1545,6 +1551,13 @@ type Query {
1545
1551
  """End of the period to filter results"""
1546
1552
  endDate: Date!
1547
1553
  ): 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.")
1548
1561
  insightsMarketplaceTaxSummary(
1549
1562
  """Beginning of the period to filter results"""
1550
1563
  startDate: Date!
@@ -1781,6 +1794,7 @@ type Query {
1781
1794
  ): VoucherCountableConnection
1782
1795
  designerdata(name: String): DesignerDataType
1783
1796
  designerdatalist: [DesignerDataType!]!
1797
+ branding: BrandingType! @deprecated(reason: "This will be removed on October 25, 2024")
1784
1798
 
1785
1799
  """Token nexessary for connecting to the embedded integration platform"""
1786
1800
  integrationEmbeddingToken: String
@@ -1814,6 +1828,8 @@ type Query {
1814
1828
 
1815
1829
  """List of all tax rates available from tax gateway."""
1816
1830
  taxTypes: [TaxType!]!
1831
+ coredata(name: String): CoreDataType @deprecated(reason: "This will be removed on October 25, 2024")
1832
+ coredatalist: [CoreDataType!]! @deprecated(reason: "This will be removed on October 25, 2024")
1817
1833
 
1818
1834
  """Look up a checkout by token."""
1819
1835
  checkout(
@@ -1989,6 +2005,55 @@ type Query {
1989
2005
  id: ID!
1990
2006
  ): [AgreementSellers!]!
1991
2007
 
2008
+ """List of the shop's affiliates"""
2009
+ affiliates(
2010
+ """Filtering options for affiliates."""
2011
+ filter: AffiliateFilterInput
2012
+
2013
+ """Sort affiliates."""
2014
+ sortBy: UserSortingInput
2015
+
2016
+ """Return the elements in the list that come before the specified cursor."""
2017
+ before: String
2018
+
2019
+ """Return the elements in the list that come after the specified cursor."""
2020
+ after: String
2021
+
2022
+ """Return the first n elements from the list."""
2023
+ first: Int
2024
+
2025
+ """Return the last n elements from the list."""
2026
+ last: Int
2027
+ ): UserCountableConnection @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2028
+ affiliate(
2029
+ """ID of the affiliate you are querying"""
2030
+ id: ID
2031
+ ): OptimizedAffiliate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2032
+
2033
+ """List of affiliates' codes"""
2034
+ affiliateCodes(
2035
+ """Affiliate ID to get codes for"""
2036
+ id: ID!
2037
+
2038
+ """Filtering options for affiliate codes"""
2039
+ filter: AffiliateCodeFilterInput
2040
+
2041
+ """Sort affiliate codes"""
2042
+ sortBy: AffiliateCodeSortingInput
2043
+
2044
+ """Return the elements in the list that come before the specified cursor."""
2045
+ before: String
2046
+
2047
+ """Return the elements in the list that come after the specified cursor."""
2048
+ after: String
2049
+
2050
+ """Return the first n elements from the list."""
2051
+ first: Int
2052
+
2053
+ """Return the last n elements from the list."""
2054
+ last: Int
2055
+ ): AffiliateCodesCountableConnection @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2056
+
1992
2057
  """Returns address validation rules."""
1993
2058
  addressValidationRules(
1994
2059
  """Two-letter ISO 3166-1 country code."""
@@ -2515,9 +2580,22 @@ type User implements Node & ObjectWithMetadata {
2515
2580
  """Return the last n elements from the list."""
2516
2581
  last: Int
2517
2582
  ): WishlistCountableConnection
2583
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2518
2584
  seller: Seller
2585
+ hasMicrosite: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2586
+ micrositeId: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2519
2587
  isAssignable: Boolean
2520
2588
 
2589
+ """Date of last affiliate referral."""
2590
+ lastReferral: DateTime @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2591
+
2592
+ """Date of last affiliate confirmed order."""
2593
+ lastOrder: DateTime @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2594
+ affiliateReferrals: Int @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2595
+ affiliateOrders: Int @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2596
+ affiliateEarnings: Money @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2597
+ agreement: Agreement
2598
+
2521
2599
  """List of documents associated with the user."""
2522
2600
  documents: [Document!]!
2523
2601
 
@@ -3558,6 +3636,7 @@ type VendorPayout implements Node & ObjectWithMetadata {
3558
3636
  gateway: String!
3559
3637
  payout: Payout!
3560
3638
  seller: Seller
3639
+ affiliate: User
3561
3640
  currency: String!
3562
3641
  average: Decimal!
3563
3642
  discounts: Decimal!
@@ -3615,6 +3694,7 @@ type Payout implements Node & ObjectWithMetadata {
3615
3694
  endDate: String!
3616
3695
  status: PayoutStatus!
3617
3696
  name: String
3697
+ vendorType: PayoutVendorType!
3618
3698
  currency: String!
3619
3699
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3620
3700
  vendors: Int!
@@ -3646,6 +3726,15 @@ enum PayoutStatus {
3646
3726
  ERROR
3647
3727
  }
3648
3728
 
3729
+ """An enumeration."""
3730
+ enum PayoutVendorType {
3731
+ """Sellers"""
3732
+ SELLERS
3733
+
3734
+ """Affiliates"""
3735
+ AFFILIATES
3736
+ }
3737
+
3649
3738
  """An enumeration."""
3650
3739
  enum VendorPayoutStatus {
3651
3740
  """Paid"""
@@ -3763,6 +3852,8 @@ type Order implements Node & ObjectWithMetadata {
3763
3852
  displayGrossPrices: Boolean!
3764
3853
  customerNote: String!
3765
3854
  weight: Weight
3855
+ affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3856
+ affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3766
3857
 
3767
3858
  """Data time when the order was imported from another platform."""
3768
3859
  importedAt: DateTime
@@ -3851,6 +3942,9 @@ type Order implements Node & ObjectWithMetadata {
3851
3942
  """Seller commission for the order"""
3852
3943
  sellerCommission: Money
3853
3944
 
3945
+ """Affiliate commission for the order"""
3946
+ affiliateCommission: Money @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
3947
+
3854
3948
  """Volume discount for the order"""
3855
3949
  volumeDiscount: TaxedMoney
3856
3950
 
@@ -5465,61 +5559,83 @@ enum SaleTypeEnum {
5465
5559
  SPECIFIC_PRODUCT
5466
5560
  }
5467
5561
 
5468
- """Represents order fulfillment."""
5469
- type Fulfillment implements Node & ObjectWithMetadata {
5562
+ """Represents an affiliate code"""
5563
+ type AffiliateCodes implements Node {
5470
5564
  """The ID of the object"""
5471
5565
  id: ID!
5472
- fulfillmentOrder: Int!
5473
- relatedTo: Fulfillment
5474
- order: Order!
5566
+ externalId: String
5567
+ externalSource: String
5568
+ externalInventoryId: String
5475
5569
 
5476
- """Nautical order via order mapping"""
5477
- nauticalOrder: NauticalOrder
5478
- status: FulfillmentStatus!
5570
+ """The id of the affiliate that the code belongs to"""
5571
+ affiliate: User
5479
5572
 
5480
- """Fulfillment tracking company"""
5481
- trackingCompany: String
5573
+ """
5574
+ Number of times the code has been submitted (this includes when the customer did not complete an order)
5575
+ """
5576
+ uses: Int
5482
5577
 
5483
- """Fulfillment tracking number"""
5484
- trackingNumber: String
5578
+ """The new affiliate code"""
5579
+ code: String
5485
5580
 
5486
- """Fulfillment tracking url"""
5487
- trackingUrl: String
5488
- shippingLabelUrl: String
5489
- created: DateTime!
5490
- updated: DateTime!
5581
+ """Channel the code is associated with"""
5582
+ channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5491
5583
 
5492
- """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5493
- user: User
5584
+ """Whether or not the code is active"""
5585
+ isActive: Boolean
5586
+ createdAt: DateTime!
5587
+ updatedAt: DateTime!
5588
+ affiliateNauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
5589
+ affiliateOrders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
5590
+ earnings: Money
5591
+ orders: Int
5592
+ }
5494
5593
 
5495
- """
5496
- List of private metadata items.Requires proper staff permissions to access.
5497
- """
5498
- privateMetadata: [MetadataItem!]!
5594
+ """Represents unique channel in Nautical."""
5595
+ type Channel implements Node {
5596
+ """The ID of the object"""
5597
+ id: ID!
5598
+ tenant: Tenant!
5599
+ createdAt: DateTime
5600
+ updatedAt: DateTime
5601
+ channel: String!
5602
+ affiliateCodes(offset: Int, before: String, after: String, first: Int, last: Int): AffiliateCodesCountableConnection!
5603
+ nauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
5604
+ orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
5605
+ }
5499
5606
 
5500
- """List of public metadata items. Can be accessed without permissions."""
5501
- metadata: [MetadataItem!]!
5607
+ type AffiliateCodesCountableConnection {
5608
+ """Pagination data for this connection."""
5609
+ pageInfo: PageInfo!
5610
+ edges: [AffiliateCodesCountableEdge!]!
5502
5611
 
5503
- """List of lines for the fulfillment."""
5504
- lines: [FulfillmentLine!]
5612
+ """A total count of items in the collection."""
5613
+ totalCount: Int
5614
+ }
5505
5615
 
5506
- """Seller who made the fulfillment."""
5507
- seller: Seller
5616
+ type AffiliateCodesCountableEdge {
5617
+ """The item at the end of the edge."""
5618
+ node: AffiliateCodes!
5508
5619
 
5509
- """User-friendly fulfillment status."""
5510
- statusDisplay: String
5620
+ """A cursor for use in pagination."""
5621
+ cursor: String!
5622
+ }
5511
5623
 
5512
- """Warehouse from fulfillment was fulfilled."""
5513
- warehouse: Warehouse
5624
+ type NauticalOrderCountableConnection {
5625
+ """Pagination data for this connection."""
5626
+ pageInfo: PageInfo!
5627
+ edges: [NauticalOrderCountableEdge!]!
5514
5628
 
5515
- """Sum of quantities across all lines."""
5516
- totalLinesQuantity: Int
5629
+ """A total count of items in the collection."""
5630
+ totalCount: Int
5631
+ }
5517
5632
 
5518
- """Total price across all quantities across all lines."""
5519
- totalLinesMoney: Money!
5633
+ type NauticalOrderCountableEdge {
5634
+ """The item at the end of the edge."""
5635
+ node: NauticalOrder!
5520
5636
 
5521
- """List of custom fields assigned to this fulfillment."""
5522
- customFields: [SelectedAttribute!]!
5637
+ """A cursor for use in pagination."""
5638
+ cursor: String!
5523
5639
  }
5524
5640
 
5525
5641
  """Represents a nautical order in the shop."""
@@ -5561,6 +5677,8 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5561
5677
  displayGrossPrices: Boolean!
5562
5678
  customerNote: String!
5563
5679
  weight: Weight
5680
+ affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
5681
+ affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
5564
5682
 
5565
5683
  """Data time when the order was imported from another platform."""
5566
5684
  importedAt: DateTime
@@ -5760,36 +5878,108 @@ enum NauticalOrderSubStatus {
5760
5878
  OFFER_REJECTED
5761
5879
  }
5762
5880
 
5763
- enum OrderSubStatusEnum {
5764
- """In Review"""
5765
- IN_REVIEW
5881
+ """Represents order fulfillment."""
5882
+ type Fulfillment implements Node & ObjectWithMetadata {
5883
+ """The ID of the object"""
5884
+ id: ID!
5885
+ fulfillmentOrder: Int!
5886
+ relatedTo: Fulfillment
5887
+ order: Order!
5766
5888
 
5767
- """Quote Requested"""
5768
- QUOTE_REQUESTED
5889
+ """Nautical order via order mapping"""
5890
+ nauticalOrder: NauticalOrder
5891
+ status: FulfillmentStatus!
5769
5892
 
5770
- """Awaiting Payment"""
5771
- AWAITING_PAYMENT
5893
+ """Fulfillment tracking company"""
5894
+ trackingCompany: String
5772
5895
 
5773
- """Complete"""
5774
- COMPLETE
5896
+ """Fulfillment tracking number"""
5897
+ trackingNumber: String
5775
5898
 
5776
- """Offer Approved"""
5777
- OFFER_APPROVED
5899
+ """Fulfillment tracking url"""
5900
+ trackingUrl: String
5901
+ shippingLabelUrl: String
5902
+ created: DateTime!
5903
+ updated: DateTime!
5778
5904
 
5779
- """Offer Cancelled"""
5780
- OFFER_CANCELLED
5905
+ """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5906
+ user: User
5781
5907
 
5782
- """Offer Created"""
5783
- OFFER_CREATED
5908
+ """
5909
+ List of private metadata items.Requires proper staff permissions to access.
5910
+ """
5911
+ privateMetadata: [MetadataItem!]!
5784
5912
 
5785
- """Offer Expired"""
5786
- OFFER_EXPIRED
5913
+ """List of public metadata items. Can be accessed without permissions."""
5914
+ metadata: [MetadataItem!]!
5787
5915
 
5788
- """Offer Negotiating"""
5789
- OFFER_NEGOTIATING
5916
+ """List of lines for the fulfillment."""
5917
+ lines: [FulfillmentLine!]
5790
5918
 
5791
- """Offer Rejected"""
5792
- OFFER_REJECTED
5919
+ """Seller who made the fulfillment."""
5920
+ seller: Seller
5921
+
5922
+ """User-friendly fulfillment status."""
5923
+ statusDisplay: String
5924
+
5925
+ """Warehouse from fulfillment was fulfilled."""
5926
+ warehouse: Warehouse
5927
+
5928
+ """Sum of quantities across all lines."""
5929
+ totalLinesQuantity: Int
5930
+
5931
+ """Total price across all quantities across all lines."""
5932
+ totalLinesPrice: Float @deprecated(reason: "This will be removed on October 25, 2024 and replaced by totalLinesMoney")
5933
+
5934
+ """Total price across all quantities across all lines."""
5935
+ totalLinesMoney: Money!
5936
+
5937
+ """List of custom fields assigned to this fulfillment."""
5938
+ customFields: [SelectedAttribute!]!
5939
+ }
5940
+
5941
+ """An enumeration."""
5942
+ enum FulfillmentStatus {
5943
+ """Fulfilled"""
5944
+ FULFILLED
5945
+
5946
+ """Canceled"""
5947
+ CANCELED
5948
+
5949
+ """Returned"""
5950
+ RETURNED
5951
+
5952
+ """Declined"""
5953
+ DECLINED
5954
+
5955
+ """Return requested"""
5956
+ RETURN_REQUESTED
5957
+
5958
+ """Return authorized"""
5959
+ RETURN_AUTHORIZED
5960
+
5961
+ """Return declined"""
5962
+ RETURN_DECLINED
5963
+
5964
+ """Return received"""
5965
+ RETURN_RECEIVED
5966
+
5967
+ """Return complete"""
5968
+ RETURN_COMPLETE
5969
+
5970
+ """Return cancelled"""
5971
+ RETURN_CANCELLED
5972
+ }
5973
+
5974
+ """Represents line of the fulfillment."""
5975
+ type FulfillmentLine implements Node {
5976
+ """The ID of the object"""
5977
+ id: ID!
5978
+ quantity: Int!
5979
+ orderLine: OrderLine
5980
+
5981
+ """Reason customer requested item return."""
5982
+ returnReason: String
5793
5983
  }
5794
5984
 
5795
5985
  """Represents order line of particular order."""
@@ -6219,15 +6409,47 @@ type ShippingZoneCountryArea implements Node {
6219
6409
  countryArea: CountryArea!
6220
6410
  }
6221
6411
 
6222
- enum OrderAction {
6223
- """Represents the capture action."""
6224
- CAPTURE
6225
-
6226
- """Represents a mark-as-paid action."""
6227
- MARK_AS_PAID
6412
+ enum OrderSubStatusEnum {
6413
+ """In Review"""
6414
+ IN_REVIEW
6228
6415
 
6229
- """Represents a refund action."""
6230
- REFUND
6416
+ """Quote Requested"""
6417
+ QUOTE_REQUESTED
6418
+
6419
+ """Awaiting Payment"""
6420
+ AWAITING_PAYMENT
6421
+
6422
+ """Complete"""
6423
+ COMPLETE
6424
+
6425
+ """Offer Approved"""
6426
+ OFFER_APPROVED
6427
+
6428
+ """Offer Cancelled"""
6429
+ OFFER_CANCELLED
6430
+
6431
+ """Offer Created"""
6432
+ OFFER_CREATED
6433
+
6434
+ """Offer Expired"""
6435
+ OFFER_EXPIRED
6436
+
6437
+ """Offer Negotiating"""
6438
+ OFFER_NEGOTIATING
6439
+
6440
+ """Offer Rejected"""
6441
+ OFFER_REJECTED
6442
+ }
6443
+
6444
+ enum OrderAction {
6445
+ """Represents the capture action."""
6446
+ CAPTURE
6447
+
6448
+ """Represents a mark-as-paid action."""
6449
+ MARK_AS_PAID
6450
+
6451
+ """Represents a refund action."""
6452
+ REFUND
6231
6453
 
6232
6454
  """Represents a void action."""
6233
6455
  VOID
@@ -6698,35 +6920,6 @@ type NauticalOrderEventOrderLineObject {
6698
6920
  itemName: String
6699
6921
  }
6700
6922
 
6701
- """Represents unique channel in Nautical."""
6702
- type Channel implements Node {
6703
- """The ID of the object"""
6704
- id: ID!
6705
- tenant: Tenant!
6706
- createdAt: DateTime
6707
- updatedAt: DateTime
6708
- channel: String!
6709
- nauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
6710
- orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
6711
- }
6712
-
6713
- type NauticalOrderCountableConnection {
6714
- """Pagination data for this connection."""
6715
- pageInfo: PageInfo!
6716
- edges: [NauticalOrderCountableEdge!]!
6717
-
6718
- """A total count of items in the collection."""
6719
- totalCount: Int
6720
- }
6721
-
6722
- type NauticalOrderCountableEdge {
6723
- """The item at the end of the edge."""
6724
- node: NauticalOrder!
6725
-
6726
- """A cursor for use in pagination."""
6727
- cursor: String!
6728
- }
6729
-
6730
6923
  """Represents a bid."""
6731
6924
  type Bid implements Node {
6732
6925
  """The ID of the object"""
@@ -6997,50 +7190,6 @@ enum RefundTypeEnum {
6997
7190
  ORDERLINEREFUND
6998
7191
  }
6999
7192
 
7000
- """An enumeration."""
7001
- enum FulfillmentStatus {
7002
- """Fulfilled"""
7003
- FULFILLED
7004
-
7005
- """Canceled"""
7006
- CANCELED
7007
-
7008
- """Returned"""
7009
- RETURNED
7010
-
7011
- """Declined"""
7012
- DECLINED
7013
-
7014
- """Return requested"""
7015
- RETURN_REQUESTED
7016
-
7017
- """Return authorized"""
7018
- RETURN_AUTHORIZED
7019
-
7020
- """Return declined"""
7021
- RETURN_DECLINED
7022
-
7023
- """Return received"""
7024
- RETURN_RECEIVED
7025
-
7026
- """Return complete"""
7027
- RETURN_COMPLETE
7028
-
7029
- """Return cancelled"""
7030
- RETURN_CANCELLED
7031
- }
7032
-
7033
- """Represents line of the fulfillment."""
7034
- type FulfillmentLine implements Node {
7035
- """The ID of the object"""
7036
- id: ID!
7037
- quantity: Int!
7038
- orderLine: OrderLine
7039
-
7040
- """Reason customer requested item return."""
7041
- returnReason: String
7042
- }
7043
-
7044
7193
  """Extra fee associated with an order"""
7045
7194
  type OrderFee implements Node {
7046
7195
  """The ID of the object"""
@@ -7250,6 +7399,7 @@ type Agreement implements Node & ObjectWithMetadata {
7250
7399
  seoDescription: String
7251
7400
  slug: String!
7252
7401
  title: String!
7402
+ vendorType: AgreementVendorType!
7253
7403
 
7254
7404
  """Commission type"""
7255
7405
  commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
@@ -7262,6 +7412,7 @@ type Agreement implements Node & ObjectWithMetadata {
7262
7412
  If a markup commission is selected, this is the amount of the commission.
7263
7413
  """
7264
7414
  markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7415
+ agreementType: AgreementAgreementType!
7265
7416
  isActive: Boolean
7266
7417
 
7267
7418
  """List of granular commissions associated with the agreement."""
@@ -7280,6 +7431,15 @@ type Agreement implements Node & ObjectWithMetadata {
7280
7431
  metadata: [MetadataItem!]!
7281
7432
  }
7282
7433
 
7434
+ """An enumeration."""
7435
+ enum AgreementVendorType {
7436
+ """Seller"""
7437
+ SELLER
7438
+
7439
+ """Affiliate"""
7440
+ AFFILIATE
7441
+ }
7442
+
7283
7443
  enum CommissionTypeEnum {
7284
7444
  """Gross Price Commission"""
7285
7445
  MARKETPLACE
@@ -7296,6 +7456,15 @@ enum MarkupCommissionTypeEnum {
7296
7456
  PERCENTAGE
7297
7457
  }
7298
7458
 
7459
+ """An enumeration."""
7460
+ enum AgreementAgreementType {
7461
+ """Seller"""
7462
+ A_1
7463
+
7464
+ """Affiliate"""
7465
+ A_2
7466
+ }
7467
+
7299
7468
  """An agreement commission"""
7300
7469
  type AgreementCommission implements Node & ObjectWithMetadata {
7301
7470
  """The ID of the object"""
@@ -7373,6 +7542,7 @@ type Microsite implements Node & ObjectWithMetadata {
7373
7542
  name: String!
7374
7543
  slug: String!
7375
7544
  footerText: String
7545
+ affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
7376
7546
  seller: Seller
7377
7547
 
7378
7548
  """
@@ -8925,15 +9095,24 @@ type Shop {
8925
9095
  """Whether the marketplace has enabled offer orders."""
8926
9096
  enableOfferOrders: Boolean
8927
9097
 
9098
+ """List of the shops's supported languages."""
9099
+ languages: [LanguageDisplay!]! @deprecated(reason: "This will be removed on October 29, 2024")
9100
+
8928
9101
  """Shop's name."""
8929
9102
  name: String!
8930
9103
 
9104
+ """Shop's navigation."""
9105
+ navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter. This will be removed on October 29, 2024.")
9106
+
8931
9107
  """List of available permissions."""
8932
9108
  permissions: [Permission!]!
8933
9109
 
8934
9110
  """List of possible phone prefixes."""
8935
9111
  phonePrefixes: [String!]!
8936
9112
 
9113
+ """Header text."""
9114
+ headerText: String @deprecated(reason: "This will be removed on October 29, 2024")
9115
+
8937
9116
  """Include taxes in prices."""
8938
9117
  includeTaxesInPrices: Boolean!
8939
9118
 
@@ -8976,6 +9155,11 @@ type Shop {
8976
9155
  """Gets active plugins."""
8977
9156
  activePlugins: [Plugin!]!
8978
9157
 
9158
+ """
9159
+ None if shop does not use Builder, otherwise this contains Builder public api key.
9160
+ """
9161
+ builderKey: String @deprecated(reason: "This will be removed on October 29, 2024")
9162
+
8979
9163
  """
8980
9164
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
8981
9165
  """
@@ -9069,6 +9253,81 @@ type Domain {
9069
9253
  url: String!
9070
9254
  }
9071
9255
 
9256
+ type LanguageDisplay {
9257
+ """ISO 639 representation of the language name."""
9258
+ code: LanguageCodeEnum!
9259
+
9260
+ """Full name of the language."""
9261
+ language: String!
9262
+ }
9263
+
9264
+ """Represents shop's navigation menus."""
9265
+ type Navigation {
9266
+ """Main navigation bar."""
9267
+ main: Menu
9268
+
9269
+ """Secondary navigation bar."""
9270
+ secondary: Menu
9271
+ }
9272
+
9273
+ """
9274
+ Represents a single menu - an object that is used to help navigate through the store.
9275
+ """
9276
+ type Menu implements Node {
9277
+ """The ID of the object"""
9278
+ id: ID!
9279
+ name: String!
9280
+ slug: String!
9281
+ items: [MenuItem!]!
9282
+ }
9283
+
9284
+ """
9285
+ Represents a single item of the related menu. Can store categories, collection or pages.
9286
+ """
9287
+ type MenuItem implements Node {
9288
+ """The ID of the object"""
9289
+ id: ID!
9290
+ menu: Menu!
9291
+ name: String!
9292
+ parent: MenuItem
9293
+ category: Category
9294
+ collection: Collection
9295
+ page: Page
9296
+ level: Int!
9297
+ children: [MenuItem!]!
9298
+
9299
+ """URL to the menu item."""
9300
+ url: String
9301
+ }
9302
+
9303
+ """
9304
+ A static page that can be manually added by a shop operator through the dashboard.
9305
+ """
9306
+ type Page implements Node & ObjectWithMetadata {
9307
+ """The ID of the object"""
9308
+ id: ID!
9309
+ publicationDate: Date
9310
+ createdAt: DateTime!
9311
+ updatedAt: DateTime!
9312
+ content: String!
9313
+ contentHtml: String!
9314
+ seoTitle: String
9315
+ seoDescription: String
9316
+ slug: String!
9317
+ title: String!
9318
+
9319
+ """
9320
+ List of private metadata items.Requires proper staff permissions to access.
9321
+ """
9322
+ privateMetadata: [MetadataItem!]!
9323
+
9324
+ """List of public metadata items. Can be accessed without permissions."""
9325
+ metadata: [MetadataItem!]!
9326
+
9327
+ """Whether the page is published."""
9328
+ isPublished: Boolean!
9329
+ }
9330
+
9072
9331
  """Plugin."""
9073
9332
  type Plugin implements Node {
9074
9333
  id: ID!
@@ -10674,6 +10933,7 @@ type OrderVendorSummaryType {
10674
10933
  revenue: Float
10675
10934
  totals: Int
10676
10935
  commission: Float
10936
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10677
10937
  payout: Float
10678
10938
  vendors: Int
10679
10939
  adjustments: Decimal
@@ -10694,6 +10954,7 @@ type OrderVendorReportType {
10694
10954
  revenue: Float
10695
10955
  totals: Int
10696
10956
  commission: Float
10957
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10697
10958
  payout: Float
10698
10959
  vendorId: Int
10699
10960
  vendor: Vendor
@@ -10723,6 +10984,7 @@ type SingleVendorReportType {
10723
10984
  revenue: Float
10724
10985
  totals: Int
10725
10986
  commission: Float
10987
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10726
10988
  payout: Decimal
10727
10989
  adjustments: Decimal
10728
10990
  penalties: Decimal
@@ -10747,6 +11009,7 @@ type SingleVendorSummaryType {
10747
11009
  revenue: Float
10748
11010
  totals: Int
10749
11011
  commission: Float
11012
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10750
11013
  payout: Float
10751
11014
  adjustments: Decimal
10752
11015
  penalties: Decimal
@@ -10771,34 +11034,6 @@ type PaymentCountableEdge {
10771
11034
  cursor: String!
10772
11035
  }
10773
11036
 
10774
- """
10775
- A static page that can be manually added by a shop operator through the dashboard.
10776
- """
10777
- type Page implements Node & ObjectWithMetadata {
10778
- """The ID of the object"""
10779
- id: ID!
10780
- publicationDate: Date
10781
- createdAt: DateTime!
10782
- updatedAt: DateTime!
10783
- content: String!
10784
- contentHtml: String!
10785
- seoTitle: String
10786
- seoDescription: String
10787
- slug: String!
10788
- title: String!
10789
-
10790
- """
10791
- List of private metadata items.Requires proper staff permissions to access.
10792
- """
10793
- privateMetadata: [MetadataItem!]!
10794
-
10795
- """List of public metadata items. Can be accessed without permissions."""
10796
- metadata: [MetadataItem!]!
10797
-
10798
- """Whether the page is published."""
10799
- isPublished: Boolean!
10800
- }
10801
-
10802
11037
  type PageCountableConnection {
10803
11038
  """Pagination data for this connection."""
10804
11039
  pageInfo: PageInfo!
@@ -11084,6 +11319,7 @@ type MicrositeCountableEdge {
11084
11319
  input MicrositeFilterInput {
11085
11320
  published: MicrositePublished
11086
11321
  search: String
11322
+ vendorType: MicrositeVendorType
11087
11323
  ids: [ID]
11088
11324
  metadata: MetadataFilterInput
11089
11325
  privateMetadata: MetadataFilterInput
@@ -11094,6 +11330,11 @@ enum MicrositePublished {
11094
11330
  HIDDEN
11095
11331
  }
11096
11332
 
11333
+ enum MicrositeVendorType {
11334
+ SELLER
11335
+ AFFILIATE
11336
+ }
11337
+
11097
11338
  input MicrositeSortingInput {
11098
11339
  """Specifies the direction in which to sort products."""
11099
11340
  direction: OrderDirection!
@@ -11116,36 +11357,6 @@ enum MicrositeSortField {
11116
11357
  PUBLICATION_DATE
11117
11358
  }
11118
11359
 
11119
- """
11120
- Represents a single menu - an object that is used to help navigate through the store.
11121
- """
11122
- type Menu implements Node {
11123
- """The ID of the object"""
11124
- id: ID!
11125
- name: String!
11126
- slug: String!
11127
- items: [MenuItem!]!
11128
- }
11129
-
11130
- """
11131
- Represents a single item of the related menu. Can store categories, collection or pages.
11132
- """
11133
- type MenuItem implements Node {
11134
- """The ID of the object"""
11135
- id: ID!
11136
- menu: Menu!
11137
- name: String!
11138
- parent: MenuItem
11139
- category: Category
11140
- collection: Collection
11141
- page: Page
11142
- level: Int!
11143
- children: [MenuItem!]!
11144
-
11145
- """URL to the menu item."""
11146
- url: String
11147
- }
11148
-
11149
11360
  type MenuCountableConnection {
11150
11361
  """Pagination data for this connection."""
11151
11362
  pageInfo: PageInfo!
@@ -12278,6 +12489,7 @@ type OrderSellerSummaryType {
12278
12489
  revenue: Float
12279
12490
  totals: Int
12280
12491
  commission: Float
12492
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12281
12493
  payout: Float
12282
12494
  sellers: Float
12283
12495
  }
@@ -12294,6 +12506,7 @@ type OrderCustomerReportType {
12294
12506
  revenue: Float
12295
12507
  totals: Int
12296
12508
  commission: Float
12509
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12297
12510
  payout: Float
12298
12511
  userId: Int
12299
12512
  user: User
@@ -12335,6 +12548,7 @@ type OrderSellerReportType {
12335
12548
  revenue: Float
12336
12549
  totals: Int
12337
12550
  commission: Float
12551
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12338
12552
  payout: Float
12339
12553
  sellerId: Int
12340
12554
  seller: Seller
@@ -12376,6 +12590,7 @@ type OrderMarketplaceReportType {
12376
12590
  revenue: Float
12377
12591
  totals: Int
12378
12592
  commission: Float
12593
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12379
12594
  payout: Float
12380
12595
  dimension: Date
12381
12596
  }
@@ -12412,7 +12627,7 @@ type InReportMarketplacePayoutsSummaryType {
12412
12627
  report: [OrderSellerReportType!]
12413
12628
  }
12414
12629
 
12415
- type InReportMarketplaceTaxSummaryType {
12630
+ type InReportMarketplaceAffiliatePayoutsSummaryType {
12416
12631
  """Category of the metric."""
12417
12632
  category: String!
12418
12633
 
@@ -12428,15 +12643,15 @@ type InReportMarketplaceTaxSummaryType {
12428
12643
  filters: [FilterObjectType!]
12429
12644
 
12430
12645
  """Total summary for selected period."""
12431
- summary: AbstractOrderSellerReportType!
12646
+ summary: OrderAffiliateSummaryType!
12432
12647
 
12433
12648
  """
12434
12649
  Report where each row represent aggregated, by selected (in filters) dimension, summary.
12435
12650
  """
12436
- report: [MarketplaceTaxReportType!]
12651
+ report: [OrderAffiliateReportType!]
12437
12652
  }
12438
12653
 
12439
- type AbstractOrderSellerReportType {
12654
+ type OrderAffiliateSummaryType {
12440
12655
  gross: Float
12441
12656
  orders: Int
12442
12657
  net: Float
@@ -12448,10 +12663,12 @@ type AbstractOrderSellerReportType {
12448
12663
  revenue: Float
12449
12664
  totals: Int
12450
12665
  commission: Float
12666
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12451
12667
  payout: Float
12668
+ affiliates: Float
12452
12669
  }
12453
12670
 
12454
- type MarketplaceTaxReportType {
12671
+ type OrderAffiliateReportType {
12455
12672
  gross: Float
12456
12673
  orders: Int
12457
12674
  net: Float
@@ -12463,6 +12680,65 @@ type MarketplaceTaxReportType {
12463
12680
  revenue: Float
12464
12681
  totals: Int
12465
12682
  commission: Float
12683
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12684
+ payout: Float
12685
+ affiliateId: Int
12686
+ affiliate: User
12687
+ }
12688
+
12689
+ type InReportMarketplaceTaxSummaryType {
12690
+ """Category of the metric."""
12691
+ category: String!
12692
+
12693
+ """Title of the metric."""
12694
+ title: String!
12695
+
12696
+ """
12697
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
12698
+ """
12699
+ columns: [ColumnObjectType!]
12700
+
12701
+ """Info about applied filters."""
12702
+ filters: [FilterObjectType!]
12703
+
12704
+ """Total summary for selected period."""
12705
+ summary: AbstractOrderSellerReportType!
12706
+
12707
+ """
12708
+ Report where each row represent aggregated, by selected (in filters) dimension, summary.
12709
+ """
12710
+ report: [MarketplaceTaxReportType!]
12711
+ }
12712
+
12713
+ type AbstractOrderSellerReportType {
12714
+ gross: Float
12715
+ orders: Int
12716
+ net: Float
12717
+ shipping: Float
12718
+ average: Float
12719
+ taxes: Float
12720
+ discounts: Float
12721
+ volumeDiscounts: Float
12722
+ revenue: Float
12723
+ totals: Int
12724
+ commission: Float
12725
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12726
+ payout: Float
12727
+ }
12728
+
12729
+ type MarketplaceTaxReportType {
12730
+ gross: Float
12731
+ orders: Int
12732
+ net: Float
12733
+ shipping: Float
12734
+ average: Float
12735
+ taxes: Float
12736
+ discounts: Float
12737
+ volumeDiscounts: Float
12738
+ revenue: Float
12739
+ totals: Int
12740
+ commission: Float
12741
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12466
12742
  payout: Float
12467
12743
  dimension: Date
12468
12744
  }
@@ -12503,6 +12779,7 @@ type MarketplaceTaxReportByLocaleType {
12503
12779
  revenue: Float
12504
12780
  totals: Int
12505
12781
  commission: Float
12782
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12506
12783
  payout: Float
12507
12784
  billingAddress_Country: String
12508
12785
  billingAddress_CountryArea: String
@@ -12714,6 +12991,7 @@ type DashboardSellerOrderPerformanceType {
12714
12991
  revenue: Float
12715
12992
  totals: Int
12716
12993
  commission: Float
12994
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12717
12995
  payout: Float
12718
12996
  sellerId: Int
12719
12997
  seller: Seller
@@ -12736,6 +13014,7 @@ type GraphDataType {
12736
13014
  revenue: Float
12737
13015
  totals: Int
12738
13016
  commission: Float
13017
+ affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12739
13018
  payout: Float
12740
13019
  dimension: DateTime
12741
13020
  }
@@ -13102,6 +13381,27 @@ type DesignerDataType {
13102
13381
  jsonContent: JSONString!
13103
13382
  }
13104
13383
 
13384
+ type BrandingType {
13385
+ id: ID!
13386
+ tenant: Tenant!
13387
+ jsonContent: JSONString!
13388
+ logo(
13389
+ """Size of the image."""
13390
+ size: Int
13391
+ ): Image
13392
+ icon(
13393
+ """Size of the image."""
13394
+ size: Int
13395
+ ): Image
13396
+ favicon(
13397
+ """Size of the image."""
13398
+ size: Int
13399
+ ): Image
13400
+ logoHeight: Int
13401
+ logoWidth: Int
13402
+ footerText: String!
13403
+ }
13404
+
13105
13405
  """Represents a job data of exported file."""
13106
13406
  type ExportFile implements Node & Job {
13107
13407
  """The ID of the object"""
@@ -13213,6 +13513,12 @@ enum ExportFileSortField {
13213
13513
  UPDATED_AT
13214
13514
  }
13215
13515
 
13516
+ type CoreDataType {
13517
+ tenant: Tenant!
13518
+ name: String!
13519
+ jsonContent: JSONString!
13520
+ }
13521
+
13216
13522
  type CheckoutCountableConnection {
13217
13523
  """Pagination data for this connection."""
13218
13524
  pageInfo: PageInfo!
@@ -13445,6 +13751,50 @@ input AgreementFilterInput {
13445
13751
  search: String
13446
13752
  }
13447
13753
 
13754
+ input AffiliateFilterInput {
13755
+ dateJoined: DateRangeInput
13756
+ moneySpent: PriceRangeInput
13757
+ numberOfOrders: IntRangeInput
13758
+ placedOrders: DateRangeInput
13759
+ search: String
13760
+ }
13761
+
13762
+ type OptimizedAffiliate {
13763
+ affiliate: User
13764
+ channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13765
+ topCodes: [AffiliateCodes!]
13766
+ agreement: Agreement
13767
+ }
13768
+
13769
+ type OptimizedAffiliateChannels {
13770
+ channelName: String
13771
+ totalReferrals: Int
13772
+ }
13773
+
13774
+ input AffiliateCodeFilterInput {
13775
+ search: String
13776
+ isActive: Boolean
13777
+ }
13778
+
13779
+ input AffiliateCodeSortingInput {
13780
+ """Specifies the direction in which to sort products."""
13781
+ direction: OrderDirection!
13782
+
13783
+ """Sort affiliate_codes by the selected field."""
13784
+ field: AffiliateCodeSortField!
13785
+ }
13786
+
13787
+ enum AffiliateCodeSortField {
13788
+ """Sort affiliate codes by code."""
13789
+ CODE
13790
+
13791
+ """Sort affiliate codes by status."""
13792
+ STATUS
13793
+
13794
+ """Sort affiliate codes by referrals."""
13795
+ REFERRALS
13796
+ }
13797
+
13448
13798
  type AddressValidationData {
13449
13799
  countryCode: String
13450
13800
  countryName: String
@@ -13560,7 +13910,7 @@ type Mutation {
13560
13910
  description: String
13561
13911
 
13562
13912
  """
13563
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/svg, application/vnd.oasis.opendocument.spreadsheet, image/png, application/x-acad, application/rtf, application/acrobat, image/x-dwg, application/gzip-compressed, application/pdf, application/csv, image/heic, application/svg+xml, application/x-csv, application/postscript, image/heic-sequence, text/svg-xml, application/gzipped, application/tif, image/gif, image/eps, drawing/x-dwg, application/vnd.oasis.opendocument.presentation, text/svg, image/bmp, application/tiff, image/x-tiff, drawing/dwg, image/tif, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-tiff, image/heif-sequence, text/pdf, application/vnd.oasis.opendocument.text, text/csv, application/x-tar, text/x-pdf, application/x-tif, image/x-eps, image/svg+xml, application/gzip, application/vnd.ms-excel, application/eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-comma-separated-values, application/x-pdf, application/x-jpg, image/tiff, text/plain, image/x-bmp, image/x-tif, image/heif, application/dwg, pplication/vnd.rar, application/x-rtf, application/vnd.pdf, application/vnd.ms-powerpoint, image/dxf, application/jpg, application/zip, image/webp, application/x-rar, image/jpg, application/x-rar-compressed, application/x-autocad, application/excel, image/vnd.dwg, application/acad, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/rtf, application/x-zip-compressed, application/x-dwg, application/msword, application/x-gzip, text/comma-separated-values, application/x-eps, image/jpeg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-dxf, drawing/x-dwf, application/x-dxf, application/vnd.ms-word, text/x-csv, application/dxf.
13913
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/svg+xml, application/x-jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/heif-sequence, application/pdf, image/png, image/heif, application/acad, application/tif, application/postscript, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/jpg, application/vnd.ms-excel, text/pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-csv, application/x-tif, application/vnd.ms-powerpoint, application/svg+xml, image/heic, application/vnd.ms-word, image/tiff, image/x-tif, application/vnd.oasis.opendocument.presentation, application/tiff, application/zip, application/x-tar, application/rtf, application/excel, application/x-dxf, image/jpg, application/x-rar, image/gif, text/svg-xml, image/x-dxf, application/dwg, application/x-tiff, image/webp, application/x-csv, image/heic-sequence, application/vnd.oasis.opendocument.text, drawing/dwg, drawing/x-dwg, image/jpeg, application/x-autocad, text/plain, application/gzip-compressed, application/gzip, image/x-bmp, application/x-eps, image/x-ms-bmp, text/svg, pplication/vnd.rar, text/x-pdf, image/x-dwg, text/csv, image/x-eps, application/x-rar-compressed, image/eps, text/rtf, application/vnd.oasis.opendocument.spreadsheet, application/acrobat, image/tif, application/x-gzip, application/x-rtf, image/dxf, application/x-dwg, application/msword, image/svg, text/comma-separated-values, application/x-acad, application/vnd.pdf, drawing/x-dwf, application/dxf, application/x-pdf, image/bmp, text/x-comma-separated-values, image/x-tiff, application/eps, application/csv, application/gzipped, image/vnd.dwg, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document.
13564
13914
  """
13565
13915
  file: Upload!
13566
13916
 
@@ -13669,6 +14019,15 @@ type Mutation {
13669
14019
  id: ID!
13670
14020
  ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13671
14021
 
14022
+ """Updates an affiliate code channel"""
14023
+ affiliateCodeChannelUpdate(
14024
+ """ID of the channel to associate with the affiliate code"""
14025
+ channel: ID
14026
+
14027
+ """ID of the affiliate code to update channel for"""
14028
+ id: ID!
14029
+ ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14030
+
13672
14031
  """Updates marketplace configuration."""
13673
14032
  marketplaceConfigurationUpdate(
13674
14033
  """Fields required to update marketplace configuration."""
@@ -13947,6 +14306,70 @@ type Mutation {
13947
14306
  input: MicrositeInput!
13948
14307
  ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13949
14308
 
14309
+ """Creates a new affiliate code"""
14310
+ affiliateCodeCreate(
14311
+ """Fields required to create an affiliate code."""
14312
+ input: AffiliateCodeCreateInput
14313
+ ): AffiliateCodeCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14314
+
14315
+ """Increments affiliate code uses"""
14316
+ affiliateCodeUse(
14317
+ """Affiliate code to increment use for"""
14318
+ code: String
14319
+ ): AffiliateCodeUse @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14320
+
14321
+ """Sets whether code is active"""
14322
+ affiliateCodeSetActive(
14323
+ """Whether the code is active or not"""
14324
+ isActive: Boolean
14325
+ ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14326
+
14327
+ """Activate or deactivate affiliate codes."""
14328
+ affiliateCodeBulkSetActive(
14329
+ """List of code IDs to (de)activate)."""
14330
+ ids: [ID!]!
14331
+
14332
+ """Determine if codes will be set active or not."""
14333
+ isActive: Boolean!
14334
+ ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14335
+
14336
+ """
14337
+ 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
14338
+ """
14339
+ affiliateAvatarUpdate(
14340
+ affiliate: ID
14341
+
14342
+ """Represents an image file in a multipart request."""
14343
+ image: Upload!
14344
+ ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14345
+
14346
+ """Creates a new affiliate."""
14347
+ affiliateCreate(
14348
+ """Fields required to create a affiliate."""
14349
+ input: UserCreateInput!
14350
+ ): AffiliateCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14351
+
14352
+ """Updates an existing affiliate."""
14353
+ affiliateUpdate(
14354
+ """ID of a affiliate to update."""
14355
+ id: ID!
14356
+
14357
+ """Fields required to update a affiliate."""
14358
+ input: AffiliateInput!
14359
+ ): AffiliateUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14360
+
14361
+ """Deletes a affiliate."""
14362
+ affiliateDelete(
14363
+ """ID of a affiliate to delete."""
14364
+ id: ID!
14365
+ ): AffiliateDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14366
+
14367
+ """Deletes affiliates."""
14368
+ affiliateBulkDelete(
14369
+ """List of user IDs to delete."""
14370
+ ids: [ID!]!
14371
+ ): AffiliateBulkDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14372
+
13950
14373
  """Creates a new agreement."""
13951
14374
  agreementCreate(
13952
14375
  """Fields required to create a agreement."""
@@ -14163,6 +14586,20 @@ type Mutation {
14163
14586
  """Update existing designer data."""
14164
14587
  designerDataUpdate(input: DesignerDataInput, name: String!): DesignerDataUpdate
14165
14588
 
14589
+ """Update existing branding."""
14590
+ brandingUpdate(input: BrandingInput): BrandingUpdate @deprecated(reason: "This will be removed on October 25, 2024")
14591
+
14592
+ """Delete branding images."""
14593
+ brandingImagesDelete(favicon: Boolean, icon: Boolean, logo: Boolean): BrandingImagesDelete @deprecated(reason: "This will be removed on October 25, 2024")
14594
+
14595
+ """Create core data."""
14596
+ coreDataCreate(input: CoreDataInput!): CoreDataCreate @deprecated(reason: "This will be removed on October 25, 2024")
14597
+
14598
+ """
14599
+ Update existing core data instance, return ok = True and coredata = None if no matching core data instance found.
14600
+ """
14601
+ coreDataUpdate(input: CoreDataInput!, name: String!): CoreDataUpdate @deprecated(reason: "This will be removed on October 25, 2024")
14602
+
14166
14603
  """Creates a new webhook subscription."""
14167
14604
  webhookCreate(
14168
14605
  """Fields required to create a webhook."""
@@ -15742,6 +16179,15 @@ type Mutation {
15742
16179
  input: [MetadataInput!]!
15743
16180
  ): PrivateMetadataUpdate
15744
16181
 
16182
+ """Assigns storefront's navigation menus."""
16183
+ assignNavigation(
16184
+ """ID of the menu."""
16185
+ menu: ID
16186
+
16187
+ """Type of the navigation bar to assign the menu to."""
16188
+ navigationType: NavigationType!
16189
+ ): AssignNavigation @deprecated(reason: "This will be removed on October 29, 2024")
16190
+
15745
16191
  """Creates a new Menu."""
15746
16192
  menuCreate(
15747
16193
  """Fields required to create a menu."""
@@ -15963,7 +16409,7 @@ type Mutation {
15963
16409
  """
15964
16410
  Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
15965
16411
  """
15966
- vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
16412
+ vendorType: String!
15967
16413
  ): VendorPayoutOnboardingLinkRequest
15968
16414
 
15969
16415
  """
@@ -16116,11 +16562,14 @@ type Mutation {
16116
16562
  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.
16117
16563
  """
16118
16564
  checkoutComplete(
16565
+ """ID of affiliate code used for checkout completion"""
16566
+ affiliate: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
16567
+
16119
16568
  """Checkout ID."""
16120
16569
  checkoutId: ID!
16121
16570
 
16122
16571
  """ID of microsite that checkout was completed from"""
16123
- microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
16572
+ microsite: ID
16124
16573
 
16125
16574
  """Client-side generated data required to finalize the payment."""
16126
16575
  paymentData: JSONString
@@ -17178,6 +17627,13 @@ type NauticalOrderChannelUpdate {
17178
17627
  channelErrors: [ChannelError!]!
17179
17628
  }
17180
17629
 
17630
+ """Updates an affiliate code channel"""
17631
+ type AffiliateCodeChannelUpdate {
17632
+ """Updated affiliate code instance"""
17633
+ affiliateCode: AffiliateCodes
17634
+ channelErrors: [ChannelError!]!
17635
+ }
17636
+
17181
17637
  """Updates marketplace configuration."""
17182
17638
  type MarketplaceConfigurationUpdate {
17183
17639
  """Updated marketplace configuration."""
@@ -17368,7 +17824,7 @@ enum PayoutErrorCode {
17368
17824
 
17369
17825
  input PayoutCreateInput {
17370
17826
  """Vendor type for the payout"""
17371
- vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
17827
+ vendorType: String!
17372
17828
 
17373
17829
  """
17374
17830
  Payout end date. ISO 8601 standard. Can not be greater than current date.
@@ -17782,48 +18238,334 @@ type MicrositeRemoveProducts {
17782
18238
  micrositeErrors: [ProductError!]!
17783
18239
  }
17784
18240
 
17785
- """Updates a microsite."""
17786
- type MicrositeUpdate {
17787
- micrositeErrors: [ProductError!]!
17788
- microsite: Microsite
17789
- }
18241
+ """Updates a microsite."""
18242
+ type MicrositeUpdate {
18243
+ micrositeErrors: [ProductError!]!
18244
+ microsite: Microsite
18245
+ }
18246
+
18247
+ input MicrositeInput {
18248
+ """Informs whether a microsite is published."""
18249
+ isPublished: Boolean
18250
+
18251
+ """Name of the microsite."""
18252
+ name: String
18253
+
18254
+ """Text to appear in footer of microsite."""
18255
+ footerText: String
18256
+
18257
+ """Slug of the microsite."""
18258
+ slug: String
18259
+
18260
+ """Description of the microsite (plaintext, deprecated for input)."""
18261
+ description: String
18262
+
18263
+ """Description of the microsite (HTML)."""
18264
+ descriptionHtml: String
18265
+
18266
+ """Banner image file."""
18267
+ bannerImage: Upload
18268
+
18269
+ """Alt text for an image."""
18270
+ bannerImageAlt: String
18271
+
18272
+ """Logo image file."""
18273
+ logoImage: Upload
18274
+
18275
+ """Alt text for an image."""
18276
+ logoImageAlt: String
18277
+
18278
+ """Search engine optimization fields."""
18279
+ seo: SeoInput
18280
+
18281
+ """Publication date. ISO 8601 standard."""
18282
+ publicationDate: Date
18283
+ }
18284
+
18285
+ """Creates a new affiliate code"""
18286
+ type AffiliateCodeCreate {
18287
+ affiliateErrors: [AffiliateError!]!
18288
+ affiliateCodes: AffiliateCodes
18289
+ }
18290
+
18291
+ type AffiliateError {
18292
+ """
18293
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18294
+ """
18295
+ field: String
18296
+
18297
+ """The error message."""
18298
+ message: String!
18299
+
18300
+ """The error code."""
18301
+ code: AffiliateErrorCode!
18302
+ }
18303
+
18304
+ """An enumeration."""
18305
+ enum AffiliateErrorCode {
18306
+ UNIQUE
18307
+ REQUIRED
18308
+ NOT_FOUND
18309
+ }
18310
+
18311
+ input AffiliateCodeCreateInput {
18312
+ """The id of the affiliate that the code belongs to"""
18313
+ affiliate: ID!
18314
+
18315
+ """The new affiliate code"""
18316
+ code: String
18317
+
18318
+ """ID of the channel code is used for"""
18319
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18320
+ }
18321
+
18322
+ """Increments affiliate code uses"""
18323
+ type AffiliateCodeUse {
18324
+ affiliateErrors: [AffiliateError!]!
18325
+ affiliateCodes: AffiliateCodes
18326
+ }
18327
+
18328
+ """Sets whether code is active"""
18329
+ type AffiliateCodeSetActive {
18330
+ affiliateErrors: [AffiliateError!]!
18331
+ affiliateCodes: AffiliateCodes
18332
+ }
18333
+
18334
+ """Activate or deactivate affiliate codes."""
18335
+ type AffiliateCodeBulkSetActive {
18336
+ """Returns how many objects were affected."""
18337
+ count: Int!
18338
+ codeErrors: [AccountError!]!
18339
+ }
18340
+
18341
+ type AccountError {
18342
+ """
18343
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18344
+ """
18345
+ field: String
18346
+
18347
+ """The error message."""
18348
+ message: String!
18349
+
18350
+ """The error code."""
18351
+ code: AccountErrorCode!
18352
+ }
18353
+
18354
+ """An enumeration."""
18355
+ enum AccountErrorCode {
18356
+ ACTIVATE_OWN_ACCOUNT
18357
+ ACTIVATE_SUPERUSER_ACCOUNT
18358
+ ACCOUNT_NOT_ACTIVE
18359
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
18360
+ DUPLICATED_INPUT_ITEM
18361
+ DEACTIVATE_OWN_ACCOUNT
18362
+ DEACTIVATE_SUPERUSER_ACCOUNT
18363
+ DELETE_NON_STAFF_USER
18364
+ DELETE_OWN_ACCOUNT
18365
+ DELETE_STAFF_ACCOUNT
18366
+ DELETE_SUPERUSER_ACCOUNT
18367
+ GRAPHQL_ERROR
18368
+ INVALID
18369
+ INVALID_PHONE
18370
+ INVALID_PASSWORD
18371
+ LEFT_NOT_MANAGEABLE_PERMISSION
18372
+ MUST_CHOOSE_PERMISSION_GROUP
18373
+ INVALID_CREDENTIALS
18374
+ NO_SELLER
18375
+ NOT_FOUND
18376
+ OUT_OF_SCOPE_SERVICE_ACCOUNT
18377
+ OUT_OF_SCOPE_USER
18378
+ OUT_OF_SCOPE_GROUP
18379
+ OUT_OF_SCOPE_PERMISSION
18380
+ PASSWORD_ENTIRELY_NUMERIC
18381
+ PASSWORD_IDENTICAL
18382
+ PASSWORD_TOO_COMMON
18383
+ PASSWORD_TOO_SHORT
18384
+ PASSWORD_TOO_SIMILAR
18385
+ REQUIRED
18386
+ UNIQUE
18387
+ JWT_SIGNATURE_EXPIRED
18388
+ JWT_INVALID_TOKEN
18389
+ JWT_DECODE_ERROR
18390
+ JWT_MISSING_TOKEN
18391
+ JWT_INVALID_CSRF_TOKEN
18392
+ }
18393
+
18394
+ """
18395
+ 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
18396
+ """
18397
+ type AffiliateAvatarUpdate {
18398
+ """An updated affiliate instance."""
18399
+ affiliate: User
18400
+ accountErrors: [AccountError!]!
18401
+ }
18402
+
18403
+ """Creates a new affiliate."""
18404
+ type AffiliateCreate {
18405
+ accountErrors: [AccountError!]!
18406
+ user: User
18407
+ }
18408
+
18409
+ input UserCreateInput {
18410
+ """Billing address of the customer."""
18411
+ defaultBillingAddress: AddressInput
18412
+
18413
+ """Shipping address of the customer."""
18414
+ defaultShippingAddress: AddressInput
18415
+
18416
+ """Given name."""
18417
+ firstName: String
18418
+
18419
+ """Family name."""
18420
+ lastName: String
18421
+
18422
+ """The unique email address of the user."""
18423
+ email: String
18424
+
18425
+ """User account is active."""
18426
+ isActive: Boolean
18427
+
18428
+ """User is staff member."""
18429
+ isStaff: Boolean
18430
+
18431
+ """User account is affiliate."""
18432
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18433
+
18434
+ """A note about the user."""
18435
+ note: String
18436
+
18437
+ """Only filled out if the account is a business account."""
18438
+ companyName: String
18439
+
18440
+ """Personal phone number."""
18441
+ personalPhone: String
18442
+
18443
+ """Password url"""
18444
+ passwordUrl: String
18445
+
18446
+ """Tax exempt code"""
18447
+ taxExemptCode: String
18448
+
18449
+ """List of custom fields."""
18450
+ customFields: [AttributeValueInput!]
18451
+
18452
+ """Marketplace VAT identification number"""
18453
+ vatIdentificationNumber: String
18454
+
18455
+ """
18456
+ URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
18457
+ """
18458
+ redirectUrl: String
18459
+ }
18460
+
18461
+ input AttributeValueInput {
18462
+ """ID of the selected attribute."""
18463
+ id: ID
18464
+
18465
+ """
18466
+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
18467
+ """
18468
+ values: [String!]
18469
+
18470
+ """
18471
+ Value representation of the attribute value (e.g. color value for swatch attributes).
18472
+ """
18473
+ value: String
18474
+
18475
+ """Date and time representation of attribute value."""
18476
+ dateTime: DateTime
18477
+
18478
+ """Supports attribute values with long text (plain text)."""
18479
+ plainText: String
18480
+
18481
+ """Supports attribute values with long text (html)."""
18482
+ richText: String
18483
+
18484
+ """Numeric value to support money or numeric attribute values."""
18485
+ amount: Decimal
18486
+
18487
+ """Currency to support money attribute values."""
18488
+ currency: String
18489
+
18490
+ """
18491
+ Supports attribute values to reference any other nautical object (should be base64 ID)
18492
+ """
18493
+ reference: String
18494
+
18495
+ """Supports boolean attribute values."""
18496
+ boolean: Boolean
18497
+
18498
+ """Supports file type attribute values."""
18499
+ file: Upload
18500
+
18501
+ """URL type to support external links as attribute values."""
18502
+ fileUrl: String
18503
+ }
18504
+
18505
+ """Updates an existing affiliate."""
18506
+ type AffiliateUpdate {
18507
+ accountErrors: [AccountError!]!
18508
+ user: User
18509
+ }
18510
+
18511
+ input AffiliateInput {
18512
+ """Billing address of the customer."""
18513
+ defaultBillingAddress: AddressInput
18514
+
18515
+ """Shipping address of the customer."""
18516
+ defaultShippingAddress: AddressInput
18517
+
18518
+ """Given name."""
18519
+ firstName: String
18520
+
18521
+ """Family name."""
18522
+ lastName: String
17790
18523
 
17791
- input MicrositeInput {
17792
- """Informs whether a microsite is published."""
17793
- isPublished: Boolean
18524
+ """The unique email address of the user."""
18525
+ email: String
17794
18526
 
17795
- """Name of the microsite."""
17796
- name: String
18527
+ """User account is active."""
18528
+ isActive: Boolean
17797
18529
 
17798
- """Text to appear in footer of microsite."""
17799
- footerText: String
18530
+ """User is staff member."""
18531
+ isStaff: Boolean
17800
18532
 
17801
- """Slug of the microsite."""
17802
- slug: String
18533
+ """User account is affiliate."""
18534
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
17803
18535
 
17804
- """Description of the microsite (plaintext, deprecated for input)."""
17805
- description: String
18536
+ """A note about the user."""
18537
+ note: String
17806
18538
 
17807
- """Description of the microsite (HTML)."""
17808
- descriptionHtml: String
18539
+ """Only filled out if the account is a business account."""
18540
+ companyName: String
17809
18541
 
17810
- """Banner image file."""
17811
- bannerImage: Upload
18542
+ """Personal phone number."""
18543
+ personalPhone: String
17812
18544
 
17813
- """Alt text for an image."""
17814
- bannerImageAlt: String
18545
+ """Password url"""
18546
+ passwordUrl: String
17815
18547
 
17816
- """Logo image file."""
17817
- logoImage: Upload
18548
+ """Tax exempt code"""
18549
+ taxExemptCode: String
17818
18550
 
17819
- """Alt text for an image."""
17820
- logoImageAlt: String
18551
+ """List of custom fields."""
18552
+ customFields: [AttributeValueInput!]
17821
18553
 
17822
- """Search engine optimization fields."""
17823
- seo: SeoInput
18554
+ """ID of the plan to assign affiliate to."""
18555
+ plan: ID
18556
+ }
17824
18557
 
17825
- """Publication date. ISO 8601 standard."""
17826
- publicationDate: Date
18558
+ """Deletes a affiliate."""
18559
+ type AffiliateDelete {
18560
+ accountErrors: [AccountError!]!
18561
+ user: User
18562
+ }
18563
+
18564
+ """Deletes affiliates."""
18565
+ type AffiliateBulkDelete {
18566
+ """Returns how many objects were affected."""
18567
+ count: Int!
18568
+ affiliateErrors: [AccountError!]!
17827
18569
  }
17828
18570
 
17829
18571
  """Creates a new agreement."""
@@ -17887,6 +18629,9 @@ input AgreementInput {
17887
18629
  """Last update date. ISO 8601 standard."""
17888
18630
  updatedAt: String
17889
18631
 
18632
+ """Seller or Affiliate"""
18633
+ vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18634
+
17890
18635
  """Gross Price, Markup, Absolute etc"""
17891
18636
  commissionType: CommissionTypeEnum
17892
18637
 
@@ -17897,6 +18642,14 @@ input AgreementInput {
17897
18642
  markupCommissionValue: Decimal
17898
18643
  }
17899
18644
 
18645
+ enum VendorTypeEnum {
18646
+ """Seller"""
18647
+ SELLER
18648
+
18649
+ """Affiliate"""
18650
+ AFFILIATE
18651
+ }
18652
+
17900
18653
  """Deletes a agreement."""
17901
18654
  type AgreementDelete {
17902
18655
  agreementErrors: [AgreementError!]!
@@ -18376,6 +19129,56 @@ type DesignerDataUpdate {
18376
19129
  designerErrors: [MarketplaceConfigurationError!]!
18377
19130
  }
18378
19131
 
19132
+ """Update existing branding."""
19133
+ type BrandingUpdate {
19134
+ ok: Boolean
19135
+ branding: BrandingType
19136
+ brandingErrors: [MarketplaceConfigurationError!]!
19137
+ }
19138
+
19139
+ input BrandingInput {
19140
+ jsonContent: JSONString
19141
+
19142
+ """Logo file."""
19143
+ logo: Upload
19144
+ logoHeight: Int
19145
+ logoWidth: Int
19146
+
19147
+ """Icon file."""
19148
+ icon: Upload
19149
+ footerText: String
19150
+
19151
+ """Favicon file."""
19152
+ favicon: Upload
19153
+ }
19154
+
19155
+ """Delete branding images."""
19156
+ type BrandingImagesDelete {
19157
+ branding: BrandingType
19158
+ brandingErrors: [MarketplaceConfigurationError!]!
19159
+ }
19160
+
19161
+ """Create core data."""
19162
+ type CoreDataCreate {
19163
+ ok: Boolean
19164
+ coredata: CoreDataType
19165
+ }
19166
+
19167
+ input CoreDataInput {
19168
+ name: String
19169
+ jsonContent: JSONString
19170
+ }
19171
+
19172
+ """
19173
+ Update existing core data instance, return ok = True and coredata = None if no matching core data instance found.
19174
+ """
19175
+ type CoreDataUpdate {
19176
+ ok: Boolean
19177
+ coredata: CoreDataType
19178
+ name: String
19179
+ jsonContent: JSONString
19180
+ }
19181
+
18379
19182
  """Creates a new webhook subscription."""
18380
19183
  type WebhookCreate {
18381
19184
  webhookErrors: [WebhookError!]!
@@ -19673,50 +20476,6 @@ input CategoryInput {
19673
20476
  customFields: [AttributeValueInput!]
19674
20477
  }
19675
20478
 
19676
- input AttributeValueInput {
19677
- """ID of the selected attribute."""
19678
- id: ID
19679
-
19680
- """
19681
- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
19682
- """
19683
- values: [String!]
19684
-
19685
- """
19686
- Value representation of the attribute value (e.g. color value for swatch attributes).
19687
- """
19688
- value: String
19689
-
19690
- """Date and time representation of attribute value."""
19691
- dateTime: DateTime
19692
-
19693
- """Supports attribute values with long text (plain text)."""
19694
- plainText: String
19695
-
19696
- """Supports attribute values with long text (html)."""
19697
- richText: String
19698
-
19699
- """Numeric value to support money or numeric attribute values."""
19700
- amount: Decimal
19701
-
19702
- """Currency to support money attribute values."""
19703
- currency: String
19704
-
19705
- """
19706
- Supports attribute values to reference any other nautical object (should be base64 ID)
19707
- """
19708
- reference: String
19709
-
19710
- """Supports boolean attribute values."""
19711
- boolean: Boolean
19712
-
19713
- """Supports file type attribute values."""
19714
- file: Upload
19715
-
19716
- """URL type to support external links as attribute values."""
19717
- fileUrl: String
19718
- }
19719
-
19720
20479
  """Deletes a category."""
19721
20480
  type CategoryDelete {
19722
20481
  productErrors: [ProductError!]!
@@ -22394,10 +23153,11 @@ type PrivateMetadataUpdate {
22394
23153
  item: ObjectWithMetadata
22395
23154
  }
22396
23155
 
22397
- """Creates a new Menu."""
22398
- type MenuCreate {
22399
- menuErrors: [MenuError!]!
23156
+ """Assigns storefront's navigation menus."""
23157
+ type AssignNavigation {
23158
+ """Assigned navigation menu."""
22400
23159
  menu: Menu
23160
+ menuErrors: [MenuError!]!
22401
23161
  }
22402
23162
 
22403
23163
  type MenuError {
@@ -22426,6 +23186,20 @@ enum MenuErrorCode {
22426
23186
  UNIQUE
22427
23187
  }
22428
23188
 
23189
+ enum NavigationType {
23190
+ """Main storefront navigation."""
23191
+ MAIN
23192
+
23193
+ """Secondary storefront navigation."""
23194
+ SECONDARY
23195
+ }
23196
+
23197
+ """Creates a new Menu."""
23198
+ type MenuCreate {
23199
+ menuErrors: [MenuError!]!
23200
+ menu: Menu
23201
+ }
23202
+
22429
23203
  input MenuCreateInput {
22430
23204
  """Name of the menu."""
22431
23205
  name: String!
@@ -23907,59 +24681,6 @@ type CreateToken {
23907
24681
  accountErrors: [AccountError!]!
23908
24682
  }
23909
24683
 
23910
- type AccountError {
23911
- """
23912
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
23913
- """
23914
- field: String
23915
-
23916
- """The error message."""
23917
- message: String!
23918
-
23919
- """The error code."""
23920
- code: AccountErrorCode!
23921
- }
23922
-
23923
- """An enumeration."""
23924
- enum AccountErrorCode {
23925
- ACTIVATE_OWN_ACCOUNT
23926
- ACTIVATE_SUPERUSER_ACCOUNT
23927
- ACCOUNT_NOT_ACTIVE
23928
- ATTRIBUTE_CANNOT_BE_ASSIGNED
23929
- DUPLICATED_INPUT_ITEM
23930
- DEACTIVATE_OWN_ACCOUNT
23931
- DEACTIVATE_SUPERUSER_ACCOUNT
23932
- DELETE_NON_STAFF_USER
23933
- DELETE_OWN_ACCOUNT
23934
- DELETE_STAFF_ACCOUNT
23935
- DELETE_SUPERUSER_ACCOUNT
23936
- GRAPHQL_ERROR
23937
- INVALID
23938
- INVALID_PHONE
23939
- INVALID_PASSWORD
23940
- LEFT_NOT_MANAGEABLE_PERMISSION
23941
- MUST_CHOOSE_PERMISSION_GROUP
23942
- INVALID_CREDENTIALS
23943
- NO_SELLER
23944
- NOT_FOUND
23945
- OUT_OF_SCOPE_SERVICE_ACCOUNT
23946
- OUT_OF_SCOPE_USER
23947
- OUT_OF_SCOPE_GROUP
23948
- OUT_OF_SCOPE_PERMISSION
23949
- PASSWORD_ENTIRELY_NUMERIC
23950
- PASSWORD_IDENTICAL
23951
- PASSWORD_TOO_COMMON
23952
- PASSWORD_TOO_SHORT
23953
- PASSWORD_TOO_SIMILAR
23954
- REQUIRED
23955
- UNIQUE
23956
- JWT_SIGNATURE_EXPIRED
23957
- JWT_INVALID_TOKEN
23958
- JWT_DECODE_ERROR
23959
- JWT_MISSING_TOKEN
23960
- JWT_INVALID_CSRF_TOKEN
23961
- }
23962
-
23963
24684
  """Create authorization URL."""
23964
24685
  type AuthURLGenerate {
23965
24686
  """Generated auth URL for google login."""
@@ -24216,55 +24937,6 @@ type CustomerCreate {
24216
24937
  user: User
24217
24938
  }
24218
24939
 
24219
- input UserCreateInput {
24220
- """Billing address of the customer."""
24221
- defaultBillingAddress: AddressInput
24222
-
24223
- """Shipping address of the customer."""
24224
- defaultShippingAddress: AddressInput
24225
-
24226
- """Given name."""
24227
- firstName: String
24228
-
24229
- """Family name."""
24230
- lastName: String
24231
-
24232
- """The unique email address of the user."""
24233
- email: String
24234
-
24235
- """User account is active."""
24236
- isActive: Boolean
24237
-
24238
- """User is staff member."""
24239
- isStaff: Boolean
24240
-
24241
- """A note about the user."""
24242
- note: String
24243
-
24244
- """Only filled out if the account is a business account."""
24245
- companyName: String
24246
-
24247
- """Personal phone number."""
24248
- personalPhone: String
24249
-
24250
- """Password url"""
24251
- passwordUrl: String
24252
-
24253
- """Tax exempt code"""
24254
- taxExemptCode: String
24255
-
24256
- """List of custom fields."""
24257
- customFields: [AttributeValueInput!]
24258
-
24259
- """Marketplace VAT identification number"""
24260
- vatIdentificationNumber: String
24261
-
24262
- """
24263
- URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
24264
- """
24265
- redirectUrl: String
24266
- }
24267
-
24268
24940
  """Updates an existing customer."""
24269
24941
  type CustomerUpdate {
24270
24942
  accountErrors: [AccountError!]!
@@ -24293,6 +24965,9 @@ input CustomerInput {
24293
24965
  """User is staff member."""
24294
24966
  isStaff: Boolean
24295
24967
 
24968
+ """User account is affiliate."""
24969
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24970
+
24296
24971
  """A note about the user."""
24297
24972
  note: String
24298
24973
 
@@ -24372,6 +25047,9 @@ input StaffCreateInput {
24372
25047
  """User is staff member."""
24373
25048
  isStaff: Boolean
24374
25049
 
25050
+ """User account is affiliate."""
25051
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
25052
+
24375
25053
  """A note about the user."""
24376
25054
  note: String
24377
25055
 
@@ -24424,6 +25102,9 @@ input StaffUpdateInput {
24424
25102
  """User is staff member."""
24425
25103
  isStaff: Boolean
24426
25104
 
25105
+ """User account is affiliate."""
25106
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
25107
+
24427
25108
  """A note about the user."""
24428
25109
  note: String
24429
25110