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

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
 
@@ -3633,7 +3558,6 @@ type VendorPayout implements Node & ObjectWithMetadata {
3633
3558
  gateway: String!
3634
3559
  payout: Payout!
3635
3560
  seller: Seller
3636
- affiliate: User
3637
3561
  currency: String!
3638
3562
  average: Decimal!
3639
3563
  discounts: Decimal!
@@ -3691,7 +3615,6 @@ type Payout implements Node & ObjectWithMetadata {
3691
3615
  endDate: String!
3692
3616
  status: PayoutStatus!
3693
3617
  name: String
3694
- vendorType: PayoutVendorType!
3695
3618
  currency: String!
3696
3619
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3697
3620
  vendors: Int!
@@ -3723,15 +3646,6 @@ enum PayoutStatus {
3723
3646
  ERROR
3724
3647
  }
3725
3648
 
3726
- """An enumeration."""
3727
- enum PayoutVendorType {
3728
- """Sellers"""
3729
- SELLERS
3730
-
3731
- """Affiliates"""
3732
- AFFILIATES
3733
- }
3734
-
3735
3649
  """An enumeration."""
3736
3650
  enum VendorPayoutStatus {
3737
3651
  """Paid"""
@@ -3849,8 +3763,6 @@ type Order implements Node & ObjectWithMetadata {
3849
3763
  displayGrossPrices: Boolean!
3850
3764
  customerNote: String!
3851
3765
  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
3766
 
3855
3767
  """Data time when the order was imported from another platform."""
3856
3768
  importedAt: DateTime
@@ -3939,9 +3851,6 @@ type Order implements Node & ObjectWithMetadata {
3939
3851
  """Seller commission for the order"""
3940
3852
  sellerCommission: Money
3941
3853
 
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
3854
  """Volume discount for the order"""
3946
3855
  volumeDiscount: TaxedMoney
3947
3856
 
@@ -5556,83 +5465,61 @@ enum SaleTypeEnum {
5556
5465
  SPECIFIC_PRODUCT
5557
5466
  }
5558
5467
 
5559
- """Represents an affiliate code"""
5560
- type AffiliateCodes implements Node {
5468
+ """Represents order fulfillment."""
5469
+ type Fulfillment implements Node & ObjectWithMetadata {
5561
5470
  """The ID of the object"""
5562
5471
  id: ID!
5563
- externalId: String
5564
- externalSource: String
5565
- externalInventoryId: String
5472
+ fulfillmentOrder: Int!
5473
+ relatedTo: Fulfillment
5474
+ order: Order!
5566
5475
 
5567
- """The id of the affiliate that the code belongs to"""
5568
- affiliate: User
5476
+ """Nautical order via order mapping"""
5477
+ nauticalOrder: NauticalOrder
5478
+ status: FulfillmentStatus!
5569
5479
 
5570
- """
5571
- Number of times the code has been submitted (this includes when the customer did not complete an order)
5572
- """
5573
- uses: Int
5480
+ """Fulfillment tracking company"""
5481
+ trackingCompany: String
5574
5482
 
5575
- """The new affiliate code"""
5576
- code: String
5483
+ """Fulfillment tracking number"""
5484
+ trackingNumber: String
5577
5485
 
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.")
5486
+ """Fulfillment tracking url"""
5487
+ trackingUrl: String
5488
+ shippingLabelUrl: String
5489
+ created: DateTime!
5490
+ updated: DateTime!
5580
5491
 
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
- }
5492
+ """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5493
+ user: User
5590
5494
 
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
- }
5495
+ """
5496
+ List of private metadata items.Requires proper staff permissions to access.
5497
+ """
5498
+ privateMetadata: [MetadataItem!]!
5603
5499
 
5604
- type AffiliateCodesCountableConnection {
5605
- """Pagination data for this connection."""
5606
- pageInfo: PageInfo!
5607
- edges: [AffiliateCodesCountableEdge!]!
5500
+ """List of public metadata items. Can be accessed without permissions."""
5501
+ metadata: [MetadataItem!]!
5608
5502
 
5609
- """A total count of items in the collection."""
5610
- totalCount: Int
5611
- }
5503
+ """List of lines for the fulfillment."""
5504
+ lines: [FulfillmentLine!]
5612
5505
 
5613
- type AffiliateCodesCountableEdge {
5614
- """The item at the end of the edge."""
5615
- node: AffiliateCodes!
5506
+ """Seller who made the fulfillment."""
5507
+ seller: Seller
5616
5508
 
5617
- """A cursor for use in pagination."""
5618
- cursor: String!
5619
- }
5509
+ """User-friendly fulfillment status."""
5510
+ statusDisplay: String
5620
5511
 
5621
- type NauticalOrderCountableConnection {
5622
- """Pagination data for this connection."""
5623
- pageInfo: PageInfo!
5624
- edges: [NauticalOrderCountableEdge!]!
5512
+ """Warehouse from fulfillment was fulfilled."""
5513
+ warehouse: Warehouse
5625
5514
 
5626
- """A total count of items in the collection."""
5627
- totalCount: Int
5628
- }
5515
+ """Sum of quantities across all lines."""
5516
+ totalLinesQuantity: Int
5629
5517
 
5630
- type NauticalOrderCountableEdge {
5631
- """The item at the end of the edge."""
5632
- node: NauticalOrder!
5518
+ """Total price across all quantities across all lines."""
5519
+ totalLinesMoney: Money!
5633
5520
 
5634
- """A cursor for use in pagination."""
5635
- cursor: String!
5521
+ """List of custom fields assigned to this fulfillment."""
5522
+ customFields: [SelectedAttribute!]!
5636
5523
  }
5637
5524
 
5638
5525
  """Represents a nautical order in the shop."""
@@ -5674,8 +5561,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5674
5561
  displayGrossPrices: Boolean!
5675
5562
  customerNote: String!
5676
5563
  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
5564
 
5680
5565
  """Data time when the order was imported from another platform."""
5681
5566
  importedAt: DateTime
@@ -5875,105 +5760,36 @@ enum NauticalOrderSubStatus {
5875
5760
  OFFER_REJECTED
5876
5761
  }
5877
5762
 
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
5763
+ enum OrderSubStatusEnum {
5764
+ """In Review"""
5765
+ IN_REVIEW
5945
5766
 
5946
- """Declined"""
5947
- DECLINED
5767
+ """Quote Requested"""
5768
+ QUOTE_REQUESTED
5948
5769
 
5949
- """Return requested"""
5950
- RETURN_REQUESTED
5770
+ """Awaiting Payment"""
5771
+ AWAITING_PAYMENT
5951
5772
 
5952
- """Return authorized"""
5953
- RETURN_AUTHORIZED
5773
+ """Complete"""
5774
+ COMPLETE
5954
5775
 
5955
- """Return declined"""
5956
- RETURN_DECLINED
5776
+ """Offer Approved"""
5777
+ OFFER_APPROVED
5957
5778
 
5958
- """Return received"""
5959
- RETURN_RECEIVED
5779
+ """Offer Cancelled"""
5780
+ OFFER_CANCELLED
5960
5781
 
5961
- """Return complete"""
5962
- RETURN_COMPLETE
5782
+ """Offer Created"""
5783
+ OFFER_CREATED
5963
5784
 
5964
- """Return cancelled"""
5965
- RETURN_CANCELLED
5966
- }
5785
+ """Offer Expired"""
5786
+ OFFER_EXPIRED
5967
5787
 
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
5788
+ """Offer Negotiating"""
5789
+ OFFER_NEGOTIATING
5974
5790
 
5975
- """Reason customer requested item return."""
5976
- returnReason: String
5791
+ """Offer Rejected"""
5792
+ OFFER_REJECTED
5977
5793
  }
5978
5794
 
5979
5795
  """Represents order line of particular order."""
@@ -6403,47 +6219,15 @@ type ShippingZoneCountryArea implements Node {
6403
6219
  countryArea: CountryArea!
6404
6220
  }
6405
6221
 
6406
- enum OrderSubStatusEnum {
6407
- """In Review"""
6408
- IN_REVIEW
6222
+ enum OrderAction {
6223
+ """Represents the capture action."""
6224
+ CAPTURE
6409
6225
 
6410
- """Quote Requested"""
6411
- QUOTE_REQUESTED
6226
+ """Represents a mark-as-paid action."""
6227
+ MARK_AS_PAID
6412
6228
 
6413
- """Awaiting Payment"""
6414
- AWAITING_PAYMENT
6415
-
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
6229
+ """Represents a refund action."""
6230
+ REFUND
6447
6231
 
6448
6232
  """Represents a void action."""
6449
6233
  VOID
@@ -6914,6 +6698,35 @@ type NauticalOrderEventOrderLineObject {
6914
6698
  itemName: String
6915
6699
  }
6916
6700
 
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
+
6917
6730
  """Represents a bid."""
6918
6731
  type Bid implements Node {
6919
6732
  """The ID of the object"""
@@ -7184,6 +6997,50 @@ enum RefundTypeEnum {
7184
6997
  ORDERLINEREFUND
7185
6998
  }
7186
6999
 
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
+
7187
7044
  """Extra fee associated with an order"""
7188
7045
  type OrderFee implements Node {
7189
7046
  """The ID of the object"""
@@ -7393,7 +7250,6 @@ type Agreement implements Node & ObjectWithMetadata {
7393
7250
  seoDescription: String
7394
7251
  slug: String!
7395
7252
  title: String!
7396
- vendorType: AgreementVendorType!
7397
7253
 
7398
7254
  """Commission type"""
7399
7255
  commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
@@ -7406,7 +7262,6 @@ type Agreement implements Node & ObjectWithMetadata {
7406
7262
  If a markup commission is selected, this is the amount of the commission.
7407
7263
  """
7408
7264
  markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7409
- agreementType: AgreementAgreementType!
7410
7265
  isActive: Boolean
7411
7266
 
7412
7267
  """List of granular commissions associated with the agreement."""
@@ -7425,15 +7280,6 @@ type Agreement implements Node & ObjectWithMetadata {
7425
7280
  metadata: [MetadataItem!]!
7426
7281
  }
7427
7282
 
7428
- """An enumeration."""
7429
- enum AgreementVendorType {
7430
- """Seller"""
7431
- SELLER
7432
-
7433
- """Affiliate"""
7434
- AFFILIATE
7435
- }
7436
-
7437
7283
  enum CommissionTypeEnum {
7438
7284
  """Gross Price Commission"""
7439
7285
  MARKETPLACE
@@ -7450,15 +7296,6 @@ enum MarkupCommissionTypeEnum {
7450
7296
  PERCENTAGE
7451
7297
  }
7452
7298
 
7453
- """An enumeration."""
7454
- enum AgreementAgreementType {
7455
- """Seller"""
7456
- A_1
7457
-
7458
- """Affiliate"""
7459
- A_2
7460
- }
7461
-
7462
7299
  """An agreement commission"""
7463
7300
  type AgreementCommission implements Node & ObjectWithMetadata {
7464
7301
  """The ID of the object"""
@@ -7536,7 +7373,6 @@ type Microsite implements Node & ObjectWithMetadata {
7536
7373
  name: String!
7537
7374
  slug: String!
7538
7375
  footerText: String
7539
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
7540
7376
  seller: Seller
7541
7377
 
7542
7378
  """
@@ -10838,7 +10674,6 @@ type OrderVendorSummaryType {
10838
10674
  revenue: Float
10839
10675
  totals: Int
10840
10676
  commission: Float
10841
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10842
10677
  payout: Float
10843
10678
  vendors: Int
10844
10679
  adjustments: Decimal
@@ -10859,7 +10694,6 @@ type OrderVendorReportType {
10859
10694
  revenue: Float
10860
10695
  totals: Int
10861
10696
  commission: Float
10862
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10863
10697
  payout: Float
10864
10698
  vendorId: Int
10865
10699
  vendor: Vendor
@@ -10889,7 +10723,6 @@ type SingleVendorReportType {
10889
10723
  revenue: Float
10890
10724
  totals: Int
10891
10725
  commission: Float
10892
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10893
10726
  payout: Decimal
10894
10727
  adjustments: Decimal
10895
10728
  penalties: Decimal
@@ -10914,7 +10747,6 @@ type SingleVendorSummaryType {
10914
10747
  revenue: Float
10915
10748
  totals: Int
10916
10749
  commission: Float
10917
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10918
10750
  payout: Float
10919
10751
  adjustments: Decimal
10920
10752
  penalties: Decimal
@@ -11252,7 +11084,6 @@ type MicrositeCountableEdge {
11252
11084
  input MicrositeFilterInput {
11253
11085
  published: MicrositePublished
11254
11086
  search: String
11255
- vendorType: MicrositeVendorType
11256
11087
  ids: [ID]
11257
11088
  metadata: MetadataFilterInput
11258
11089
  privateMetadata: MetadataFilterInput
@@ -11263,11 +11094,6 @@ enum MicrositePublished {
11263
11094
  HIDDEN
11264
11095
  }
11265
11096
 
11266
- enum MicrositeVendorType {
11267
- SELLER
11268
- AFFILIATE
11269
- }
11270
-
11271
11097
  input MicrositeSortingInput {
11272
11098
  """Specifies the direction in which to sort products."""
11273
11099
  direction: OrderDirection!
@@ -12452,7 +12278,6 @@ type OrderSellerSummaryType {
12452
12278
  revenue: Float
12453
12279
  totals: Int
12454
12280
  commission: Float
12455
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12456
12281
  payout: Float
12457
12282
  sellers: Float
12458
12283
  }
@@ -12469,7 +12294,6 @@ type OrderCustomerReportType {
12469
12294
  revenue: Float
12470
12295
  totals: Int
12471
12296
  commission: Float
12472
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12473
12297
  payout: Float
12474
12298
  userId: Int
12475
12299
  user: User
@@ -12511,7 +12335,6 @@ type OrderSellerReportType {
12511
12335
  revenue: Float
12512
12336
  totals: Int
12513
12337
  commission: Float
12514
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12515
12338
  payout: Float
12516
12339
  sellerId: Int
12517
12340
  seller: Seller
@@ -12553,7 +12376,6 @@ type OrderMarketplaceReportType {
12553
12376
  revenue: Float
12554
12377
  totals: Int
12555
12378
  commission: Float
12556
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12557
12379
  payout: Float
12558
12380
  dimension: Date
12559
12381
  }
@@ -12590,65 +12412,6 @@ type InReportMarketplacePayoutsSummaryType {
12590
12412
  report: [OrderSellerReportType!]
12591
12413
  }
12592
12414
 
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
12415
  type InReportMarketplaceTaxSummaryType {
12653
12416
  """Category of the metric."""
12654
12417
  category: String!
@@ -12685,7 +12448,6 @@ type AbstractOrderSellerReportType {
12685
12448
  revenue: Float
12686
12449
  totals: Int
12687
12450
  commission: Float
12688
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12689
12451
  payout: Float
12690
12452
  }
12691
12453
 
@@ -12701,7 +12463,6 @@ type MarketplaceTaxReportType {
12701
12463
  revenue: Float
12702
12464
  totals: Int
12703
12465
  commission: Float
12704
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12705
12466
  payout: Float
12706
12467
  dimension: Date
12707
12468
  }
@@ -12742,7 +12503,6 @@ type MarketplaceTaxReportByLocaleType {
12742
12503
  revenue: Float
12743
12504
  totals: Int
12744
12505
  commission: Float
12745
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12746
12506
  payout: Float
12747
12507
  billingAddress_Country: String
12748
12508
  billingAddress_CountryArea: String
@@ -12954,7 +12714,6 @@ type DashboardSellerOrderPerformanceType {
12954
12714
  revenue: Float
12955
12715
  totals: Int
12956
12716
  commission: Float
12957
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12958
12717
  payout: Float
12959
12718
  sellerId: Int
12960
12719
  seller: Seller
@@ -12977,7 +12736,6 @@ type GraphDataType {
12977
12736
  revenue: Float
12978
12737
  totals: Int
12979
12738
  commission: Float
12980
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12981
12739
  payout: Float
12982
12740
  dimension: DateTime
12983
12741
  }
@@ -13687,50 +13445,6 @@ input AgreementFilterInput {
13687
13445
  search: String
13688
13446
  }
13689
13447
 
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
13448
  type AddressValidationData {
13735
13449
  countryCode: String
13736
13450
  countryName: String
@@ -13846,7 +13560,7 @@ type Mutation {
13846
13560
  description: String
13847
13561
 
13848
13562
  """
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.
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.
13850
13564
  """
13851
13565
  file: Upload!
13852
13566
 
@@ -13955,15 +13669,6 @@ type Mutation {
13955
13669
  id: ID!
13956
13670
  ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13957
13671
 
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
13672
  """Updates marketplace configuration."""
13968
13673
  marketplaceConfigurationUpdate(
13969
13674
  """Fields required to update marketplace configuration."""
@@ -14242,70 +13947,6 @@ type Mutation {
14242
13947
  input: MicrositeInput!
14243
13948
  ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
14244
13949
 
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
13950
  """Creates a new agreement."""
14310
13951
  agreementCreate(
14311
13952
  """Fields required to create a agreement."""
@@ -16322,7 +15963,7 @@ type Mutation {
16322
15963
  """
16323
15964
  Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
16324
15965
  """
16325
- vendorType: String!
15966
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
16326
15967
  ): VendorPayoutOnboardingLinkRequest
16327
15968
 
16328
15969
  """
@@ -16475,14 +16116,11 @@ type Mutation {
16475
16116
  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
16117
  """
16477
16118
  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
16119
  """Checkout ID."""
16482
16120
  checkoutId: ID!
16483
16121
 
16484
16122
  """ID of microsite that checkout was completed from"""
16485
- microsite: ID
16123
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
16486
16124
 
16487
16125
  """Client-side generated data required to finalize the payment."""
16488
16126
  paymentData: JSONString
@@ -17540,13 +17178,6 @@ type NauticalOrderChannelUpdate {
17540
17178
  channelErrors: [ChannelError!]!
17541
17179
  }
17542
17180
 
17543
- """Updates an affiliate code channel"""
17544
- type AffiliateCodeChannelUpdate {
17545
- """Updated affiliate code instance"""
17546
- affiliateCode: AffiliateCodes
17547
- channelErrors: [ChannelError!]!
17548
- }
17549
-
17550
17181
  """Updates marketplace configuration."""
17551
17182
  type MarketplaceConfigurationUpdate {
17552
17183
  """Updated marketplace configuration."""
@@ -17737,7 +17368,7 @@ enum PayoutErrorCode {
17737
17368
 
17738
17369
  input PayoutCreateInput {
17739
17370
  """Vendor type for the payout"""
17740
- vendorType: String!
17371
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
17741
17372
 
17742
17373
  """
17743
17374
  Payout end date. ISO 8601 standard. Can not be greater than current date.
@@ -18120,365 +17751,79 @@ type MicrositeReorderProducts {
18120
17751
  micrositeErrors: [ProductError!]!
18121
17752
  }
18122
17753
 
18123
- 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
18402
-
17754
+ input MoveProductInput {
17755
+ """The ID of the product to move."""
17756
+ productId: ID!
17757
+
18403
17758
  """
18404
- Supports attribute values to reference any other nautical object (should be base64 ID)
17759
+ 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
17760
  """
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
17761
+ sortOrder: Int
18416
17762
  }
18417
17763
 
18418
- """Updates an existing affiliate."""
18419
- type AffiliateUpdate {
18420
- accountErrors: [AccountError!]!
18421
- user: User
17764
+ """Deletes microsites."""
17765
+ type MicrositeBulkDelete {
17766
+ """Returns how many objects were affected."""
17767
+ count: Int!
17768
+ micrositeErrors: [ProductError!]!
18422
17769
  }
18423
17770
 
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
17771
+ """Publish microsites."""
17772
+ type MicrositeBulkPublish {
17773
+ """Returns how many objects were affected."""
17774
+ count: Int!
17775
+ micrositeErrors: [ProductError!]!
17776
+ }
18433
17777
 
18434
- """Family name."""
18435
- lastName: String
17778
+ """Remove products from a microsite."""
17779
+ type MicrositeRemoveProducts {
17780
+ """Microsite from which products will be removed."""
17781
+ microsite: Microsite
17782
+ micrositeErrors: [ProductError!]!
17783
+ }
18436
17784
 
18437
- """The unique email address of the user."""
18438
- email: String
17785
+ """Updates a microsite."""
17786
+ type MicrositeUpdate {
17787
+ micrositeErrors: [ProductError!]!
17788
+ microsite: Microsite
17789
+ }
18439
17790
 
18440
- """User account is active."""
18441
- isActive: Boolean
17791
+ input MicrositeInput {
17792
+ """Informs whether a microsite is published."""
17793
+ isPublished: Boolean
18442
17794
 
18443
- """User is staff member."""
18444
- isStaff: Boolean
17795
+ """Name of the microsite."""
17796
+ name: String
18445
17797
 
18446
- """User account is affiliate."""
18447
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
17798
+ """Text to appear in footer of microsite."""
17799
+ footerText: String
18448
17800
 
18449
- """A note about the user."""
18450
- note: String
17801
+ """Slug of the microsite."""
17802
+ slug: String
18451
17803
 
18452
- """Only filled out if the account is a business account."""
18453
- companyName: String
17804
+ """Description of the microsite (plaintext, deprecated for input)."""
17805
+ description: String
18454
17806
 
18455
- """Personal phone number."""
18456
- personalPhone: String
17807
+ """Description of the microsite (HTML)."""
17808
+ descriptionHtml: String
18457
17809
 
18458
- """Password url"""
18459
- passwordUrl: String
17810
+ """Banner image file."""
17811
+ bannerImage: Upload
18460
17812
 
18461
- """Tax exempt code"""
18462
- taxExemptCode: String
17813
+ """Alt text for an image."""
17814
+ bannerImageAlt: String
18463
17815
 
18464
- """List of custom fields."""
18465
- customFields: [AttributeValueInput!]
17816
+ """Logo image file."""
17817
+ logoImage: Upload
18466
17818
 
18467
- """ID of the plan to assign affiliate to."""
18468
- plan: ID
18469
- }
17819
+ """Alt text for an image."""
17820
+ logoImageAlt: String
18470
17821
 
18471
- """Deletes a affiliate."""
18472
- type AffiliateDelete {
18473
- accountErrors: [AccountError!]!
18474
- user: User
18475
- }
17822
+ """Search engine optimization fields."""
17823
+ seo: SeoInput
18476
17824
 
18477
- """Deletes affiliates."""
18478
- type AffiliateBulkDelete {
18479
- """Returns how many objects were affected."""
18480
- count: Int!
18481
- affiliateErrors: [AccountError!]!
17825
+ """Publication date. ISO 8601 standard."""
17826
+ publicationDate: Date
18482
17827
  }
18483
17828
 
18484
17829
  """Creates a new agreement."""
@@ -18542,9 +17887,6 @@ input AgreementInput {
18542
17887
  """Last update date. ISO 8601 standard."""
18543
17888
  updatedAt: String
18544
17889
 
18545
- """Seller or Affiliate"""
18546
- vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18547
-
18548
17890
  """Gross Price, Markup, Absolute etc"""
18549
17891
  commissionType: CommissionTypeEnum
18550
17892
 
@@ -18555,14 +17897,6 @@ input AgreementInput {
18555
17897
  markupCommissionValue: Decimal
18556
17898
  }
18557
17899
 
18558
- enum VendorTypeEnum {
18559
- """Seller"""
18560
- SELLER
18561
-
18562
- """Affiliate"""
18563
- AFFILIATE
18564
- }
18565
-
18566
17900
  """Deletes a agreement."""
18567
17901
  type AgreementDelete {
18568
17902
  agreementErrors: [AgreementError!]!
@@ -20339,6 +19673,50 @@ input CategoryInput {
20339
19673
  customFields: [AttributeValueInput!]
20340
19674
  }
20341
19675
 
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
+
20342
19720
  """Deletes a category."""
20343
19721
  type CategoryDelete {
20344
19722
  productErrors: [ProductError!]!
@@ -24529,6 +23907,59 @@ type CreateToken {
24529
23907
  accountErrors: [AccountError!]!
24530
23908
  }
24531
23909
 
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
+
24532
23963
  """Create authorization URL."""
24533
23964
  type AuthURLGenerate {
24534
23965
  """Generated auth URL for google login."""
@@ -24785,6 +24216,55 @@ type CustomerCreate {
24785
24216
  user: User
24786
24217
  }
24787
24218
 
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
+
24788
24268
  """Updates an existing customer."""
24789
24269
  type CustomerUpdate {
24790
24270
  accountErrors: [AccountError!]!
@@ -24813,9 +24293,6 @@ input CustomerInput {
24813
24293
  """User is staff member."""
24814
24294
  isStaff: Boolean
24815
24295
 
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
24296
  """A note about the user."""
24820
24297
  note: String
24821
24298
 
@@ -24895,9 +24372,6 @@ input StaffCreateInput {
24895
24372
  """User is staff member."""
24896
24373
  isStaff: Boolean
24897
24374
 
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
24375
  """A note about the user."""
24902
24376
  note: String
24903
24377
 
@@ -24950,9 +24424,6 @@ input StaffUpdateInput {
24950
24424
  """User is staff member."""
24951
24425
  isStaff: Boolean
24952
24426
 
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
24427
  """A note about the user."""
24957
24428
  note: String
24958
24429