@nautical-commerce/graphql-schema 1.57.0-3-g46155dc84 → 1.57.0-31-g71628999a

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 +465 -1239
  2. package/package.json +1 -1
@@ -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!
@@ -1870,27 +1857,6 @@ type Query {
1870
1857
  last: Int
1871
1858
  ): CheckoutLineCountableConnection
1872
1859
 
1873
- """List of webhook jobs"""
1874
- channels(
1875
- """Filtering options for webhook jobs"""
1876
- filter: ChannelFilterInput
1877
-
1878
- """Sort webhook jobs"""
1879
- sortBy: ChannelSortingInput
1880
-
1881
- """Return the elements in the list that come before the specified cursor."""
1882
- before: String
1883
-
1884
- """Return the elements in the list that come after the specified cursor."""
1885
- after: String
1886
-
1887
- """Return the first n elements from the list."""
1888
- first: Int
1889
-
1890
- """Return the last n elements from the list."""
1891
- last: Int
1892
- ): ChannelCountableConnection @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
1893
-
1894
1860
  """List of the shop's attributes."""
1895
1861
  attributes(
1896
1862
  """Filtering options for attributes."""
@@ -2002,55 +1968,6 @@ type Query {
2002
1968
  id: ID!
2003
1969
  ): [AgreementSellers!]!
2004
1970
 
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
1971
  """Returns address validation rules."""
2055
1972
  addressValidationRules(
2056
1973
  """Two-letter ISO 3166-1 country code."""
@@ -2577,22 +2494,9 @@ type User implements Node & ObjectWithMetadata {
2577
2494
  """Return the last n elements from the list."""
2578
2495
  last: Int
2579
2496
  ): WishlistCountableConnection
2580
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2581
2497
  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
2498
  isAssignable: Boolean
2585
2499
 
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
2500
  """List of documents associated with the user."""
2597
2501
  documents: [Document!]!
2598
2502
 
@@ -3633,7 +3537,6 @@ type VendorPayout implements Node & ObjectWithMetadata {
3633
3537
  gateway: String!
3634
3538
  payout: Payout!
3635
3539
  seller: Seller
3636
- affiliate: User
3637
3540
  currency: String!
3638
3541
  average: Decimal!
3639
3542
  discounts: Decimal!
@@ -3691,7 +3594,6 @@ type Payout implements Node & ObjectWithMetadata {
3691
3594
  endDate: String!
3692
3595
  status: PayoutStatus!
3693
3596
  name: String
3694
- vendorType: PayoutVendorType!
3695
3597
  currency: String!
3696
3598
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3697
3599
  vendors: Int!
@@ -3723,15 +3625,6 @@ enum PayoutStatus {
3723
3625
  ERROR
3724
3626
  }
3725
3627
 
3726
- """An enumeration."""
3727
- enum PayoutVendorType {
3728
- """Sellers"""
3729
- SELLERS
3730
-
3731
- """Affiliates"""
3732
- AFFILIATES
3733
- }
3734
-
3735
3628
  """An enumeration."""
3736
3629
  enum VendorPayoutStatus {
3737
3630
  """Paid"""
@@ -3849,8 +3742,6 @@ type Order implements Node & ObjectWithMetadata {
3849
3742
  displayGrossPrices: Boolean!
3850
3743
  customerNote: String!
3851
3744
  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
3745
 
3855
3746
  """Data time when the order was imported from another platform."""
3856
3747
  importedAt: DateTime
@@ -3939,18 +3830,9 @@ type Order implements Node & ObjectWithMetadata {
3939
3830
  """Seller commission for the order"""
3940
3831
  sellerCommission: Money
3941
3832
 
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
- """Volume discount for the order"""
3946
- volumeDiscount: TaxedMoney
3947
-
3948
3833
  """Validation status for the order"""
3949
3834
  validationStatus: [ValidationStatus!]
3950
3835
 
3951
- """Channel the order is associated with"""
3952
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
3953
-
3954
3836
  """Latest bid made against the order."""
3955
3837
  currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
3956
3838
 
@@ -4960,7 +4842,6 @@ enum PermissionEnum {
4960
4842
  MANAGE_PAYOUTS
4961
4843
  MANAGE_PAYMENTS
4962
4844
  MANAGE_REFUNDS
4963
- MANAGE_CHANNELS
4964
4845
  MANAGE_COLLECTIONS
4965
4846
  }
4966
4847
 
@@ -5556,83 +5437,61 @@ enum SaleTypeEnum {
5556
5437
  SPECIFIC_PRODUCT
5557
5438
  }
5558
5439
 
5559
- """Represents an affiliate code"""
5560
- type AffiliateCodes implements Node {
5440
+ """Represents order fulfillment."""
5441
+ type Fulfillment implements Node & ObjectWithMetadata {
5561
5442
  """The ID of the object"""
5562
5443
  id: ID!
5563
- externalId: String
5564
- externalSource: String
5565
- externalInventoryId: String
5444
+ fulfillmentOrder: Int!
5445
+ relatedTo: Fulfillment
5446
+ order: Order!
5566
5447
 
5567
- """The id of the affiliate that the code belongs to"""
5568
- affiliate: User
5448
+ """Nautical order via order mapping"""
5449
+ nauticalOrder: NauticalOrder
5450
+ status: FulfillmentStatus!
5569
5451
 
5570
- """
5571
- Number of times the code has been submitted (this includes when the customer did not complete an order)
5572
- """
5573
- uses: Int
5452
+ """Fulfillment tracking company"""
5453
+ trackingCompany: String
5574
5454
 
5575
- """The new affiliate code"""
5576
- code: String
5455
+ """Fulfillment tracking number"""
5456
+ trackingNumber: String
5577
5457
 
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.")
5458
+ """Fulfillment tracking url"""
5459
+ trackingUrl: String
5460
+ shippingLabelUrl: String
5461
+ created: DateTime!
5462
+ updated: DateTime!
5580
5463
 
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
- }
5464
+ """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5465
+ user: User
5590
5466
 
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
- }
5467
+ """
5468
+ List of private metadata items.Requires proper staff permissions to access.
5469
+ """
5470
+ privateMetadata: [MetadataItem!]!
5603
5471
 
5604
- type AffiliateCodesCountableConnection {
5605
- """Pagination data for this connection."""
5606
- pageInfo: PageInfo!
5607
- edges: [AffiliateCodesCountableEdge!]!
5472
+ """List of public metadata items. Can be accessed without permissions."""
5473
+ metadata: [MetadataItem!]!
5608
5474
 
5609
- """A total count of items in the collection."""
5610
- totalCount: Int
5611
- }
5475
+ """List of lines for the fulfillment."""
5476
+ lines: [FulfillmentLine!]
5612
5477
 
5613
- type AffiliateCodesCountableEdge {
5614
- """The item at the end of the edge."""
5615
- node: AffiliateCodes!
5478
+ """Seller who made the fulfillment."""
5479
+ seller: Seller
5616
5480
 
5617
- """A cursor for use in pagination."""
5618
- cursor: String!
5619
- }
5481
+ """User-friendly fulfillment status."""
5482
+ statusDisplay: String
5620
5483
 
5621
- type NauticalOrderCountableConnection {
5622
- """Pagination data for this connection."""
5623
- pageInfo: PageInfo!
5624
- edges: [NauticalOrderCountableEdge!]!
5484
+ """Warehouse from fulfillment was fulfilled."""
5485
+ warehouse: Warehouse
5625
5486
 
5626
- """A total count of items in the collection."""
5627
- totalCount: Int
5628
- }
5487
+ """Sum of quantities across all lines."""
5488
+ totalLinesQuantity: Int
5629
5489
 
5630
- type NauticalOrderCountableEdge {
5631
- """The item at the end of the edge."""
5632
- node: NauticalOrder!
5490
+ """Total price across all quantities across all lines."""
5491
+ totalLinesMoney: Money!
5633
5492
 
5634
- """A cursor for use in pagination."""
5635
- cursor: String!
5493
+ """List of custom fields assigned to this fulfillment."""
5494
+ customFields: [SelectedAttribute!]!
5636
5495
  }
5637
5496
 
5638
5497
  """Represents a nautical order in the shop."""
@@ -5674,8 +5533,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5674
5533
  displayGrossPrices: Boolean!
5675
5534
  customerNote: String!
5676
5535
  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
5536
 
5680
5537
  """Data time when the order was imported from another platform."""
5681
5538
  importedAt: DateTime
@@ -5774,12 +5631,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5774
5631
 
5775
5632
  """Returns True, if order requires shipping."""
5776
5633
  isShippingRequired: Boolean!
5777
-
5778
- """Channel the marketplace order is associated with"""
5779
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5780
-
5781
- """Volume discount for the nautical order"""
5782
- volumeDiscount: TaxedMoney
5783
5634
  shippingMethodName: String!
5784
5635
 
5785
5636
  """Latest bid made against the order."""
@@ -5875,32 +5726,42 @@ enum NauticalOrderSubStatus {
5875
5726
  OFFER_REJECTED
5876
5727
  }
5877
5728
 
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!
5729
+ enum OrderSubStatusEnum {
5730
+ """In Review"""
5731
+ IN_REVIEW
5885
5732
 
5886
- """Nautical order via order mapping"""
5887
- nauticalOrder: NauticalOrder
5888
- status: FulfillmentStatus!
5733
+ """Quote Requested"""
5734
+ QUOTE_REQUESTED
5889
5735
 
5890
- """Fulfillment tracking company"""
5891
- trackingCompany: String
5736
+ """Awaiting Payment"""
5737
+ AWAITING_PAYMENT
5892
5738
 
5893
- """Fulfillment tracking number"""
5894
- trackingNumber: String
5739
+ """Complete"""
5740
+ COMPLETE
5895
5741
 
5896
- """Fulfillment tracking url"""
5897
- trackingUrl: String
5898
- shippingLabelUrl: String
5899
- created: DateTime!
5900
- updated: DateTime!
5742
+ """Offer Approved"""
5743
+ OFFER_APPROVED
5901
5744
 
5902
- """User who made the fulfillment. Requires MANAGE_STAFF permission."""
5903
- user: User
5745
+ """Offer Cancelled"""
5746
+ OFFER_CANCELLED
5747
+
5748
+ """Offer Created"""
5749
+ OFFER_CREATED
5750
+
5751
+ """Offer Expired"""
5752
+ OFFER_EXPIRED
5753
+
5754
+ """Offer Negotiating"""
5755
+ OFFER_NEGOTIATING
5756
+
5757
+ """Offer Rejected"""
5758
+ OFFER_REJECTED
5759
+ }
5760
+
5761
+ """Represents order line of particular order."""
5762
+ type OrderLine implements Node & ObjectWithMetadata {
5763
+ """The ID of the object"""
5764
+ id: ID!
5904
5765
 
5905
5766
  """
5906
5767
  List of private metadata items.Requires proper staff permissions to access.
@@ -5909,133 +5770,51 @@ type Fulfillment implements Node & ObjectWithMetadata {
5909
5770
 
5910
5771
  """List of public metadata items. Can be accessed without permissions."""
5911
5772
  metadata: [MetadataItem!]!
5773
+ isLinePriceOverridden: Boolean!
5774
+ unitPriceOverriddenNote: String
5775
+ note: String
5776
+ productName: String!
5777
+ variantName: String!
5778
+ productSku: String
5779
+ isShippingRequired: Boolean!
5780
+ quantityFulfilled: Int!
5781
+ quantityDeclined: Int!
5782
+ digitalContentUrl: DigitalContentUrl
5912
5783
 
5913
- """List of lines for the fulfillment."""
5914
- lines: [FulfillmentLine!]
5784
+ """The seller order for this line"""
5785
+ order: Order!
5915
5786
 
5916
- """Seller who made the fulfillment."""
5917
- seller: Seller
5787
+ """The nautical order line for this seller order line"""
5788
+ nauticalOrderLine: NauticalOrderLine!
5918
5789
 
5919
- """User-friendly fulfillment status."""
5920
- statusDisplay: String
5790
+ """The main thumbnail for the ordered product."""
5791
+ thumbnail(
5792
+ """Size of thumbnail."""
5793
+ size: Int
5794
+ ): Image
5921
5795
 
5922
- """Warehouse from fulfillment was fulfilled."""
5923
- warehouse: Warehouse
5796
+ """Price of the single item in the order line."""
5797
+ unitPrice: TaxedMoney
5924
5798
 
5925
- """Sum of quantities across all lines."""
5926
- totalLinesQuantity: Int
5799
+ """Price of the order line."""
5800
+ totalPrice: TaxedMoney
5927
5801
 
5928
- """Total price across all quantities across all lines."""
5929
- totalLinesPrice: Float @deprecated(reason: "This will be removed on October 25, 2024 and replaced by totalLinesMoney")
5802
+ """
5803
+ A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
5804
+ """
5805
+ variant: ProductVariant
5930
5806
 
5931
- """Total price across all quantities across all lines."""
5932
- totalLinesMoney: Money!
5807
+ """Product name in the customer's language."""
5808
+ translatedProductName: String!
5933
5809
 
5934
- """List of custom fields assigned to this fulfillment."""
5935
- customFields: [SelectedAttribute!]!
5936
- }
5810
+ """Variant name in the customer's language."""
5811
+ translatedVariantName: String!
5937
5812
 
5938
- """An enumeration."""
5939
- enum FulfillmentStatus {
5940
- """Fulfilled"""
5941
- FULFILLED
5813
+ """List of allocations across warehouses."""
5814
+ allocations: [Allocation!]
5942
5815
 
5943
- """Canceled"""
5944
- CANCELED
5945
-
5946
- """Returned"""
5947
- RETURNED
5948
-
5949
- """Declined"""
5950
- DECLINED
5951
-
5952
- """Return requested"""
5953
- RETURN_REQUESTED
5954
-
5955
- """Return authorized"""
5956
- RETURN_AUTHORIZED
5957
-
5958
- """Return declined"""
5959
- RETURN_DECLINED
5960
-
5961
- """Return received"""
5962
- RETURN_RECEIVED
5963
-
5964
- """Return complete"""
5965
- RETURN_COMPLETE
5966
-
5967
- """Return cancelled"""
5968
- RETURN_CANCELLED
5969
- }
5970
-
5971
- """Represents line of the fulfillment."""
5972
- type FulfillmentLine implements Node {
5973
- """The ID of the object"""
5974
- id: ID!
5975
- quantity: Int!
5976
- orderLine: OrderLine
5977
-
5978
- """Reason customer requested item return."""
5979
- returnReason: String
5980
- }
5981
-
5982
- """Represents order line of particular order."""
5983
- type OrderLine implements Node & ObjectWithMetadata {
5984
- """The ID of the object"""
5985
- id: ID!
5986
-
5987
- """
5988
- List of private metadata items.Requires proper staff permissions to access.
5989
- """
5990
- privateMetadata: [MetadataItem!]!
5991
-
5992
- """List of public metadata items. Can be accessed without permissions."""
5993
- metadata: [MetadataItem!]!
5994
- isLinePriceOverridden: Boolean!
5995
- unitPriceOverriddenNote: String
5996
- note: String
5997
- productName: String!
5998
- variantName: String!
5999
- productSku: String
6000
- isShippingRequired: Boolean!
6001
- quantityFulfilled: Int!
6002
- quantityDeclined: Int!
6003
- digitalContentUrl: DigitalContentUrl
6004
-
6005
- """The seller order for this line"""
6006
- order: Order!
6007
-
6008
- """The nautical order line for this seller order line"""
6009
- nauticalOrderLine: NauticalOrderLine!
6010
-
6011
- """The main thumbnail for the ordered product."""
6012
- thumbnail(
6013
- """Size of thumbnail."""
6014
- size: Int
6015
- ): Image
6016
-
6017
- """Price of the single item in the order line."""
6018
- unitPrice: TaxedMoney
6019
-
6020
- """Price of the order line."""
6021
- totalPrice: TaxedMoney
6022
-
6023
- """
6024
- A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
6025
- """
6026
- variant: ProductVariant
6027
-
6028
- """Product name in the customer's language."""
6029
- translatedProductName: String!
6030
-
6031
- """Variant name in the customer's language."""
6032
- translatedVariantName: String!
6033
-
6034
- """List of allocations across warehouses."""
6035
- allocations: [Allocation!]
6036
-
6037
- """The pricebook, if any, that changed the price of this line."""
6038
- priceBook: PriceBook
5816
+ """The pricebook, if any, that changed the price of this line."""
5817
+ priceBook: PriceBook
6039
5818
 
6040
5819
  """DEPRECATED: The number of items ordered on this order line."""
6041
5820
  quantity: Int! @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024")
@@ -6406,38 +6185,6 @@ type ShippingZoneCountryArea implements Node {
6406
6185
  countryArea: CountryArea!
6407
6186
  }
6408
6187
 
6409
- enum OrderSubStatusEnum {
6410
- """In Review"""
6411
- IN_REVIEW
6412
-
6413
- """Quote Requested"""
6414
- QUOTE_REQUESTED
6415
-
6416
- """Awaiting Payment"""
6417
- AWAITING_PAYMENT
6418
-
6419
- """Complete"""
6420
- COMPLETE
6421
-
6422
- """Offer Approved"""
6423
- OFFER_APPROVED
6424
-
6425
- """Offer Cancelled"""
6426
- OFFER_CANCELLED
6427
-
6428
- """Offer Created"""
6429
- OFFER_CREATED
6430
-
6431
- """Offer Expired"""
6432
- OFFER_EXPIRED
6433
-
6434
- """Offer Negotiating"""
6435
- OFFER_NEGOTIATING
6436
-
6437
- """Offer Rejected"""
6438
- OFFER_REJECTED
6439
- }
6440
-
6441
6188
  enum OrderAction {
6442
6189
  """Represents the capture action."""
6443
6190
  CAPTURE
@@ -7187,6 +6934,50 @@ enum RefundTypeEnum {
7187
6934
  ORDERLINEREFUND
7188
6935
  }
7189
6936
 
6937
+ """An enumeration."""
6938
+ enum FulfillmentStatus {
6939
+ """Fulfilled"""
6940
+ FULFILLED
6941
+
6942
+ """Canceled"""
6943
+ CANCELED
6944
+
6945
+ """Returned"""
6946
+ RETURNED
6947
+
6948
+ """Declined"""
6949
+ DECLINED
6950
+
6951
+ """Return requested"""
6952
+ RETURN_REQUESTED
6953
+
6954
+ """Return authorized"""
6955
+ RETURN_AUTHORIZED
6956
+
6957
+ """Return declined"""
6958
+ RETURN_DECLINED
6959
+
6960
+ """Return received"""
6961
+ RETURN_RECEIVED
6962
+
6963
+ """Return complete"""
6964
+ RETURN_COMPLETE
6965
+
6966
+ """Return cancelled"""
6967
+ RETURN_CANCELLED
6968
+ }
6969
+
6970
+ """Represents line of the fulfillment."""
6971
+ type FulfillmentLine implements Node {
6972
+ """The ID of the object"""
6973
+ id: ID!
6974
+ quantity: Int!
6975
+ orderLine: OrderLine
6976
+
6977
+ """Reason customer requested item return."""
6978
+ returnReason: String
6979
+ }
6980
+
7190
6981
  """Extra fee associated with an order"""
7191
6982
  type OrderFee implements Node {
7192
6983
  """The ID of the object"""
@@ -7396,7 +7187,6 @@ type Agreement implements Node & ObjectWithMetadata {
7396
7187
  seoDescription: String
7397
7188
  slug: String!
7398
7189
  title: String!
7399
- vendorType: AgreementVendorType!
7400
7190
 
7401
7191
  """Commission type"""
7402
7192
  commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
@@ -7409,7 +7199,6 @@ type Agreement implements Node & ObjectWithMetadata {
7409
7199
  If a markup commission is selected, this is the amount of the commission.
7410
7200
  """
7411
7201
  markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7412
- agreementType: AgreementAgreementType!
7413
7202
  isActive: Boolean
7414
7203
 
7415
7204
  """List of granular commissions associated with the agreement."""
@@ -7428,15 +7217,6 @@ type Agreement implements Node & ObjectWithMetadata {
7428
7217
  metadata: [MetadataItem!]!
7429
7218
  }
7430
7219
 
7431
- """An enumeration."""
7432
- enum AgreementVendorType {
7433
- """Seller"""
7434
- SELLER
7435
-
7436
- """Affiliate"""
7437
- AFFILIATE
7438
- }
7439
-
7440
7220
  enum CommissionTypeEnum {
7441
7221
  """Gross Price Commission"""
7442
7222
  MARKETPLACE
@@ -7453,15 +7233,6 @@ enum MarkupCommissionTypeEnum {
7453
7233
  PERCENTAGE
7454
7234
  }
7455
7235
 
7456
- """An enumeration."""
7457
- enum AgreementAgreementType {
7458
- """Seller"""
7459
- A_1
7460
-
7461
- """Affiliate"""
7462
- A_2
7463
- }
7464
-
7465
7236
  """An agreement commission"""
7466
7237
  type AgreementCommission implements Node & ObjectWithMetadata {
7467
7238
  """The ID of the object"""
@@ -7539,7 +7310,6 @@ type Microsite implements Node & ObjectWithMetadata {
7539
7310
  name: String!
7540
7311
  slug: String!
7541
7312
  footerText: String
7542
- affiliate: User @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
7543
7313
  seller: Seller
7544
7314
 
7545
7315
  """
@@ -8252,7 +8022,6 @@ input CustomerOrderFilterInput {
8252
8022
  paymentStatus: [PaymentChargeStatusEnum!]
8253
8023
  status: [OrderStatusFilter!]
8254
8024
  customer: String
8255
- channel: String
8256
8025
  created: DateRangeInput
8257
8026
  metadata: MetadataFilterInput
8258
8027
  privateMetadata: MetadataFilterInput
@@ -8324,9 +8093,6 @@ enum OrderSortField {
8324
8093
  """Sort orders by fulfillment status."""
8325
8094
  FULFILLMENT_STATUS
8326
8095
 
8327
- """Sort orders by channel."""
8328
- CHANNEL
8329
-
8330
8096
  """Sort orders by total."""
8331
8097
  TOTAL
8332
8098
 
@@ -8340,11 +8106,27 @@ enum OrderSortField {
8340
8106
  EXTERNAL_SOURCE
8341
8107
  }
8342
8108
 
8109
+ type NauticalOrderCountableConnection {
8110
+ """Pagination data for this connection."""
8111
+ pageInfo: PageInfo!
8112
+ edges: [NauticalOrderCountableEdge!]!
8113
+
8114
+ """A total count of items in the collection."""
8115
+ totalCount: Int
8116
+ }
8117
+
8118
+ type NauticalOrderCountableEdge {
8119
+ """The item at the end of the edge."""
8120
+ node: NauticalOrder!
8121
+
8122
+ """A cursor for use in pagination."""
8123
+ cursor: String!
8124
+ }
8125
+
8343
8126
  input CustomerNauticalOrderFilterInput {
8344
8127
  paymentStatus: [PaymentChargeStatusEnum!]
8345
8128
  status: [OrderStatusFilter!]
8346
8129
  customer: String
8347
- channel: String
8348
8130
  created: DateRangeInput
8349
8131
  metadata: MetadataFilterInput
8350
8132
  privateMetadata: MetadataFilterInput
@@ -9092,24 +8874,15 @@ type Shop {
9092
8874
  """Whether the marketplace has enabled offer orders."""
9093
8875
  enableOfferOrders: Boolean
9094
8876
 
9095
- """List of the shops's supported languages."""
9096
- languages: [LanguageDisplay!]! @deprecated(reason: "This will be removed on October 29, 2024")
9097
-
9098
8877
  """Shop's name."""
9099
8878
  name: String!
9100
8879
 
9101
- """Shop's navigation."""
9102
- navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter. This will be removed on October 29, 2024.")
9103
-
9104
8880
  """List of available permissions."""
9105
8881
  permissions: [Permission!]!
9106
8882
 
9107
8883
  """List of possible phone prefixes."""
9108
8884
  phonePrefixes: [String!]!
9109
8885
 
9110
- """Header text."""
9111
- headerText: String @deprecated(reason: "This will be removed on October 29, 2024")
9112
-
9113
8886
  """Include taxes in prices."""
9114
8887
  includeTaxesInPrices: Boolean!
9115
8888
 
@@ -9152,11 +8925,6 @@ type Shop {
9152
8925
  """Gets active plugins."""
9153
8926
  activePlugins: [Plugin!]!
9154
8927
 
9155
- """
9156
- None if shop does not use Builder, otherwise this contains Builder public api key.
9157
- """
9158
- builderKey: String @deprecated(reason: "This will be removed on October 29, 2024")
9159
-
9160
8928
  """
9161
8929
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
9162
8930
  """
@@ -9250,116 +9018,41 @@ type Domain {
9250
9018
  url: String!
9251
9019
  }
9252
9020
 
9253
- type LanguageDisplay {
9254
- """ISO 639 representation of the language name."""
9255
- code: LanguageCodeEnum!
9256
-
9257
- """Full name of the language."""
9258
- language: String!
9021
+ """Plugin."""
9022
+ type Plugin implements Node {
9023
+ id: ID!
9024
+ privateMetadata: JSONString!
9025
+ metadata: JSONString!
9026
+ company: String
9027
+ category: PluginConfigurationCategory
9028
+ descriptionShort: String!
9029
+ logoUrl: String
9030
+ created: DateTime!
9031
+ externalUrl: String
9032
+ supportUrl: String
9033
+ allowSellers: Boolean
9034
+ allowManyActivePluginsInCategory: Boolean!
9035
+ tenant: Tenant!
9036
+ identifier: String!
9037
+ name: String!
9038
+ description: String!
9039
+ active: Boolean!
9040
+ configuration: [ConfigurationItem!]
9041
+ defaultConfiguration: [ConfigurationItem!]
9042
+ supportSellerConfiguration: Boolean
9043
+ version: String!
9259
9044
  }
9260
9045
 
9261
- """Represents shop's navigation menus."""
9262
- type Navigation {
9263
- """Main navigation bar."""
9264
- main: Menu
9046
+ """An enumeration."""
9047
+ enum PluginConfigurationCategory {
9048
+ """Auth"""
9049
+ AUTH
9265
9050
 
9266
- """Secondary navigation bar."""
9267
- secondary: Menu
9268
- }
9051
+ """Fulfillment"""
9052
+ FULFILLMENT
9269
9053
 
9270
- """
9271
- Represents a single menu - an object that is used to help navigate through the store.
9272
- """
9273
- type Menu implements Node {
9274
- """The ID of the object"""
9275
- id: ID!
9276
- name: String!
9277
- slug: String!
9278
- items: [MenuItem!]!
9279
- }
9280
-
9281
- """
9282
- Represents a single item of the related menu. Can store categories, collection or pages.
9283
- """
9284
- type MenuItem implements Node {
9285
- """The ID of the object"""
9286
- id: ID!
9287
- menu: Menu!
9288
- name: String!
9289
- parent: MenuItem
9290
- category: Category
9291
- collection: Collection
9292
- page: Page
9293
- level: Int!
9294
- children: [MenuItem!]!
9295
-
9296
- """URL to the menu item."""
9297
- url: String
9298
- }
9299
-
9300
- """
9301
- A static page that can be manually added by a shop operator through the dashboard.
9302
- """
9303
- type Page implements Node & ObjectWithMetadata {
9304
- """The ID of the object"""
9305
- id: ID!
9306
- publicationDate: Date
9307
- createdAt: DateTime!
9308
- updatedAt: DateTime!
9309
- content: String!
9310
- contentHtml: String!
9311
- seoTitle: String
9312
- seoDescription: String
9313
- slug: String!
9314
- title: String!
9315
-
9316
- """
9317
- List of private metadata items.Requires proper staff permissions to access.
9318
- """
9319
- privateMetadata: [MetadataItem!]!
9320
-
9321
- """List of public metadata items. Can be accessed without permissions."""
9322
- metadata: [MetadataItem!]!
9323
-
9324
- """Whether the page is published."""
9325
- isPublished: Boolean!
9326
- }
9327
-
9328
- """Plugin."""
9329
- type Plugin implements Node {
9330
- id: ID!
9331
- privateMetadata: JSONString!
9332
- metadata: JSONString!
9333
- company: String
9334
- category: PluginConfigurationCategory
9335
- descriptionShort: String!
9336
- logoUrl: String
9337
- created: DateTime!
9338
- externalUrl: String
9339
- supportUrl: String
9340
- allowSellers: Boolean
9341
- allowManyActivePluginsInCategory: Boolean!
9342
- tenant: Tenant!
9343
- identifier: String!
9344
- name: String!
9345
- description: String!
9346
- active: Boolean!
9347
- configuration: [ConfigurationItem!]
9348
- defaultConfiguration: [ConfigurationItem!]
9349
- supportSellerConfiguration: Boolean
9350
- version: String!
9351
- }
9352
-
9353
- """An enumeration."""
9354
- enum PluginConfigurationCategory {
9355
- """Auth"""
9356
- AUTH
9357
-
9358
- """Fulfillment"""
9359
- FULFILLMENT
9360
-
9361
- """Ecommerce"""
9362
- ECOMMERCE
9054
+ """Ecommerce"""
9055
+ ECOMMERCE
9363
9056
 
9364
9057
  """Data Connectivity"""
9365
9058
  DATA_CONNECTIVITY
@@ -10926,11 +10619,9 @@ type OrderVendorSummaryType {
10926
10619
  average: Float
10927
10620
  taxes: Float
10928
10621
  discounts: Float
10929
- volumeDiscounts: Float
10930
10622
  revenue: Float
10931
10623
  totals: Int
10932
10624
  commission: Float
10933
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10934
10625
  payout: Float
10935
10626
  vendors: Int
10936
10627
  adjustments: Decimal
@@ -10947,11 +10638,9 @@ type OrderVendorReportType {
10947
10638
  average: Float
10948
10639
  taxes: Float
10949
10640
  discounts: Float
10950
- volumeDiscounts: Float
10951
10641
  revenue: Float
10952
10642
  totals: Int
10953
10643
  commission: Float
10954
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10955
10644
  payout: Float
10956
10645
  vendorId: Int
10957
10646
  vendor: Vendor
@@ -10977,11 +10666,9 @@ type SingleVendorReportType {
10977
10666
  average: Float
10978
10667
  taxes: Float
10979
10668
  discounts: Float
10980
- volumeDiscounts: Float
10981
10669
  revenue: Float
10982
10670
  totals: Int
10983
10671
  commission: Float
10984
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
10985
10672
  payout: Decimal
10986
10673
  adjustments: Decimal
10987
10674
  penalties: Decimal
@@ -11002,11 +10689,9 @@ type SingleVendorSummaryType {
11002
10689
  average: Float
11003
10690
  taxes: Float
11004
10691
  discounts: Float
11005
- volumeDiscounts: Float
11006
10692
  revenue: Float
11007
10693
  totals: Int
11008
10694
  commission: Float
11009
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
11010
10695
  payout: Float
11011
10696
  adjustments: Decimal
11012
10697
  penalties: Decimal
@@ -11031,6 +10716,34 @@ type PaymentCountableEdge {
11031
10716
  cursor: String!
11032
10717
  }
11033
10718
 
10719
+ """
10720
+ A static page that can be manually added by a shop operator through the dashboard.
10721
+ """
10722
+ type Page implements Node & ObjectWithMetadata {
10723
+ """The ID of the object"""
10724
+ id: ID!
10725
+ publicationDate: Date
10726
+ createdAt: DateTime!
10727
+ updatedAt: DateTime!
10728
+ content: String!
10729
+ contentHtml: String!
10730
+ seoTitle: String
10731
+ seoDescription: String
10732
+ slug: String!
10733
+ title: String!
10734
+
10735
+ """
10736
+ List of private metadata items.Requires proper staff permissions to access.
10737
+ """
10738
+ privateMetadata: [MetadataItem!]!
10739
+
10740
+ """List of public metadata items. Can be accessed without permissions."""
10741
+ metadata: [MetadataItem!]!
10742
+
10743
+ """Whether the page is published."""
10744
+ isPublished: Boolean!
10745
+ }
10746
+
11034
10747
  type PageCountableConnection {
11035
10748
  """Pagination data for this connection."""
11036
10749
  pageInfo: PageInfo!
@@ -11115,7 +10828,6 @@ input OrderFilterInput {
11115
10828
  paymentStatus: [PaymentChargeStatusEnum!]
11116
10829
  status: [OrderStatusFilter!]
11117
10830
  customer: String
11118
- channel: String
11119
10831
  created: DateRangeInput
11120
10832
  metadata: MetadataFilterInput
11121
10833
  privateMetadata: MetadataFilterInput
@@ -11133,7 +10845,6 @@ input NauticalOrderFilterInput {
11133
10845
  paymentStatus: [PaymentChargeStatusEnum!]
11134
10846
  status: [OrderStatusFilter!]
11135
10847
  customer: String
11136
- channel: String
11137
10848
  created: DateRangeInput
11138
10849
  metadata: MetadataFilterInput
11139
10850
  privateMetadata: MetadataFilterInput
@@ -11146,7 +10857,6 @@ input NauticalOrderFilterInput {
11146
10857
 
11147
10858
  input OrderDraftFilterInput {
11148
10859
  customer: String
11149
- channel: String
11150
10860
  created: DateRangeInput
11151
10861
  metadata: MetadataFilterInput
11152
10862
  privateMetadata: MetadataFilterInput
@@ -11159,7 +10869,6 @@ input OrderDraftFilterInput {
11159
10869
 
11160
10870
  input NauticalOrderDraftFilterInput {
11161
10871
  customer: String
11162
- channel: String
11163
10872
  created: DateRangeInput
11164
10873
  metadata: MetadataFilterInput
11165
10874
  privateMetadata: MetadataFilterInput
@@ -11172,7 +10881,6 @@ input NauticalOrderDraftFilterInput {
11172
10881
 
11173
10882
  input NauticalOrderQuoteFilterInput {
11174
10883
  customer: String
11175
- channel: String
11176
10884
  created: DateRangeInput
11177
10885
  metadata: MetadataFilterInput
11178
10886
  privateMetadata: MetadataFilterInput
@@ -11191,7 +10899,6 @@ enum QuoteOrderSubStatusFilter {
11191
10899
 
11192
10900
  input OrderQuoteFilterInput {
11193
10901
  customer: String
11194
- channel: String
11195
10902
  created: DateRangeInput
11196
10903
  metadata: MetadataFilterInput
11197
10904
  privateMetadata: MetadataFilterInput
@@ -11316,7 +11023,6 @@ type MicrositeCountableEdge {
11316
11023
  input MicrositeFilterInput {
11317
11024
  published: MicrositePublished
11318
11025
  search: String
11319
- vendorType: MicrositeVendorType
11320
11026
  ids: [ID]
11321
11027
  metadata: MetadataFilterInput
11322
11028
  privateMetadata: MetadataFilterInput
@@ -11327,11 +11033,6 @@ enum MicrositePublished {
11327
11033
  HIDDEN
11328
11034
  }
11329
11035
 
11330
- enum MicrositeVendorType {
11331
- SELLER
11332
- AFFILIATE
11333
- }
11334
-
11335
11036
  input MicrositeSortingInput {
11336
11037
  """Specifies the direction in which to sort products."""
11337
11038
  direction: OrderDirection!
@@ -11354,6 +11055,36 @@ enum MicrositeSortField {
11354
11055
  PUBLICATION_DATE
11355
11056
  }
11356
11057
 
11058
+ """
11059
+ Represents a single menu - an object that is used to help navigate through the store.
11060
+ """
11061
+ type Menu implements Node {
11062
+ """The ID of the object"""
11063
+ id: ID!
11064
+ name: String!
11065
+ slug: String!
11066
+ items: [MenuItem!]!
11067
+ }
11068
+
11069
+ """
11070
+ Represents a single item of the related menu. Can store categories, collection or pages.
11071
+ """
11072
+ type MenuItem implements Node {
11073
+ """The ID of the object"""
11074
+ id: ID!
11075
+ menu: Menu!
11076
+ name: String!
11077
+ parent: MenuItem
11078
+ category: Category
11079
+ collection: Collection
11080
+ page: Page
11081
+ level: Int!
11082
+ children: [MenuItem!]!
11083
+
11084
+ """URL to the menu item."""
11085
+ url: String
11086
+ }
11087
+
11357
11088
  type MenuCountableConnection {
11358
11089
  """Pagination data for this connection."""
11359
11090
  pageInfo: PageInfo!
@@ -12140,9 +11871,9 @@ type EmailEvent implements Node {
12140
11871
  """
12141
11872
  date: DateTime!
12142
11873
  fromEmail: String!
12143
- toEmails: [String!]!
12144
- bccEmails: [String!]!
12145
- ccEmails: [String!]!
11874
+ toEmails: [String!]
11875
+ bccEmails: [String!]
11876
+ ccEmails: [String!]
12146
11877
  messageType: EmailEventMessageType!
12147
11878
 
12148
11879
  """Plugin id (Plugin.PLUGIN_ID attribute) of email plugin"""
@@ -12482,11 +12213,9 @@ type OrderSellerSummaryType {
12482
12213
  average: Float
12483
12214
  taxes: Float
12484
12215
  discounts: Float
12485
- volumeDiscounts: Float
12486
12216
  revenue: Float
12487
12217
  totals: Int
12488
12218
  commission: Float
12489
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12490
12219
  payout: Float
12491
12220
  sellers: Float
12492
12221
  }
@@ -12499,11 +12228,9 @@ type OrderCustomerReportType {
12499
12228
  average: Float
12500
12229
  taxes: Float
12501
12230
  discounts: Float
12502
- volumeDiscounts: Float
12503
12231
  revenue: Float
12504
12232
  totals: Int
12505
12233
  commission: Float
12506
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12507
12234
  payout: Float
12508
12235
  userId: Int
12509
12236
  user: User
@@ -12541,11 +12268,9 @@ type OrderSellerReportType {
12541
12268
  average: Float
12542
12269
  taxes: Float
12543
12270
  discounts: Float
12544
- volumeDiscounts: Float
12545
12271
  revenue: Float
12546
12272
  totals: Int
12547
12273
  commission: Float
12548
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12549
12274
  payout: Float
12550
12275
  sellerId: Int
12551
12276
  seller: Seller
@@ -12583,11 +12308,9 @@ type OrderMarketplaceReportType {
12583
12308
  average: Float
12584
12309
  taxes: Float
12585
12310
  discounts: Float
12586
- volumeDiscounts: Float
12587
12311
  revenue: Float
12588
12312
  totals: Int
12589
12313
  commission: Float
12590
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12591
12314
  payout: Float
12592
12315
  dimension: Date
12593
12316
  }
@@ -12624,65 +12347,6 @@ type InReportMarketplacePayoutsSummaryType {
12624
12347
  report: [OrderSellerReportType!]
12625
12348
  }
12626
12349
 
12627
- type InReportMarketplaceAffiliatePayoutsSummaryType {
12628
- """Category of the metric."""
12629
- category: String!
12630
-
12631
- """Title of the metric."""
12632
- title: String!
12633
-
12634
- """
12635
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12636
- """
12637
- columns: [ColumnObjectType!]
12638
-
12639
- """Info about applied filters."""
12640
- filters: [FilterObjectType!]
12641
-
12642
- """Total summary for selected period."""
12643
- summary: OrderAffiliateSummaryType!
12644
-
12645
- """
12646
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12647
- """
12648
- report: [OrderAffiliateReportType!]
12649
- }
12650
-
12651
- type OrderAffiliateSummaryType {
12652
- gross: Float
12653
- orders: Int
12654
- net: Float
12655
- shipping: Float
12656
- average: Float
12657
- taxes: Float
12658
- discounts: Float
12659
- volumeDiscounts: Float
12660
- revenue: Float
12661
- totals: Int
12662
- commission: Float
12663
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12664
- payout: Float
12665
- affiliates: Float
12666
- }
12667
-
12668
- type OrderAffiliateReportType {
12669
- gross: Float
12670
- orders: Int
12671
- net: Float
12672
- shipping: Float
12673
- average: Float
12674
- taxes: Float
12675
- discounts: Float
12676
- volumeDiscounts: Float
12677
- revenue: Float
12678
- totals: Int
12679
- commission: Float
12680
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12681
- payout: Float
12682
- affiliateId: Int
12683
- affiliate: User
12684
- }
12685
-
12686
12350
  type InReportMarketplaceTaxSummaryType {
12687
12351
  """Category of the metric."""
12688
12352
  category: String!
@@ -12715,11 +12379,9 @@ type AbstractOrderSellerReportType {
12715
12379
  average: Float
12716
12380
  taxes: Float
12717
12381
  discounts: Float
12718
- volumeDiscounts: Float
12719
12382
  revenue: Float
12720
12383
  totals: Int
12721
12384
  commission: Float
12722
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12723
12385
  payout: Float
12724
12386
  }
12725
12387
 
@@ -12731,11 +12393,9 @@ type MarketplaceTaxReportType {
12731
12393
  average: Float
12732
12394
  taxes: Float
12733
12395
  discounts: Float
12734
- volumeDiscounts: Float
12735
12396
  revenue: Float
12736
12397
  totals: Int
12737
12398
  commission: Float
12738
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12739
12399
  payout: Float
12740
12400
  dimension: Date
12741
12401
  }
@@ -12772,11 +12432,9 @@ type MarketplaceTaxReportByLocaleType {
12772
12432
  average: Float
12773
12433
  taxes: Float
12774
12434
  discounts: Float
12775
- volumeDiscounts: Float
12776
12435
  revenue: Float
12777
12436
  totals: Int
12778
12437
  commission: Float
12779
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12780
12438
  payout: Float
12781
12439
  billingAddress_Country: String
12782
12440
  billingAddress_CountryArea: String
@@ -12965,7 +12623,6 @@ type AbstractPercentReportType {
12965
12623
  average: Float
12966
12624
  taxes: Float
12967
12625
  discounts: Float
12968
- volumeDiscounts: Float
12969
12626
  revenue: Float
12970
12627
  totals: Float
12971
12628
  }
@@ -12984,11 +12641,9 @@ type DashboardSellerOrderPerformanceType {
12984
12641
  average: Float
12985
12642
  taxes: Float
12986
12643
  discounts: Float
12987
- volumeDiscounts: Float
12988
12644
  revenue: Float
12989
12645
  totals: Int
12990
12646
  commission: Float
12991
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
12992
12647
  payout: Float
12993
12648
  sellerId: Int
12994
12649
  seller: Seller
@@ -13007,11 +12662,9 @@ type GraphDataType {
13007
12662
  average: Float
13008
12663
  taxes: Float
13009
12664
  discounts: Float
13010
- volumeDiscounts: Float
13011
12665
  revenue: Float
13012
12666
  totals: Int
13013
12667
  commission: Float
13014
- affiliateCommission: Float @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
13015
12668
  payout: Float
13016
12669
  dimension: DateTime
13017
12670
  }
@@ -13523,45 +13176,6 @@ type CheckoutLineCountableEdge {
13523
13176
  cursor: String!
13524
13177
  }
13525
13178
 
13526
- type ChannelCountableConnection {
13527
- """Pagination data for this connection."""
13528
- pageInfo: PageInfo!
13529
- edges: [ChannelCountableEdge!]!
13530
-
13531
- """A total count of items in the collection."""
13532
- totalCount: Int
13533
- }
13534
-
13535
- type ChannelCountableEdge {
13536
- """The item at the end of the edge."""
13537
- node: Channel!
13538
-
13539
- """A cursor for use in pagination."""
13540
- cursor: String!
13541
- }
13542
-
13543
- input ChannelFilterInput {
13544
- search: String
13545
- createdAt: DateTime
13546
- created: DateRangeInput
13547
- }
13548
-
13549
- input ChannelSortingInput {
13550
- """Specifies the direction in which to sort products."""
13551
- direction: OrderDirection!
13552
-
13553
- """Sort channels by the selected field."""
13554
- field: ChannelSortField!
13555
- }
13556
-
13557
- enum ChannelSortField {
13558
- """Sort channels by channel."""
13559
- CHANNEL
13560
-
13561
- """Sort channels by created at."""
13562
- CREATED_AT
13563
- }
13564
-
13565
13179
  input AttributeSortingInput {
13566
13180
  """Specifies the direction in which to sort products."""
13567
13181
  direction: OrderDirection!
@@ -13721,50 +13335,6 @@ input AgreementFilterInput {
13721
13335
  search: String
13722
13336
  }
13723
13337
 
13724
- input AffiliateFilterInput {
13725
- dateJoined: DateRangeInput
13726
- moneySpent: PriceRangeInput
13727
- numberOfOrders: IntRangeInput
13728
- placedOrders: DateRangeInput
13729
- search: String
13730
- }
13731
-
13732
- type OptimizedAffiliate {
13733
- affiliate: User
13734
- channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13735
- topCodes: [AffiliateCodes!]
13736
- agreement: Agreement
13737
- }
13738
-
13739
- type OptimizedAffiliateChannels {
13740
- channelName: String
13741
- totalReferrals: Int
13742
- }
13743
-
13744
- input AffiliateCodeFilterInput {
13745
- search: String
13746
- isActive: Boolean
13747
- }
13748
-
13749
- input AffiliateCodeSortingInput {
13750
- """Specifies the direction in which to sort products."""
13751
- direction: OrderDirection!
13752
-
13753
- """Sort affiliate_codes by the selected field."""
13754
- field: AffiliateCodeSortField!
13755
- }
13756
-
13757
- enum AffiliateCodeSortField {
13758
- """Sort affiliate codes by code."""
13759
- CODE
13760
-
13761
- """Sort affiliate codes by status."""
13762
- STATUS
13763
-
13764
- """Sort affiliate codes by referrals."""
13765
- REFERRALS
13766
- }
13767
-
13768
13338
  type AddressValidationData {
13769
13339
  countryCode: String
13770
13340
  countryName: String
@@ -13880,7 +13450,7 @@ type Mutation {
13880
13450
  description: String
13881
13451
 
13882
13452
  """
13883
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.pdf, image/x-eps, text/x-comma-separated-values, application/excel, image/heif-sequence, text/pdf, image/webp, image/gif, application/gzip-compressed, application/dwg, application/pdf, text/svg, application/tif, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/bmp, application/rtf, application/x-rar, image/dxf, application/csv, image/x-dxf, application/x-acad, application/x-dxf, application/x-rtf, image/eps, application/vnd.ms-word, application/gzipped, image/heic-sequence, application/x-eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-gzip, text/x-pdf, application/dxf, application/x-dwg, application/acrobat, image/x-tif, application/svg+xml, application/x-tar, image/tif, image/x-dwg, application/tiff, pplication/vnd.rar, application/x-zip-compressed, application/acad, text/svg-xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/jpg, application/vnd.oasis.opendocument.text, image/heic, image/x-ms-bmp, drawing/x-dwf, application/x-pdf, image/jpeg, image/svg, text/comma-separated-values, image/jpg, image/x-tiff, application/msword, text/rtf, application/eps, text/x-csv, drawing/dwg, application/gzip, application/vnd.oasis.opendocument.presentation, application/x-jpg, application/x-autocad, drawing/x-dwg, image/heif, application/x-tif, application/postscript, application/x-rar-compressed, image/png, application/vnd.ms-excel, image/svg+xml, image/vnd.dwg, application/zip, application/x-csv, application/x-tiff, text/plain, image/x-bmp, text/csv, image/tiff, application/vnd.oasis.opendocument.spreadsheet.
13453
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/heif, image/x-ms-bmp, image/vnd.dwg, application/x-csv, image/jpg, drawing/dwg, application/x-rar, application/x-pdf, drawing/x-dwf, image/gif, image/dxf, application/gzip-compressed, application/gzipped, application/vnd.oasis.opendocument.spreadsheet, text/x-comma-separated-values, image/svg+xml, application/x-dxf, image/heif-sequence, image/jpeg, drawing/x-dwg, application/x-acad, text/rtf, application/acrobat, application/svg+xml, application/jpg, image/x-dwg, application/vnd.oasis.opendocument.presentation, application/x-tif, image/tiff, image/heic-sequence, application/x-zip-compressed, image/x-dxf, image/heic, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-bmp, image/webp, pplication/vnd.rar, image/x-tif, application/msword, application/acad, text/csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/svg-xml, application/tiff, image/x-eps, application/zip, text/x-pdf, application/vnd.oasis.opendocument.text, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.ms-excel, image/svg, application/excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, image/png, application/dxf, text/pdf, application/x-eps, application/x-dwg, application/x-gzip, image/bmp, text/comma-separated-values, application/x-autocad, application/gzip, text/svg, application/x-rar-compressed, application/tif, application/x-jpg, application/eps, application/dwg, application/rtf, application/csv, application/vnd.ms-word, application/x-tiff, application/x-rtf, text/plain, image/eps, image/tif, application/vnd.pdf, image/x-tiff, application/x-tar, application/pdf, text/x-csv, application/postscript.
13884
13454
  """
13885
13455
  file: Upload!
13886
13456
 
@@ -13956,48 +13526,6 @@ type Mutation {
13956
13526
  """
13957
13527
  updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13958
13528
 
13959
- """Creates a new channel"""
13960
- channelCreate(
13961
- """Fields required to create a channel."""
13962
- input: ChannelInput
13963
- ): ChannelCreate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13964
-
13965
- """Updates a channel."""
13966
- channelUpdate(
13967
- """ID of a channel to update."""
13968
- id: ID!
13969
-
13970
- """Fields required to update a channel."""
13971
- input: ChannelInput!
13972
- ): ChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13973
-
13974
- """Updates an order channel"""
13975
- orderChannelUpdate(
13976
- """ID of the channel to associate with the order"""
13977
- channel: ID
13978
-
13979
- """ID of the order to update channel for"""
13980
- id: ID!
13981
- ): OrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13982
-
13983
- """Updates a marketplace order channel."""
13984
- nauticalOrderChannelUpdate(
13985
- """ID of the channel to associate with the marketplace order"""
13986
- channel: ID
13987
-
13988
- """ID of the marketplace order to update channel for"""
13989
- id: ID!
13990
- ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13991
-
13992
- """Updates an affiliate code channel"""
13993
- affiliateCodeChannelUpdate(
13994
- """ID of the channel to associate with the affiliate code"""
13995
- channel: ID
13996
-
13997
- """ID of the affiliate code to update channel for"""
13998
- id: ID!
13999
- ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14000
-
14001
13529
  """Updates marketplace configuration."""
14002
13530
  marketplaceConfigurationUpdate(
14003
13531
  """Fields required to update marketplace configuration."""
@@ -14276,75 +13804,11 @@ type Mutation {
14276
13804
  input: MicrositeInput!
14277
13805
  ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
14278
13806
 
14279
- """Creates a new affiliate code"""
14280
- affiliateCodeCreate(
14281
- """Fields required to create an affiliate code."""
14282
- input: AffiliateCodeCreateInput
14283
- ): AffiliateCodeCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14284
-
14285
- """Increments affiliate code uses"""
14286
- affiliateCodeUse(
14287
- """Affiliate code to increment use for"""
14288
- code: String
14289
- ): AffiliateCodeUse @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14290
-
14291
- """Sets whether code is active"""
14292
- affiliateCodeSetActive(
14293
- """Whether the code is active or not"""
14294
- isActive: Boolean
14295
- ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14296
-
14297
- """Activate or deactivate affiliate codes."""
14298
- affiliateCodeBulkSetActive(
14299
- """List of code IDs to (de)activate)."""
14300
- ids: [ID!]!
14301
-
14302
- """Determine if codes will be set active or not."""
14303
- isActive: Boolean!
14304
- ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14305
-
14306
- """
14307
- 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
14308
- """
14309
- affiliateAvatarUpdate(
14310
- affiliate: ID
14311
-
14312
- """Represents an image file in a multipart request."""
14313
- image: Upload!
14314
- ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14315
-
14316
- """Creates a new affiliate."""
14317
- affiliateCreate(
14318
- """Fields required to create a affiliate."""
14319
- input: UserCreateInput!
14320
- ): AffiliateCreate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14321
-
14322
- """Updates an existing affiliate."""
14323
- affiliateUpdate(
14324
- """ID of a affiliate to update."""
14325
- id: ID!
14326
-
14327
- """Fields required to update a affiliate."""
14328
- input: AffiliateInput!
14329
- ): AffiliateUpdate @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14330
-
14331
- """Deletes a affiliate."""
14332
- affiliateDelete(
14333
- """ID of a affiliate to delete."""
14334
- id: ID!
14335
- ): AffiliateDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14336
-
14337
- """Deletes affiliates."""
14338
- affiliateBulkDelete(
14339
- """List of user IDs to delete."""
14340
- ids: [ID!]!
14341
- ): AffiliateBulkDelete @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
14342
-
14343
- """Creates a new agreement."""
14344
- agreementCreate(
14345
- """Fields required to create a agreement."""
14346
- input: AgreementInput!
14347
- ): AgreementCreate
13807
+ """Creates a new agreement."""
13808
+ agreementCreate(
13809
+ """Fields required to create a agreement."""
13810
+ input: AgreementInput!
13811
+ ): AgreementCreate
14348
13812
 
14349
13813
  """Deletes a agreement."""
14350
13814
  agreementDelete(
@@ -15545,9 +15009,6 @@ type Mutation {
15545
15009
 
15546
15010
  """Completes creating an order."""
15547
15011
  draftOrderComplete(
15548
- """ID of the channel to attach the order to"""
15549
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15550
-
15551
15012
  """ID of the order that will be completed."""
15552
15013
  id: ID!
15553
15014
 
@@ -15562,9 +15023,6 @@ type Mutation {
15562
15023
 
15563
15024
  """Completes creating an order."""
15564
15025
  nauticalDraftOrderComplete(
15565
- """ID of the channel to attach to nautical order"""
15566
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15567
-
15568
15026
  """
15569
15027
  Optional ID of the Nautical Order to be completed. Either 'id' or 'token' must be provided to identify the Nautical Order. If both are provided, only the 'id' field will be used.
15570
15028
  """
@@ -16356,7 +15814,7 @@ type Mutation {
16356
15814
  """
16357
15815
  Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
16358
15816
  """
16359
- vendorType: String!
15817
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
16360
15818
  ): VendorPayoutOnboardingLinkRequest
16361
15819
 
16362
15820
  """
@@ -16509,14 +15967,11 @@ type Mutation {
16509
15967
  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.
16510
15968
  """
16511
15969
  checkoutComplete(
16512
- """ID of affiliate code used for checkout completion"""
16513
- affiliate: ID @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
16514
-
16515
15970
  """Checkout ID."""
16516
15971
  checkoutId: ID!
16517
15972
 
16518
15973
  """ID of microsite that checkout was completed from"""
16519
- microsite: ID
15974
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
16520
15975
 
16521
15976
  """Client-side generated data required to finalize the payment."""
16522
15977
  paymentData: JSONString
@@ -16543,7 +15998,6 @@ type Mutation {
16543
15998
  Determines whether the email sent out is catered to carriers instead of customers
16544
15999
  """
16545
16000
  vehicles: Boolean = false
16546
- volumeDiscount: Float!
16547
16001
  ): CheckoutComplete
16548
16002
 
16549
16003
  """
@@ -17516,71 +16970,6 @@ type PeriodicTaskEnabledUpdate {
17516
16970
  task: WebhookPeriodicTask
17517
16971
  }
17518
16972
 
17519
- """Creates a new channel"""
17520
- type ChannelCreate {
17521
- channelErrors: [ChannelError!]!
17522
- channel: Channel
17523
- }
17524
-
17525
- type ChannelError {
17526
- """
17527
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17528
- """
17529
- field: String
17530
-
17531
- """The error message."""
17532
- message: String!
17533
-
17534
- """The error code."""
17535
- code: ChannelErrorCode!
17536
- }
17537
-
17538
- """An enumeration."""
17539
- enum ChannelErrorCode {
17540
- GRAPHQL_ERROR
17541
- INVALID
17542
- NOT_FOUND
17543
- REQUIRED
17544
- UNIQUE
17545
- JWT_SIGNATURE_EXPIRED
17546
- JWT_INVALID_TOKEN
17547
- JWT_DECODE_ERROR
17548
- JWT_MISSING_TOKEN
17549
- JWT_INVALID_CSRF_TOKEN
17550
- }
17551
-
17552
- input ChannelInput {
17553
- """Name of the channel."""
17554
- channel: String
17555
- }
17556
-
17557
- """Updates a channel."""
17558
- type ChannelUpdate {
17559
- channelErrors: [ChannelError!]!
17560
- channel: Channel
17561
- }
17562
-
17563
- """Updates an order channel"""
17564
- type OrderChannelUpdate {
17565
- """Updated order instance"""
17566
- order: Order
17567
- channelErrors: [ChannelError!]!
17568
- }
17569
-
17570
- """Updates a marketplace order channel."""
17571
- type NauticalOrderChannelUpdate {
17572
- """Updated marketplace order instance"""
17573
- order: NauticalOrder
17574
- channelErrors: [ChannelError!]!
17575
- }
17576
-
17577
- """Updates an affiliate code channel"""
17578
- type AffiliateCodeChannelUpdate {
17579
- """Updated affiliate code instance"""
17580
- affiliateCode: AffiliateCodes
17581
- channelErrors: [ChannelError!]!
17582
- }
17583
-
17584
16973
  """Updates marketplace configuration."""
17585
16974
  type MarketplaceConfigurationUpdate {
17586
16975
  """Updated marketplace configuration."""
@@ -17771,7 +17160,7 @@ enum PayoutErrorCode {
17771
17160
 
17772
17161
  input PayoutCreateInput {
17773
17162
  """Vendor type for the payout"""
17774
- vendorType: String!
17163
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
17775
17164
 
17776
17165
  """
17777
17166
  Payout end date. ISO 8601 standard. Can not be greater than current date.
@@ -18154,365 +17543,79 @@ type MicrositeReorderProducts {
18154
17543
  micrositeErrors: [ProductError!]!
18155
17544
  }
18156
17545
 
18157
- input MoveProductInput {
18158
- """The ID of the product to move."""
18159
- productId: ID!
18160
-
18161
- """
18162
- 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.
18163
- """
18164
- sortOrder: Int
18165
- }
18166
-
18167
- """Deletes microsites."""
18168
- type MicrositeBulkDelete {
18169
- """Returns how many objects were affected."""
18170
- count: Int!
18171
- micrositeErrors: [ProductError!]!
18172
- }
18173
-
18174
- """Publish microsites."""
18175
- type MicrositeBulkPublish {
18176
- """Returns how many objects were affected."""
18177
- count: Int!
18178
- micrositeErrors: [ProductError!]!
18179
- }
18180
-
18181
- """Remove products from a microsite."""
18182
- type MicrositeRemoveProducts {
18183
- """Microsite from which products will be removed."""
18184
- microsite: Microsite
18185
- micrositeErrors: [ProductError!]!
18186
- }
18187
-
18188
- """Updates a microsite."""
18189
- type MicrositeUpdate {
18190
- micrositeErrors: [ProductError!]!
18191
- microsite: Microsite
18192
- }
18193
-
18194
- input MicrositeInput {
18195
- """Informs whether a microsite is published."""
18196
- isPublished: Boolean
18197
-
18198
- """Name of the microsite."""
18199
- name: String
18200
-
18201
- """Text to appear in footer of microsite."""
18202
- footerText: String
18203
-
18204
- """Slug of the microsite."""
18205
- slug: String
18206
-
18207
- """Description of the microsite (plaintext, deprecated for input)."""
18208
- description: String
18209
-
18210
- """Description of the microsite (HTML)."""
18211
- descriptionHtml: String
18212
-
18213
- """Banner image file."""
18214
- bannerImage: Upload
18215
-
18216
- """Alt text for an image."""
18217
- bannerImageAlt: String
18218
-
18219
- """Logo image file."""
18220
- logoImage: Upload
18221
-
18222
- """Alt text for an image."""
18223
- logoImageAlt: String
18224
-
18225
- """Search engine optimization fields."""
18226
- seo: SeoInput
18227
-
18228
- """Publication date. ISO 8601 standard."""
18229
- publicationDate: Date
18230
- }
18231
-
18232
- """Creates a new affiliate code"""
18233
- type AffiliateCodeCreate {
18234
- affiliateErrors: [AffiliateError!]!
18235
- affiliateCodes: AffiliateCodes
18236
- }
18237
-
18238
- type AffiliateError {
18239
- """
18240
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18241
- """
18242
- field: String
18243
-
18244
- """The error message."""
18245
- message: String!
18246
-
18247
- """The error code."""
18248
- code: AffiliateErrorCode!
18249
- }
18250
-
18251
- """An enumeration."""
18252
- enum AffiliateErrorCode {
18253
- UNIQUE
18254
- REQUIRED
18255
- NOT_FOUND
18256
- }
18257
-
18258
- input AffiliateCodeCreateInput {
18259
- """The id of the affiliate that the code belongs to"""
18260
- affiliate: ID!
18261
-
18262
- """The new affiliate code"""
18263
- code: String
18264
-
18265
- """ID of the channel code is used for"""
18266
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18267
- }
18268
-
18269
- """Increments affiliate code uses"""
18270
- type AffiliateCodeUse {
18271
- affiliateErrors: [AffiliateError!]!
18272
- affiliateCodes: AffiliateCodes
18273
- }
18274
-
18275
- """Sets whether code is active"""
18276
- type AffiliateCodeSetActive {
18277
- affiliateErrors: [AffiliateError!]!
18278
- affiliateCodes: AffiliateCodes
18279
- }
18280
-
18281
- """Activate or deactivate affiliate codes."""
18282
- type AffiliateCodeBulkSetActive {
18283
- """Returns how many objects were affected."""
18284
- count: Int!
18285
- codeErrors: [AccountError!]!
18286
- }
18287
-
18288
- type AccountError {
18289
- """
18290
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18291
- """
18292
- field: String
18293
-
18294
- """The error message."""
18295
- message: String!
18296
-
18297
- """The error code."""
18298
- code: AccountErrorCode!
18299
- }
18300
-
18301
- """An enumeration."""
18302
- enum AccountErrorCode {
18303
- ACTIVATE_OWN_ACCOUNT
18304
- ACTIVATE_SUPERUSER_ACCOUNT
18305
- ACCOUNT_NOT_ACTIVE
18306
- ATTRIBUTE_CANNOT_BE_ASSIGNED
18307
- DUPLICATED_INPUT_ITEM
18308
- DEACTIVATE_OWN_ACCOUNT
18309
- DEACTIVATE_SUPERUSER_ACCOUNT
18310
- DELETE_NON_STAFF_USER
18311
- DELETE_OWN_ACCOUNT
18312
- DELETE_STAFF_ACCOUNT
18313
- DELETE_SUPERUSER_ACCOUNT
18314
- GRAPHQL_ERROR
18315
- INVALID
18316
- INVALID_PHONE
18317
- INVALID_PASSWORD
18318
- LEFT_NOT_MANAGEABLE_PERMISSION
18319
- MUST_CHOOSE_PERMISSION_GROUP
18320
- INVALID_CREDENTIALS
18321
- NO_SELLER
18322
- NOT_FOUND
18323
- OUT_OF_SCOPE_SERVICE_ACCOUNT
18324
- OUT_OF_SCOPE_USER
18325
- OUT_OF_SCOPE_GROUP
18326
- OUT_OF_SCOPE_PERMISSION
18327
- PASSWORD_ENTIRELY_NUMERIC
18328
- PASSWORD_IDENTICAL
18329
- PASSWORD_TOO_COMMON
18330
- PASSWORD_TOO_SHORT
18331
- PASSWORD_TOO_SIMILAR
18332
- REQUIRED
18333
- UNIQUE
18334
- JWT_SIGNATURE_EXPIRED
18335
- JWT_INVALID_TOKEN
18336
- JWT_DECODE_ERROR
18337
- JWT_MISSING_TOKEN
18338
- JWT_INVALID_CSRF_TOKEN
18339
- }
18340
-
18341
- """
18342
- 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
18343
- """
18344
- type AffiliateAvatarUpdate {
18345
- """An updated affiliate instance."""
18346
- affiliate: User
18347
- accountErrors: [AccountError!]!
18348
- }
18349
-
18350
- """Creates a new affiliate."""
18351
- type AffiliateCreate {
18352
- accountErrors: [AccountError!]!
18353
- user: User
18354
- }
18355
-
18356
- input UserCreateInput {
18357
- """Billing address of the customer."""
18358
- defaultBillingAddress: AddressInput
18359
-
18360
- """Shipping address of the customer."""
18361
- defaultShippingAddress: AddressInput
18362
-
18363
- """Given name."""
18364
- firstName: String
18365
-
18366
- """Family name."""
18367
- lastName: String
18368
-
18369
- """The unique email address of the user."""
18370
- email: String
18371
-
18372
- """User account is active."""
18373
- isActive: Boolean
18374
-
18375
- """User is staff member."""
18376
- isStaff: Boolean
18377
-
18378
- """User account is affiliate."""
18379
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18380
-
18381
- """A note about the user."""
18382
- note: String
18383
-
18384
- """Only filled out if the account is a business account."""
18385
- companyName: String
18386
-
18387
- """Personal phone number."""
18388
- personalPhone: String
18389
-
18390
- """Password url"""
18391
- passwordUrl: String
18392
-
18393
- """Tax exempt code"""
18394
- taxExemptCode: String
18395
-
18396
- """List of custom fields."""
18397
- customFields: [AttributeValueInput!]
18398
-
18399
- """Marketplace VAT identification number"""
18400
- vatIdentificationNumber: String
18401
-
18402
- """
18403
- URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
18404
- """
18405
- redirectUrl: String
18406
- }
18407
-
18408
- input AttributeValueInput {
18409
- """ID of the selected attribute."""
18410
- id: ID
18411
-
18412
- """
18413
- The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
18414
- """
18415
- values: [String!]
18416
-
18417
- """
18418
- Value representation of the attribute value (e.g. color value for swatch attributes).
18419
- """
18420
- value: String
18421
-
18422
- """Date and time representation of attribute value."""
18423
- dateTime: DateTime
18424
-
18425
- """Supports attribute values with long text (plain text)."""
18426
- plainText: String
18427
-
18428
- """Supports attribute values with long text (html)."""
18429
- richText: String
18430
-
18431
- """Numeric value to support money or numeric attribute values."""
18432
- amount: Decimal
18433
-
18434
- """Currency to support money attribute values."""
18435
- currency: String
17546
+ input MoveProductInput {
17547
+ """The ID of the product to move."""
17548
+ productId: ID!
18436
17549
 
18437
17550
  """
18438
- Supports attribute values to reference any other nautical object (should be base64 ID)
17551
+ 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.
18439
17552
  """
18440
- reference: String
18441
-
18442
- """Supports boolean attribute values."""
18443
- boolean: Boolean
18444
-
18445
- """Supports file type attribute values."""
18446
- file: Upload
18447
-
18448
- """URL type to support external links as attribute values."""
18449
- fileUrl: String
17553
+ sortOrder: Int
18450
17554
  }
18451
17555
 
18452
- """Updates an existing affiliate."""
18453
- type AffiliateUpdate {
18454
- accountErrors: [AccountError!]!
18455
- user: User
17556
+ """Deletes microsites."""
17557
+ type MicrositeBulkDelete {
17558
+ """Returns how many objects were affected."""
17559
+ count: Int!
17560
+ micrositeErrors: [ProductError!]!
18456
17561
  }
18457
17562
 
18458
- input AffiliateInput {
18459
- """Billing address of the customer."""
18460
- defaultBillingAddress: AddressInput
18461
-
18462
- """Shipping address of the customer."""
18463
- defaultShippingAddress: AddressInput
18464
-
18465
- """Given name."""
18466
- firstName: String
17563
+ """Publish microsites."""
17564
+ type MicrositeBulkPublish {
17565
+ """Returns how many objects were affected."""
17566
+ count: Int!
17567
+ micrositeErrors: [ProductError!]!
17568
+ }
18467
17569
 
18468
- """Family name."""
18469
- lastName: String
17570
+ """Remove products from a microsite."""
17571
+ type MicrositeRemoveProducts {
17572
+ """Microsite from which products will be removed."""
17573
+ microsite: Microsite
17574
+ micrositeErrors: [ProductError!]!
17575
+ }
18470
17576
 
18471
- """The unique email address of the user."""
18472
- email: String
17577
+ """Updates a microsite."""
17578
+ type MicrositeUpdate {
17579
+ micrositeErrors: [ProductError!]!
17580
+ microsite: Microsite
17581
+ }
18473
17582
 
18474
- """User account is active."""
18475
- isActive: Boolean
17583
+ input MicrositeInput {
17584
+ """Informs whether a microsite is published."""
17585
+ isPublished: Boolean
18476
17586
 
18477
- """User is staff member."""
18478
- isStaff: Boolean
17587
+ """Name of the microsite."""
17588
+ name: String
18479
17589
 
18480
- """User account is affiliate."""
18481
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
17590
+ """Text to appear in footer of microsite."""
17591
+ footerText: String
18482
17592
 
18483
- """A note about the user."""
18484
- note: String
17593
+ """Slug of the microsite."""
17594
+ slug: String
18485
17595
 
18486
- """Only filled out if the account is a business account."""
18487
- companyName: String
17596
+ """Description of the microsite (plaintext, deprecated for input)."""
17597
+ description: String
18488
17598
 
18489
- """Personal phone number."""
18490
- personalPhone: String
17599
+ """Description of the microsite (HTML)."""
17600
+ descriptionHtml: String
18491
17601
 
18492
- """Password url"""
18493
- passwordUrl: String
17602
+ """Banner image file."""
17603
+ bannerImage: Upload
18494
17604
 
18495
- """Tax exempt code"""
18496
- taxExemptCode: String
17605
+ """Alt text for an image."""
17606
+ bannerImageAlt: String
18497
17607
 
18498
- """List of custom fields."""
18499
- customFields: [AttributeValueInput!]
17608
+ """Logo image file."""
17609
+ logoImage: Upload
18500
17610
 
18501
- """ID of the plan to assign affiliate to."""
18502
- plan: ID
18503
- }
17611
+ """Alt text for an image."""
17612
+ logoImageAlt: String
18504
17613
 
18505
- """Deletes a affiliate."""
18506
- type AffiliateDelete {
18507
- accountErrors: [AccountError!]!
18508
- user: User
18509
- }
17614
+ """Search engine optimization fields."""
17615
+ seo: SeoInput
18510
17616
 
18511
- """Deletes affiliates."""
18512
- type AffiliateBulkDelete {
18513
- """Returns how many objects were affected."""
18514
- count: Int!
18515
- affiliateErrors: [AccountError!]!
17617
+ """Publication date. ISO 8601 standard."""
17618
+ publicationDate: Date
18516
17619
  }
18517
17620
 
18518
17621
  """Creates a new agreement."""
@@ -18576,9 +17679,6 @@ input AgreementInput {
18576
17679
  """Last update date. ISO 8601 standard."""
18577
17680
  updatedAt: String
18578
17681
 
18579
- """Seller or Affiliate"""
18580
- vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
18581
-
18582
17682
  """Gross Price, Markup, Absolute etc"""
18583
17683
  commissionType: CommissionTypeEnum
18584
17684
 
@@ -18589,14 +17689,6 @@ input AgreementInput {
18589
17689
  markupCommissionValue: Decimal
18590
17690
  }
18591
17691
 
18592
- enum VendorTypeEnum {
18593
- """Seller"""
18594
- SELLER
18595
-
18596
- """Affiliate"""
18597
- AFFILIATE
18598
- }
18599
-
18600
17692
  """Deletes a agreement."""
18601
17693
  type AgreementDelete {
18602
17694
  agreementErrors: [AgreementError!]!
@@ -20373,6 +19465,50 @@ input CategoryInput {
20373
19465
  customFields: [AttributeValueInput!]
20374
19466
  }
20375
19467
 
19468
+ input AttributeValueInput {
19469
+ """ID of the selected attribute."""
19470
+ id: ID
19471
+
19472
+ """
19473
+ The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.
19474
+ """
19475
+ values: [String!]
19476
+
19477
+ """
19478
+ Value representation of the attribute value (e.g. color value for swatch attributes).
19479
+ """
19480
+ value: String
19481
+
19482
+ """Date and time representation of attribute value."""
19483
+ dateTime: DateTime
19484
+
19485
+ """Supports attribute values with long text (plain text)."""
19486
+ plainText: String
19487
+
19488
+ """Supports attribute values with long text (html)."""
19489
+ richText: String
19490
+
19491
+ """Numeric value to support money or numeric attribute values."""
19492
+ amount: Decimal
19493
+
19494
+ """Currency to support money attribute values."""
19495
+ currency: String
19496
+
19497
+ """
19498
+ Supports attribute values to reference any other nautical object (should be base64 ID)
19499
+ """
19500
+ reference: String
19501
+
19502
+ """Supports boolean attribute values."""
19503
+ boolean: Boolean
19504
+
19505
+ """Supports file type attribute values."""
19506
+ file: Upload
19507
+
19508
+ """URL type to support external links as attribute values."""
19509
+ fileUrl: String
19510
+ }
19511
+
20376
19512
  """Deletes a category."""
20377
19513
  type CategoryDelete {
20378
19514
  productErrors: [ProductError!]!
@@ -22108,9 +21244,6 @@ input NauticalHistoricalOrderInput {
22108
21244
  lines: [HistoricalOrderLineInput!]
22109
21245
  seller: ID
22110
21246
 
22111
- """ID of the channel to attach the order to"""
22112
- channel: ID
22113
-
22114
21247
  """Created date time of historical order in ISO 8601 format."""
22115
21248
  created: DateTime
22116
21249
 
@@ -24563,6 +23696,59 @@ type CreateToken {
24563
23696
  accountErrors: [AccountError!]!
24564
23697
  }
24565
23698
 
23699
+ type AccountError {
23700
+ """
23701
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
23702
+ """
23703
+ field: String
23704
+
23705
+ """The error message."""
23706
+ message: String!
23707
+
23708
+ """The error code."""
23709
+ code: AccountErrorCode!
23710
+ }
23711
+
23712
+ """An enumeration."""
23713
+ enum AccountErrorCode {
23714
+ ACTIVATE_OWN_ACCOUNT
23715
+ ACTIVATE_SUPERUSER_ACCOUNT
23716
+ ACCOUNT_NOT_ACTIVE
23717
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
23718
+ DUPLICATED_INPUT_ITEM
23719
+ DEACTIVATE_OWN_ACCOUNT
23720
+ DEACTIVATE_SUPERUSER_ACCOUNT
23721
+ DELETE_NON_STAFF_USER
23722
+ DELETE_OWN_ACCOUNT
23723
+ DELETE_STAFF_ACCOUNT
23724
+ DELETE_SUPERUSER_ACCOUNT
23725
+ GRAPHQL_ERROR
23726
+ INVALID
23727
+ INVALID_PHONE
23728
+ INVALID_PASSWORD
23729
+ LEFT_NOT_MANAGEABLE_PERMISSION
23730
+ MUST_CHOOSE_PERMISSION_GROUP
23731
+ INVALID_CREDENTIALS
23732
+ NO_SELLER
23733
+ NOT_FOUND
23734
+ OUT_OF_SCOPE_SERVICE_ACCOUNT
23735
+ OUT_OF_SCOPE_USER
23736
+ OUT_OF_SCOPE_GROUP
23737
+ OUT_OF_SCOPE_PERMISSION
23738
+ PASSWORD_ENTIRELY_NUMERIC
23739
+ PASSWORD_IDENTICAL
23740
+ PASSWORD_TOO_COMMON
23741
+ PASSWORD_TOO_SHORT
23742
+ PASSWORD_TOO_SIMILAR
23743
+ REQUIRED
23744
+ UNIQUE
23745
+ JWT_SIGNATURE_EXPIRED
23746
+ JWT_INVALID_TOKEN
23747
+ JWT_DECODE_ERROR
23748
+ JWT_MISSING_TOKEN
23749
+ JWT_INVALID_CSRF_TOKEN
23750
+ }
23751
+
24566
23752
  """Create authorization URL."""
24567
23753
  type AuthURLGenerate {
24568
23754
  """Generated auth URL for google login."""
@@ -24819,6 +24005,55 @@ type CustomerCreate {
24819
24005
  user: User
24820
24006
  }
24821
24007
 
24008
+ input UserCreateInput {
24009
+ """Billing address of the customer."""
24010
+ defaultBillingAddress: AddressInput
24011
+
24012
+ """Shipping address of the customer."""
24013
+ defaultShippingAddress: AddressInput
24014
+
24015
+ """Given name."""
24016
+ firstName: String
24017
+
24018
+ """Family name."""
24019
+ lastName: String
24020
+
24021
+ """The unique email address of the user."""
24022
+ email: String
24023
+
24024
+ """User account is active."""
24025
+ isActive: Boolean
24026
+
24027
+ """User is staff member."""
24028
+ isStaff: Boolean
24029
+
24030
+ """A note about the user."""
24031
+ note: String
24032
+
24033
+ """Only filled out if the account is a business account."""
24034
+ companyName: String
24035
+
24036
+ """Personal phone number."""
24037
+ personalPhone: String
24038
+
24039
+ """Password url"""
24040
+ passwordUrl: String
24041
+
24042
+ """Tax exempt code"""
24043
+ taxExemptCode: String
24044
+
24045
+ """List of custom fields."""
24046
+ customFields: [AttributeValueInput!]
24047
+
24048
+ """Marketplace VAT identification number"""
24049
+ vatIdentificationNumber: String
24050
+
24051
+ """
24052
+ URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
24053
+ """
24054
+ redirectUrl: String
24055
+ }
24056
+
24822
24057
  """Updates an existing customer."""
24823
24058
  type CustomerUpdate {
24824
24059
  accountErrors: [AccountError!]!
@@ -24847,9 +24082,6 @@ input CustomerInput {
24847
24082
  """User is staff member."""
24848
24083
  isStaff: Boolean
24849
24084
 
24850
- """User account is affiliate."""
24851
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24852
-
24853
24085
  """A note about the user."""
24854
24086
  note: String
24855
24087
 
@@ -24929,9 +24161,6 @@ input StaffCreateInput {
24929
24161
  """User is staff member."""
24930
24162
  isStaff: Boolean
24931
24163
 
24932
- """User account is affiliate."""
24933
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24934
-
24935
24164
  """A note about the user."""
24936
24165
  note: String
24937
24166
 
@@ -24984,9 +24213,6 @@ input StaffUpdateInput {
24984
24213
  """User is staff member."""
24985
24214
  isStaff: Boolean
24986
24215
 
24987
- """User account is affiliate."""
24988
- isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
24989
-
24990
24216
  """A note about the user."""
24991
24217
  note: String
24992
24218